:root {
    --primary: #6CC24A;
    --primary-hover: #4CAF50;
    --primary-dark: #2E7D32;
    --primary-light: #E8F5E9;
    --secondary: #000b66; /* Navy Blue */
    --accent: #F4D35E; /* Gold/Yellow for highlights */
    --text: #1A1A1A;
    --text-muted: #555555;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --gradient-hero: linear-gradient(135deg, #000b66 0%, #2E7D32 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.text-primary-custom { color: var(--primary); }
.text-secondary-custom { color: var(--secondary); }
.bg-light { background-color: var(--bg-light) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }

/* Navbar */
.navbar-custom {
    padding: 1rem 0;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    z-index: 1030; /* Ensure navbar stays on top of sticky elements */
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--secondary) !important;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.navbar-brand i { 
    color: var(--primary); 
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.navbar-brand:hover i {
    transform: rotate(360deg) scale(1.2);
}

.nav-link {
    color: var(--secondary) !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 80%;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
}

/* Dropdown Animation */
.dropdown-toggle::after {
    display: none !important;
}

.nav-item.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-item.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    color: var(--secondary);
    transition: all 0.2s;
    position: relative;
    padding-left: 1.5rem;
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    padding-left: 2rem;
}

.dropdown-item::before {
    content: '\f054'; /* FontAwesome chevron-right */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 10px;
    opacity: 0;
    transition: all 0.2s;
    font-size: 0.8rem;
}

.dropdown-item:hover::before {
    opacity: 1;
}

/* Navbar CTA Button */
.btn-nav-cta {
    background: linear-gradient(45deg, var(--primary), #43a047);
    color: white !important;
    border-radius: 50px;
    padding: 0.6rem 1.8rem !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.4s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, #43a047, var(--primary));
    transition: all 0.4s ease;
    z-index: -1;
    border-radius: 50px;
}

.btn-nav-cta:hover::before {
    width: 100%;
}

.btn-nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

/* Hero Carousel Section */
.hero-carousel-section {
    position: relative;
    overflow: hidden;
    background-color: #000; /* Prevent white flash during fade */
}

.carousel-item {
    height: 90vh;
    min-height: 650px;
    position: relative;
    overflow: hidden;
}

/* Background Zoom Effect using pseudo-element won't work easily with inline styles unless we change HTML. 
   We will use background-size animation instead. */
.carousel-item {
    background-size: 110% auto; /* Start slightly zoomed in */
    background-position: center;
    background-repeat: no-repeat;
    transition: background-size 20s ease; /* Fallback */
}

.carousel-item.active {
    animation: kenBurns 20s linear infinite alternate;
}

@keyframes kenBurns {
    0% { background-size: 110% auto; }
    100% { background-size: 130% auto; }
}

@media (max-width: 768px) {
    .carousel-item, .carousel-item.active {
        background-size: cover;
        animation: none; /* Disable zoom on mobile for performance */
    }
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Typography Enhancements */
.hero-carousel-section .badge {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 25px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    margin-bottom: 1.5rem !important;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-carousel-section h1.display-3 {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    line-height: 1.2;
    margin-bottom: 1.5rem !important;
}

.hero-carousel-section .lead {
    font-size: 1.4rem;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Custom Navigation Arrows */
.control-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.control-icon-wrapper i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .control-icon-wrapper,
.carousel-control-next:hover .control-icon-wrapper {
    background: var(--primary); /* Use brand color */
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(108, 194, 74, 0.4);
}

.carousel-control-prev, .carousel-control-next {
    width: 8%;
    opacity: 1; /* Always visible */
}


/* Typography & Animations */
.animate__animated-custom {
    opacity: 0; /* Start hidden */
}

/* Only animate when the slide is active */
.carousel-item.active .animate__animated-custom {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.carousel-item.active .animate__fadeInDown {
    animation-name: fadeInDownCustom;
}

.carousel-item.active .animate__fadeInUp {
    animation-name: fadeInUpCustom;
}

.delay-1 { animation-delay: 0.5s; }
.delay-2 { animation-delay: 1s; }
.delay-3 { animation-delay: 1.5s; }

@keyframes fadeInDownCustom {
    from {
        opacity: 0;
        transform: translate3d(0, -50px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUpCustom {
    from {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Buttons */
.btn-hero-primary {
    background: linear-gradient(45deg, var(--primary), #4CAF50);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(108, 194, 74, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-hero-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.4s;
    z-index: -1;
}

.btn-hero-primary:hover::after {
    transform: translateX(100%);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 194, 74, 0.6);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--secondary);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Indicators */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    margin: 0 6px;
    opacity: 0.7;
    transition: all 0.3s;
}

.carousel-indicators .active {
    background-color: white;
    transform: scale(1.2);
    opacity: 1;
}

.trust-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

.trust-section::before,
.trust-section::after {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(0px);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.trust-section::before {
    top: -220px;
    left: -220px;
    background: radial-gradient(circle, rgba(108, 194, 74, 0.18) 0%, rgba(108, 194, 74, 0) 70%);
    animation: trust-float-blob 14s ease-in-out infinite;
}

.trust-section::after {
    bottom: -260px;
    right: -260px;
    background: radial-gradient(circle, rgba(0, 11, 102, 0.14) 0%, rgba(0, 11, 102, 0) 70%);
    animation: trust-float-blob 18s ease-in-out infinite reverse;
}

@keyframes trust-float-blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -24px) scale(1.05); }
}

.trust-item {
    position: relative;
    z-index: 1;
}

.trust-card {
    position: relative;
    height: 100%;
    padding: 1.6rem 1.3rem;
    border-radius: 18px;
    border: 1px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(108, 194, 74, 0.65), rgba(0, 11, 102, 0.35), rgba(244, 211, 94, 0.55)) border-box;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.trust-card::after {
    content: '';
    position: absolute;
    top: -30%;
    left: -70%;
    width: 55%;
    height: 160%;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    animation: trust-shine 4.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes trust-shine {
    0% { transform: translateX(0) skewX(-20deg); opacity: 0; }
    15% { opacity: 1; }
    45% { transform: translateX(240%) skewX(-20deg); opacity: 0; }
    100% { transform: translateX(240%) skewX(-20deg); opacity: 0; }
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.trust-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 194, 74, 0.18);
    color: var(--primary);
    font-size: 1.2rem;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.trust-card:hover .trust-icon {
    transform: rotate(-10deg) scale(1.06);
    background: var(--primary);
    color: #ffffff;
}

.trust-number {
    font-size: 2.35rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.05;
    margin-bottom: 0.35rem;
    color: var(--secondary);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 55%, var(--accent) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trust-label {
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.2px;
}

.trust-item:nth-child(1) .trust-card { animation: trust-in 0.7s ease-out 0.05s both; }
.trust-item:nth-child(2) .trust-card { animation: trust-in 0.7s ease-out 0.15s both; }
.trust-item:nth-child(3) .trust-card { animation: trust-in 0.7s ease-out 0.25s both; }
.trust-item:nth-child(4) .trust-card { animation: trust-in 0.7s ease-out 0.35s both; }

@keyframes trust-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .trust-section::before,
    .trust-section::after,
    .trust-card::after,
    .trust-item .trust-card {
        animation: none !important;
    }
    .trust-card,
    .trust-icon {
        transition: none !important;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.service-card {
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
}
.service-icon-box {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s;
}
.service-card:hover .service-icon-box {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
}
.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Services Section Redesign */
.home-services {
    position: relative;
    overflow: hidden;
    background-color: #f8faff; /* Very light blue-grey for contrast */
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Background Decorations */
.services-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    z-index: 0;
}
.services-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(108, 194, 74, 0.2);
    top: -100px;
    left: -100px;
    animation: floatOrb 10s infinite alternate;
}
.services-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(0, 11, 102, 0.15);
    bottom: -50px;
    right: -50px;
    animation: floatOrb 12s infinite alternate-reverse;
}
@keyframes floatOrb {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

/* Header */
.services-header {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}
.services-kicker {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(108, 194, 74, 0.15);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.services-header h2 {
    font-size: 2.5rem;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

/* Service Cards */
.service-item {
    position: relative;
    z-index: 1;
}

.service-card {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hover Effect: Lift & Glow */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 11, 102, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Icon Styling */
.service-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0fdf4 0%, #e6f7ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

/* Icon Blob Effect */
.service-icon-box::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    z-index: -1;
    transition: all 0.4s ease;
    filter: blur(10px);
    opacity: 0;
}

.service-card:hover .service-icon-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    transform: scale(1.1) rotate(5deg);
}

.service-card:hover .service-icon-box::after {
    opacity: 0.6;
}

/* Content */
.service-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Explore Button */
.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 2rem;
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid rgba(0, 11, 102, 0.1);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
    z-index: -1;
}

.service-link:hover {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(108, 194, 74, 0.3);
}

.service-link:hover::before {
    width: 100%;
}


/* Featured Projects */
.project-card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}
.project-card:hover img {
    transform: scale(1.05);
}
.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.home-projects {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}

.projects-orb {
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

.projects-orb-1 {
    top: -280px;
    right: -280px;
    background: radial-gradient(circle, rgba(244, 211, 94, 0.22) 0%, rgba(244, 211, 94, 0) 70%);
    animation: projects-orb-float 18s ease-in-out infinite;
}

.projects-orb-2 {
    bottom: -300px;
    left: -300px;
    background: radial-gradient(circle, rgba(0, 11, 102, 0.14) 0%, rgba(0, 11, 102, 0) 70%);
    animation: projects-orb-float 22s ease-in-out infinite reverse;
}

@keyframes projects-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-28px, 22px) scale(1.05); }
}

.projects-header {
    position: relative;
    z-index: 1;
}

.projects-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(244, 211, 94, 0.18);
    color: var(--secondary);
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-size: 0.82rem;
    margin-bottom: 0.75rem;
}

.home-projects .section-header h2 {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 62%, var(--accent) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.projects-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(10px);
}

.projects-strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 11, 102, 0.06), rgba(108, 194, 74, 0.08));
    color: var(--secondary);
    font-weight: 800;
}

.projects-strip-item i {
    color: var(--primary);
}

.home-projects .row {
    position: relative;
    z-index: 1;
}

.project-item:nth-child(1) .project-card-v2 { animation: projects-in 0.75s ease-out 0.05s both; }
.project-item:nth-child(2) .project-card-v2 { animation: projects-in 0.75s ease-out 0.15s both; }
.project-item:nth-child(3) .project-card-v2 { animation: projects-in 0.75s ease-out 0.25s both; }

@keyframes projects-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.project-card-v2 {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-media {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 11, 102, 0.08), rgba(108, 194, 74, 0.10));
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.7s ease;
}

.project-card-v2:hover .project-media img {
    transform: scale(1.1);
}

.project-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

.project-media-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 2rem;
}

.project-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    font-weight: 900;
    color: var(--secondary);
    z-index: 1;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.project-body {
    padding: 1.4rem 1.35rem 1.5rem;
}

.project-title {
    font-weight: 900;
    letter-spacing: -0.4px;
    margin-bottom: 0.55rem;
    color: var(--secondary);
}

.project-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(108, 194, 74, 0.12);
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.project-meta i {
    color: var(--primary);
}

.project-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.project-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--secondary), #06307f);
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.2px;
    box-shadow: 0 14px 28px rgba(0, 11, 102, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.project-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 11, 102, 0.26);
    color: #ffffff;
}

