
:root {
    /* Main background colors - dark navy/black theme */
    --bg-dark:       #0a0a1a;
    --bg-section:    #0d0d20;
    --bg-card:       #111128;
    --bg-card-hover: #161630;

    /* Neon accent colors */
    --cyan:    #00e5ff;
    --magenta: #d400ff;
    --purple:  #7b2fff;

    /* Text colors */
    --text-white: #ffffff;
    --text-light: #c0c0d8;
    --text-muted: #8888aa;

    /* Neon glow effects */
    --glow-cyan:    0 0 20px rgba(0, 229, 255, 0.4);
    --glow-magenta: 0 0 20px rgba(212, 0, 255, 0.4);
    --border-neon:  2px solid rgba(0, 229, 255, 0.5);

    /* Fonts */
    --font-heading: 'Orbitron', sans-serif;
    --font-body:    'Rajdhani', sans-serif;

    /* Spacing */
    --section-pad: 80px 5%;
    --radius:      12px;
}

/* =====================================================
   BASE RESET & GLOBAL STYLES
   ===================================================== */

/* Resetting box model for all elements */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base body styles */
html {
    scroll-behavior: smooth; /* smooth scroll when nav links are clicked */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden; /* prevent horizontal scroll */
}

/* Remove underlines from links by default */
a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Make images responsive by default */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   REUSABLE UTILITY CLASSES
   ===================================================== */

/* Cyan gradient text - used for highlighted words */
.gradient-text-cyan {
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Magenta gradient text */
.gradient-text-magenta {
    background: linear-gradient(90deg, var(--magenta), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Primary filled button - cyan/purple gradient */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: var(--bg-dark);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-magenta);
}

/* Outline button - transparent with neon border */
.btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--cyan);
    color: var(--cyan);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.btn-outline:hover {
    transform: translateY(-2px);
    background: rgba(0, 229, 255, 0.1);
    box-shadow: var(--glow-magenta);
}

/* Section wrapper - limits max width and centers content */
.section-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: var(--section-pad);
}

/* Centered section titles used in benefits, projects */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.5rem); /* scales between small and large screens */
    margin-bottom: 14px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

/* =====================================================
   NAVBAR
   ===================================================== */

/* Sticky top navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(10, 10, 26, 0.92);
    backdrop-filter: blur(10px); /* frosted glass look */
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    padding: 0 5%;
}

/* Flex row: logo | links | button */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 65px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Logo group: icon + text */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav links in a flex row */
.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-light);
    transition: color 0.2s;
}

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

/* CTA button in the navbar */
.nav-cta {
    padding: 9px 20px;
    font-size: 0.9rem;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    background-color: var(--bg-dark);
    padding: 0; /* container handles padding */
}

/* Two-column flex layout: text | image */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 80px 0;
}

/* Left column - text content */
.hero-content {
    flex: 1 1 50%; /* grows and shrinks, base 50% */
    min-width: 0; /* prevent flex overflow */
}

/* Big hero headline */
.hero-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.8rem); /* responsive font size */
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 900;
}

/* Short description text */
.hero-desc {
    color: var(--text-light);
    font-size: 1rem;
    max-width: 480px;
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Stats row - 3 stat items side by side */
.hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap; /* wraps on small screens */
    margin-bottom: 32px;
}

/* Each stat: icon + text */
.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    width: 100x;
    height: 100px;
    object-fit: contain;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--cyan);
    font-weight: 700;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.2;
}

/* Hero CTA button group */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Right column - hero image */
.hero-image-wrap {
    flex: 1 1 45%;
    min-width: 0;
    border: 2px solid var(--cyan);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--glow-magenta), 0 0 60px rgba(0, 229, 255, 0.1);
    /* The neon border effect on the hero image */
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =====================================================
   ABOUT SECTION - "Where Art Meets Technology"
   ===================================================== */

.about {
    background-color: var(--bg-section); /* slightly lighter than hero */
}

/* Two-column layout: text | image */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap; /* wraps on small screens */
}

/* Left: text content */
.about-content {
    flex: 1 1 45%;
    min-width: 280px;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.7;
}

/* Right: studio image */
.about-image-wrap {
    flex: 1 1 45%;
    min-width: 300px;
    border: 2px solid var(--cyan);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--glow-magenta);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =====================================================
   BENEFITS SECTION - 4 cards
   ===================================================== */

