/* --- Global Styles & Variables --- */
:root {
    --primary-color: #21d205; /* Deep Navy Blue - Main Brand Color */
    --secondary-color: #1A3A6A; /* Slightly Lighter Navy - For backgrounds/accents */
    --accent-color: #FF7F00; /* Vibrant Orange - For highlights/CTAs */
    --light-grey: #F8F9FA; /* Off-white background */
    --dark-text-color: #333333; /* Dark grey for body text */
    --white-color: #ffffff;
    --border-radius-lg: 12px; /* Larger border-radius for cards/elements */
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text-color);
    line-height: 1.7;
    background-color: var(--light-grey);
    overflow-x: hidden; /* Prevent horizontal scroll from AOS animations */
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em; /* Subtle letter spacing for headings */
    text-transform: uppercase;
}

.section-heading {
    font-size: 3rem; /* Larger headings for impact */
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px; /* Space for pseudo-element underline */
    text-align: center;
    font-weight: 800;
}

.section-heading::after { /* Stylish underline for headings */
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px; /* Width of the underline */
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.section-description {
    font-size: 1.15rem;
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    color: var(--dark-text-color);
    line-height: 1.8;
}

.section-description.lead {
    font-size: 1.3rem; /* Slightly larger for emphasis */
    font-weight: 500;
}

/* --- Buttons --- */
.btn {
    display: inline-flex; /* Use flex for icon alignment */
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    border-radius: 50px; /* Pill shape for modern look */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Smoother transition */
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.btn i {
    margin-left: 10px; /* Space between text and icon */
    font-size: 1.1em;
}

.btn-hero { /* Primary button for hero section */
    background-color: var(--accent-color);
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.4);
}

.btn-hero:hover {
    background-color: #e67300;
    transform: translateY(-5px); /* More pronounced lift */
    box-shadow: 0 10px 25px rgba(255, 127, 0, 0.6);
}

.btn-secondary-outline { /* New style: outlined button */
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary-outline:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.btn-hero-white { /* White button for dark CTA background */
    background-color: var(--white-color);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-white:hover {
    background-color: var(--light-grey);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* --- Hero Section --- */
.hero-overlay {
    background-color: rgba(0, 0, 0, 0.65); /* Darker overlay for strong contrast */
}

.hero-content h1 {
    font-size: 4.5rem; /* Larger slogan for impact */
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.5rem; /* Larger sub-heading text */
    font-weight: 300;
}

.hero-content h1, .hero-content p, .hero-content .sub-heading {
    color: var(--white-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); /* Stronger text shadow for clarity */
}

/* --- Section Styling --- */
.section {
    padding: 100px 0; /* More padding for spacious feel */
}

.section.bg-dark-gradient { /* New gradient for expertise section */
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
}

.section.bg-dark-gradient .section-heading,
.section.bg-dark-gradient .section-description {
    color: var(--white-color);
}

.section.bg-light-blue-gradient { /* New gradient for CTA */
    background: linear-gradient(to right, #0056b3, #007bff); /* Brighter blue gradient */
    padding: 80px 20px;
}

.section.bg-light-blue-gradient .section-heading,
.section.bg-light-blue-gradient .section-description {
    color: var(--white-color);
}

/* --- Aero Vision Section (Modern Interactive) --- */
.aero-section {
    min-height: 100vh;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
}

.aero-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.aero-section .section-heading {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

.aero-section .section-heading::after {
    display: none; /* Remove underline for modern design */
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.4)); }
    to { filter: drop-shadow(0 0 40px rgba(167, 139, 250, 0.6)); }
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.vision-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.vision-card:nth-child(1) { animation-delay: 0.2s; }
.vision-card:nth-child(2) { animation-delay: 0.4s; }
.vision-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.vision-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.4);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.vision-card:hover::before {
    transform: translateX(100%);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.card-icon:nth-child(1) { animation-delay: 0s; }
.card-icon:nth-child(2) { animation-delay: 0.5s; }
.card-icon:nth-child(3) { animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #60a5fa;
}

.card-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #f472b6;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(45deg, #60a5fa, #a78bfa);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(96, 165, 250, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(96, 165, 250, 0.4);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #60a5fa;
    border-radius: 50%;
    animation: float-random 8s infinite linear;
}

.floating-element:nth-child(1) { left: 10%; animation-delay: 0s; }
.floating-element:nth-child(2) { left: 20%; animation-delay: 1s; }
.floating-element:nth-child(3) { left: 30%; animation-delay: 2s; }
.floating-element:nth-child(4) { left: 40%; animation-delay: 3s; }
.floating-element:nth-child(5) { left: 50%; animation-delay: 4s; }
.floating-element:nth-child(6) { left: 60%; animation-delay: 5s; }
.floating-element:nth-child(7) { left: 70%; animation-delay: 6s; }
.floating-element:nth-child(8) { left: 80%; animation-delay: 7s; }
.floating-element:nth-child(9) { left: 90%; animation-delay: 8s; }

@keyframes float-random {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.pulse-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(96, 165, 250, 0.2);
    border-radius: 50%;
    top: 20%;
    right: -150px;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

/* --- Expertise Highlights Section --- */
.expertise-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.expertise-highlights .highlight-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    backdrop-filter: blur(5px); /* Frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    padding: 20px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    transition: transform 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative; /* For pseudo-elements */
    overflow: hidden;
}



.expertise-highlights .highlight-item:hover::before {
    opacity: 1;
    transform: scale(1);
}

.expertise-highlights .highlight-item:hover {
    background-color: rgba(255, 255, 255, 0.2); /* More transparent on hover */
    transform: translateY(-12px) scale(1.02); /* Stronger lift and slight scale */
    box-shadow: var(--shadow-strong);
    border-color: rgba(255, 255, 255, 0.4);
}

.expertise-highlights .highlight-item .icon-large {
    font-size: 4.5rem; /* Larger icons */
    margin-bottom: 25px;
    color: var(--accent-color);
    transition: color 0.4s ease;
}

.expertise-highlights .highlight-item:hover .icon-large {
    color: var(--white-color); /* Icons turn white on hover for clean look */
    filter: drop-shadow(0 0 8px var(--accent-color)); /* Glow effect on icon */
}

.expertise-highlights .highlight-item h3 {
    color: var(--white-color);
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 600;
}

.expertise-highlights .highlight-item p {
    color: rgba(255, 255, 255, 0.8); /* Slightly less opaque for better contrast with heading */
    font-size: 1rem;
    line-height: 1.7;
}

/* --- Service Grid Section --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px; /* Larger gap for better separation */
    margin-top: 50px;
}

.service-grid .service-item {
    background-color: var(--white-color);
    padding: 25px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align content to top */
    min-height: 350px; /* Ensure uniform height for cards */
}

.service-grid .service-item img {
    width: 100%;
    max-width: 100%; /* Slightly larger image/icon size */
    height: auto;
    border-radius: 8px; /* More rounded images */
    object-fit: cover;
    transition: filter 0.4s ease;
}

.service-grid .service-item:hover img {
    filter: grayscale(0%); /* Full color on hover */
}

.service-grid .service-item:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-15px) scale(1.03); /* More significant lift and scale */
    box-shadow: var(--shadow-strong);
}

.service-grid .service-item h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.4s ease;
}

.service-grid .service-item:hover h3 {
    color: var(--accent-color); /* Heading changes to accent color on hover */
}

.service-grid .service-item p {
    font-size: 1rem;
    color: var(--dark-text-color);
    transition: color 0.4s ease;
}

.service-grid .service-item:hover p {
    color: var(--white-color);
}

/* --- Footer Enhancements --- */
.footer {
    background-color: rgb(6, 6, 134);
    color: var(--white-color);
    padding: 80px 0 30px;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden; /* For potential background effects */
}

.footer h4 {
    color: var(--accent-color);
    margin-bottom: 30px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 60px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7); /* Slightly transparent for depth */
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 0;
    display: block;
    font-weight: 400;
}

.footer ul li a:hover {
    color: var(--white-color);
    transform: translateX(5px); /* Subtle slide effect on hover */
}

.footer .social-links a {
    background-color: rgba(255, 255, 255, 0.15);
    margin: 0 12px 12px 0;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer .social-links a:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
    transform: translateY(-5px) scale(1.1); /* Stronger lift and scale */
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
    margin-top: 50px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--accent-color);
    font-weight: 500;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .section-heading {
        font-size: 2.5rem;
    }
    
    .aero-section .section-heading {
        font-size: 2.5rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .expertise-highlights, .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .vision-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-heading {
        font-size: 2rem;
        padding-bottom: 10px;
    }
    
    .aero-section .section-heading {
        font-size: 2rem;
    }
    
    .section-heading::after {
        width: 60px;
        height: 3px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .expertise-highlights .highlight-item .icon-large {
        font-size: 3.5rem;
    }
    
    .service-grid .service-item {
        min-height: auto; /* Allow height to adjust on mobile */
        padding: 25px;
    }
    
    .footer-col {
        margin-bottom: 40px;
    }
    
    .vision-cards {
        grid-template-columns: 1fr;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .section-heading {
        font-size: 1.8rem;
    }
    
    .aero-section .section-heading {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}