.project-cta:hover::after {
    transform: translateX(120%);
}

.projects-foot {
    position: relative;
    z-index: 1;
}

.projects-foot-note {
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.projects-more {
    font-weight: 900;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(244, 211, 94, 0.20);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.projects-more:hover {
    transform: translateY(-2px);
    background: rgba(244, 211, 94, 0.32);
    color: var(--secondary);
}

@media (max-width: 991.98px) {
    .projects-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    .projects-orb-1,
    .projects-orb-2,
    .project-item .project-card-v2 {
        animation: none !important;
    }
    .project-card-v2,
    .project-media img,
    .project-cta,
    .projects-more {
        transition: none !important;
    }
}

/* Why Choose Us */
.section-why {
    background: linear-gradient(135deg, #000b66 0%, #001a4d 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.section-why::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(108, 194, 74, 0.1) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(244, 211, 94, 0.05) 0%, transparent 20%);
    z-index: 0;
}

.section-why .container {
    position: relative;
    z-index: 1;
}

.why-card {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

.why-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.why-icon {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon-wrapper {
    background-color: var(--primary);
    transform: rotate(5deg);
}

.why-card:hover .why-icon {
    color: white;
    transform: scale(1.1);
}

/* CTA Banner Modern */
.cta-card {
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a4a3e 100%);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 11, 102, 0.2);
    position: relative;
    overflow: hidden;
    color: white;
}
.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 11, 102, 0.3);
}

.cta-title {
    color: white !important;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    font-size: 1.1rem;
}

.cta-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.shape-top-left {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
}

.shape-bottom-right {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: -100px;
}

.shape-dots {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 10%;
    background-image: radial-gradient(rgba(255,255,255,0.2) 2px, transparent 2px);
    background-size: 10px 10px;
    background-color: transparent;
    border-radius: 0;
}

.btn-cta {
    background-color: white;
    color: var(--secondary);
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #f8f9fa;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.opacity-10 { opacity: 0.1; }
.btn-primary-custom {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}
.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
}
.hover-scale {
    transition: transform 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #000b66;
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
    padding-bottom: 30px;
    font-family: 'Poppins', sans-serif;
}

.footer-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000533, #000b66, #000533);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: 0;
    opacity: 0.95;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    animation: floatShape 20s infinite linear;
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
    background: rgba(26, 188, 156, 0.05); /* Brand color hint */
}

