/* Base Styles */
:root {
    --primary-color: #6c63ff; /* Lighter Purple */
    --secondary-color: #4a90e2; /* Light Purple */
    --hero-gradient-start: #f5f5f5; /* Light Grey */
    --hero-gradient-end: #ffffff; /* White */
    --accent-color: #ff6b6b; /* Light Blue */
    --text-color: #1a1a1a; /* Very Dark Grey for text */
    --light-text: #333333; /* Dark Grey */
    --white: #ffffff;
    --light-bg: #ffffff; /* Changed to pure white background */
    --dark-bg: #ffffff; /* White background */
    --card-bg: #ffffff; /* White card background */
    --border-color: rgba(0, 0, 0, 0.1); /* Light border */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white); /* Changed to solid white background */
    overflow-x: hidden;
    padding-top: 120px; /* Ensure sufficient space for fixed header */
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-color); /* Dark text for titles */
    position: relative;
    display: block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--light-text); /* Dark text for subtitles */
}

/* Advanced Preloader Styles */
.preloader {
    opacity: 1;
    transition: opacity 0.5s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.logo-container {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.logo-container::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: radial-gradient(circle, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    filter: blur(2px);
    animation: shadowPulse 3s ease-in-out infinite;
}

.preloader-logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    animation: logoGlow 2s ease-in-out infinite;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loading-bar {
    width: 200px;
    height: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%,
        var(--secondary-color) 50%,
        var(--primary-color) 100%
    );
    background-size: 200% 100%;
    animation: loading 2s ease-in-out infinite, gradientMove 3s linear infinite;
    border-radius: 3px;
}

.loading-text {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 1px;
    position: relative;
}

.loading-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    animation: textUnderline 2s ease-in-out infinite;
}

.loading-text .dot-1,
.loading-text .dot-2,
.loading-text .dot-3 {
    opacity: 0;
    animation: dotAnimation 1.4s infinite;
}

.loading-text .dot-2 {
    animation-delay: 0.2s;
}

.loading-text .dot-3 {
    animation-delay: 0.4s;
}

@keyframes loading {
    0% {
        width: 0;
        left: 0;
    }
    50% {
        width: 100%;
        left: 0;
    }
    100% {
        width: 0;
        left: 100%;
    }
}

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

@keyframes dotAnimation {
    0%, 20% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-4px) scale(1.2);
    }
    80%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shadowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-50%) scale(0.8);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1.2);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    }
    50% {
        filter: drop-shadow(0 4px 12px rgba(var(--primary-rgb), 0.3));
    }
}

@keyframes textUnderline {
    0%, 100% {
        width: 0;
    }
    50% {
        width: 100%;
    }
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: var(--white); /* Solid white background for the header */
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Always show a subtle shadow */
}

.header.scrolled {
    background: var(--white); /* Ensure it's white when scrolled as well */
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.main-logo-img {
    height: 60px; /* Adjust size as needed */
    margin-right: 10px;
    transition: var(--transition);
}

.logo-text {
    font-size: 28px; /* Adjust size as needed */
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.logo-brand:hover .main-logo-img,
.logo-brand:hover .logo-text {
    opacity: 0.8;
}

/* Original .logo img is now replaced by .main-logo-img and .logo-text */
/* .logo img {
    height: 45px;
    transition: var(--transition);
} */

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    justify-content: center;
}

.nav-links a {
    color: var(--text-color); /* Dark text for nav links */
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.header.scrolled .nav-links a {
    color: var(--text-color); /* Dark text on scroll */
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white); /* White background for dropdown */
    min-width: 250px;
    padding: 15px 0;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
}

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

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    color: var(--text-color); /* Dark text for dropdown links */
    padding: 10px 20px;
    display: block;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
}

.header.scrolled .hamburger span {
    background: var(--white);
}

.startup-india {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto; /* Push to the right */
}

.startup-india img {
    height: 30px;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.startup-india span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color); /* Ensure text is visible */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    color: var(--white);
}

