@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #030303;
    --card-bg: rgba(20, 20, 20, 0.7);
    --accent-purple: #818cf8;
    --accent-blue: #38bdf8;
    --accent-pink: #f472b6;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --grid-color: rgba(255, 255, 255, 0.03);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Grid */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: -1;
}

.bg-dots {
    position: fixed;
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    z-index: 1000;
}

.dot-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dot-indicator:hover {
    border-color: var(--accent-blue);
    transform: scale(1.2);
}

.dot-indicator::before {
    content: attr(title);
    position: absolute;
    right: 40px;
    background: var(--card-bg);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: white;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.dot-indicator:hover::before {
    opacity: 1;
    right: 30px;
}

.dot-indicator::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--text-secondary);
    border-radius: 50%;
}

.dot-indicator.active {
    border-color: var(--accent-purple);
}

.dot-indicator.active::after {
    background: var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.dot-line {
    position: absolute;
    top: -3rem;
    left: 50%;
    width: 1px;
    height: 3rem;
    background: var(--border-color);
}

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, rgba(129, 140, 248, 0.15), transparent 70%);
    z-index: -1;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 1rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    margin-bottom: 2rem;
    width: min(1200px, 95%);
    margin-left: auto;
    margin-right: auto;
}

.logo {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
    color: var(--text-primary);
}

/* Hero Section */
.hero,
.page-hero {
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
}

.hero-graph {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg width='1200' height='150' viewBox='0 0 1200 150' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100C200 80 400 120 600 70C800 20 1000 50 1200 30' stroke='rgba(129, 140, 248, 0.1)' stroke-width='0.5' /%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
}

.hero h1,
.page-hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.hero p,
.page-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-spacer {
    margin-bottom: 8rem;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

/* Cards & Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(5px);
    transition: border-color 0.3s ease;
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Specific Sections */
.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--accent-purple);
    color: var(--accent-purple);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partners-scroll {
    overflow: hidden;
    padding: 4rem 0;
    position: relative;
    white-space: nowrap;
}

.partners-track {
    display: inline-flex;
    gap: 4rem;
    animation: scroll 40s linear infinite;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.partner-logo-img {
    height: 45px !important;
    width: auto !important;
    max-width: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.partner-item:hover {
    transform: translateY(-2px);
}

.partner-item:hover .partner-logo-img {
    transform: scale(1.05);
}

.partner-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-item:hover span {
    color: var(--text-primary);
    opacity: 1;
}

.logo-vels {
    background-image: url('assets/logos/vels.png');
}

.logo-cit {
    background-position: -120px -240px;
}

.logo-saranathan {
    background-position: -240px -240px;
}

.logo-sigc {
    background-position: 0 -360px;
}

.partner-logo span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Slider Styles */
.slider-container {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 6rem;
    padding: 5rem 0;
    /* Huge padding for scale popup */
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 4rem;
    padding: 4rem 0;
    will-change: transform;
}

.slider-track .card {
    min-width: min(450px, 85vw);
    flex-shrink: 0;
    opacity: 0.15;
    transform: scale(0.85);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 32px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-track .card.active {
    opacity: 1;
    transform: scale(1.1);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 60px rgba(129, 140, 248, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    transform: scale(1.1);
}

@media (max-width: 968px) {
    .slider-track .card {
        min-width: min(400px, 80vw);
        padding: 2rem;
    }

    .slider-container {
        padding: 4rem 0;
    }
}

@media (max-width: 600px) {
    .slider-track .card {
        min-width: 85vw;
        padding: 1.5rem;
    }

    .slider-track {
        gap: 2rem;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

/* Founder Section */
.founder-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 4rem;
}

.founder-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    margin-top: 0.5rem;
    /* Little spacing from H3 */
}

.founder-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.founder-tag {
    color: var(--accent-purple);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.highlight {
    color: var(--accent-blue);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.founder-quote {
    border-left: 4px solid var(--accent-purple);
    padding-left: 1.5rem;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin: 2rem 0;
    font-family: var(--font-heading);
    background: linear-gradient(90deg, rgba(129, 140, 248, 0.1) 0%, transparent 100%);
    padding: 1.5rem;
    border-radius: 0 16px 16px 0;
}

.founder-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
    /* Reduced gap */
    margin-top: 2rem;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--text-primary);
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
footer {
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--border-color);
    margin-top: 8rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-purple);
    transform: translateX(5px);
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 4rem;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--text-primary);
}

/* Why Us Page */
.why-hero {
    padding: 6rem 0 4rem;
}

.why-hero h1 {
    font-size: 4rem;
}

.why-section {
    margin-bottom: 8rem;
}

.why-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* About Page */
.about-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-experience {
    margin-top: 6rem;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 32px;
}

.about-experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

input,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
    border-color: var(--accent-purple);
}

.contact-info-icon {
    color: var(--accent-purple);
    flex-shrink: 0;
}

.contact-info-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-info-content p {
    font-size: 2rem;
    color: var(--text-primary);
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
footer {
    padding: 8rem 0 4rem;
    border-top: 1px solid var(--border-color);
    margin-top: 8rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-purple);
    transform: translateX(5px);
}

/* CTA Section */
.cta {
    text-align: center;
    padding: 4rem 0;
    margin-bottom: 4rem;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--text-primary);
}

