/* --- GLOBAL RESETS & STYLING --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #07070a;
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- NAVBAR WITH LOGO --- */
.navbar {
    background-color: rgba(12, 13, 20, 0.95);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 229, 255, 0.12);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 42px;
    width: 42px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.logo-text span {
    color: #00e5ff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: #94a3b8;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00e5ff;
}

/* --- BUTTONS & ANIMATIONS --- */
.btn-primary {
    background: linear-gradient(135deg, #00e5ff 0%, #7b2cbf 100%);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.pulse-btn {
    animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(0, 229, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

.btn-secondary {
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: #00e5ff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background-color: rgba(0, 229, 255, 0.1);
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero {
    padding: 110px 0 80px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(123, 44, 191, 0.18) 0%, rgba(7, 7, 10, 1) 75%);
}

.badge {
    background-color: rgba(0, 229, 255, 0.08);
    color: #00e5ff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(0, 229, 255, 0.25);
}

.hero h1 {
    font-size: 3rem;
    margin: 24px 0 16px 0;
    color: #ffffff;
    font-weight: 800;
}

.hero p {
    font-size: 1.15rem;
    color: #94a3b8;
    max-width: 720px;
    margin: 0 auto 36px auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* --- SERVICES SECTION --- */
.services-preview {
    padding: 90px 0;
    background-color: #090a0f;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.section-title span {
    color: #d4af37;
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    margin-bottom: 50px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.service-card {
    background-color: #12131c;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hover-glow:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 229, 255, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

.card-badge.gold {
    background-color: rgba(212, 175, 55, 0.15);
    color: #d4af37;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.card-badge.cyan {
    background-color: rgba(0, 229, 255, 0.15);
    color: #00e5ff;
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.card-badge.purple {
    background-color: rgba(123, 44, 191, 0.2);
    color: #b5179e;
    border: 1px solid rgba(123, 44, 191, 0.4);
}

.card-icon {
    font-size: 1.2rem;
    color: #94a3b8;
}

.service-card h3 {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.card-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    margin-bottom: 24px;
}

.service-list li {
    color: #cbd5e1;
    font-size: 0.9rem;
    padding: 6px 0;
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00e5ff;
    font-weight: bold;
}

.card-footer-tags {
    font-size: 0.8rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 14px;
}

.card-footer-tags span {
    color: #94a3b8;
    font-weight: 600;
}

/* --- PORTFOLIO SHOWCASE --- */
.portfolio-section {
    padding: 90px 0;
    background-color: #07070a;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.portfolio-card {
    background-color: #12131c;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.sample-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background-color: #0d0e15;
    display: block;
}

.portfolio-info {
    padding: 20px;
}

.portfolio-info h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.portfolio-info span {
    color: #00e5ff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- WORKFLOW PROCESS --- */
.process-section {
    padding: 90px 0;
    background-color: #090a0f;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.process-card {
    background: #12131c;
    padding: 28px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #00e5ff;
    opacity: 0.35;
    display: block;
    margin-bottom: 10px;
}

.process-card h4 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.process-card p {
    color: #94a3b8;
    font-size: 0.88rem;
}

/* --- CTA BANNER --- */
.cta-banner {
    padding: 90px 0;
    background: linear-gradient(135deg, #0e0f17 0%, #171826 100%);
    text-align: center;
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.cta-banner h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.cta-banner p {
    color: #94a3b8;
    margin-bottom: 32px;
    font-size: 1.1rem;
}

/* --- FOOTER --- */
footer {
    padding: 40px 0;
    background-color: #040406;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.9rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo-img {
    height: 36px;
    width: 36px;
    object-fit: cover;
    border-radius: 6px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #00e5ff;
}

/* --- ENTRANCE ANIMATIONS --- */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- STATS SECTION CARDS --- */
.stats-section {
    padding: 20px 0;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.stat-card {
    background: #0d0e15;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
    flex: 1 1 calc(25% - 16px);
    min-width: 220px; 
    max-width: 280px; 
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.4);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

/* --- RESPONSIVE LAYOUT FOR MOBILE --- */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .stats-section {
        margin-top: 0;
    }
}

/* --- FORM STYLING --- */
.intake-section {
    padding: 60px 0;
    background: #090a0f;
}

.form-container {
    max-width: 650px;
    margin: 0 auto;
}

.intake-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: #12131c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #00e5ff;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
}

.intake-form .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    margin-top: 10px;
    cursor: pointer;
}

/* --- FORCE FORM STYLING OVERRIDE --- */
form label {
    display: block !important;
    width: 100% !important;
    margin-top: 16px !important;
    margin-bottom: 6px !important;
    color: #e2e8f0 !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

form input, 
form select, 
form textarea {
    display: block !important;
    width: 100% !important;
    max-width: 600px !important;
    padding: 14px 16px !important;
    background: #12131c !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    box-sizing: border-box !important;
    outline: none !important;
}

form input:focus, 
form select:focus, 
form textarea:focus {
    border-color: #00e5ff !important;
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.25) !important;
}

form button[type="submit"],
form .btn-primary {
    display: block !important;
    width: 100% !important;
    max-width: 600px !important;
    margin-top: 24px !important;
    padding: 16px !important;
    font-size: 1rem !important;
}

/* --- EXPANDABLE INLINE HORIZONTAL GALLERY (AUTO-SCROLLING) --- */
.inline-gallery-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    width: 100%;
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    padding-top: 10px;
}

.marquee-track {
    display: flex;
    gap: 15px;
    width: max-content;
    animation: autoScroll 25s linear infinite;
    padding: 10px 0;
}

/* Pause auto-scroll when user hovers over the images */
.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.art-slide {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.art-slide .img-box {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #181a29, #0d0e15);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e5ff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.art-slide .img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.art-slide:hover .img-box {
    transform: translateY(-4px);
    border-color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.art-slide span {
    color: #a0aec0;
    font-size: 0.75rem;
    text-align: center;
    font-weight: 500;
}

.horizontal-scroll-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 5px;
    scroll-behavior: smooth;
}

.horizontal-scroll-track::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll-track::-webkit-scrollbar-thumb {
    background: #00e5ff;
    border-radius: 10px;
}

.horizontal-scroll-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

/* --- REVIEWS / CLIENT FEEDBACK STYLES --- */
.reviews-section {
    padding: 90px 0;
    background-color: #07070a;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.review-card {
    background-color: #12131c;
    border: 1px solid rgba(0, 229, 255, 0.15);
    border-radius: 14px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 229, 255, 0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.star-rating {
    color: #ffd700;
    font-size: 1.1rem;
    letter-spacing: 3px;
}

.verified-tag {
    font-size: 0.72rem;
    color: #00e5ff;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.25);
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

.review-quote {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00e5ff 0%, #7b2cbf 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.author-details h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.author-details span {
    color: #94a3b8;
    font-size: 0.8rem;
    display: block;
}

/* ==========================================
   ANIMATED BACKGROUND (CIRCLES & STARS)
   ========================================== */

.bg-effects-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* --- AMBIENT SPREADING & PULSING CIRCLES --- */
.ambient-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: spreadAndPulse 12s infinite alternate ease-in-out;
}

.circle-1 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #00e5ff 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.circle-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #7b2cbf 0%, transparent 70%);
    bottom: -15%;
    right: -10%;
    animation-delay: -6s;
}

@keyframes spreadAndPulse {
    0% {
        transform: scale(0.8) translate(0, 0);
        opacity: 0.18;
    }
    50% {
        transform: scale(1.25) translate(40px, -30px);
        opacity: 0.32;
    }
    100% {
        transform: scale(1) translate(-20px, 40px);
        opacity: 0.22;
    }
}

/* --- TWINKLING STARS LAYER --- */
.stars-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 100px 150px, rgba(0, 229, 255, 0.8), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 240px 80px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 400px 350px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 550px 200px, rgba(0, 229, 255, 0.9), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 700px 480px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 850px 120px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 980px 290px, rgba(0, 229, 255, 0.7), rgba(0,0,0,0));
    background-size: 1000px 600px;
    animation: twinkleStars 6s ease-in-out infinite alternate;
}

@keyframes twinkleStars {
    0% {
        opacity: 0.3;
        transform: translateY(0px);
    }
    100% {
        opacity: 0.75;
        transform: translateY(-8px);
    }
}
/* --- EXPANDING WEB ANIMATION --- */
.expanding-web {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 900px;
    height: 900px;
    margin-top: -450px;
    margin-left: -450px;
    animation: webExpandPulse 14s infinite ease-in-out alternate;
    transform-origin: center center;
    opacity: 0.35;
}

@keyframes webExpandPulse {
    0% {
        transform: scale(0.6) rotate(0deg);
        opacity: 0.15;
    }
    50% {
        transform: scale(1.3) rotate(15deg);
        opacity: 0.45;
    }
    100% {
        transform: scale(0.9) rotate(-10deg);
        opacity: 0.25;
    }
}