.shape-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 30%;
    animation-duration: 25s;
    background: rgba(255, 255, 255, 0.02);
}

@keyframes floatShape {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

footer h4, footer h5 {
    color: white;
}

.section-title-sm::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary);
    margin-top: 10px;
    transition: width 0.3s ease;
}

.footer-column:hover .section-title-sm::after {
    width: 60px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-icon-anim {
    transition: transform 0.3s ease;
}

.footer-links a:hover .footer-icon-anim {
    transform: translateX(5px);
}

.contact-info-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: white;
    text-decoration: underline;
}

.text-primary-custom {
    color: var(--primary) !important;
}


/* Utilities */
.section-header {
    margin-bottom: 3rem;
    text-align: center;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Team Section */
.team-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
}

.team-card {
    border: none;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 11, 102, 0.9), transparent);
    padding: 20px;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 50%;
}

.team-card:hover .team-overlay {
    bottom: 0;
}

.team-social {
    display: flex;
    gap: 15px;
}

.team-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.team-social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-name {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Service Page Styles */
.service-page-item {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.service-page-item:nth-child(1) { animation-delay: 0.1s; }
.service-page-item:nth-child(2) { animation-delay: 0.2s; }
.service-page-item:nth-child(3) { animation-delay: 0.3s; }
.service-page-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-page-card {
    position: relative;
    border-radius: 20px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-page-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.service-page-img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
    border-bottom: 5px solid var(--primary);
}

.service-page-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-page-card:hover .service-page-img-wrapper img {
    transform: scale(1.1);
}

.service-page-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.service-page-card:hover .service-page-overlay {
    opacity: 0.4;
}

.service-page-icon {
    position: absolute;
    top: 240px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    z-index: 2;
    border: 4px solid #fff;
    color: var(--primary);
    font-size: 1.8rem;
    transition: all 0.4s ease;
}

.service-page-card:hover .service-page-icon {
    background: var(--primary);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1) rotateY(180deg);
}

.service-btn {
    border-width: 2px;
    transition: all 0.3s;
}

.service-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    padding-right: 2rem !important;
}

