:root {
    --primary: #db2777;
    /* Deeper Pink for Light Theme */
    --primary-dark: #be185d;
    --secondary: #ca8a04;
    /* Sunset Gold (Darker) */
    --accent: #0d9488;
    /* Water Teal (Darker) */
    --bg-dark: #f8fafc;
    /* Light Gray-Blue Background */
    --bg-card: rgba(255, 255, 255, 0.7);
    --text-main: #1e293b;
    /* Dark Slate Text */
    --text-muted: #475569;
    /* Slate Gray */
    --glass-border: rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes move-bg {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-5%, -5%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Glassmorphism utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(219, 39, 119, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--bg-dark);
}

/* Section titles */
.section-title {
    text-align: center;
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(to right, #db2777, #ea580c);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.section-title p {
    color: #334155;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section Redesign */
section {
    padding: 60px 0;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--accent);
    border-left: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    color: var(--text-main);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon-circle {
    width: 45px;
    height: 45px;
    background: rgba(244, 114, 182, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-icon-circle svg {
    width: 22px;
    height: 22px;
}

.contact-info-text h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-info-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 2px 0;
}

.contact-info-text strong {
    color: var(--text-main);
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.section-accent-line {
    display: none;
}

/* Footer Styles */
footer {
    padding: 0;
    background: #f1f5f9;
}

.footer-grid {
    padding: 60px 0;
}

.footer-col h4 {
    color: var(--text-main);
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a::before {
    content: '>';
    color: var(--secondary);
    font-weight: bold;
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 5px 15px rgba(244, 114, 182, 0.4);
}

.copyright {
    padding: 25px 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
}

/* Spotlight Section Styles */
.spotlight-grid {
    padding: 40px 0;
}

.spotlight-card {
    position: relative;
    width: 250px;
    height: 180px;
    border-radius: 25px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: visible;
    margin-top: 60px;
}

.spotlight-card:hover {
    transform: translateY(-5px);
}

.spotlight-purple {
    background: linear-gradient(135deg, #db2777 0%, #f472b6 100%);
}

.spotlight-blue {
    background: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%);
}

.spotlight-orange {
    background: linear-gradient(135deg, #ca8a04 0%, #fbbf24 100%);
}

.spotlight-red {
    background: linear-gradient(135deg, #be123c 0%, #fb7185 100%);
}

.spotlight-card:hover.spotlight-purple {
    box-shadow: 0 15px 35px rgba(219, 39, 119, 0.4);
}

.spotlight-card:hover.spotlight-blue {
    box-shadow: 0 15px 35px rgba(13, 148, 136, 0.4);
}

.spotlight-card:hover.spotlight-gold {
    box-shadow: 0 15px 35px rgba(202, 138, 4, 0.4);
}

.spotlight-card:hover.spotlight-rose {
    box-shadow: 0 15px 35px rgba(251, 113, 133, 0.4);
}

.character-img {
    position: absolute;
    top: -90px;
    right: -15px;
    width: 170px;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
}

.spotlight-card:hover .character-img {
    transform: translateY(-15px) scale(1.08);
}

.play-btn {
    width: 38px;
    height: 38px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    margin-bottom: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.play-btn svg {
    width: 16px;
    height: 16px;
    margin-left: 2px;
}

.spotlight-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.spotlight-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Bento Grid for SaaS Models */
.bento-grid {
    margin-top: 40px;
}

/* Responsive Navbar Customization */
/* Navbar Customization */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.brand-text .brand-name {
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.navbar-toggler-icon {
    /* Pink color for the default Bootstrap toggler icon */
    filter: invert(24%) sepia(87%) saturate(3474%) hue-rotate(320deg) brightness(92%) contrast(100%);
}

/* Mobile Navbar Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        text-align: center; /* Center for mobile */
    }
    
    .nav-link {
        padding: 0.8rem 0 !important;
        border-bottom: 1px solid #f1f5f9;
        margin: 0;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 35px !important;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .spotlight-card {
        width: 100% !important;
        margin-top: 80px;
    }
    
    .character-img {
        width: 140px;
        top: -70px;
    }
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-wide {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 1;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-wide {
        grid-column: span 1;
    }
}

/* High-Fidelity Hero Typography & Glitch Effect */
.hero-text-glitch {
    font-size: 8rem;
    font-weight: 900;
    line-height: 1;
    position: relative;
    color: var(--text-main);
    letter-spacing: 5px; /* Reduced from 15px */
    margin-bottom: 0;
    text-transform: uppercase;
    max-width: 100%;
}

.hero-text-glitch::before,
.hero-text-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-text-glitch::before {
    color: var(--primary);
    animation: glitch-effect 3s infinite linear alternate-reverse;
}

.hero-text-glitch::after {
    color: var(--accent);
    animation: glitch-effect 2s infinite linear alternate;
}

@keyframes glitch-effect {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@media (max-width: 991px) {
    .hero-text-glitch {
        font-size: 5rem;
        letter-spacing: 10px;
    }
}

@media (max-width: 768px) {
    .hero-text-glitch {
        font-size: 3rem;
        letter-spacing: 2px;
        overflow-wrap: break-word;
        max-width: 100vw;
    }
    
    .hero h2 {
        font-size: 2rem !important;
        padding: 0 15px;
    }
}



/* Hero Section */
.hero {
    height: 120vh; 
    width: 100vw;
    max-width: 100%;
    /* Track for scroll animation */
    position: relative;
    background: radial-gradient(circle at top right, rgba(45, 212, 191, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(244, 114, 182, 0.05), transparent),
        radial-gradient(circle at center, #f0f9ff 0%, var(--bg-dark) 100%);
    overflow: hidden !important; /* Force clip everything */
}

.hero-sticky-track {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100vw;
    max-width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.final-logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(360px, 92vw); /* Responsive width */
    height: auto;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.final-logo {
    width: 100%;
    height: auto;
    /* Removed drop-shadow for 100% original image clarity */
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#hero-content {
    position: relative;
    z-index: 2;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
    animation: move-bg 60s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 700px;
    animation: fadeIn 1s ease-out;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #0f172a, var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.btn-group {
    display: flex;
    gap: 20px;
}

/* Grid Layouts */
.grid {
    gap: 30px;
}

.card {
    padding: 40px;
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    color: var(--primary);
}

/* Recent Projects Section */
.projects-grid {
    margin-top: 20px;
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition);
}

.project-img-container {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.project-placeholder svg {
    width: 64px;
    opacity: 0.5;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.purple-gradient {
    background: linear-gradient(135deg, #f472b6 0%, #db2777 100%);
}

.orange-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.blue-gradient {
    background: linear-gradient(135deg, #2dd4bf 0%, #0d9488 100%);
}

.project-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(219, 39, 119, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
}

.project-card h3 {
    font-size: 1.3rem;
    color: var(--text-main);
}

.project-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.project-link {
    margin-top: auto;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.container-nav {
    max-width: 95% !important;
    background: #ffffff;
    border-radius: 50px;
    padding: 8px 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}