/* Common Section Styles */
section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
    text-align: center; /* Ensure all sections default to centered content */
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80'); /* Made overlay darker */
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px; /* Adjusted padding */
    text-align: left;
    min-height: 100vh; /* Ensure hero takes full viewport height */
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible; /* Ensure content is not clipped by the hero section */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-left {
    flex: 1;
    max-width: 600px;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.hero-right::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=400&q=80') center/cover;
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.hero-illustration {
    width: 100%;
    max-width: 700px;
    height: auto;
    position: relative;
    right: -50px; /* Push the illustration slightly to the right */
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.hero-illustration:hover {
    transform: scale(1.15);
}

.animated-text {
    min-height: 450px; /* Significantly increased height to guarantee full text visibility */
    position: relative;
    overflow: visible; /* Ensure text is not clipped by this container */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0; /* Keep vertical padding for buffer */
    box-sizing: border-box; /* Ensure padding is included in height */
}

.hero-text {
    position: absolute;
    top: 0;
    transform: translateY(0);
    left: 0;
    width: 100%;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.5; /* Increased line-height for more spacing */
    opacity: 1; /* Make visible by default */
    transition: opacity 0.5s ease-in-out;
    color: var(--text-color); /* Dark text for hero */
    text-align: left; /* Ensure text alignment is left */
    display: none; /* Initially hide text to prevent FOUC/overlap */
}

.hero-text .line {
    display: block;
    overflow: visible; /* Ensure content is not clipped by this line container */
}

.hero-text .line span {
    display: inline-block;
    transform: translateY(0%); /* Make visible by default, JS will handle animation */
    opacity: 1; /* Make visible by default, JS will handle animation */
}

.hero-text.second-text {
    color: var(--text-color); /* Ensure second text is dark for readability */
}

.hero-subtext {
    font-size: 1.3rem;
    margin-top: 20px;
    color: var(--light-text); /* Dark text for hero subtext */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center; /* Center align buttons */
    width: 100%; /* Ensure it takes full width to center its children */
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-align: center; /* Ensure inline-flex elements are centered */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.1)); /* Subtle gradient */
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.hero-btn-yellow {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.2); /* Subtle shadow for depth */
}

.hero-btn-white {
    background: var(--white);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
}

.btn:hover {
    transform: translateY(-5px); /* More pronounced lift on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.hero-btn-yellow:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.25); /* Shadow matching secondary color */
}

.hero-btn-white:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.25); /* Shadow matching primary color */
}

@keyframes wordFadeInUp {
    0% { opacity: 0; transform: translateY(100%); }
    100% { opacity: 1; transform: translateY(0%); }
}

/* Trusted Partner Section */
.trusted-partner-section {
    padding: 120px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80'); /* Made overlay darker */
    background-size: cover;
    background-position: center;
    text-align: center; /* Explicitly ensure all content is centered */
    color: var(--text-color);
}

.trusted-partner-section::before {
    /* Removed background gradient to ensure clear text visibility */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none; /* No background */
    opacity: 0; /* Fully transparent */
    z-index: -1;
}

.trusted-partner-section .section-title,
.trusted-partner-section .section-subtitle,
.trusted-partner-section p {
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-align: center; /* Explicitly center text */
}

.trusted-partner-section .section-title {
    font-size: 2.8rem; /* Slightly larger title */
    margin-bottom: 20px;
}

.trusted-partner-section .section-subtitle {
    font-size: 1.4rem; /* Slightly larger subtitle */
    margin-bottom: 30px;
}

.trusted-partner-section p {
    max-width: 800px; /* Constrain paragraph width for readability */
    margin: 0 auto 40px auto; /* Center and add more bottom margin */
    line-height: 1.8;
    font-size: 1.1rem;
}

.trusted-partner-section .btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); /* Ensure purple gradient */
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 0.95rem;
    border-radius: 25px;
    display: inline-block;
    margin: 30px auto 0 auto;
    max-width: 200px;
    text-align: center;
}

.trusted-partner-section .btn-primary:hover {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color)); /* Ensure reverse purple gradient on hover */
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.25);
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 120px 0;
    background: var(--light-bg); /* Reverted to original solid background */
    text-align: center; /* Explicitly ensure all content is centered */
}

.why-choose-us-section .section-title,
.why-choose-us-section .section-subtitle,
.why-choose-us-section p {
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center; /* Explicitly center text */
}

.why-choose-us-section .section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.why-choose-us-section .section-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.why-choose-us-list {
    max-width: 900px; /* Constrain list width */
    margin: 40px auto 50px auto; /* Center and add more vertical margin */
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center; /* Ensure list items are centered */
}

