:root {
    --primary: #C1121C; /* Logo Red */
    --primary-dark: #8B0B14;
    --accent: #58595B; /* Logo Gray */
    --bg-dark: #000000;
    --bg-darker: #050505;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.015);
    --glass-border: rgba(255, 255, 255, 0.05);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, .logo, .label, .btn-primary, .btn-outline, .btn-glow {
    font-family: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
}

html, body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Background Accents (Mesh Gradients) */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(193, 18, 28, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: float 25s infinite alternate;
}

.blob-1 { top: -150px; left: -150px; }
.blob-2 { bottom: -150px; right: -150px; background: radial-gradient(circle, rgba(88, 89, 91, 0.08) 0%, transparent 70%); animation-delay: -7s; }
.blob-3 { top: 40%; left: 30%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(193, 18, 28, 0.03) 0%, transparent 70%); animation-duration: 30s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.1); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
}

.glass:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Typography */
h1 { 
    font-size: clamp(2.8rem, 8vw, 5.5rem); 
    font-weight: 800; 
    line-height: 1.1; 
    margin-bottom: 2rem; 
    letter-spacing: -2px; 
}
h2 { 
    font-size: clamp(2.2rem, 5vw, 3.8rem); 
    font-weight: 600; 
    margin-bottom: 1.5rem; 
    letter-spacing: -1px; 
}
h3 { 
    font-size: clamp(1.4rem, 3vw, 1.7rem); 
    font-weight: 600; 
    margin-bottom: 1rem; 
}
p { font-size: 1.05rem; color: var(--text-gray); font-weight: 400; letter-spacing: 0.2px; }

.accent-text {
    color: var(--primary);
    background: none;
    -webkit-text-fill-color: initial;
}

.label {
    display: table;
    padding: 0.5rem 1.2rem;
    background: rgba(193, 18, 28, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-3px);
}

.btn-glow {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(193, 18, 28, 0.2);
    text-align: center;
}

.btn-glow:hover {
    box-shadow: 0 0 35px rgba(193, 18, 28, 0.6);
    transform: scale(1.05);
}

.btn-outline {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 2px solid var(--glass-border);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    text-align: center;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

#navbar.nav-scrolled {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#nav-logo {
    height: 60px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary);
}

@media (max-width: 1100px) {
    .nav-links { gap: 1.5rem; }
    #nav-logo { height: 50px; }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    text-align: center;
    overflow: hidden;
}

.hero-video-container, .section-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: transparent;
}

.hero-video, .section-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
    opacity: 1;
}

.overlay, .video-overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: rgba(255,255,255,1);
    background: rgba(0, 0, 0, 0.45);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    position: absolute;
    left: 50%;
    margin-left: -3px;
    top: 10px;
    border-radius: 50%;
    animation: mouse-scroll 2s infinite;
}

@keyframes mouse-scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Section Common */
.section {
    padding: 10rem 0;
}

.bg-dark { background-color: var(--bg-dark); }
.bg-darker { background-color: var(--bg-darker); }

.relative-section {
    position: relative;
    overflow: hidden;
}