/* Why Us Page */
.why-hero {
    padding: 6rem 0 4rem;
}

.why-hero h1 {
    font-size: 4rem;
}

.why-section {
    margin-bottom: 8rem;
}

.why-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* About Page */
.about-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.about-experience {
    margin-top: 6rem;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 32px;
}

.about-experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

input,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    color: white;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
    border-color: var(--accent-purple);
}

.contact-info-icon {
    color: var(--accent-purple);
    flex-shrink: 0;
}

.contact-info-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.contact-info-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Responsive */
/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 968px) {

    /* Mobile Navigation */
    header {
        padding: 1rem 1.5rem;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(3, 3, 3, 0.95) !important;
        z-index: 2000;
        margin-left: 0;
        max-width: nonoe;
    }

    /* Hamburger Menu Button */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 2002;
        padding: 0.5rem;
    }

    .mobile-toggle span {
        width: 24px;
        height: 2px;
        background-color: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        padding: 6rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2001;
        display: flex;
        flex-direction: column;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    nav a {
        font-size: 1.5rem;
        display: block;
        width: 100%;
    }

    .services-grid,
    .about-vision-grid,
    .about-experience-grid,
    .why-section-grid,
    .contact-container,
    .founder-card {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem 1rem !important;
        text-align: left !important;
        padding-top: 2rem;
    }

    /* Layout Spacing */
    .hero,
    .page-hero {
        padding-top: 10rem !important;
        /* Adjusted Space for fixed header - Balanced */
        padding-bottom: 2rem;
        position: relative;
        z-index: 1;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.75rem;
        margin-top: 2rem;
        position: relative;
        z-index: 2;
    }

    .founder-card {
        text-align: center;
    }

    .founder-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .founder-stats {
        justify-content: center;
        text-align: center;
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1rem;
    }

    /* Slider Mobile Fixes */
    .slider-container {
        width: 100vw;
        left: 50%;
        margin-left: -50vw;
        padding: 2rem 0;
    }

    .slider-track {
        gap: 1.5rem;
    }

    .slider-track .card {
        min-width: 85vw;
        max-width: 85vw;
        padding: 2rem;
    }

    /* Footer Fixes */
    .footer-section {
        text-align: left;
    }

    .footer-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .social-links {
        justify-content: flex-start;
        margin-top: 2rem;
    }

    .bg-dots {
        display: none;
        /* Hide dots on mobile to prevent clutter */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .founder-stats {
        grid-template-columns: 1fr;
        /* Stack stats on very small screens */
    }
}

/* Mobile Sidebar & Layout Fixes */