/* ===== Active Nav Link ===== */
.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after {
    width: 100%;
}

/* ===== Page Hero (Inner Pages) ===== */
.page-hero {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.page-hero .page-subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* ===== Disclaimer ===== */
.disclaimer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(55, 71, 79, 0.85);
    backdrop-filter: blur(20px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.disclaimer-overlay.visible {
    opacity: 1;
}

.disclaimer-modal {
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.disclaimer-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.disclaimer-modal h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    display: block;
}

.disclaimer-body {
    text-align: left;
    margin-bottom: 30px;
}

.disclaimer-body p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-color);
}

.disclaimer-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.disclaimer-denied {
    text-align: center;
    padding: 40px 0;
}

.disclaimer-denied h2 {
    display: block;
}

.disclaimer-denied p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: white !important;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== Footer ===== */
.footer-content {
    background: var(--primary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Partner Tiles ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.partner-tile {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.partner-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(197, 160, 40, 0.15);
}

.partner-tile-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background: var(--pastel-subtle);
}

.partner-tile-info {
    padding: 30px;
    text-align: center;
}

.partner-tile-info h3 {
    margin-bottom: 5px;
}

.partner-tile-info .partner-role {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.partner-tile-info .partner-bio {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.partner-tile-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 10px;
}

.partner-tile-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pastel-subtle);
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.partner-tile-links a.linkedin:hover {
    background: #0077B5;
    color: white;
}

.partner-tile-links a.profile:hover {
    background: var(--accent-color);
    color: white;
}

/* ===== Team Grid (Affiliates / Associates) ===== */
.team-subsection {
    margin-bottom: 80px;
}

.team-subsection-title {
    text-align: center;
    margin-bottom: 50px;
}

.team-subsection-title h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.team-subsection-title p {
    color: var(--text-light);
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.team-member-card {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-light);
}

.team-member-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--pastel-subtle);
}

.team-member-card .member-info {
    padding: 20px;
}

.team-member-card .member-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-member-card .member-info p {
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ===== Profile Page ===== */
.profile-hero {
    padding: 140px 0 60px;
    text-align: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 30px;
    border: 4px solid var(--accent-light);
    box-shadow: 0 10px 40px rgba(197, 160, 40, 0.2);
}

.profile-name {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.profile-role {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.profile-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0077B5;
    font-weight: 500;
    padding: 10px 25px;
    border: 1px solid #0077B5;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.profile-social a:hover {
    background: #0077B5;
    color: white;
}

.profile-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 30px 80px;
}

.profile-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    margin-top: 40px;
}

.profile-content h3:first-child {
    margin-top: 0;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.expertise-tags span {
    background: var(--pastel-subtle);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    font-weight: 500;
}

/* ===== Accordion (Services) ===== */
.accordion {
    margin-bottom: 50px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--gold-border);
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    color: var(--accent-color);
}

.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 25px;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 25px 25px;
}

.accordion-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ===== Service Side-by-Side Layout ===== */
.service-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.service-layout .accordion {
    flex: 1 1 60%;
    min-width: 0;
    margin-bottom: 0;
}

.service-layout .get-in-touch {
    flex: 0 0 380px;
    position: sticky;
    top: 100px;
    max-width: 380px;
    margin: 0;
}

.service-layout .get-in-touch .form-row {
    grid-template-columns: 1fr;
}

/* ===== Get In Touch Form ===== */
.get-in-touch {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    max-width: 700px;
    margin: 0 auto;
}

.get-in-touch h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.6rem;
}

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

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

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 14px;
    background-color: var(--pastel-base);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-field input:focus,
.form-field textarea:focus {
    background-color: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(197, 160, 40, 0.1);
    outline: none;
}

/* ===== Blog / Knowledge ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.blog-card {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-light);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--pastel-subtle);
}

.blog-card-body {
    padding: 30px;
}

.blog-card-tag {
    display: inline-block;
    background: var(--pastel-warm);
    color: var(--accent-color);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.blog-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card-body .blog-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.blog-card-body .blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* ===== Careers ===== */
.journey-content {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.journey-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.journey-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.journey-value-card {
    background: rgba(255, 255, 255, 0.65);
    padding: 35px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.journey-value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-light);
}

.journey-value-card i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.journey-value-card h4 {
    margin-bottom: 10px;
}

.journey-value-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== Sectors Page ===== */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.sector-card {
    background: rgba(255, 255, 255, 0.65);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-light);
}

.sector-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.sector-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.sector-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===== Service Overview Cards ===== */
.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-overview-card {
    background: rgba(255, 255, 255, 0.65);
    padding: 50px 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
    display: block;
}

.service-overview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-light);
}

.service-overview-card .svc-icon {
    font-size: 3rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background: var(--pastel-warm);
    color: var(--accent-color);
    border-radius: 50%;
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-overview-card:hover .svc-icon {
    background: var(--accent-gradient);
    color: var(--white);
    transform: scale(1.1);
}

.service-overview-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-overview-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.service-overview-card .card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .page-hero h1 {
        font-size: 2.8rem;
    }

    .service-layout {
        flex-direction: column;
    }

    .service-layout .get-in-touch {
        flex: none;
        position: static;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    .page-hero {
        padding: 120px 0 60px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .disclaimer-modal {
        padding: 30px;
    }

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

    .get-in-touch {
        padding: 30px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .services-overview-grid {
        grid-template-columns: 1fr;
    }

    .profile-name {
        font-size: 2rem;
    }
}