.benefits {
    background-color: var(--bg-dark);
}

/* 4 cards in a flex row, wraps on small screens */
.benefits-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* wraps into 2 or 1 columns on smaller screens */
    justify-content: center;
}

/* Each benefit card */
.benefit-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(0, 229, 255, 0.5);
    border-radius: var(--radius);
    padding: 28px 22px;
    flex: 1 1 200px; /* each card min 200px, stretches */
    max-width: 280px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: var(--glow-magenta);
}

.benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: var(--text-white);
    line-height: 1.3;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =====================================================
   FEATURED PROJECTS SECTION
   ===================================================== */

.projects {
    background-color: var(--bg-section);
}

/* 3 project cards in a flex row */
.projects-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* wraps on smaller screens */
    justify-content: center;
}

/* Each project card: image + overlay label */
.project-card {
    flex: 1 1 260px;
    max-width: 380px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative; /* for overlay positioning */
    border: 1px solid rgba(0, 229, 255, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow-magenta);
}

/* Project image fills card */
.project-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Dark overlay at bottom with project name */
.project-info {
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
    padding: 16px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-white);
    margin-bottom: 4px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* =====================================================
   CTA BANNER SECTION
   ===================================================== */

/* Full-width CTA with double neon border effect */
.cta-section {
    background-color: var(--bg-dark);
    padding: 60px 5%;
    text-align: center;
}

/* Inner box with neon border and glow */
.cta-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 40px;
    border: 2px solid rgba(0, 229, 255, 0.5);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.03), rgba(212, 0, 255, 0.03));
    box-shadow: var(--glow-magenta)
}




.cta-inner h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-inner p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact {
    background-color: var(--bg-section);
}

/* Rounded box for contact details */
.contact-box {
    background-color: var(--bg-card);
    border: 2px solid rgba(0, 229, 255, 0.5);
    border-radius: 16px;
    padding: 50px 5%;
    box-shadow: var(--glow-magenta);
}

/* Header area of the contact box */
.contact-header {
    margin-bottom: 40px;
}

.contact-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 6px;
}

.contact-sub {
    color: var(--cyan);
    font-size: 0.95rem;
}

/* 3 contact items in a flex row */
.contact-details {
    display: flex;
    flex-wrap: wrap; /* wraps on small screens */
    gap: 40px;
}

/* Each contact item: icon + text */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1 1 220px; /* min width before wrapping */
}

.contact-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0; /* dont let icon shrink */
}

.contact-item > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-value {
    font-size: 0.95rem;
    color: var(--text-white);
    line-height: 1.5;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(0, 229, 255, 0.15);
    padding: 30px 5%;
}

/* Flex row: logo | links | socials */
.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 20px;
}

/* Footer logo reuses nav logo styles */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Footer nav links */
.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--cyan);
}

/* Social icon row */
.footer-socials {
    display: flex;
    gap: 14px;
    align-items: center;
}

.social-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
}

.social-icon:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* Copyright text at the very bottom */
.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================================================
   RESPONSIVE DESIGN - Flexbox scaling
   These media queries adjust layout for smaller screens
   ===================================================== */

/* Medium screens (tablets ~ 900px) */
@media (max-width: 900px) {

    /* Stack hero vertically on smaller screens */
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }

    .hero-content {
        flex: 1 1 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image-wrap {
        flex: 1 1 100%;
        width: 100%;
    }

    .hero-desc {
        max-width: 100%;
    }

    /* Stack about section vertically */
    .about-container {
        flex-direction: column;
    }

    .about-content,
    .about-image-wrap {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /* Benefits cards wrap into 2 columns */
    .benefit-card {
        flex: 1 1 45%;
        max-width: 100%;
    }

    /* Footer items stack */
    .footer-container {
        justify-content: center;
        text-align: center;
    }
}

/* Small screens (phones ~ 600px) */
@media (max-width: 600px) {

    /* All cards go full width */
    .benefit-card,
    .project-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /* Reduce nav link gap */
    .nav-links {
        gap: 16px;
        font-size: 0.85rem;
    }

    /* Reduce CTA inner padding */
    .cta-inner {
        padding: 40px 20px;
    }

    /* Contact items stack */
    .contact-item {
        flex: 1 1 100%;
    }

    /* Footer links stack on mobile */
    .footer-links {
        justify-content: center;
    }

    /* Nav CTA text smaller */
    .nav-cta {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}