.relative-section .container {
    z-index: 10;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Feature Cards */
.feature-card {
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin-bottom: 2rem;
}

.feature-card.highlight {
    background: linear-gradient(rgba(0,229,255,0.1), rgba(112,0,255,0.05));
    border-color: var(--primary);
    transform: scale(1.05);
}

/* Service Cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-card {
    position: relative;
    padding: 3rem;
    height: auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    cursor: pointer;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(193, 18, 28, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(193, 18, 28, 0.3);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #fff;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.modal-content {
    background: var(--bg-darker);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    max-width: 700px;
    width: 100%;
    padding: 4rem;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: modalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--primary);
}

.modal-header h2 {
    margin-bottom: 1.5rem;
}

.modal-body p {
    color: var(--text-gray);
    font-size: 1.2rem;
    line-height: 1.8;
}


.check-list {
    list-style: none;
    margin: 2rem 0;
}

.check-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.check-icon {
    color: var(--primary);
    width: 20px;
}

.marquee-wrapper, .clients-marquee {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    max-width: 100vw;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-content {
    display: flex;
    gap: 2rem;
    padding-right: 2rem;
}

.portfolio-img-rounded {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    filter: grayscale(100%);
    cursor: pointer;
}

.portfolio-img-rounded:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    filter: grayscale(0%);
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (max-width: 968px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.section-header { margin-bottom: 3.5rem; }
.align-center { text-align: center; }
.section-desc { max-width: 600px; margin: 0.5rem auto 0; }

.portfolio-item {
    padding: 1rem;
    position: relative;
    cursor: pointer;
}

.portfolio-img {
    height: 250px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.portfolio-info h4 { margin-bottom: 0.2rem; font-size: 1.4rem; }
.portfolio-info p { font-size: 0.9rem; color: var(--primary); font-weight: 500; }

.check-list li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.w-100 { width: 100%; border: none; }

/* Contact Specific */
.contact-section {
    position: relative;
    padding: 5rem 0;
}

.info-items {
    margin-top: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item i {
    color: var(--primary);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: #fff;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.06);
}

/* Footer */
footer {
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 70px;
    margin-bottom: 1.5rem;
}

.footer-nav h4, .footer-social h4 { margin-bottom: 1.5rem; font-size: 1.2rem; }

.footer-nav a { display: block; color: var(--text-gray); text-decoration: none; margin-bottom: 1rem; transition: var(--transition); }
.footer-nav a:hover { color: var(--primary); padding-left: 5px; }

.social-icons { display: flex; gap: 1.5rem; }
.social-icons a { color: #fff; transition: var(--transition); }
.social-icons a:hover { color: var(--primary); transform: translateY(-5px); }

.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 2rem; text-align: center; color: var(--text-gray); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 968px) {
    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    h1 { font-size: 3.2rem; }
    h2 { font-size: 2.2rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    
    #navbar { padding: 1rem 0; }
    #nav-logo { height: 45px; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0,0,0,0.98);
        padding: 3rem 2rem;
        flex-direction: column;
        border-bottom: 1px solid var(--glass-border);
        text-align: center;
        gap: 2rem;
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }

    .hero-content {
        padding: 2rem 1.5rem;
        width: 90%;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .portfolio-img-rounded {
        width: 280px;
        height: 200px;
    }

    .modal-content {
        padding: 2.5rem 1.5rem;
        width: 95%;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .section { padding: 4rem 0; }
    
    .hero-btns { flex-direction: column; width: 100%; gap: 1rem; }
    .hero-btns .btn-glow, .hero-btns .btn-outline { width: 100%; display: block; padding: 1rem; }

    .service-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Animations */
.fade-in { animation: fadeIn 1s ease-out forwards; }
.fade-in-delayed { animation: fadeIn 1s ease-out 0.5s forwards; opacity: 0; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    z-index: 1000;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background: #128c7e;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.wa-icon { width: 24px; height: 24px; }

/* Process Grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    z-index: 2;
}

.process-step:hover {
    background: rgba(193, 18, 28, 0.05);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.step-num {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: -2.5rem;
    line-height: 1;
}

.process-step h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Clients Marquee */
.clients-marquee {
    margin-top: 5rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 4rem;
    overflow: hidden;
    max-width: 100vw;
}

.marquee-track.clients {
    animation-duration: 25s;
}

.marquee-content.grayscale span {
    font-size: 1.2rem;
    font-weight: 800;
    color: rgba(255,255,255,0.2);
    letter-spacing: 2px;
    margin: 0 4rem;
}

/* Idea Cards */
.idea-card {
    text-align: center;
    padding: 3rem;
}

.idea-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    cursor: zoom-out;
    padding: 2rem;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay.active img {
    transform: scale(1);
    opacity: 1;
}

.close-lightbox {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 3001;
}

.close-lightbox:hover {
    background: var(--primary);
    transform: rotate(90deg);
}

.footer-social a:hover { color: var(--primary); }

/* Footer Social Update */
.instagram-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem !important;
    text-decoration: none;
    color: #fff !important;
    border-radius: 100px;
    background: transparent !important;
    border: 1px solid var(--primary) !important;
    transition: var(--transition);
    max-width: fit-content;
}

.instagram-card:hover {
    background: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(193, 18, 28, 0.3);
}

.instagram-card i {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: var(--transition);
}

.instagram-card:hover i {
    color: #fff;
}

.instagram-card span {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
}
#insta-logo { width: 24px; height: 24px; object-fit: contain; }