/* =========================================
   About Us Page Redesign Styles
   ========================================= */

/* Utilities */
.bg-primary-custom {
    background-color: var(--primary) !important;
    color: white;
}
.text-accent {
    color: var(--accent) !important;
}

/* Icon Boxes */
.icon-box-sm {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.icon-box-md {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Page Header - Fixed "White Gap" Issue & Added Animation */
.page-header {
    background: linear-gradient(-45deg, #000b66, #1a252f, #2E7D32, #000b66);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    padding: 120px 0 80px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-header .lead {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 300;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Particles Animation */
.header-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    animation: animateParticles 25s linear infinite;
    bottom: -150px;
    border-radius: 50%;
}

.particle:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.particle:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.particle:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.particle:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
.particle:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; }
.particle:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
.particle:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.particle:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s; }

@keyframes animateParticles {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    20% { opacity: 0.3; }
    50% { opacity: 0.3; }
    80% { opacity: 0; }
    100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; }
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

/* Animations */
.animate__animated-custom {
    animation-duration: 1s;
    animation-fill-mode: both;
}
.animate__fadeInDown {
    animation-name: fadeInDownCustom;
}
.animate__fadeInUp {
    animation-name: fadeInUpCustom;
}

/* Story Section */
.story-image-wrapper {
    padding: 10px;
}
/* Removed old blob shapes for cleaner look */

.bg-primary-light {
    background-color: rgba(108, 194, 74, 0.15);
}

/* Mission & Vision - Cleaner Layout */
.mission-vision-section {
    background-color: #f8f9fa;
}
/* Removed old card styles (mission-card, vision-card, card-bg-icon) */

/* Values Section */
.value-card {
    transition: all 0.3s ease;
}
.value-card:hover {
    transform: translateY(-10px);
}
.value-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary) !important;
    color: white !important;
    box-shadow: 0 5px 15px rgba(108, 194, 74, 0.4);
}

/* Team Section Modern */
.team-card-modern {
    transition: all 0.4s ease;
}
.team-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.15) !important;
}

.team-img-container img {
    transition: transform 0.5s ease;
}
.team-card-modern:hover .team-img-container img {
    transform: scale(1.1);
}
.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }
