:root {
    --primary-color: #4361ee;
    --primary-gradient: linear-gradient(135deg, #4361ee 0%, #7209b7 100%);
    --secondary-gradient: linear-gradient(135deg, rgba(67, 97, 238, 0.1) 0%, rgba(114, 9, 183, 0.05) 100%);
    --text-dark: #2d3748;
    --text-muted: #718096;
    --white: #ffffff;
    --light-bg: #f8fafc;
    --sidebar-width: 320px;
    --sidebar-bg: rgba(255, 255, 255, 0.98);
    --border-light: #e2e8f0;
    --accent-color: #f72585;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(67, 97, 238, 0.1);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navbar Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
    z-index: 1000;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0; /* Add this */
    right: 0; /* Add this */
    max-width: 100vw; /* Add this */
    box-sizing: border-box; /* Add this */
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 20px rgba(67, 97, 238, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(67, 97, 238, 0.1);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    padding: 1rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--secondary-gradient);
    color: var(--primary-color);
}
/* Dropdown Hover Styles - Add this to your styles.css */

/* Desktop hover dropdown styles */
@media (min-width: 992px) {
    .navbar-nav .dropdown {
        position: relative;
    }
    
    .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        pointer-events: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        min-width: 280px;
    }
    
    .navbar-nav .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: all;
    }
    
    /* Smooth hover transition */
    .navbar-nav .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: all;
    }
    
    /* Make sure the dropdown doesn't disappear when hovering over the gap */
    .navbar-nav .dropdown::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 10px;
        background: transparent;
    }
    
    /* Enhanced dropdown item hover effects */
    .dropdown-item {
        transition: all 0.2s ease;
        border-radius: 8px;
        margin: 0 0.5rem;
    }
    
    .dropdown-item:hover {
        background: var(--secondary-gradient);
        color: var(--primary-color);
        transform: translateX(5px);
    }
    
    /* Companies dropdown link should look clickable */
    .navbar-nav .nav-link[data-page="companies"] {
        cursor: pointer;
        position: relative;
    }
    
    /* Add a subtle indicator that this link is clickable */
    .navbar-nav .nav-link[data-page="companies"]::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: var(--primary-gradient);
        transition: width 0.3s ease;
    }
    
    .navbar-nav .nav-link[data-page="companies"]:hover::after {
        width: 80%;
    }
}

/* Mobile dropdown behavior remains unchanged */
@media (max-width: 991px) {
    .navbar-nav .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        margin-top: 0.5rem;
        border-radius: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .dropdown-menu.show {
        display: block;
    }
}
/* Mobile Navbar Toggle */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 10px;
    background: rgba(67, 97, 238, 0.1);
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(67, 97, 238, 0.2);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%234361ee' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 24px;
    height: 24px;
}

/* Mobile Sidebar Styles */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: var(--sidebar-width);
    height: 100%;
    background: var(--sidebar-bg);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(67, 97, 238, 0.1);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar.active {
    right: 0;
}

/* Sidebar Header */
.sidebar-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(67, 97, 238, 0.1);
    background: var(--primary-gradient);
    color: white;
}

.sidebar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    color: white;
}

.sidebar-brand i {
    font-size: 1.8rem;
    margin-right: 0.5rem;
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Sidebar Content */
.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section-title {
    padding: 0 1.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-section-title i {
    font-size: 1rem;
    color: var(--primary-color);
}

/* Sidebar Navigation */
.sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav-item {
    margin: 0;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-nav-link:hover {
    background: rgba(67, 97, 238, 0.05);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.sidebar-nav-link.active {
    background: rgba(67, 97, 238, 0.1);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.sidebar-nav-link i {
    width: 20px;
    margin-right: 0.75rem;
    font-size: 1.1rem;
    text-align: center;
}

.sidebar-nav-link span {
    flex: 1;
}

/* Company Items in Sidebar */
.company-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.company-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.company-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.sidebar-companies .sidebar-nav-link {
    padding: 1rem 1.5rem;
}

.sidebar-companies .sidebar-nav-link:hover .company-name {
    color: var(--primary-color);
}

/* Sidebar CTA */
.sidebar-cta {
    padding: 0 1.5rem;
}

.sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 97, 238, 0.3);
    color: white;
    text-decoration: none;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(67, 97, 238, 0.1);
    background: rgba(67, 97, 238, 0.02);
}

.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

.sidebar-copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(67, 97, 238, 0.03) 50%, 
        rgba(114, 9, 183, 0.05) 100%
    );
    position: relative;
    overflow: hidden;
    /* Use Bootstrap's padding top utility + custom for navbar */
    padding-top: 80px; /* Fixed navbar height */
    padding-bottom: 3rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section .container {
    width: 100%;
    height: 100%;
}

.hero-section .row {
    align-items: center;
    min-height: calc(100vh - 160px); /* Account for navbar + padding */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive font size */
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    background: var(--primary-gradient);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.4);
    color: white;
    text-decoration: none;
}

.hero-stats {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Floating Animation Elements */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.05;
    animation: floatShapes 20s infinite linear;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 85%;
    animation-delay: -5s;
}

.shape:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape:nth-child(4) {
    width: 40px;
    height: 40px;
    top: 30%;
    left: 80%;
    animation-delay: -15s;
}

@keyframes floatShapes {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-100px) translateX(50px) rotate(90deg); }
    50% { transform: translateY(-200px) translateX(-30px) rotate(180deg); }
    75% { transform: translateY(-100px) translateX(-100px) rotate(270deg); }
}

/* Floating Animation Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(2) {
    animation-delay: -2s;
}

.floating-element:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* CTA Button Container */
.hero-cta-container {
    display: flex;
    justify-content: flex-start;
}

/* Hero Image Styles */
.hero-image-container {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(67, 97, 238, 0.15);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(67, 97, 238, 0.1) 0%, 
        rgba(114, 9, 183, 0.05) 100%
    );
    border-radius: 20px;
    pointer-events: none;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.05);
}



/* About Page Specific Styles */

/* Hero Banner Section */
.hero-banner {
    min-height: calc(70vh - 80px);
    padding-top: 80px;
    background: linear-gradient(135deg, 
        rgba(67, 97, 238, 0.9) 0%, 
        rgba(114, 9, 183, 0.8) 100%
    ), 
    url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1471&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.custom-shape-divider-bottom-1754712163 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1754712163 svg {
    position: relative;
    display: block;
    width: calc(163% + 1.3px);
    height: 253px;
}

.custom-shape-divider-bottom-1754712163 .shape-fill {
    fill: #F8FAFC;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-banner h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.hero-banner p {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    padding-top: 80px; /* Added for fixed navbar */
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0));
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 6rem 0;
    background: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mv-card {
    background: var(--white);
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.1);
}

.mv-card .icon-container {
    width: 80px;
    height: 80px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.mv-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.mv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    color: var(--primary-color);
    padding-bottom: 10px;
}

.mv-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.mv-card .mv-image {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: auto;
}

.mv-card .mv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mv-card:hover .mv-image img {
    transform: scale(1.05);
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.timeline-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(248, 250, 252, 1), rgba(248, 250, 252, 0));
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-gradient);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
    padding: 0 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 30px;
    z-index: 2;
}

.timeline-item:nth-child(odd)::before {
    right: -12px;
}

.timeline-item:nth-child(even)::before {
    left: -12px;
}

.timeline-content {
    background: var(--white);
    padding: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    height: 100%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 2rem;
}

.timeline-year {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.timeline-content h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.company-type {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
}

.timeline-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.05);
}

/* Who We Serve Section */
.who-we-serve-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.audience-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    overflow: hidden;
    transition: all 0.3s ease;
}

.audience-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.audience-card:nth-child(even) .audience-image {
    order: 2;
}

.audience-card:nth-child(even) .audience-text {
    order: 1;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.1);
}

.audience-image {
    height: 100%;
    overflow: hidden;
}

.audience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.audience-card:hover .audience-image img {
    transform: scale(1.05);
}

.audience-text {
    padding: 3rem;
}

.audience-text .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.audience-text h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.audience-text p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(114, 9, 183, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.newsletter-card {
    background: var(--white);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.newsletter-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(114, 9, 183, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.newsletter-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.newsletter-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.newsletter-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.newsletter-form button {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: var(--white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7209b7 100%);
    color: var(--white);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.contact-card h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.contact-item .icon-container {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-item .icon {
    font-size: 1.2rem;
    color: var(--white);
}

.contact-item span {
    font-size: 1.1rem;
}

.contact-btn {
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    position: relative;
    z-index: 2;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
    text-decoration: none;
}

.contact-image {
    height: 100%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(67, 97, 238, 0.15);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Styles */
.footer {
    background: rgb(0, 0, 0);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(67, 97, 238, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(114, 9, 183, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-brand h4 {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    background: rgba(67, 97, 238, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.3s ease;
    z-index: -1;
}

.footer-social-link:hover::before {
    left: 0;
}

.footer-social-link:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(67, 97, 238, 0.3);
    text-decoration: none;
}

.footer-section h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    color: white;
}


.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    padding-left: 0;
    position: relative;
}

.footer-section a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 15px;
    text-decoration: none;
}

.footer-section a:hover::before {
    width: 10px;
}

/* Footer Newsletter */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.newsletter-text h5 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
}

.footer-newsletter-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50px 0 0 50px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.footer-newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: none;
    border-color: transparent;
}

.footer-newsletter-form .btn {
    background: var(--primary-gradient);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0 50px 50px 0;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.footer-newsletter-form .btn:hover {
    transform: translateX(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

/* Footer Stats */
.footer-stats {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.footer-stat-item {
    text-align: center;
    padding: 1rem 0;
}

.footer-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    position: relative;
    z-index: 2;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    text-align: right;
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    margin-bottom: 0;
}

.footer-legal a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-love {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-love p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-love i {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(67, 97, 238, 0.3);
    /* Add these to ensure proper containment */
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* Ensure it stays within viewport */
    right: min(30px, calc(100vw - 80px));
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.4);
}

/* Add this to styles.css */
.sidebar-companies .company-name {
    color: var(--text-dark); /* Match the color of other sidebar items */
    font-size: 0.95rem; /* Match the font size of other sidebar items */
    font-weight: 500; /* Match the font weight of other sidebar items */
    transition: color 0.3s ease; /* Add smooth transition */
}

.sidebar-companies .sidebar-nav-link:hover .company-name,
.sidebar-companies .sidebar-nav-link.active .company-name {
    color: var(--primary-color); /* Highlight color on hover/active */
}

/* Large screens (desktops) */
@media (min-width: 1200px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 4rem;
    }
    
    .hero-image-container {
        height: 500px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding-top: 80px;
        padding-bottom: 2rem;
        min-height: 100vh;
    }
    
    .hero-section .row {
        min-height: calc(100vh - 120px);
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 1.5rem);
        min-width: auto;
    }
    
    .hero-image-container {
        height: 350px;
    }
    
    .hero-banner {
        min-height: calc(60vh - 70px);
        padding-top: 70px;
        background-attachment: scroll;
    }

    .hero-banner h1 {
        font-size: 3.2rem;
    }
    
    .about-content,
    .mv-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .audience-card,
    .audience-card:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .audience-card:nth-child(even) .audience-image {
        order: initial;
    }

    .audience-card:nth-child(even) .audience-text {
        order: initial;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 70px;
        padding-right: 0;
    }

    .timeline-item::before {
        left: 18px !important;
    }

    .timeline-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-newsletter {
        padding: 2rem;
    }

    .footer-legal {
        text-align: left;
        justify-content: flex-start;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    /* Mobile Sidebar Adjustments */
    :root {
        --sidebar-width: 300px;
    }

    .hero-section {
        padding-top: 80px;
        padding-bottom: 1.5rem;
        min-height: 100vh;
    }
    
    .hero-section .row {
        min-height: calc(100vh - 100px);
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-stats {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .hero-image-container {
        height: 300px;
    }

    .hero-section .container {
        padding-top: 0;
        margin-top: 0;
    }
    
    .hero-section .row {
        margin-top: 0;
        padding-top: 0;
    }
    
    .hero-section .col-lg-6 {
        padding-top: 0;
        margin-top: 0;
    }
    
    .hero-content {
        padding-top: 0;
        margin-top: 0;
    }

    .hero-banner {
        height: calc(60vh - 60px);
        padding-top: 0; /* Changed from 60px to 0 */
        background-attachment: scroll;
    }
    
    .hero-banner h1 {
        font-size: 2.8rem;
    }

    .hero-banner p {
        font-size: 1.2rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-card {
        padding: 3rem 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-newsletter .row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-stats .row {
        gap: 1rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }

    /* Sidebar adjustments for tablets */
    .sidebar-header {
        padding: 1.25rem 1.5rem;
    }

    .sidebar-brand {
        font-size: 1.4rem;
    }

    .sidebar-nav-link {
        padding: 0.75rem 1.25rem;
    }
}

@media (max-width: 576px) {
    /* Extra small mobile screens */
    :root {
        --sidebar-width: 280px;
    }

    .hero-section {
        padding-top: 70px;
        padding-bottom: 1rem;
    }
    
    .hero-section .row {
        min-height: calc(100vh - 80px);
    }
    
    .hero-cta {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }
    
    .hero-stats {
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 0.375rem);
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-image-container {
        height: 250px;
    }
    .hero-banner {
        height: calc(70vh - 70px);
        padding-top: 0; /* Changed from 70px to 0 */
    }

    .hero-banner h1 {
        font-size: 2.2rem;
    }

    .hero-banner p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }

    .mv-card,
    .audience-card,
    .timeline-content {
        padding: 2rem;
    }

    .audience-text {
        padding: 2rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .footer-newsletter {
        padding: 1.5rem;
    }

    .footer-newsletter-form .input-group {
        flex-direction: column;
    }

    .footer-newsletter-form .form-control {
        border-radius: 50px;
        margin-bottom: 1rem;
    }

    .footer-newsletter-form .btn {
        border-radius: 50px;
        justify-content: center;
    }

    .footer-stats {
        padding: 1.5rem;
    }

    .footer-stat-number {
        font-size: 1.5rem;
    }

    .shape {
        opacity: 0.02;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Mobile Sidebar Adjustments */
    .sidebar-header {
        padding: 1rem;
    }

    .sidebar-brand {
        font-size: 1.3rem;
    }

    .sidebar-brand i {
        font-size: 1.5rem;
    }

    .sidebar-close {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .sidebar-nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .sidebar-nav-link i {
        width: 18px;
        margin-right: 0.5rem;
        font-size: 1rem;
    }

    .sidebar-section-title {
        padding: 0 1rem 0.5rem;
        font-size: 0.8rem;
    }

    .sidebar-companies .sidebar-nav-link {
        padding: 0.875rem 1rem;
    }

    .company-name {
        font-size: 0.9rem;
    }

    .company-desc {
        font-size: 0.75rem;
    }

    .sidebar-cta {
        padding: 0 1rem;
    }

    .sidebar-cta-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .sidebar-footer {
        padding: 1rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    /* Very small screens */
    :root {
        --sidebar-width: 260px;
    }

    .hero-section {
        padding-top: 60px;
    }
    
    .hero-section .row {
        min-height: calc(100vh - 70px);
    }
    
    .hero-image-container {
        height: 220px;
    }

    .hero-banner {
        height: calc(70vh - 60px);
        padding-top: 0; /* Changed from 60px to 0 */
    }

    .hero-banner h1 {
        font-size: 2rem;
    }

    /* Ultra-compact sidebar */
    .sidebar-nav-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }

    .sidebar-companies .sidebar-nav-link {
        padding: 0.75rem 0.875rem;
    }

    .company-name {
        font-size: 0.85rem;
    }

    .company-desc {
        font-size: 0.7rem;
    }
}


/* Ultra small screens */
@media (max-width: 360px) {
    .hero-section {
        padding-top: 60px;
    }
    
    .hero-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-image-container {
        height: 200px;
    }
}
/* Sidebar Animation Enhancement */
@media (prefers-reduced-motion: no-preference) {
    .mobile-sidebar {
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .sidebar-overlay {
        transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .sidebar-nav-link {
        transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --sidebar-bg: rgba(30, 30, 35, 0.98);
        --text-dark: #e2e8f0;
        --text-muted: #a0aec0;
    }

    .sidebar-header {
        border-bottom-color: rgba(67, 97, 238, 0.2);
    }

    .sidebar-footer {
        border-top-color: rgba(67, 97, 238, 0.2);
        background: rgba(67, 97, 238, 0.05);
    }

    .sidebar-section-title {
        color: var(--text-muted);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .mobile-sidebar,
    .sidebar-overlay,
    .sidebar-nav-link,
    .sidebar-close,
    .social-link,
    .sidebar-cta-btn {
        transition: none;
    }

    .floating-shapes .shape {
        animation: none;
    }
    
    .back-to-top {
        transition: none;
    }
    
    .footer-love i {
        animation: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .sidebar-nav-link:hover,
    .sidebar-nav-link.active {
        background: var(--primary-color);
        color: white;
    }

    .sidebar-close:hover {
        background: white;
        color: var(--primary-color);
    }
}
/* Mobile-optimized newsletter form */
.footer-newsletter-form .input-group.mobile-optimized {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.footer-newsletter-form .input-group.mobile-optimized .form-control {
    border-radius: 50px;
    padding: 1rem 1.5rem;
    text-align: center;
    width: 100%;
    font-size: 1rem;
}

.footer-newsletter-form .input-group.mobile-optimized .btn {
    border-radius: 50px;
    padding: 1rem 1.5rem;
    width: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Desktop layout */
@media (min-width: 768px) {
    .footer-newsletter-form .input-group.mobile-optimized {
        flex-direction: row;
    }
    
    .footer-newsletter-form .input-group.mobile-optimized .form-control {
        border-radius: 50px 0 0 50px;
        text-align: left;
        flex: 1;
    }
    
    .footer-newsletter-form .input-group.mobile-optimized .btn {
        border-radius: 0 50px 50px 0;
        width: auto;
        white-space: nowrap;
    }
}

/* Extra small devices tweaks */
@media (max-width: 360px) {
    .footer-newsletter-form .input-group.mobile-optimized .btn .btn-text {
        font-size: 0.9rem;
    }
}

/* Team Achievements Section */

.team-achievements-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.achievements-content {
    background: var(--white);
    padding: 4rem 3rem;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-light);
}

.achievements-title {
    font-size: 3.2rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
}

.achievements-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.achievements-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.achievements-cta {
    background: var(--primary-gradient);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
}

.achievements-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(67, 97, 238, 0.4);
    color: white;
    text-decoration: none;
}

/* Confetti Animation Container */
.confetti-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.stats-showcase {
    background: var(--primary-gradient);
    padding: 3rem 2rem;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(67, 97, 238, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.showcase-stat {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.showcase-stat:last-child {
    margin-bottom: 0;
}

.showcase-number {
    font-size: 3.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.showcase-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.showcase-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

/* Confetti Particles */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff6b6b;
    pointer-events: none;
    z-index: 1;
}

.confetti:nth-child(1) { background: #4ecdc4; }
.confetti:nth-child(2) { background: #45b7d1; }
.confetti:nth-child(3) { background: #f9ca24; }
.confetti:nth-child(4) { background: #f0932b; }
.confetti:nth-child(5) { background: #eb4d4b; }
.confetti:nth-child(6) { background: #6c5ce7; }
.confetti:nth-child(7) { background: #a29bfe; }
.confetti:nth-child(8) { background: #fd79a8; }
.confetti:nth-child(9) { background: #00b894; }
.confetti:nth-child(10) { background: #fdcb6e; }

/* Enhanced Floating Animation for Achievements Section */
.team-achievements-section .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.team-achievements-section .floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: achievementsFloat 12s ease-in-out infinite;
}

.team-achievements-section .floating-element:nth-child(1) {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.team-achievements-section .floating-element:nth-child(2) {
    width: 80px;
    height: 80px;
    background: #7209b7;
    top: 60%;
    right: 12%;
    animation-delay: -4s;
}

.team-achievements-section .floating-element:nth-child(3) {
    width: 120px;
    height: 120px;
    background: var(--accent-color);
    bottom: 25%;
    left: 10%;
    animation-delay: -8s;
}

@keyframes achievementsFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1); 
        opacity: 0.08;
    }
    25% { 
        transform: translateY(-40px) translateX(30px) rotate(90deg) scale(1.1); 
        opacity: 0.12;
    }
    50% { 
        transform: translateY(-80px) translateX(-20px) rotate(180deg) scale(0.9); 
        opacity: 0.06;
    }
    75% { 
        transform: translateY(-40px) translateX(-40px) rotate(270deg) scale(1.05); 
        opacity: 0.1;
    }
}

/* Pulsing Effect for Numbers */
.pulse-number {
    animation: achievementsPulse 3s ease-in-out infinite;
}

@keyframes achievementsPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* Counter Animation */
.counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* Responsive Design for Achievements Section */
@media (max-width: 992px) {
    .achievements-content {
        padding: 3rem 2rem;
        margin-bottom: 2rem;
    }
    
    .achievements-title {
        font-size: 2.8rem;
    }
    
    .achievements-subtitle {
        font-size: 1.2rem;
    }
    
    .confetti-container {
        padding: 1.5rem;
    }
    
    .stats-showcase {
        padding: 2.5rem 1.5rem;
        margin-top: 0;
    }
    
    .showcase-number {
        font-size: 3rem;
    }
    
    .showcase-label {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .team-achievements-section {
        padding: 4rem 0;
    }
    
    .achievements-content {
        padding: 2.5rem 1.5rem;
        text-align: center;
    }
    
    .achievements-title {
        font-size: 2.4rem;
        margin-bottom: 1.2rem;
    }
    
    .achievements-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .achievements-description {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        text-align: left;
    }
    
    .stats-showcase {
        margin-top: 2rem;
        padding: 2rem 1.5rem;
    }
    
    .showcase-number {
        font-size: 2.8rem;
    }
    
    .showcase-stat {
        margin-bottom: 1.75rem;
    }
    
    .showcase-icon {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .achievements-content {
        padding: 2rem 1.25rem;
    }
    
    .achievements-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .achievements-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .achievements-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .achievements-cta {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .stats-showcase {
        padding: 1.75rem 1.25rem;
    }
    
    .showcase-number {
        font-size: 2.4rem;
    }
    
    .showcase-label {
        font-size: 0.95rem;
    }
    
    .showcase-stat {
        margin-bottom: 1.5rem;
    }
    
    .showcase-icon {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .achievements-title {
        font-size: 1.8rem;
    }
    
    .achievements-subtitle {
        font-size: 0.95rem;
    }
    
    .achievements-description {
        font-size: 0.9rem;
    }
    
    .showcase-number {
        font-size: 2.2rem;
    }
    
    .stats-showcase {
        padding: 1.5rem 1rem;
    }
}

/* Enhanced animation performance */
@media (prefers-reduced-motion: reduce) {
    .team-achievements-section .floating-element,
    .pulse-number,
    .stats-showcase::before {
        animation: none;
    }
    
    .confetti {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .achievements-content {
        border: 2px solid var(--primary-color);
    }
    
    .stats-showcase {
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
}





        /* Impact Carousel Section */
        .impact-carousel-section {
            background: linear-gradient(135deg, 
                rgba(33, 37, 41, 0.98) 0%,
                rgba(19, 23, 28, 0.97) 100%
            ), 
            url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            position: relative;
            overflow: hidden;
            padding: 6rem 0;
        }

        .impact-carousel-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 30% 70%, rgba(67, 97, 238, 0.15) 0%, transparent 50%),
                        radial-gradient(circle at 70% 30%, rgba(114, 9, 183, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        .section-title {
            margin-bottom: 4rem;
        }

        .section-title h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .section-title p {
            font-size: 1.1rem;
            opacity: 0.8;
        }

        /* Custom Bootstrap Carousel */
        .impact-carousel {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            margin-bottom: 3rem;
        }

        .impact-carousel .carousel-inner {
            border-radius: 20px;
        }

        .impact-carousel-item {
            background: rgba(255, 255, 255, 0.05);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            min-height: 500px;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .carousel-content-wrapper {
            display: flex;
            align-items: center;
            min-height: 500px;
            width: 100%;
        }

        .carousel-image-container {
            flex: 0 0 50%;
            height: 500px;
            position: relative;
            overflow: hidden;
        }

        .carousel-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .impact-carousel-item:hover .carousel-image {
            transform: scale(1.05);
        }

        .carousel-image-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, 
                rgba(67, 97, 238, 0.3) 0%, 
                rgba(114, 9, 183, 0.2) 100%
            );
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .impact-carousel-item:hover .carousel-image-overlay {
            opacity: 1;
        }

        .carousel-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            background: var(--primary-gradient);
            color: white;
            padding: 8px 16px;
            font-size: 0.85rem;
            font-weight: 600;
            z-index: 2;
        }

        .carousel-content {
            flex: 0 0 50%;
            padding: 3rem 2.5rem;
            color: white;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .carousel-company {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 1.5rem;
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .carousel-company img {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(255, 255, 255, 0.2);
        }

        .carousel-company span {
            font-weight: 500;
        }

        .carousel-title {
            font-size: 2.2rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            color: white;
        }

        .carousel-excerpt {
            color: rgba(255, 255, 255, 0.85);
            font-size: 1.1rem;
            margin-bottom: 2rem;
            line-height: 1.7;
        }

        .carousel-read-more {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: white;
            font-weight: 600;
            text-decoration: none;
            background: var(--primary-gradient);
            padding: 12px 24px;
            transition: all 0.3s ease;
            align-self: flex-start;
        }

        .carousel-read-more:hover {
            background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
            color: white;
            gap: 15px;
            text-decoration: none;
            transform: translateY(-2px);
        }

        /* Custom carousel controls */
        .carousel-control-prev,
        .carousel-control-next {
            width: 60px;
            height: 60px;
            background: rgba(255, 255, 255, 0.1);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            margin: auto 20px;
            transition: all 0.3s ease;
        }

        .carousel-control-prev:hover,
        .carousel-control-next:hover {
            background: var(--primary-gradient);
            border-color: transparent;
            transform: scale(1.1);
        }

        .carousel-control-prev-icon,
        .carousel-control-next-icon {
            width: 24px;
            height: 24px;
            background-size: 100%;
        }

        /* Custom carousel indicators */
        .carousel-indicators {
            bottom: 20px;
        }

        .carousel-indicators [data-bs-target] {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 6px;
            background-color: rgba(255, 255, 255, 0.4);
            border: none;
            transition: all 0.3s ease;
        }

        .carousel-indicators .active {
            background-color: var(--primary-color);
            transform: scale(1.3);
        }

        /* Loading state */
        .carousel-loading {
            text-align: center;
            padding: 4rem 2rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .carousel-loading .spinner-border {
            width: 3rem;
            height: 3rem;
            margin-bottom: 1rem;
        }

        /* No results state */
        .carousel-no-results {
            text-align: center;
            padding: 4rem 2rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .carousel-no-results i {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            opacity: 0.6;
        }

        .carousel-no-results h4 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: white;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .carousel-content-wrapper {
                flex-direction: column;
                min-height: auto;
            }
            
            .carousel-image-container {
                flex: none;
                width: 100%;
                height: 300px;
            }
            
            .carousel-content {
                flex: none;
                width: 100%;
                padding: 2rem 1.5rem;
            }
            
            .carousel-title {
                font-size: 1.8rem;
            }
            
            .impact-carousel-item {
                min-height: auto;
            }
        }

        @media (max-width: 768px) {
            .impact-carousel-section {
                padding: 4rem 0;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .carousel-image-container {
                height: 250px;
            }
            
            .carousel-content {
                padding: 1.5rem 1rem;
            }
            
            .carousel-title {
                font-size: 1.5rem;
            }
            
            .carousel-excerpt {
                font-size: 1rem;
            }

            .carousel-control-prev,
            .carousel-control-next {
                width: 50px;
                height: 50px;
                margin: auto 10px;
            }
        }

        @media (max-width: 576px) {
            .section-title {
                margin-bottom: 2rem;
            }
            
            .carousel-badge {
                top: 15px;
                left: 15px;
                padding: 6px 12px;
                font-size: 0.8rem;
            }
        }