.why-choose-us-list p {
    position: relative;
    padding-left: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.9;
}

.why-choose-us-list p::before {
    content: '\f00c'; /* FontAwesome checkmark icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.why-choose-us-section .btn-primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color)); /* Explicitly setting purple gradient */
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-size: 0.95rem;
    border-radius: 25px;
    display: inline-block;
    margin: 30px auto 0 auto;
    max-width: 200px;
    text-align: center;
}

.why-choose-us-section .btn-primary:hover {
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color)); /* Explicitly setting reverse purple gradient on hover */
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.25);
}

/* Purpose & Values Section */
.purpose-values-section {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80'); /* Made overlay darker */
    background-size: cover;
    background-position: center;
    color: var(--text-color); /* Light text */
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.purpose-values-section .container {
    max-width: 1000px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    position: relative;
    padding: 30px;
    background: var(--white) !important; /* Ensure white background */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important; /* Stronger shadow */
    transition: transform 0.3s ease;
    text-align: left; /* Align text to left as per screenshot */
    overflow: hidden;
    border: 1px solid var(--border-color) !important; /* Ensure border */
}

.value-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    transition: opacity 0.3s ease;
}

.value-card:nth-child(1)::after {
    background-image: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80');
}

.value-card:nth-child(2)::after {
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80');
}

.value-card:nth-child(3)::after {
    background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=200&q=80');
}

.value-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color); /* Dark text for value card titles */
    position: relative;
    padding-bottom: 10px;
}

.value-card h3::after {
    content: '';
    position: absolute;
    left: 0; /* Align underline to left */
    transform: none; /* Remove transform */
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.value-card p,
.value-card ul {
    color: var(--light-text); /* Dark text for value card content */
}

.value-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
}

.value-card ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.value-card ul li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--accent-color);
    margin-right: 10px;
}

/* Services Section */
.services-section {
    padding: 120px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1542744095-291d356f6c28?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80'); /* Added background image with darker overlay */
    background-size: cover;
    background-position: center;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.05), rgba(var(--secondary-rgb), 0.05));
    z-index: 0;
}

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

.services-section .section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.services-section .section-subtitle {
    font-size: 1.4rem;
    margin-bottom: 60px;
    color: var(--light-text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid var(--border-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 25px;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 1rem;
    }
}

/* Steps Section */
.steps-section {
    padding: 120px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80'); /* New professional image with much lighter overlay */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center; /* Explicitly ensure all content is centered */
}

.steps-section .section-title,
.steps-section .section-subtitle {
    color: var(--text-color);
    text-align: center; /* Explicitly center text */
}

.steps-section .section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.steps-section .steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.steps-section .step-item {
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important; /* Stronger shadow */
    background: var(--white) !important; /* Ensure white background */
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color) !important; /* Ensure border */
}

.steps-section .step-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important; /* Stronger shadow on hover */
}

.steps-section .step-number {
    font-size: 3.5rem; /* Larger step number */
    margin-bottom: 15px;
}

.steps-section .step-item h4 {
    font-size: 1.6rem; /* Larger step item title */
    margin-bottom: 10px;
}

.steps-section .step-item p {
    font-size: 1.05rem;
}

.steps-section .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px; /* Reduced padding for a more compact look */
    font-size: 0.95rem; /* Slightly smaller font size */
    border-radius: 25px; /* More rounded corners for a modern, professional look */
    display: inline-block; /* Allow it to be centered and not take full width */
    margin: 30px auto 0 auto; /* Center the button and adjust top margin */
    max-width: 200px; /* Limit maximum width */
    text-align: center; /* Ensure text is centered within the button */
}

/* Stats Section */
.stats-section {
    padding: 120px 0; /* Increased vertical padding */
    background: var(--white); /* Removed background image, set to solid white */
    color: var(--text-color);
    text-align: center;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.1;
    transform: translate(-50%, -50%);
    animation: pulseEffect 15s infinite ease-in-out;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.stats-section .stat-item {
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important; /* Stronger shadow */
    background: var(--white) !important; /* Ensure white background */
    color: var(--text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color) !important; /* Ensure border */
}

.stats-section .stat-item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important; /* Stronger shadow on hover */
}

.stats-section .stat-item h3 {
    font-size: 3.5rem; /* Larger stat number */
    margin-bottom: 10px;
}

.stats-section .stat-item p {
    font-size: 1.2rem; /* Larger stat text */
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0; /* Increased vertical padding */
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80'); /* Made overlay darker */
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    text-align: center; /* Explicitly ensure all content is centered */
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: var(--text-color);
    text-align: center; /* Explicitly center text */
}

.testimonials-section .section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.testimonials-section .section-subtitle {
    font-size: 1.4rem;
    margin-bottom: 60px;
}

.testimonials-section .testimonials-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-slide-group {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-slide-group.active {
    display: grid;
    opacity: 1;
    transform: translateX(0);
}

.testimonials-section .testimonial-slide {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
    border: 1px solid var(--border-color);
}

.testimonials-section .testimonial-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonials-section .testimonial-slide .quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonials-section .testimonial-slide .author {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonials-section .testimonial-slide .course {
    font-size: 1rem;
    color: var(--light-text);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-dot:hover {
    background: var(--primary-color);
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .testimonial-slide-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonial-slide-group {
        grid-template-columns: 1fr;
    }
    
    .testimonials-section .testimonial-slide {
        min-height: 250px;
    }
    
    .testimonials-section .testimonial-slide .quote {
        font-size: 1rem;
    }
}

/* Add responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-text {
        font-size: 2.5rem; /* Adjusted for smaller screens */
        line-height: 1.3;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .startup-india {
        margin-left: 0;
        justify-content: center;
        width: 100%;
        margin-top: 15px;
    }

    .trusted-partner-section,
    .why-choose-us-section,
    .services-section,
    .steps-section,
    .stats-section,
    .testimonials-section,
    .clients-section,
    .contact-section-alt,
    .footer-alt {
        padding: 80px 0; /* Reduced padding for mobile */
    }

    .contact-form-container {
        padding: 30px;
    }

    .footer-alt .footer-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-alt .footer-section-alt ul {
        align-items: center;
    }

    .footer-alt .footer-social-alt {
        justify-content: center;
    }
}

.purpose-values-section,
.services-section,
.steps-section,
.trusted-partner-section,
.why-choose-us-section,
.stats-section,
.testimonials-section,
.clients-section,
.contact-section-alt {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

/* Existing animations - ensure they are still here or re-add as needed */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Contact Sidebar */
.contact-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    align-items: center; /* Changed to center for a more compact look */
    width: 60px; /* Smaller width */
    min-width: unset; /* Remove min-width */
    min-height: unset; /* Remove min-height */
    padding: 5px; /* Smaller padding */
    background: var(--white); /* Set to white background */
    border-radius: 0 8px 8px 0; /* Slightly smaller border-radius */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Lighter shadow */
    border-left: 3px solid var(--accent-color); /* Thinner border */
    visibility: visible;
    opacity: 1;
}

.contact-text-container {
    display: none; /* Hide the text by default */
    /* Removed original styles that were causing issues */
}

.contact-us-text {
    font-size: 0.8rem; /* Smaller font size */
    font-weight: 600;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; /* Smaller width */
    height: 40px; /* Smaller height */
    margin: 3px 0; /* Smaller margin */
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem; /* Smaller icon size */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Lighter shadow */
    transition: transform 0.3s ease, background 0.3s ease;
}

.email-contact {
    background: linear-gradient(to right, #4a90e2, #6c63ff) !important; /* Blue gradient for email */
}

.whatsapp-contact {
    background: #25D366 !important; /* Keep WhatsApp green */
}

.contact-item:hover {
    transform: scale(1.1) !important;
    background: var(--secondary-color) !important; /* Secondary color on hover */
}

.sidebar-toggle {
    display: none !important; /* Ensure toggle is hidden */
}

.contact-section-alt {
    padding: 120px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80'); /* Made overlay darker */
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center; /* Explicitly ensure all content is centered */
}

.contact-section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.05), rgba(var(--secondary-rgb), 0.05));
    z-index: 0;
}

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

.contact-section-alt .section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center; /* Explicitly center text */
}

.contact-section-alt .section-subtitle {
    font-size: 1.4rem;
    margin-bottom: 60px;
    color: var(--light-text);
    text-align: center; /* Explicitly center text */
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-info-card:hover .contact-icon {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-info-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--light-text);
}

.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.contact-form-alt {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-alt .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form-alt label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.contact-form-alt input,
.contact-form-alt select,
.contact-form-alt textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    background: var(--white);
}

.contact-form-alt textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-alt input:focus,
.contact-form-alt select:focus,
.contact-form-alt textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
    outline: none;
}

.contact-form-alt .btn {
    display: block; /* Ensure button is block-level for margin auto centering */
    margin: 10px auto 0 auto; /* Center the button */
}

.contact-form-alt .btn i {
    transition: transform 0.3s ease;
}

.contact-form-alt .btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .contact-section-alt .section-title {
        font-size: 2.2rem;
    }
    
    .contact-section-alt .section-subtitle {
        font-size: 1.2rem;
    }
}

/* Footer */
.footer-alt {
    background: var(--text-color);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.05), rgba(var(--secondary-rgb), 0.05));
    z-index: 0;
}

.footer-alt .container {
    position: relative;
    z-index: 1;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-section-alt {
    padding: 15px 0;
}

.footer-section-alt h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-section-alt h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.footer-logo-alt img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-logo-alt p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer-social-alt {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.footer-social-alt a {
    color: var(--white);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social-alt a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
}

.footer-section-alt ul {
    list-style: none;
}

.footer-section-alt ul li {
    margin-bottom: 12px;
}

.footer-section-alt ul li a,
.footer-section-alt ul li {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-section-alt ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom-alt {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
}

.footer-bottom-alt p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .footer-alt {
        padding: 60px 0 20px;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section-alt h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo-alt img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social-alt {
        justify-content: center;
    }

    .footer-section-alt ul li a,
    .footer-section-alt ul li {
        justify-content: center;
    }
}

/* Quazentech Section (Talent Development) */
.talent-dev-section {
    padding: 120px 0;
    background: var(--dark-bg); /* Use a darker background for contrast */
    color: var(--text-color);
    text-align: center;
}

.talent-dev-section .section-title,
.talent-dev-section .section-subtitle {
    color: var(--text-color);
}

.quazentech-content {
    display: flex;
    flex-direction: row; /* Default to row layout */
    align-items: center;
    gap: 50px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.quazentech-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quazentech-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quazentech-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.quazentech-right {
    flex: 1.2;
    padding: 20px;
}

.quazentech-right p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--light-text);
}

.quazentech-right p strong {
    color: var(--primary-color);
}

.quazentech-right .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    margin-top: 20px;
    display: inline-block; /* Ensure button stays inline with content flow */
    text-decoration: none;
}

.quazentech-right .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--secondary-rgb), 0.25);
}

/* Responsive adjustments for Quazentech Section */
@media (max-width: 1024px) {
    .quazentech-content {
        flex-direction: column;
        text-align: center;
    }

    .quazentech-left,
    .quazentech-right {
        flex: none;
        width: 100%;
    }

    .quazentech-image {
        max-width: 80%;
    }

    .quazentech-right {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .talent-dev-section {
        padding: 80px 0;
    }

    .quazentech-content {
        gap: 30px;
    }

    .quazentech-image {
        max-width: 90%;
    }

    .quazentech-right p {
        font-size: 1rem;
    }

}

/* Clients Section (Placeholder as images were not provided)*/
.clients-section {
    padding: 120px 0;
    background: var(--light-bg); /* Reverted to original solid background */
    text-align: center;
    overflow: hidden;
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Increased spacing between logos */
    padding: 40px 0;
}

.client-logos img {
    max-width: 180px; /* Increased logo size */
    height: auto;
    opacity: 0; /* Start with opacity 0 for animation */
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1.2); /* Increased contrast for bolder appearance */
    animation: fadeInUp 0.8s ease-out forwards; /* Apply fade-in-up animation */
}

.client-logos img:nth-child(1) { animation-delay: 0.1s; }
.client-logos img:nth-child(2) { animation-delay: 0.2s; }
.client-logos img:nth-child(3) { animation-delay: 0.3s; }
.client-logos img:nth-child(4) { animation-delay: 0.4s; }
.client-logos img:nth-child(5) { animation-delay: 0.5s; }

.client-logos img:hover {
    opacity: 1;
    transform: scale(1.1); /* Slightly larger hover effect */
    filter: brightness(1) contrast(1.3); /* Even more contrast on hover */
}

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