/* :root {
    --teal: #2D8B7D;
    --charcoal: #414141;
    --white: #ffffff;
    --light-grey: #f8fbfb;
} */
 /* :root {
    --teal: #2D8B7D;
    --charcoal: #414141;
    --primary: #2D8B7D;    
    --secondary: #414141;  
    --white: #ffffff;
    --light-grey: #f8fbfb;
} */
 
 :root {
    --teal: #2D8B7D;
    --charcoal: #414141;
    --primary: #2D8B7D;    /* Added for About Section consistency */
    --secondary: #414141;  /* Added for About Section consistency */
    --white: #ffffff;
    --light-grey: #f8fbfb;
}

/* Specific Title and Text Animation Styles */
.about-content-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-about .about-content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.title-animation-box {
    overflow: hidden; /* Clips the text for a sliding reveal */
    margin-bottom: 20px;
}

.title-reveal {
    /* font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 20px 0;
    overflow: hidden; */
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--charcoal);
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.animate-about .title-reveal {
    transform: translateY(0);
}

.description-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    opacity: 0;
    /* transform: translateY(20px); */
    transition: all 0.6s ease 0.4s; /* Delays text until after title starts */
}

.animate-about .description-text {
    opacity: 1;
    /* transform: translateY(0); */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--charcoal); overflow-x: hidden; line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
/* .section { padding: 100px 0; } */
/* Adjust the generic section padding if needed */
.section { 
    padding: 60px 0; /* Reduced from 100px */
}
.center { text-align: center; margin-bottom: 50px; }
.text-teal { color: var(--teal); }
.text-white { color: var(--white); }
.bg-charcoal { background: var(--charcoal); color: var(--white); }

/* Navigation */
.navbar { position: fixed; width: 100%; top: 0; padding: 20px 0; z-index: 1000; transition: 0.4s; }
.navbar.scrolled { background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; color: var(--teal); }
.logo span { color: var(--charcoal); font-weight: 400; }
.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--charcoal); font-weight: 600; }
.nav-btn { background: var(--teal); color: white !important; padding: 10px 20px; border-radius: 5px; }

/* Hero Background */
/* .hero {
    padding: 180px 0 120px;
    background: radial-gradient(at 0% 0%, rgba(45, 139, 125, 0.1) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(65, 65, 65, 0.05) 0px, transparent 50%);
} */

/* Hero Container Setup */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white; /* Text becomes white for dark background */
}

/* 1. ANIMATED BACKGROUND IMAGE */
.hero-bg-animated {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1600');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: zoomBackground 20s infinite alternate;
}

/* 2. TEAL TINT OVERLAY */
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Gradient from dark charcoal to a transparent teal */
    background: linear-gradient(135deg, rgba(65, 65, 65, 0.9) 0%, rgba(45, 139, 125, 0.4) 100%);
    z-index: -1;
}

/* 3. GLASS CONTENT BOX */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    color: #ffffff; /* Contrast against dark bg */
    font-size: 3.8rem;
}

.hero-content p {
    color: #e0e0e0;
}

/* KEN BURNS ANIMATION */
@keyframes zoomBackground {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

/* Keep the floating image animation from previous code */
.floating-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

.badge { background: rgba(45, 139, 125, 0.1); color: var(--teal); padding: 5px 15px; border-radius: 50px; font-size: 12px; font-weight: 700; }
.hero h1 { font-size: 4rem; margin: 20px 0; line-height: 1.1; }
.hero-visual { position: relative; }
.floating-img { width: 100%; border-radius: 20px; box-shadow: 0 30px 60px rgba(0,0,0,0.1); animation: float 6s ease-in-out infinite; }
.blob-bg { position: absolute; top: 0; right: 0; width: 300px; height: 300px; background: var(--teal); filter: blur(100px); opacity: 0.2; z-index: -1; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Feature Cards */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: rgba(255,255,255,0.05); padding: 40px; border-radius: 15px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.card:hover { background: var(--teal); transform: translateY(-10px); }
.card h3 { margin: 15px 0; }

/* Buttons */
.btn-main { background: var(--teal); color: white; border: none; padding: 15px 30px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.btn-outline { background: transparent; border: 2px solid var(--teal); color: var(--teal); padding: 13px 30px; border-radius: 8px; margin-left: 10px; cursor: pointer; }

/* Responsive */
@media (max-width: 768px) {
    .grid-2, .features-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
}

/* Import Modern Tech Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;500;700;800&display=swap');

/* :root {
    --teal: #2D8B7D;
    --charcoal: #414141;
}

.about-modern {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #ffffff;
    overflow: hidden;
}


.about-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.image-mask {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--teal);
    z-index: 2;
    transform: translateX(-101%);
}

/* This class is triggered by JS on scroll 
.animate-mask .image-mask {
    animation: revealMask 1.4s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes revealMask {
    0% { transform: translateX(-101%); }
    50% { transform: translateX(0); }
    100% { transform: translateX(101%); }
}

/* 2. MODERN TYPOGRAPHY 
.modern-tag {
    display: inline-block;
    color: var(--teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 15px;
    border-left: 3px solid var(--teal);
    padding-left: 10px;
}

.split-text {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 25px;
}

.description {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s all ease 0.6s;
}

.description.active { opacity: 1; transform: translateY(0); }

/* 3. STATS ANIMATION 
.stats-row { display: flex; gap: 40px; margin-top: 40px; }
.stat-item { text-align: left; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: var(--charcoal); }
.stat-plus { color: var(--teal); font-size: 1.5rem; font-weight: 800; } */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

/* --- ABOUT US SECTION --- */
.about-modern {
    background: #ffffff;
    /* padding: 120px 0; */
    overflow: hidden;
}



/* Image Wrapper with Asymmetrical Border */
.about-visual-wrapper {
    position: relative;
    padding: 20px;
}

.main-image-container {
    position: relative;
    border-radius: 60px 0 60px 0; /* Matches geometric logo vibe */
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

/* The Teal Mask Reveal */
.reveal-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary); /* #2D8B7D */
    z-index: 3;
    transform: translateY(0);
    transition: transform 1.2s cubic-bezier(0.8, 0, 0.2, 1);
}

/* Triggered when visible */
.animate-about .reveal-mask {
    transform: translateY(101%);
}

.parallax-img {
    width: 100%;
    display: block;
    transform: scale(1.2);
    transition: transform 1.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.animate-about .parallax-img {
    transform: scale(1);
}

/* Floating Experience Badge */
.experience-card {
    position: absolute;
    top: -10px;
    left: -10px;
    background: var(--primary);
    color: white;
    padding: 25px;
    border-radius: 15px;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(45, 139, 125, 0.3);
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Typography for About */
.modern-badge {
    /* background: rgba(45, 139, 125, 0.1);
    color: var(--primary);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px; */
    color: var(--teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 10px;
}

.about-content-wrapper h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--secondary);
}

.description-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* Minimal Feature Icons */
.f-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.f-item i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 5px;
}

.f-item h4 { font-weight: 700; margin-bottom: 5px; }

/* Section Header Styling */
.section-header.center {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-line {
    width: 60px;
    height: 4px;
    background: var(--teal);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Ensure the Section Title reveal works with your existing script */
/* .reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
} */

.reveal-up {
    opacity: 1; /* Reset to 1 so it's visible by default if JS fails */
    transition: all 0.8s ease;
}

.animate-about .reveal-up {
    opacity: 1;
    transform: translateY(0);
}



/* Why Choose Us Section Tweaks */
/* Reduce spacing to match About Us */
.why-modern {
    padding: 60px 0 !important; 
}

.why-modern .section-header {
    margin-bottom: 40px;
}

/* Updated Card with Image */
.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden; /* Clips the image corners */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.8;
}

.card:hover .card-image img {
    transform: scale(1.1);
    opacity: 1;
}

/* .card-content {
    padding: 25px;
    position: relative;
} */

/* 3. Ensure Card Content doesn't overlap icons */
.card-content {
    padding: 30px 25px 25px;
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    flex-grow: 1;
}

.card-icon {
    position: absolute;
    top: -30px;
    right: 20px;
    background: var(--teal) !important;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    /* font-size: 1.5rem;
    color: white; */
    z-index: 10; /* Ensure it sits above everything */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card-icon i {
    color: #ffffff !important; /* THE ICON MUST BE WHITE TO BE VISIBLE ON TEAL */
    font-size: 1.5rem;
    display: block !important;
}

.card h3 {
    margin-top: 10px;
    font-size: 1.25rem;
}

/* Ensure Icons are visible and colored */
/* .card-icon i {
    color: var(--teal) !important;
    display: inline-block !important;
    font-style: normal;
} */

/* Ensure reveal-up behaves correctly */
/* .reveal-up {
    opacity: 0;
    visibility: hidden; /* Added to prevent accidental clicks while hidden 
}*/

/* This class is added by ScrollReveal when the user scrolls */
.reveal-up.reveal-active {
    opacity: 1;
    visibility: visible;
} 


.approach-modern {
    padding: 60px 0 !important; /* Reduced space like About Us */
    background: #ffffff;
    overflow: visible; /* Ensure nothing clips the floating numbers */
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    margin-top: 60px;
}

/* The visual container holding the circle and the number */
.step-visual {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
}

/* The circular image box (clips the image only) */
.step-image-box {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: var(--teal);
}

.step-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Fix: Positioned outside the hidden overflow of the image box */
.step-num {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--teal);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    border: 4px solid #ffffff;
    z-index: 10; /* Ensures it stays on top */
    box-shadow: 0 5px 15px rgba(45, 139, 125, 0.3);
}

.approach-item:hover .step-image-box img {
    transform: scale(1.1);
}

.approach-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--charcoal);
}

/* Connecting line logic */
.connecting-line {
    position: absolute;
    top: 90px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(45, 139, 125, 0.1);
    z-index: 1;
}

.approach-item {
    position: relative;
    z-index: 5; /* Higher than the line */
    text-align: center;
}

@media (max-width: 992px) {
    .approach-grid { grid-template-columns: repeat(2, 1fr); gap: 50px; }
    .connecting-line { display: none; }
}

@media (max-width: 576px) {
    .approach-grid { grid-template-columns: 1fr; }
}


/* --- CTA SECTION --- */
.cta-modern {
    position: relative;
    padding: 80px 0 !important;
    background: var(--charcoal);
    overflow: hidden;
    text-align: center;
}

/* Background Image with slow zoom animation */
.cta-modern::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
    animation: kenBurns 20s infinite alternate;
}

@keyframes kenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.cta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, var(--charcoal), transparent, var(--charcoal));
    z-index: 2;
}

.cta-content-box {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content-box h2 {
    font-size: 4rem;
    font-weight: 800;
    margin: 20px 0;
    line-height: 1.1;
}

.cta-content-box p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Magnetic Button override for CTA */
.cta-modern .btn-main {
    padding: 20px 45px;
    font-size: 1.1rem;
    box-shadow: 0 15px 35px rgba(45, 139, 125, 0.4);
}

@media (max-width: 768px) {
    .cta-content-box h2 { font-size: 2.5rem; }
}




/* --- SECTION BACKGROUNDS --- */
.bg-light-grey {
    background-color: #f8fbfb !important; /* Subtle teal-tinted grey */
}

.approach-modern {
    background-color: #ffffff !important; /* Pure white for contrast */
}

/* --- SERVICES DISPLAY FIXES --- */
.services-modern {
    padding: 60px 0 !important;
    background: #f8fbfb;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    /* margin-top: 40px; */
}

.service-card {
    /* background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease; */
    position: relative;
    height: 350px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* Keeps content at bottom */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* Background Image Overlay */
.card-bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3; /* Barely visible initially */
    transition: all 0.6s ease;
    filter: grayscale(80%);
}

/* Gradient Overlay to ensure text readability */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, #ffffff 40%, rgba(255, 255, 255, 0));
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(45, 139, 125, 0.1);
    /* border-color: var(--teal); */
}

.service-card:hover .card-bg-img {
    opacity: 0.7;
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Icon Animation */
.s-icon-wrapper {
    width: 50px;
    height: 50px;
    background: var(--teal);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 15px rgba(45, 139, 125, 0.2);
}

.service-card:hover .s-icon-wrapper {
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 20px rgba(45, 139, 125, 0.3);
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.service-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
    /* background: linear-gradient(to top, #ffffff 80%, transparent); */
}

.service-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

/* List Stagger Animation on Hover */
.service-list li {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.service-card:hover .service-list li {
    opacity: 1;
    transform: translateX(5px);
}

/* .service-list li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.service-list li::before {
    content: '•';
    color: var(--teal);
    position: absolute;
    left: 0;
    font-weight: bold;
} */

/* --- APPROACH Z-INDEX FIXES --- */
.approach-modern .connecting-line {
    z-index: 0; /* Keep line behind everything */
}

.approach-modern .approach-item {
    z-index: 2; /* Keep content above line */
    background: transparent;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
}


/* Footer CSS */
/* --- LIGHT FOOTER STYLE --- */
.footer-light {
    background-color: var(--white);
    color: var(--charcoal);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Ensure the background animation is subtle and doesn't overpower text */
.footer-bg-animation {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 139, 125, 0.1) 0%, transparent 50%);
    /* background: radial-gradient(circle at 50% 50%, rgba(45, 139, 125, 0.03) 0%, transparent 70%); */
    /* pointer-events: none; */
    animation: rotateGlow 20s linear infinite;
    z-index: 1;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-col h4 {
    color: var(--charcoal);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: #2d8b7d; /* Logo Teal */
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #666; /* Lighter charcoal for links */
    transition: 0.3s;
    font-weight: 500;
}

.footer-col ul li a:hover {
    color: var(--teal);
    padding-left: 5px;
}

.footer-col p {
    color: #666;
    line-height: 1.6;
}

/* Social Links Adjustment */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(45, 139, 125, 0.1);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateY(-3px);
}

/* CTA Link in Footer */
.footer-cta-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--teal);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.footer-cta-link:hover {
    border-bottom-color: var(--teal);
    letter-spacing: 1px;
}

/* Footer Bottom Bar */
.footer-bottom {
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 0.9rem;
}

.footer-legal a {
    color: #888;
    text-decoration: none;
    margin-left: 20px;
}

.footer-legal a:hover {
    color: var(--teal);
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}



/* Logo Styling */
.brand-logo-img {
    height: 50px; /* Adjust this height to fit your navbar/footer */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Navbar specific adjustment */
.navbar .brand-logo-img {
    height: 45px;
}

/* Footer specific adjustment */
.footer-logo {
    margin-bottom: 25px;
}

.footer-logo .brand-logo-img {
    height: 60px; /* Slightly larger in footer */
    /* filter: brightness(0) invert(1);  */
    /* Optional: Makes the logo pure white if footer is too dark */
}

/* Add a subtle hover effect */
.brand-logo-img:hover {
    transform: scale(1.05);
}

.navbar .nav-link:hover {
    color: #2d8b7d; /* The Teal from your logo */
}

.btn-main {
    background: #2d8b7d; /* The Teal from your logo */
    border: none;
}




/* --- NAVBAR & LOGO FIX --- */
/* --- SPACIOUS NAVBAR --- */
.navbar-modern {
    /* position: fixed;
    top: 0;
    width: 100%;
    background: #ffffff;
    /* Height reduced to 70px for a sleeker look *
    height: 70px; 
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease; */

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 30px;
    border-radius: 100px; /* Makes it a pill-shaped island */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

/* .navbar-modern .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Slightly tighter container for balance 
    width: 90%;
    margin: 0 auto;
} */

/* .header-logo-img {
    /* Logo height adjusted to fit the smaller bar
    height: 40px; 
    width: auto;
} */

/* .nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    /* Removes default margins that might be squeezing the layout 
    margin: 0;
    padding: 0;
} */

/* .nav-link {
    text-decoration: none;
    color: #3d4142;
    font-weight: 500;
    font-size: 0.9rem; /* Slightly smaller font for the lower height 
    margin-left: 35px; 
    transition: color 0.3s ease;
} */

/* Subtle underline effect on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2d8b7d;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* More prominent CTA Button */
/* Slimmer CTA Button */
/* .btn-nav {
    background: #2d8b7d;
    color: #ffffff !important;
    padding: 8px 20px; /* Reduced vertical padding 
    border-radius: 4px; /* Squarer edges look better in low-profile bars 
    margin-left: 35px;
    font-weight: 600;
} */
/* Body adjustment for the taller header */
body {
    /* padding-top: 70px; */
}


/* --- MODERN FLOATING HEADER --- */
.main-header {
    position: fixed;
    top: 20;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0; /* Creates the 'floating' effect */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shrink header on scroll */
.main-header.scrolled {
    padding: 10px 0;
}

/* Glassmorphism Effect on Scroll */
.header-scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px); /* Modern blur effect */
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-modern .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.header-logo-img {
    /* height: 42px; /* Sleek, professional height 
    width: auto;
    transition: transform 0.3s ease; */
    height: 52px; /* Significantly larger for visibility */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.header-logo-img:hover {
    transform: scale(1.05);
}

/* --- NAV LINKS STYLE --- */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 10px; /* Modern spacing method */
}

.nav-link {
    text-decoration: none;
    color: var(--charcoal);
    /* color: #3d4142; */
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    /* position: relative; */
}

/* Modern Hover Indicator */
.nav-link:not(.btn-nav):hover {
    /* color: #2d8b7d; 
    background: rgba(45, 139, 125, 0.05); */
    /* background: #f4f7f6;
    color: #2d8b7d;  */
    color: var(--teal);
    background: rgba(45, 139, 125, 0.05);
}

/* --- THE "START A PROJECT" BUTTON --- */
.btn-nav {
    background: #2d8b7d; /* Logo Teal */
    color: #ffffff !important;
    padding: 12px 25px !important;
    /* border-radius: 50px;  */
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(45, 139, 125, 0.3);
    border: none;
    /* margin-left: 10px; */
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #3d4142; /* Logo Charcoal */
}




/* --- MOBILE TOGGLE --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: 0.3s;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .mobile-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden off-screen */
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        width: 80%;
        text-align: center;
    }
}
