/* ==========================================
   CSS Variables
   ========================================== */
:root {
    --navy-blue: #1a3a52;
    --deep-navy: #0f2940;
    --golden-beige: #d4af88;
     --sea-blue: #55e2e9;
    --light-beige: #e8ddcc;
    --light-blue: #6ba3b8;
    --light-blue-hover: #89b3c5;
    --golden-border: #fffaf1;
    --white: #ffffff;
    --text-dark: #000000;
    --text-light: #010303;
}

/* ==========================================
   Global Styles
   ========================================== */

/* Why Choose KPMB Section */
.why-choose-section {
    padding: 80px 0;
    /* full-section background image */
    background: url('images/bg1.png') center/cover no-repeat;
    position: relative; 
    overflow: hidden;
}

.why-choose-section::before {
    /* subtle overlay to keep text readable */
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.85);
    pointer-events: none;
}


/* .why-choose-section1{
    background: url('images/bg1.png') center/cover no-repeat;
    position: absolute;
    right: 02;
    z-index: 10;
} */

.why-choose-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.1em;
    position: relative;
}

.why-choose-wrapper {
    /* single logical column; points will occupy half width visually */
    display: block;
    position: relative;
}

.why-choose-points {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 50%;
    /* keep on left side so background shows on the right */
}

.why-choose-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    /* background: rgba(255, 255, 255, 0.9); */
    border-radius: 12px;
    transition: transform 0.3s ease;
    position: relative;
}

.why-choose-item:hover {
    transform: translateX(10px);
}

.why-choose-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy-blue), var(--light-blue));
    border-radius: 50%;
}

.why-choose-icon i {
    font-size: 1.5em;
    color: var(--white);
}

.why-choose-content {
    flex-grow: 1;
}

.why-choose-item h3 {
    font-size: 1.2em;
    color: var(--navy-blue);
    margin-bottom: 8px;
    font-weight: 600;
}

.why-choose-item p {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95em;
    margin: 0;
}

.why-choose-image { display:none; }

.floating-features { display:none; }

.feature-tag { display:none; }

@media (max-width: 1024px) {
    .why-choose-points { width: 100%; }
    .why-choose-section::before { background: rgba(255,255,255,0.92); }
}

@media (max-width: 768px) {
    .why-choose-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px;
    }
    
    .why-choose-icon {
        margin-bottom: 15px;
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: black;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--sea-blue), transparent);
}

/* ==========================================
   Navigation Bar
   ========================================== */
.navbar {
    background-color: var(--navy-blue);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

.logo-text .tagline {
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 400;
    margin: 0;
    font-style: italic;
    position: relative;
    top: 30px;
    left: -65px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 350;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--sea-blue);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--sea-blue);
    transform: translateY(-2px);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* ==========================================
   Hero Banner Section
   ========================================== */
.hero-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero-banner {
    width: 100%;
    height: 100%;
    background: url('images/img14.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 62, 109, 0.6);
    /* background-image: url('./images/image_11.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* static overlay - removed animation for a static banner */
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    animation: slideUp 1s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-beige);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-button {
    background: transparent;
    border: 2px solid var(--golden-border);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
    display: inline-block;
    text-decoration: none;
    border-radius: 4rem;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--sea-blue);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 136, 0.4);
}

.cta-button:hover::before {
    left: 0;
}

/* ==========================================
   Page Banner (for Contact page)
   ========================================== */
.page-banner {
    position: relative;
    height: 50vh;
    overflow: hidden;
}

.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 0 20px;
}

.page-banner {
    background: url('images/page-banner.jpg') center/cover no-repeat;
}

/* .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 82, 0.6);
    z-index: 1;
} */

.banner-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    animation: slideUp 1s ease;
}

.banner-subtitle {
    font-size: 1.3rem;
    color: var(--light-beige);
    animation: slideUp 1s ease 0.2s backwards;
}

/* ==========================================
   Leadership Section
   ========================================== */
.leadership-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, var(--white) 0%, #f8f9fa 100%);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.leadership-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

/* .leadership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 136, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
} */
/* 
.leadership-card:hover::before {
    opacity: 1;
} */

.leadership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--golden-border);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--sea-blue), #1a3a52);
    /* background: linear-gradient(135deg, var(--sea-blue), #c99f73); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.leadership-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(212, 175, 136, 0.4);
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.card-title {
    font-size: 1.8rem;
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
}

.card-location {
    font-size: 1.1rem;
    color: var(--light-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.card-source {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* ==========================================
   Highlights Section
   ========================================== */
.highlights-section {
    padding: 80px 20px;
    background: var(--white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.highlight-box {
    /* background: linear-gradient(135deg, var(--light-beige) 0%, #f5ede0 100%); */
    /* background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%); */
    padding: 2rem;
    /* border-radius: 15px; */
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    border-end-start-radius: 25px;
    background-color: #6ba3b8;
}

/* .highlight-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 136, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
} */

.highlight-box:hover::before {
    opacity: 1;
}

.highlight-box:hover {
    transform: translateY(-10px);
    /* border-color: var(--golden-border);
    box-shadow: 0 10px 30px rgba(212, 175, 136, 0.3); */
}

.highlight-icon {
    width: 60px;
    height: 60px;
    /* background: linear-gradient(135deg, var(--light-blue), var(--navy-blue)); */
    background: #1a3a52;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(107, 163, 184, 0.3);
}

.highlight-box:hover .highlight-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 8px 30px rgba(107, 163, 184, 0.5);
}

.highlight-icon i {
    font-size: 2rem;
    color: var(--white);
}

.highlight-title {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: 'Open Sans', sans-serif;
}

.highlight-text {
    color: var(--white);
    font-size: 1rem;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* .animate-box {
    animation: float 6s ease-in-out infinite;
} */

.animate-box:nth-child(2) {
    animation-delay: 2s;
}

.animate-box:nth-child(3) {
    animation-delay: 4s;
}

/* ==========================================
   Services Section
   ========================================== */
.services-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, #ffff 0%, #04bade9c 200%)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-box:hover::before {
    left: 100%;
}

.service-box:hover {
    transform: translateY(-10px);
    border-color: var(--golden-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-box i {
    font-size: 3rem;
    /* color: var(--light-blue); */
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-box:hover i {
    color: var(--sea-blue);
    transform: scale(1.2) rotate(5deg);
}

.service-box h3 {
    font-size: 1.5rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.service-box p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    padding: 80px 20px;
    background: var(--white);
}

/* Modern contact layout */
.contact-modern {
    position: relative;
    overflow: hidden;
}

.contact-modern .contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-light);
}

.contact-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    max-width: 900px;
    margin: 2rem auto 2.5rem;
}

.contact-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.icon-burst {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--white);
    background: conic-gradient(from 220deg, var(--sea-blue), #8eeaff, var(--sea-blue));
    box-shadow: 0 6px 16px rgba(85,226,233,0.35);
}

.icon-burst i { font-size: 1.1rem; }

.pill-text h3 { font-size: 1.05rem; color: var(--deep-navy); margin-bottom: 2px; }
.pill-text .link-underline {
    color: var(--navy-blue);
    text-decoration: none;
    position: relative;
}
.pill-text .link-underline::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px; height: 2px; width: 100%;
    background: linear-gradient(90deg, transparent, var(--sea-blue), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.pill-text .link-underline:hover::after { transform: scaleX(1); }

.locations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.location-item { display: flex; gap: .75rem; align-items: center; justify-content: center; text-align: left; }
.location-item h4 { color: var(--deep-navy); font-size: 1.05rem; }
.location-item p { color: var(--text-light); }
.mini-icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, #e8fbff, #bff6ff); color: var(--navy-blue); }

.map-wrap { max-width: 980px; margin: 0 auto; text-align: center; }
.map-wrap h3 { margin-bottom: .75rem; color: var(--deep-navy); }
.map-embed { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.08); }

.vector-bg {
    position: absolute; inset: -20% -10% -20% -10%; pointer-events: none; z-index: 0;
    background:
        radial-gradient(40rem 20rem at 50% 40%, rgba(85,226,233,.18), transparent 60%),
        radial-gradient(30rem 18rem at 50% 70%, rgba(85,226,233,.12), transparent 60%);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--golden-border);
    box-shadow: 0 0 0 3px rgba(212, 175, 136, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background: linear-gradient(135deg, var(--sea-blue), #c99f73);
    border: none;
    color: var(--navy-blue);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 136, 0.4);
    background: linear-gradient(135deg,  var(--sea-blue));
}

.submit-button i {
    transition: transform 0.3s ease;
}

.submit-button:hover i {
    transform: translateX(5px);
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--deep-navy);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    /* color: var(--light-beige); */
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 400;
    margin: 0;
    font-style: italic;
    position: relative;
    top: -6px;
    /* left: -65px; */
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--sea-blue);
}

.footer-contact p {
    color: var(--white);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* .footer-contact i {
    color: var(--sea-blue);
} */

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 136, 0.2);
}

.footer-bottom p {
    color: var(--white);
}

/* ==========================================
   Heritage Carousel Section
   ========================================== */
.heritage-carousel-section {
    padding: 0;
    overflow: hidden;
}

.heritage-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.heritage-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.heritage-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 1s ease, transform 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heritage-slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.heritage-slide.prev {
    transform: translateX(-100%);
    z-index: 1;
}

/* .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.85) 0%, rgba(15, 41, 64, 0.75) 100%);
    z-index: 1;
} */

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 40px;
    text-align: center;
    animation: slideInFromLeft 0.8s ease;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-content-inner {
    color: var(--white);
}

.slide-title-main{
   font-size:3.0rem;
   text-align: center;
    margin-bottom: 3rem;
    color: black;
    position: relative;
    display: inline-block;
    width: 100%;
    font-family:'Open Sans', sans-serif;
    font-weight: 600;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: black;
    /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); */
    text-align: center;
    line-height: 1.3;
}

.slide-subtitle {
    font-size: 1.5rem;
    color: var(--sea-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.slide-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: black;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.slide-cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--sea-blue);
    color: var(--navy-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(85, 226, 233, 0.4);
}

.slide-cta:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(85, 226, 233, 0.6);
}

.heritage-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1a3a52;
    border: 2px solid #ffffff;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.heritage-nav:hover {
    background: var(--sea-blue);
    border-color: var(--sea-blue);
    transform: translateY(-50%) scale(1.1);
}

.heritage-prev {
    left: 30px;
}

.heritage-next {
    right: 30px;
}

.heritage-dots {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.heritage-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid #1a3a52;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.heritage-dot.active,
.heritage-dot:hover {
    background: var(--sea-blue);
    border-color: var(--sea-blue);
    transform: scale(1.2);
}

/* ==========================================
   Decorative Line Section
   ========================================== */
.decorative-line-section {
    padding: 60px 20px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.decorative-line {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--sea-blue), transparent);
}

.line-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sea-blue);
    box-shadow: 0 0 20px rgba(85, 226, 233, 0.8), 0 0 40px rgba(85, 226, 233, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.7;
    }
}

/* ==========================================
   About Us - Pedigree Section
   ========================================== */
.pedigree-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, var(--white) 0%, #f8f9fa 100%);
    position: relative;
}

.pedigree-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.pedigree-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pedigree-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 136, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pedigree-card:hover::before {
    opacity: 1;
}

.pedigree-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--golden-border);
}

.pedigree-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--light-blue), var(--navy-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.pedigree-card:hover .pedigree-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(107, 163, 184, 0.5);
}

.pedigree-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.pedigree-card h3 {
    font-size: 1.8rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.pedigree-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================
   About Us - Values Section
   ========================================== */
.values-section {
    padding: 80px 20px;
    background: var(--white);
}

/* Modern Pedigree Section - Overlapping Squares */
.pedigree-modern {
    background-image: url('images/bg1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.pedigree-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.pedigree-modern .container {
    position: relative;
    z-index: 1;
}

.pedigree-squares-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* gap: 10px; */
    max-width: 1000px;
    margin: 3rem auto 0;
    /* position: relative; */
}

.pedigree-square {
    background: var(--white);
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    position: relative;
    z-index: 1;
}

.pedigree-square:first-child {
    width: 480px;
    /* height: 400px; */
    /* transform: rotate(-2deg); */
    /* z-index: 2; */
}

.pedigree-square:last-child {
    width: 480px;
    /* height: 400px; */
    /* transform: rotate(2deg); */
    /* margin-left: -120px; */
    /* z-index: 1; */
}

.pedigree-square h3 {
    font-size: 1.8rem;
    color: var(--deep-navy);
    margin-bottom: 1.5rem;
}

.pedigree-square p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.pedigree-modern .section-kicker {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: -1rem auto 2rem;
}

/* Modern Values Section - 2 Column Alternating with Animations */
.values-modern {
    position: relative;
    overflow: hidden;
    padding: 100px 20px;
}

.values-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(85, 226, 233, 0.15), transparent 70%);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    z-index: 0;
}

.values-modern.scrolled::before {
    width: 800px;
    height: 800px;
}

.values-modern .container {
    position: relative;
    z-index: 1;
}

.values-modern .section-title {
    position: relative;
}

.values-modern .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--sea-blue), transparent);
    transition: width 0.6s ease;
}


.values-modern.scrolled .section-title::after {
    width: 80px;
}

.values-modern .section-kicker {
    text-align: center;
    color: var(--text-light);
    max-width: 800px;
    margin: 2rem auto 3rem;
}

.values-alternating-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-item-text h3 {
    font-size: 1.8rem;
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.value-item-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sea-blue);
    transition: width 0.6s ease;
}

.value-item.visible .value-item-text h3::after {
    width: 60px;
}

.value-item-text p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.value-item-image {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--light-blue), var(--navy-blue));
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item-image i {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.3);
}

.value-item:nth-child(even) .value-item-text {
    order: 2;
}

.value-item:nth-child(even) .value-item-image {
    order: 1;
}

.feature-row { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 900px; margin: 0 auto; position: relative; z-index: 1; }
.feature-icon { display: grid; grid-template-columns: 56px auto; align-items: center; gap: .85rem; background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 14px; padding: .75rem .9rem; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; text-align: left; }
.feature-icon:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.feature-icon span:last-child { color: var(--deep-navy); font-weight: 600; }
.feature-details { overflow: hidden; max-height: 0; transition: max-height .4s ease, opacity .3s ease; opacity: 0; background: linear-gradient(180deg, #ffffff, #fbfeff); border: 1px solid rgba(0,0,0,0.05); border-radius: 12px; padding: 0 1rem; }
.feature-details p { padding: .9rem .25rem 1rem .25rem; color: var(--text-light); }
.feature-details[aria-live] { display:block; }
.feature-details.is-open { opacity: 1; padding-top: .25rem; }

.values-gradient-bg { position: absolute; left: 0; right: 0; height: 520px; top: 50%; transform: translateY(-50%); z-index: 0; pointer-events:none; background:
    radial-gradient(closest-side, rgba(85,226,233,.20), rgba(85,226,233,.10) 40%, transparent 70%);
    mask-image: radial-gradient(closest-side, rgba(0,0,0,1), rgba(0,0,0,0.2) 60%, transparent 75%);
}

/* Partners Ticker */
.partners-ticker { position: relative; }
.partners-ticker .ticker { overflow: hidden; position: relative; border-radius: 14px; background: linear-gradient(to bottom, #f8f9fa 0%, var(--white) 100%); box-shadow: 0 6px 24px rgba(0,0,0,0.05); }
.ticker-track { display: flex; align-items: center; gap: 2rem; padding: 1.25rem 1rem; animation: ticker-scroll 6s linear infinite; }
.ticker-item { flex: 0 0 auto; display: grid; place-items: center; width: 180px; height: 80px; filter: saturate(0.9) contrast(1.02); opacity: 0.9; transition: opacity .2s ease; }
.ticker-item img { max-width: 160px; max-height: 60px; object-fit: contain; }
.partners-ticker .ticker:hover .ticker-track { animation-play-state: paused; }

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-controls { position: relative; display: flex; gap: .5rem; justify-content: center; margin-bottom: 1rem; }
.ticker-nav { width: 42px; height: 42px; border-radius: 50%; border: none; background: #1a3a52; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 16px rgba(85,226,233,0.35); transition: transform .2s ease, background .2s ease; }
.ticker-nav:hover { transform: translateY(-2px); background: var(--navy-blue); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.value-card {
    background: linear-gradient(135deg, var(--light-beige) 0%, #f5ede0 100%);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 136, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--golden-border);
    box-shadow: 0 10px 30px rgba(212, 175, 136, 0.3);
}

.value-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--sea-blue), #1a3a52);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 136, 0.3);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 8px 30px rgba(212, 175, 136, 0.5);
}

.value-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.value-title {
    font-size: 1.8rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.value-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================
   About Us - Industry Section
   ========================================== */
.industry-section {
    padding: 80px 20px;
    /* background: linear-gradient(to bottom, #f8f9fa 0%, var(--white) 100%); */
    background: url('images/') center/cover no-repeat;
    /* position: relative; */
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.industry-item {
    background: #1a3a52;
    padding: 1.5rem;
    /* border-radius: 10px; */
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.industry-item:hover {
    transform: translateX(10px);
    border-color: var(--golden-border);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.industry-item i {
    font-size: 2rem;
    color: var(--golden-border);
    transition: all 0.3s ease;
}

.industry-item:hover i {
    color: var(--sea-blue);
    transform: scale(1.2);
}

.industry-item span {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
}

/* ==========================================
   About Us - Partners Section
   ========================================== */
.partners-section {
    padding: 80px 20px;
    /* background: var(--white); */
    background: linear-gradient(0deg, #bff6ff, transparent);
}

.category-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    background: transparent;
    border: 2px solid var(--golden-border);
    color: var(--deep-navy);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sea-blue), #1a3a52);
    transition: left 0.3s ease;
    z-index: -1;
}

.category-btn.active,
.category-btn:hover {
    color: var(--white);
    box-shadow: 0 5px 20px rgba(212, 175, 136, 0.3);
}

.category-btn.active::before,
.category-btn:hover::before {
    left: 0;
}

.carousel-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
    padding: 0 50px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(to bottom, #f8f9fa 0%, var(--white) 100%);
    padding: 2rem 0;
}

.carousel-track {
    display: none;
    gap: 2rem;
    padding: 0 2rem;
    transition: transform 0.5s ease;
}

.carousel-track.active {
    display: flex;
}

.partner-logo {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 220px;
    flex-shrink: 0;
}

.partner-logo:hover {
    transform: translateY(-5px);
    border-color: var(--golden-border);
    box-shadow: 0 5px 25px rgba(212, 175, 136, 0.2);
}

.partner-logo h3 {
    font-size: 1.3rem;
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
    font-family: 'Open Sans', sans-serif;
}

.partner-logo p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.partner-img {
    width: 100%;
    height: auto;
    max-width: 200px;
    max-height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--sea-blue);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 3px 15px rgba(212, 175, 136, 0.3);
}

.carousel-nav:hover {
    background: var(--navy-blue);
    box-shadow: 0 5px 25px rgba(212, 175, 136, 0.5);
}

.carousel-nav i {
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.carousel-nav:hover i {
    transform: scale(1.2);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: var(--sea-blue);
    width: 30px;
    border-radius: 5px;
}

/* ==========================================
   Leadership - Member Cards
   ========================================== */
.member-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.member-card {
    background: var(--white);
    /* border-radius: 15px; */
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    /* border-color: var(--golden-border); */
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.member-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(26, 58, 82, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.member-card:hover .member-image::before {
    opacity: 1;
}

.member-image img {
    width: 100%;
    height: 150%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.1);
}

.member-content {
    padding: 2rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.member-name {
    font-size: 1.5rem;
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
    font-family: 'Open Sans', sans-serif;
}

.member-role {
    font-size: 1rem;
    color: var(--light-blue);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.read-more-btn {
    background: transparent;
    border: 2px solid #89b3c5;
    color: var(--deep-navy);
    padding: 0.50rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    /* border-radius: 50px; */
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sea-blue), #1a3a52);
    transition: left 0.3s ease;
    z-index: -1;
}

.read-more-btn:hover {
    color: var(--white);
    transform: translateY(-3px);
    /* box-shadow: 0 5px 20px rgba(212, 175, 136, 0.4); */
}

.read-more-btn:hover::before {
    left: 0;
}

.advisors-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, var(--white) 100%);
}

.practice-heads-section {
    background: var(--white);
}

/* ==========================================
   Member Detail Page
   ========================================== */
.member-detail-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, var(--white) 0%, #f8f9fa 100%);
    min-height: 80vh;
}

.back-button {
    background: transparent;
    border: 2px solid var(--golden-border);
    color: var(--deep-navy);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-bottom: 3rem;
    font-family: 'Open Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-button:hover {
    background: linear-gradient(135deg, var(--sea-blue), #1a3a52);
    color: var(--white);
    transform: translateX(-5px);
    box-shadow: 0 5px 20px rgba(212, 175, 136, 0.4);
}

.member-detail-wrapper {
    /* max-width: 900px; */
    margin: 0 auto;
}

.member-detail-card {
    /* background: var(--white); */
    /* border-radius: 15px; */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background-color: #89b3c5;
}

.member-detail-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.member-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-detail-info {
    padding: 3rem;
     display: flex; 
    flex-direction: column;
    justify-content: center;
}

.member-detail-name {
    font-size: 2.0rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.member-detail-role {
    font-size: 1.3rem;
    /* color: var(--light-blue); */
    font-weight: 600;
    margin-bottom: 2rem;
}

.member-detail-description {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.8rem;
    font: italic;
    text-align: justify;

}

.member-detail-error {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.member-detail-error h2 {
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.member-detail-error p {
    color: var(--text-light);
    margin-bottom: 2rem;
}
@media (max-width: 700px) {
    .member-detail-card {
        flex-direction: column;
        align-items: center;
        padding: 1.2rem 0.5rem;
        gap: 1.2rem;
    }
    .member-detail-image img {
        width: 100%;
        max-width: 224px;
        margin-bottom: 1rem;
        max-height: 400px;
    }
    .member-detail-info {
        width: 100%;
        text-align: center;
        padding: 0 1rem;
    }
}
/* ==========================================
   Practices Page
   ========================================== */
.practices-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, var(--white) 0%, #f8f9fa 100%);
}

.tech-section {
    background: var(--white);
}

.practice-content {
    margin-top: 3rem;
}

.practice-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.practice-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.practice-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 136, 0.1), transparent);
    transition: left 0.5s ease;
}

.practice-item:hover::before {
    left: 100%;
}

.practice-item:hover {
    transform: translateY(-10px);
    border-color: var(--golden-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.practice-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--light-blue), var(--navy-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(107, 163, 184, 0.3);
}

.practice-item:hover .practice-icon {
    transform: scale(1.1) rotateY(10deg);
    box-shadow: 0 8px 30px rgba(107, 163, 184, 0.5);
}

.practice-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.practice-item h3 {
    font-size: 1.5rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.practice-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Modern practices (list-based, clean) */
.practices-modern .offerings { display: grid; gap: 1rem; max-width: 1100px; margin: 0 auto; }
.practices-modern .offerings.two-col { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
.practices-modern .offerings.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.offering-group { background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 14px; padding: 1rem 1.1rem; box-shadow: 0 6px 24px rgba(0,0,0,0.05); }
.offering-group h3 { font-size: 1.15rem; color: var(--deep-navy); display: flex; align-items: center; gap: .5rem; }
.group-sub { margin-top: .4rem; color: var(--text-light); }
.mini-bullet { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #bff6ff, var(--sea-blue)); box-shadow: 0 0 0 3px rgba(85,226,233,.2) inset; }

/* remove boxes when requested */
.practices-modern .no-boxes .offering-group { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
.practices-modern .no-boxes .offering-group h3 { margin-bottom: .5rem; }

/* vertical line list (no bullets) */
.vlist { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.vlist li { position: relative; padding-left: .75rem; color: var(--text-light); }
.vlist li::before { content: ''; position: absolute; left: 0; top: 0.25em; bottom: 0.25em; width: 2px; background: var(--sea-blue); border-radius: 2px; }

/* vertical dividers between tech subsections */
.with-section-dividers { column-gap: 1.5rem; }
.with-section-dividers .offering-group { padding-left: 1rem; }
.with-section-dividers .offering-group:not(:first-child) { 
    border-left: 1px solid ;
    padding-left: 10px;
    color: #1a3a52; }

@media (max-width: 1024px) {
    .practices-modern .offerings.three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .practices-modern .offerings.three-col { grid-template-columns: 1fr; }
}


.offerings.two-col {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 700px;
    
}
.offerings.two-col .offering-group {
    flex: 1 1 45%;
    
    /* margin: 0; */
}
@media (max-width: 900px) {
    .offerings.two-col {
        flex-direction: column;
    }
    .offerings.two-col .offering-group {
        /*min-width: 100%;*/
    }
}

/* ==========================================
   Insights Page
   ========================================== */
.insights-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, var(--white) 0%, #f8f9fa 100%);
}

.case-snapshots-section {
    background: var(--white);
}

.whitepapers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.whitepaper-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.whitepaper-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 136, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whitepaper-card:hover::before {
    opacity: 1;
}

.whitepaper-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--golden-border);
}

.whitepaper-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--sea-blue), #1a3a52);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 136, 0.3);
}

.whitepaper-card:hover .whitepaper-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(212, 175, 136, 0.5);
}

.whitepaper-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.whitepaper-title {
    font-size: 1.8rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.whitepaper-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.download-btn {
    background: transparent;
    border: 2px solid var(--golden-border);
    color: var(--deep-navy);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sea-blue), #1a3a52);
    transition: left 0.3s ease;
    z-index: -1;
}

.download-btn:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 175, 136, 0.4);
}

.download-btn:hover::before {
    left: 0;
}

.case-snapshots-content {
    margin-top: 3rem;
}

.case-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.case-placeholder {
    background: linear-gradient(135deg, var(--light-beige) 0%, #f5ede0 100%);
    padding: 4rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px dashed var(--golden-border);
}

.placeholder-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--sea-blue), #1a3a52);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 5px 20px rgba(212, 175, 136, 0.3);
}

.placeholder-icon i {
    font-size: 3rem;
    color: var(--white);
}

.case-placeholder h3 {
    font-size: 2rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.case-placeholder p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ==========================================
   Blogs Page
   ========================================== */
.blogs-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, var(--white) 0%, #f8f9fa 100%);
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.blog-card {
    /* background: var(--white); */
    border-radius: 15px;
    overflow: hidden;
    /* box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08); */
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    /* width: 100%; */
    /* height: 100%; */
    /* background: linear-gradient(135deg, rgba(26, 58, 82, 0.8), transparent); */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.blog-card:hover::before {
    opacity: 0.05;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--golden-border);
}

.blog-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--sea-blue);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-title {
    font-size: 1.8rem;
    color: var(--deep-navy);
    margin-bottom: 1rem;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-readmore {
    background: transparent;
    /* border: 2px solid var(--golden-border); */
    color: var(--deep-navy);
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    position: relative;
    overflow: hidden;
    align-self: flex-start;
}

.blog-readmore::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sea-blue), #1a3a52);
    transition: left 0.3s ease;
    z-index: -1;
}

.blog-readmore:hover {
    color: #1a3a52;;
    transform: translateY(-3px);
    /* box-shadow: 0 5px 20px rgba(212, 175, 136, 0.4); */
}

.blog-readmore:hover::before {
    left: 0;
}

/* ==========================================
   Blog Detail Page
   ========================================== */
.blog-detail-section {
    padding: 80px 20px;
    background: linear-gradient(to bottom, var(--white) 0%, #f8f9fa 100%);
    min-height: 80vh;
}

.blog-detail-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

 /* .blog-detail-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
}  */

.blog-detail-header {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    bottom: 0;
}

.blog-detail-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-meta {
    /* position: absolute; */
    bottom: 0;
    left: 0;
    right: 0;
    /* background: linear-gradient(to top,#bff6ff, transparent); */
    background: none;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    /* border-radius: 10px; */
    
}

.blog-detail-category {
    background: var(--sea-blue);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-detail-date {
    color: var(--black);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-detail-title {
    font-size: 2.5rem;
    color: var(--black);
    margin: 1.5rem 0 0 0;
    padding: 0 2rem;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.3;
}

.blog-detail-body {
    padding: 3rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.blog-detail-body h3 {
    font-size: 1.8rem;
    color: var(--deep-navy);
    margin: 2rem 0 1rem 0;
    font-family: 'Open Sans', sans-serif;
}

.blog-detail-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.blog-detail-body ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-detail-body ul li {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.blog-detail-body ul li strong {
    color: var(--deep-navy);
}

.blog-detail-error {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.blog-detail-error h2 {
    color: var(--deep-navy);
    margin-bottom: 1rem;
}

.blog-detail-error p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Banner image styles */
.page-banner {
    position: relative;
    height: 50vh;
    overflow: hidden;
    background-position: center;
    background-size: cover;
}

.blogs-banner {
    background-image: url('images/img14.jpg');
}

.contact-banner {
    background-image: url('images/img14.jpg');
}

.leadership-banner {
    background-image: url('images/img14.jpg');
}

.insights-banner {
    background-image: url('images/img14.jpg');
}


 .insighs-banner-overlay, .leadership-banner-overlay,
  .contact-banner-overlay, .blogs-banner-overlay, .about-banner-overlay {
     position: absolute;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 82, 0.6);
    background: rgba(26, 58, 82, 0.7) !important;
    z-index: 1;
} 

.about-banner {
    background-image: url('images/img14.jpg');
}

.practices-banner {
    background-image: url('images/img14.jpg');
}
.practices-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 58, 82, 0.6);
    background: rgba(26, 58, 82, 0.7) !important;
    z-index: 1;
} 


/* .banner-overlay {
    background: rgba(26, 58, 82, 0.7) !important;
} */

/* Blog animations */
.blog-readmore {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-readmore:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 136, 0.3);
}

.blog-readmore::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(90deg, transparent, rgba(212, 175, 136, 0.2), transparent); */
    transition: left 0.5s ease;
}

.blog-readmore:hover::before {
    left: 100%;
}

.blog-detail-card {
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

/* Back button animation */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid var(--golden-border);
    color: var(--deep-navy);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.nav-item.dropdown {
    position: relative;
}
.nav-item .dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 100;
    border-radius: 4px;
    padding: 0.5em 0;
    /* height: 25px; */
}
.nav-item .dropdown-menu li {
    list-style: none;
}
.nav-item .dropdown-menu a {
    display: block;
    padding: 0.75em 1.5em;
    color: var(--navy-blue, #1a3a52);
    text-decoration: none;
    transition: background 0.2s;
   padding: 8px;
}
.nav-item .dropdown-menu a:hover {
    background:  #9fe9f7;
    /* height: 25px; */
}
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown:focus-within .dropdown-menu {
    display: block;
}
/* .back-button:hover {
    background: var(--golden-beige);
    color: var(--white);
    transform: translateX(-5px);
} */

.back-button i {
    transition: transform 0.3s ease;
}

.back-button:hover i {
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .logo {
        flex-wrap: wrap;
    }

    .logo-img {
        height: 40px;
    }

    .logo-text h1 {
        font-size: 1.5rem;
    }

    .logo-text .tagline {
        font-size: 0.65rem;
    }

    /* Heritage Carousel Mobile */
    .heritage-carousel {
        height: 500px;
    }

    .slide-title {
        font-size: 2rem;
    }

    .slide-subtitle {
        font-size: 1.2rem;
    }

    .slide-description {
        font-size: 1rem;
    }

    .heritage-nav {
        width: 40px;
        height: 40px;
    }

    .heritage-prev {
        left: 15px;
    }

    .heritage-next {
        right: 15px;
    }

    /* Values Alternating Grid Mobile */
    .values-alternating-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .value-item:nth-child(even) .value-item-text,
    .value-item:nth-child(even) .value-item-image {
        order: 0;
    }

    /* Pedigree Squares Mobile */
    .pedigree-squares-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .pedigree-square:first-child,
    .pedigree-square:last-child {
        width: 100%;
        height: auto;
        transform: none;
        margin-left: 0;
    }

    /* Modules Dropdown Mobile */
    .modules-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        display: none;
        box-shadow: none;
        background: rgba(26, 58, 82, 0.95);
    }

    .nav-item.has-dropdown:hover .modules-dropdown,
    .nav-item.has-dropdown.active .modules-dropdown {
        display: block;
    }

    .modules-dropdown a {
        color: var(--white);
        border-left-color: transparent;
    }

    .modules-dropdown a:hover {
        background: rgba(85, 226, 233, 0.2);
        border-left-color: var(--sea-blue);
    }

    .member-grid {
        grid-template-columns: 1fr;
    }

    .member-detail-card {
        grid-template-columns: 1fr;
    }

    .member-detail-image {
        height: 400px;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
    }

    .whitepapers-grid {
        grid-template-columns: 1fr;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .blog-detail-image {
        height: 250px;
    }

    .blog-detail-title {
        font-size: 1.8rem;
        padding: 0 1rem;
    }

    .blog-detail-body {
        padding: 2rem 1.5rem;
    }

    .blog-detail-meta {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--navy-blue);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .leadership-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .highlights-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        height: 70vh;
    }

    .page-banner {
        height: 40vh;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .pedigree-content,
    .values-grid,
    .industry-grid {
        grid-template-columns: 1fr;
    }


    .carousel-wrapper {
        padding: 0 40px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

    .prev-btn {
        left: -20px;
    }

    .next-btn {
        right: -20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .leadership-card,
    .highlight-box,
    .service-box {
        padding: 1.5rem;
    }
}
