/* Enhanced styles for governance.html */

/* Governance Hero Section */
.governance-hero {
    padding: 100px 0 60px;
    background:
        linear-gradient(135deg, rgba(10, 15, 26, 0.85) 0%, rgba(26, 31, 46, 0.85) 50%, rgba(10, 15, 26, 0.85) 100%),
        url('../images/bg.png');
    background-size: cover, auto;
    background-position: center, center;
    background-repeat: no-repeat, repeat;
    position: relative;
    overflow: hidden;
    color: white;
}

.governance-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(231, 27, 72, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.governance-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.governance-hero .hero-text h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: white;
}

.governance-hero .hero-highlight {
    background: linear-gradient(135deg, #e31b48, #c41e3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.governance-hero .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
    max-width: 90%;
}

.governance-hero .hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 0;
}

.governance-hero .stat-item {
    text-align: center;
}

.governance-hero .stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e31b48;
    margin-bottom: 3px;
}

.governance-hero .stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.governance-dashboard {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    backdrop-filter: blur(10px);
    max-width: 500px;
}

.governance-dashboard .dashboard-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.governance-dashboard .status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.governance-dashboard .last-scan {
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.7;
}

.governance-dashboard .dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.governance-dashboard .dashboard-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.governance-dashboard .item-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.governance-dashboard .item-icon svg {
    width: 20px;
    height: 20px;
    color: #e31b48;
}

.governance-dashboard .item-value {
    font-weight: 600;
    color: #e31b48;
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.governance-dashboard .item-label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 3px;
}

.governance-dashboard .item-status {
    font-size: 0.75rem;
    opacity: 0.7;
    color: #00ff88;
}

.governance-dashboard .dashboard-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.governance-dashboard .security-score {
    display: flex;
    align-items: center;
    gap: 10px;
}

.governance-dashboard .score-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.governance-dashboard .score-value {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e31b48;
}

/* Responsive Styles for Governance Hero */
@media (max-width: 992px) {
    .governance-hero {
        padding: 90px 0 50px;
    }

    .governance-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .governance-hero .hero-text h1 {
        font-size: 2.2rem;
    }

    .governance-hero .hero-description {
        max-width: 100%;
    }

    .governance-dashboard {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .governance-hero {
        padding: 80px 0 40px;
    }

    .governance-hero .hero-text h1 {
        font-size: 1.8rem;
    }

    .governance-hero .hero-description {
        font-size: 0.95rem;
    }

    .governance-hero .hero-stats {
        gap: 15px;
        flex-wrap: wrap;
    }

    .governance-hero .stat-number {
        font-size: 1.3rem;
    }

    .governance-hero .stat-label {
        font-size: 0.8rem;
    }

    .governance-dashboard .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .governance-dashboard {
        padding: 15px;
    }
}

/* Governance Framework Section */
.governance-framework {
    padding: 80px 0;
    background: #ffffff;
}

.governance-framework .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.governance-framework .section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.governance-framework .section-header p {
    font-size: 1.1rem;
    color: #4a4a68;
    max-width: 700px;
    margin: 0 auto;
}

.framework-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pillar-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: #e31b48;
    box-shadow: 0 10px 30px rgba(227, 27, 72, 0.15);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e31b48, #c41e3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon svg {
    width: 35px;
    height: 35px;
    color: #ffffff;
}

.pillar-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.pillar-card p {
    color: #4a4a68;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Core Services Enhancements */
.core-services {
    padding: 80px 0;
    background: #f8fafd;
}

.core-services .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.core-services .section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.core-services .section-header p {
    font-size: 1.1rem;
    color: #4a4a68;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.service-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(227, 27, 72, 0.15);
}

.service-card .service-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e31b48, #c41e3a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    white-space: normal;
    text-transform: none;
    letter-spacing: normal;
    font-size: inherit;
}

.service-card .service-icon svg {
    width: 30px;
    height: 30px;
    color: #ffffff;
}

.service-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.service-card > p {
    color: #4a4a68;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1;
}

.service-card ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #4a4a68;
    font-size: 0.9rem;
    line-height: 1.5;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e31b48;
    font-weight: bold;
    font-size: 1.1rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.feature-tag {
    background: rgba(227, 27, 72, 0.1);
    color: #e31b48;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(227, 27, 72, 0.2);
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: #e31b48;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: #c41e3a;
    transform: translateX(5px);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: #ffffff;
}

.why-choose-us .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.why-choose-us .section-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.why-choose-us .section-header p {
    font-size: 1.1rem;
    color: #4a4a68;
    max-width: 700px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.benefit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: #e31b48;
    box-shadow: 0 10px 30px rgba(227, 27, 72, 0.15);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #e31b48, #c41e3a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 35px;
    height: 35px;
    color: #ffffff;
}

.benefit-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.benefit-card p {
    color: #4a4a68;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* CTA Section */
.governance-cta {
    background: linear-gradient(135deg, #e31b48 0%, #c41e3a 100%);
    padding: 80px 0;
    color: #ffffff;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.cta-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-buttons .btn-primary {
    background: #ffffff;
    color: #e31b48;
    border: 2px solid #ffffff;
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: #ffffff;
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-buttons .btn-secondary:hover {
    background: #ffffff;
    color: #e31b48;
}

/* Responsive Design */
@media (max-width: 992px) {
    .framework-pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .governance-framework {
        padding: 60px 0;
    }

    .governance-framework .section-header h2,
    .core-services .section-header h2,
    .why-choose-us .section-header h2 {
        font-size: 2rem;
    }

    .framework-pillars {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Service Form Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    padding: 10px 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover,
.close-modal:focus {
    color: #e31b48;
}

.modal-header {
    background: linear-gradient(135deg, #e31b48 0%, #c41e3a 100%);
    color: #ffffff;
    padding: 30px;
    border-radius: 15px 15px 0 0;
}

.modal-header h2 {
    margin: 0 0 10px 0;
    font-family: 'Oswald', sans-serif;
    font-size: 2rem;
    color: #ffffff;
}

.modal-header p {
    margin: 0;
    opacity: 0.95;
    font-size: 1rem;
}

.service-request-form {
    padding: 35px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e31b48;
    box-shadow: 0 0 0 3px rgba(227, 27, 72, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    margin: 25px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.9rem;
    color: #4a4a68;
    line-height: 1.5;
}

.checkbox-label a {
    color: #e31b48;
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.form-actions .btn {
    flex: 1;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #e31b48, #c41e3a);
    color: #ffffff;
}

.form-actions .btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #c41e3a, #a11829);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(227, 27, 72, 0.3);
}

.form-actions .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-actions .btn-secondary {
    background: #f8f9fa;
    color: #4a4a68;
    border: 2px solid #e9ecef;
}

.form-actions .btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    display: block;
}

/* Button as link styling */
.service-link[onclick] {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .modal-header {
        padding: 25px 20px;
    }

    .modal-header h2 {
        font-size: 1.5rem;
    }

    .service-request-form {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

.governance-details {
    background: #f8fafd;
    padding: 60px 0 40px 0;
}
.governance-details h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    color: #1a1a2e;
    margin-bottom: 10px;
    text-align: center;
}
.governance-details > p {
    text-align: center;
    color: #4a4a68;
    font-size: 1.1rem;
    margin-bottom: 40px;
}
.governance-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-bottom: 48px;
}
.governance-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 rgba(44, 62, 80, 0.08);
    padding: 32px 28px 24px 28px;
    max-width: 340px;
    min-width: 260px;
    flex: 1 1 260px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.governance-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px 0 rgba(44, 62, 80, 0.16);
}
.governance-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: #e31b48;
    margin-bottom: 12px;
}
.governance-card ul {
    padding-left: 18px;
    color: #4a4a68;
    font-size: 1rem;
    margin-bottom: 0;
}
.governance-cta {
    background: linear-gradient(90deg, #e31b48 0%, #bc2e91 100%);
    border-radius: 18px;
    padding: 36px 28px;
    color: #fff;
    text-align: center;
    margin-top: 32px;
    box-shadow: 0 2px 16px 0 rgba(44, 62, 80, 0.10);
}
.governance-cta h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.7rem;
    margin-bottom: 12px;
    color: #fff;
}
.governance-cta p {
    font-size: 1.1rem;
    margin-bottom: 18px;
}
.governance-cta .btn-primary {
    background: #fff;
    color: #e31b48;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 8px 0 rgba(44, 62, 80, 0.10);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-block;
}
.governance-cta .btn-primary:hover {
    background: #e31b48;
    color: #fff;
}
.hero-section {
    background: linear-gradient(90deg, #e31b48 0%, #bc2e91 100%);
    color: #fff;
    padding: 60px 0 40px 0;
    text-align: center;
}
.hero-section .hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 12px;
    color: #fff;
}
.hero-section .hero-subtitle {
    font-size: 1.2rem;
    color: #f8fafd;
    margin-bottom: 0;
}
@media (max-width: 900px) {
    .governance-grid {
        flex-direction: column;
        align-items: center;
    }
    .governance-card {
        max-width: 100%;
        min-width: 0;
    }
}
