/* style.css - COMPLETE FINAL VERSION */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Poppins:wght@300;400;600&display=swap');

:root 
{
    --primary: #ff004f;   /* Neon Red */
    --purple: #fc004e;;    /* Neon Purple */
    --green: #39ff14;     /* Neon Green */
    --bg: #050505;        /* Deep Black */
    --card-bg: #121212;
    --text: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
    --border-color: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
body { background-color: var(--bg); color: var(--text); font-family: 'Poppins', sans-serif; overflow-x: hidden; }

h1, h2, h3, h4 { font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 2px; }
a { text-decoration: none; color: white; transition: 0.3s; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 20px 0; }
.section-padding { padding: 80px 0; }

/* --- BUTTONS --- */
.btn-neon {
    padding: 12px 30px; border: 2px solid var(--primary); color: white;
    background: transparent; text-transform: uppercase; font-weight: bold;
    cursor: pointer; transition: 0.3s; display: inline-block; letter-spacing: 1px;
}
.btn-neon:hover { background: var(--primary); box-shadow: 0 0 20px var(--primary); color: white; }

/* --- NAVBAR --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: 0.4s;
}

nav.scrolled 
{
    background: rgba(0,0,0,0.95);
    border-bottom: 1px solid var(--purple);
}

.logo-container 
{
    width: 210px; 
    height: auto;
    display: flex;
    align-items: center;
}

/* Image Logo */
.logo-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* Dropdown Menu */
.nav-links li { position: relative; }
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background: #000; border: 1px solid var(--purple);
    width: 200px; display: none; flex-direction: column;
}
.nav-links li:hover .dropdown-menu { display: flex; }
.dropdown-menu a { padding: 15px; border-bottom: 1px solid #333; }
.dropdown-menu a:hover { background: var(--purple); color: white; }

/* --- HERO SECTION (INDEX) --- */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.video-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; z-index: -2; }
.video-slide.active { opacity: 1; }
/* Hero Content Layout Adjustments */
.hero-content h1 {
    /* Remove default margins so the image fits better */
    margin: 0 0 20px 0;
    line-height: 1;
}

/* video */


/* The Logo Styling */
.hero-logo {
    /* 1. Sizing */
    width: 600px;;       /* Adjust this value to match your preferred size */
    max-width: 90%;     /* Ensures it doesn't overflow on mobile screens */
    height: auto;       /* Maintains aspect ratio */
    
    /* 2. The Neon Glow Effect - Softened */
    /* We use 'color-mix' to mix your primary color with 'transparent'.
       - transparent 50% = 50% visible (Closest layer)
       - transparent 70% = 30% visible (Middle layer)
       - transparent 90% = 10% visible (Outer layer)
    */
    filter: drop-shadow(0 0 5px color-mix(in srgb, var(--primary), transparent 30%)) 
            drop-shadow(0 0 10px color-mix(in srgb, var(--primary), transparent 50%))
            drop-shadow(0 0 20px color-mix(in srgb, var(--primary), transparent 70%));
            
    /* 3. Transition */
    /* Changed from 3s to 0.3s for a snappier, standard reaction time */
    transition: filter 0.3s ease;
}
@media (max-width: 768px) {
    .hero-logo {
        width: 400px; 
    }
}
.hero::after {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.6); z-index: -1;
}
.hero-content h1 { font-size: 4.5rem; text-shadow: 0 0 10px var(--purple); margin-bottom: 10px;}
.hero-content p { font-size: 1.2rem; letter-spacing: 5px; color: #ddd; }

/* --- SECTIONS GENERAL --- */
.section-head { margin-bottom: 50px; margin-top: 2%; }
.section-head span { color: var(--primary); font-weight: bold; letter-spacing: 3px; display: block; margin-bottom: 10px; }
.section-head h2 { font-size: 2.5rem; }
@media(max-width:768px)
{
 .section-head h2 { font-size: 1.5rem !important;  }   
}
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.home-img img { width: 100%; border-radius: 10px; box-shadow: -10px 10px 0 var(--purple); }
.home-text p { color: #ccc; line-height: 1.7; margin-bottom: 20px; }
.home-text .btn-neon { margin-top: 10px; }

/* --- ABOUT PAGE --- */
.founders-section { margin-bottom: 80px; }
.founder-card {
    display: flex; background: var(--card-bg); border: 1px solid #333;
    margin-bottom: 40px; border-radius: 10px; overflow: hidden;
}
.founder-img { flex: 1; min-height: 300px; }
.founder-img img { width: 100%; height: 100%; object-fit: cover; }
.founder-info { flex: 1.5; padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.social-links { margin-top: 20px; display: flex; gap: 15px; }
.social-links a { color: var(--primary); font-size: 1rem; border: 1px solid var(--primary); padding: 5px 15px; border-radius: 20px; }
.social-links a:hover { background: var(--primary); color: white; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; text-align: center; }
.team-card { background: #111; padding: 20px; border-radius: 10px; border: 1px solid #222; transition: 0.3s; }
.team-card:hover { transform: translateY(-10px); border-color: var(--green); }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 15px; border: 3px solid #333; }

/* --- SERVICES PAGE (Zig-Zag) --- */
.service-row { display: flex; align-items: center; gap: 50px; margin-bottom: 80px; }
.service-row:nth-child(even) { flex-direction: row-reverse; } /* Swaps image/text */
.service-img { flex: 1; height: 350px; overflow: hidden; border-radius: 10px; position: relative; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.service-row:hover .service-img img { transform: scale(1.1); }
.service-text { flex: 1; }
.service-text h3 { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.service-text p { color: #ccc; line-height: 1.7; margin-bottom: 20px; }
.service-price { color: var(--green); font-size: 1.2rem; font-weight: bold; margin-bottom: 20px; display: block; }

/* --- CLIENTS PAGE --- */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.client-box { 
    background: var(--card-bg); height: 200px; 
    display: flex; align-items: center; justify-content: center; 
    border: 1px solid #333; font-size: 1.5rem; font-weight: bold; 
    position: relative; overflow: hidden; cursor: pointer; transition: 0.3s; 
}
.client-box:hover { border-color: var(--primary); box-shadow: 0 0 15px rgba(255,0,79,0.3); }

/* --- GALLERY PAGE (Mosaic) --- */
.gallery-wrapper { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 15px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 5px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }
/* Grid Spans */
.wide { grid-column: span 2; } 
.tall { grid-row: span 2; } 
.big { grid-column: span 2; grid-row: span 2; }

/* --- CONTACT PAGE --- */
.contact-container {
    display: flex; gap: 50px; align-items: flex-start;
    background: #0a0a0a; padding: 50px;
    border: 1px solid #222; border-radius: 10px;
}
.contact-info { flex: 1; padding-right: 30px; border-right: 1px solid #333; }
.info-box { margin-bottom: 30px; }
.info-box h3 { color: var(--green); margin-bottom: 10px; font-size: 1.2rem; }
.info-box p { color: #ccc; line-height: 1.6; }

.contact-form-wrapper { flex: 1.5; }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-group { width: 100%; }

.styled-input {
    width: 100%; padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333; color: white;
    font-family: 'Poppins', sans-serif;
    outline: none; transition: 0.3s;
    border-radius: 4px;
}
.styled-input:focus { border-color: var(--primary); box-shadow: 0 0 10px rgba(255, 0, 79, 0.2); background: rgba(0,0,0,0.5); }
.styled-textarea { height: 150px; resize: none; }
.submit-btn {
    width: 100%; padding: 15px;
    background: var(--primary); color: white;
    font-weight: bold; border: none; letter-spacing: 2px;
    cursor: pointer; text-transform: uppercase; transition: 0.3s;
}
.submit-btn:hover { background: white; color: black; box-shadow: 0 0 20px white; }

.map-full { width: 100%; height: 400px; margin-top: 50px; filter: grayscale(100%) invert(92%) contrast(83%); border: 1px solid #333; }

/* --- MODALS (Universal) --- */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 2000; justify-content: center; align-items: center; backdrop-filter: blur(5px); }
.close-btn-fixed { position: absolute; top: 20px; right: 30px; color: white; font-size: 3rem; cursor: pointer; z-index: 2001; }

/* Specific: Lightbox */
.lightbox-content { max-width: 90%; max-height: 85vh; border: 2px solid var(--green); box-shadow: 0 0 30px rgba(57, 255, 20, 0.3); }

/* Specific: Client/Service Modals */
.modal-grid-content { width: 90%; max-width: 1000px; height: 80%; overflow-y: auto; padding: 20px; background: #111; border: 1px solid var(--primary); }
.modal-form-box { background: #111; padding: 40px; width: 90%; max-width: 400px; border: 1px solid var(--primary); position: relative; text-align: center; }
.close-modal { position: absolute; top: 10px; right: 15px; font-size: 2rem; cursor: pointer; color: white; }
.modal-input { width: 100%; padding: 12px; margin-bottom: 15px; background: #222; border: 1px solid #444; color: white; border-radius: 5px; }
.btn-submit { width: 100%; padding: 12px; background: #25D366; color: white; font-weight: bold; border: none; cursor: pointer; } /* WhatsApp Green */

/* Scroll Animation Classes */
.reveal {
    position: relative;
    transform: translateY(100px); /* Starts 100px lower */
    opacity: 0;                   /* Starts invisible */
    transition: all 1.2s ease;    /* Takes 1.2 seconds to slide up */
}

.reveal.active {
    transform: translateY(0);     /* Moves to normal position */
    opacity: 1;                   /* Becomes visible */
}
/* --- FOOTER STYLING --- */
footer { 
    background: #050505; 
    padding: 60px 0 20px 0; 
    margin-top: 50px;
    position: relative;
    /* The Neon Gradient Top Border */
    border-top: 3px solid transparent;
}

.footer-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px; 
}

.footer-brand {
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 0, 79, 0.3);
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

/* Underline effect for headers */
.footer-col h3::after {
    content: '';
    display: block;
    width: 50%;
    height: 2px;
    background: var(--purple);
    margin-top: 5px;
}

/* Links Animation */
.footer-links a { 
    display: block; 
    margin-bottom: 12px; 
    color: #888; 
    transition: 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover { 
    color: var(--primary); 
    padding-left: 10px; /* Slide effect */
    text-shadow: 0 0 5px var(--primary);
}

/* Contact Info Styling */
.contact-line {
    margin-bottom: 15px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Social Buttons */
.social-icons { display: flex; gap: 15px; }

.social-btn {
    padding: 8px 15px;
    border: 1px solid #333;
    border-radius: 5px;
    background: rgba(255,255,255,0.05);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.social-btn:hover {
    transform: translateY(-3px);
    background: white;
    color: black;
    box-shadow: 0 0 15px white;
}

.instagram:hover { border-color: #E1306C; color: #E1306C; background: #fff; box-shadow: 0 0 15px #E1306C; }
.youtube:hover { border-color: #FF0000; color: #FF0000; background: #fff; box-shadow: 0 0 15px #FF0000; }

/* Footer Bottom & Heartbeat */
.footer-bottom {
    text-align: center; 
    padding-top: 30px; 
    border-top: 1px solid #1a1a1a; 
    margin-top: 40px; 
    color: #555;
    font-size: 0.9rem;
}

.heart-beat {
    display: inline-block;
    color: red;
    animation: heartbeat 1.5s infinite;
}

/* Keyframes for Heart Animation */
@keyframes heartbeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    
    /* Grids to single column */
    .home-grid, .service-row, .service-row:nth-child(even), .founder-card { display: flex; flex-direction: column; }
    
    /* Gallery specific mobile */
    .gallery-wrapper { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
    .wide, .tall, .big { grid-column: span 1; grid-row: span 1; } 
    
    /* Contact Page mobile */
    .contact-container { flex-direction: column; padding: 20px; }
    .contact-info { border-right: none; border-bottom: 1px solid #333; padding-bottom: 30px; margin-bottom: 30px; }
    .form-row { flex-direction: column; gap: 0; }
    
    /* Hide desktop nav links (You may need a hamburger menu script for mobile nav) */
    .nav-links { display: none; } 
}

/* --- HOMEPAGE GALLERY SECTION --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #333;
    height: 250px; /* Fixed height for uniformity */
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images don't stretch */
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    border-color: var(--primary); /* Neon Red Border on hover */
    box-shadow: 0 0 15px rgba(255, 0, 79, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.1); /* Zoom effect */
}

/* --- TESTIMONIALS SLIDER --- */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 200px; /* Prevents layout jump */
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    display: none; /* Hide all slides by default */
    text-align: center;
    animation: fadeEffect 1s; /* Simple fade in */
}

.testimonial-slide.active {
    display: block; /* Only show the active one */
}

.testimonial-slide p {
    font-size: 1.2rem;
    font-style: italic;
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
}

/* Add big quotes visual */
.testimonial-slide p::before {
    content: '"';
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    color: var(--glass-border);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.testimonial-slide h4 {
    color: var(--green); /* Neon Green for names */
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Animation Keyframes */
@keyframes fadeEffect {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* Stack images on mobile */
    }
    .gallery-item {
        height: 200px;
    }
}

/* --- Client Box Wave Animation Start --- */

/* 1. Set base properties for the box */
.client-box {
    position: relative;        /* Required for absolute positioning of the wave */
    overflow: hidden;          /* Hides the wave when it is outside the box */
    z-index: 1;                /* Establishes stacking order */
    /* Add your existing client-box styles (padding, border, etc.) here if not already present */
    transition: transform 0.3s ease; /* smooth scale effect if you have one */
}

/* 2. Style the text so it stays on top of the wave */
.client-box span {
    position: relative;
    z-index: 5;                /* Ensures text sits ABOVE the wave background */
    transition: color 0.4s ease;
}

/* 3. The Wave Element (Hidden by default at the bottom) */
.client-box::before {
    content: "";
    position: absolute;
    bottom: -200%;             /* Start completely hidden below the box */
    left: -50%;
    width: 200%;               /* Make it wider than the box to allow rotation */
    height: 200%;
    background-color: var(--purple, #8A2BE2); /* Use your purple variable */
    border-radius: 40%;        /* Creates the curved "liquid" shape */
    opacity: 0.9;
    z-index: -1;               /* Sits behind the text */
    animation: wave-spin 6s linear infinite; /* Keeps it rotating to look like waves */
    transition: bottom 0.8s ease-in-out;     /* Controls how fast it fills up */
}

/* 4. Hover States */
.client-box:hover::before {
    bottom: -50%;              /* Moves up to fill the box on hover */
}

.client-box:hover span {
    color: #ffffff;            /* Changes text to white so it's visible on purple */
}

/* 5. The Rotation Animation */
@keyframes wave-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* --- Client Box Wave Animation End --- */