/*
===================================================
--- FINAL PREMIUM CSS STYLESHEET (User's Choice) ---
--- Shiv Pvt Ltd - Refined & Merged Design      ---
===================================================
*/

/* --- 1. Global Variables & Basic Setup --- */
:root {
    /* Updated Premium Color Palette */
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --success-color: #2ecc71;
    
    /* Light Theme Variables */
    --bg-color-light: #f7f8fc;
    --card-bg-light: #ffffff;
    --text-color-light: #343a40;
    --heading-color-light: #1f2937;
    --header-bg-light: rgba(255, 255, 255, 0.85);
    --border-color-light: #e9ecef;

    /* Dark Theme Variables (Improved) */
    --primary-color-dark: #3a7bd5;
    --bg-color-dark: #121212;
    --card-bg-dark: #1e1e1e;
    --text-color-dark: #e0e0e0;
    --heading-color-dark: #f0f0f0;
    --header-bg-dark: rgba(30, 30, 30, 0.85);
    --border-color-dark: #374151;
    
    /* Common Design Properties */
    --soft-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --strong-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
    --container-padding: 6%;
}

[data-theme="light"] {
    --bg-color: var(--bg-color-light);
    --card-bg: var(--card-bg-light);
    --text-color: var(--text-color-light);
    --heading-color: var(--heading-color-light);
    --header-bg: var(--header-bg-light);
    --border-color: var(--border-color-light);
}

[data-theme="dark"] {
    --primary-color: var(--primary-color-dark);
    --bg-color: var(--bg-color-dark);
    --card-bg: var(--card-bg-dark);
    --text-color: var(--text-color-dark);
    --heading-color: var(--heading-color-dark);
    --header-bg: var(--header-bg-dark);
    --border-color: var(--border-color-dark);
    --soft-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    --strong-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
section { padding: 120px var(--container-padding); }

.section-title {
    text-align: center;
    font-size: clamp(2.2rem, 5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.7;
}

.highlight {
    font-weight: 600;
    color: var(--primary-color);
}
[data-theme="dark"] .highlight { color: #55aaff; }


/* --- Animated Button for Hero Slides --- */
.animated-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    color: white;
    transition: var(--transition);
    border: 2px solid transparent;
}
.animated-btn i {
    font-size: 1.2rem;
}
.animated-btn.whatsapp-btn {
    background-color: #25D366;
    border-color: #25D366;
}
.animated-btn.whatsapp-btn:hover {
    background-color: transparent;
    color: #25D366;
}
.animated-btn.instagram-btn {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border: none;
    padding: 14px 30px;
}
.animated-btn.instagram-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.animated-btn.mail-btn {
    background-color: transparent;
    border-color: white;
}
.animated-btn.mail-btn:hover {
    background-color: white;
    color: var(--secondary-color);
}


/* --- Hero Slider Styles --- */
.hero-swiper {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    height: 100%;
}

.profile-slide {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    height: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.8;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-15deg);
    transition: all 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* --- New Slide Styles --- */
.whatsapp-cta-slide {
    background: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80') no-repeat center center;
    background-size: cover;
}

.slide-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.slide-mail-btn {
    margin-top: 30px;
}


.instagram-slide {
    background: url('https://images.unsplash.com/photo-1611162616475-46b635cb6868?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1374&q=80') no-repeat center center;
    background-size: cover;
}

.brand-slide {
    background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1471&q=80') no-repeat center center;
    background-size: cover;
}

.ads-slide {
    background: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80') no-repeat center center;
    background-size: cover;
}

.content-slide {
    background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80') no-repeat center center;
    background-size: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); /* Slightly darker for better contrast */
}

/* === यहाँ कोड ठीक किया गया है (THIS IS THE CORRECTED CODE) === */
.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center; 
    max-width: 800px;
    padding: 20px;

    /* --- Key changes for perfect centering --- */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically centers the content */
    align-items: center;     /* Horizontally centers the content */
}
/* === END OF CORRECTION === */


.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.5rem;
    opacity: 0.9;
}

.swiper-button-prev, 
.swiper-button-next {
    color: white;
    background: rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.swiper-button-prev:hover, 
.swiper-button-next:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    background: white;
    opacity: 0.5;
    width: 12px;
    height: 12px;
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    transform: scale(1.2);
}

/* --- 2. Preloader & Loader --- */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-color); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease; }
#preloader.fade-out { opacity: 0; }
.loader { border: 4px solid var(--border-color); border-left-color: var(--primary-color); border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- 3. Header & Navigation (Refined) --- */
.header {
    background-color: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px var(--container-padding);
    transition: var(--transition);
    height: 80px; /* Giving header a fixed height */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header.scrolled {
    padding-top: 15px;
    padding-bottom: 15px;
    height: 70px;
    box-shadow: var(--soft-shadow);
}

.logo-container { display: flex; align-items: center; gap: 15px; }
.logo { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--primary-color); }
.company-name { font-size: 1.6rem; font-weight: 600; color: var(--heading-color); }
.nav-menu ul { display: flex; list-style: none; align-items: center; }
.nav-menu ul li { margin-left: 40px; }
.nav-menu ul li a { font-weight: 500; font-size: 1rem; transition: var(--transition); position: relative; color: var(--text-color); padding-bottom: 6px; }
.nav-menu ul li a:hover { color: var(--primary-color); }
.nav-menu ul li a::after { content: ''; position: absolute; width: 0; height: 2px; background: var(--primary-color); bottom: 0; left: 0; transition: width 0.3s ease; }
.nav-menu ul li a:hover::after { width: 100%; }
.nav-logout-btn-li { display: none; } /* Hide logout button on desktop nav */

.header-actions { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.logout-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border-radius: 8px;
    padding: 8px 15px;
}

.logout-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.theme-toggle { 
    background: transparent; 
    border: 1px solid var(--border-color); 
    color: var(--text-color); 
    font-size: 1.1rem; 
    cursor: pointer; 
    width: 42px; 
    height: 42px; 
    display: grid; 
    place-items: center; 
    transition: var(--transition); 
    border-radius: 50%; 
}
.theme-toggle:hover { 
    color: var(--primary-color); 
    border-color: var(--primary-color); 
    transform: scale(1.1) rotate(15deg); 
}

.menu-toggle { 
    display: none; /* Hide hamburger on desktop */
    place-items: center; 
    cursor: pointer; 
    font-size: 1.6rem; 
    color: var(--heading-color); 
    z-index: 1001; 
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: rgba(0,0,0,0.05);
}

/* --- 4. Hero Section (Updated with Slider) --- */
.hero {
    padding: 0;
    position: relative;
    height: 100vh; /* Set hero section to full screen height */
    display: flex;
    align-items: center; /* Center content vertically */
}

.scroll-down { 
    position: absolute; 
    bottom: 30px; 
    left: 50%; 
    transform: translateX(-50%); 
    text-align: center; 
    color: white; 
    z-index: 10; 
}
.scroll-down .mouse { 
    width: 25px; 
    height: 45px; 
    border: 2px solid white; 
    border-radius: 20px; 
    position: relative; 
}
.scroll-down .wheel { 
    width: 4px; 
    height: 8px; 
    background: white; 
    border-radius: 2px; 
    position: absolute; 
    top: 8px; 
    left: 50%; 
    transform: translateX(-50%); 
    animation: scroll 1.5s infinite; 
}
@keyframes scroll { 
    0% { top: 8px; opacity: 1; } 
    100% { top: 20px; opacity: 0; } 
}

/* --- 5. Services Section --- */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--soft-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 65px;
    height: 65px;
    color: white;
    border-radius: 20px;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--heading-color); }
.service-card p { color: var(--text-color); opacity: 0.7; margin-bottom: 20px; }
.service-link {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    margin-top: 20px;
    transition: var(--transition);
}

.service-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- 6. Target Audience Section --- */
.target-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.target-card {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--soft-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.target-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--strong-shadow);
}

.target-icon {
    width: 65px;
    height: 65px;
    color: white;
    border-radius: 20px;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    transition: var(--transition);
    background: linear-gradient(135deg, #5dade2, var(--primary-color));
}

.target-card h3 { 
    font-size: 1.3rem; 
    margin-bottom: 15px; 
    color: var(--heading-color); 
}
.target-card p { 
    color: var(--text-color); 
    opacity: 0.7; 
    margin-bottom: 25px;
    flex-grow: 1;
}

.target-btn {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    margin-top: auto;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.target-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* --- 7. Work Options Section --- */
.work-options { background-color: var(--card-bg); }
[data-theme="dark"] .work-options { background-color: #1a1a1a; }
.work-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.work-card {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--soft-shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}
[data-theme="dark"] .work-card { background: var(--card-bg); }
.work-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--strong-shadow);
    border-color: var(--primary-color);
}
.work-card img { width: 80px; height: 80px; margin: 0 auto 20px; object-fit: contain; }
[data-theme="dark"] .work-card img { filter: invert(0.1); }
.work-card h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--heading-color); }
.work-card p { font-size: 1rem; opacity: 0.7; margin-bottom: 15px; }
.earning-range { display: block; font-weight: 600; color: var(--success-color); margin-bottom: 20px; font-size: 1.1rem; }
.work-card button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.work-card button:hover { background: var(--secondary-color); }

/* --- 8. Case Studies Section --- */
.case-studies-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-study-card {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    padding: 0;
    box-shadow: var(--soft-shadow);
}

.case-study-card:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--strong-shadow); 
}

.case-study-image { 
    height: 220px; 
    background-size: cover; 
    background-position: center; 
}

.case-study-content { padding: 30px; }
.case-study-content h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--primary-color); }
.case-study-content p { opacity: 0.8; margin-bottom: 20px; }
.case-study-metrics { 
    display: flex; 
    justify-content: space-around; 
    text-align: center; 
    border-top: 1px solid var(--border-color); 
    padding-top: 20px; 
    margin-top: 20px; 
}

.metric h4 { font-size: 1.7rem; font-weight: 700; color: var(--heading-color); }
.metric span { font-size: 0.9rem; opacity: 0.6; }

/* --- 9. Social CTA Section --- */
.social-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    max-width: 1100px; 
    margin: 0 auto; 
}

.social-box { 
    border-radius: var(--border-radius); 
    padding: 40px; 
    text-align: center; 
    transition: var(--transition); 
    color: white; 
    position: relative; 
    overflow: hidden; 
}

.social-box:hover { 
    transform: translateY(-8px); 
    box-shadow: var(--strong-shadow); 
}

.whatsapp-box { background: linear-gradient(135deg, #25D366, #128C7E); }
.instagram-box { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.social-icon i { 
    font-size: 3rem; 
    margin-bottom: 20px; 
}

.social-box h3 { 
    font-size: 1.6rem; 
    margin-bottom: 15px; 
}

.social-box p { 
    font-size: 1rem; 
    margin-bottom: 25px; 
    opacity: 0.9; 
}

.social-btn { 
    display: inline-block; 
    padding: 12px 30px; 
    border-radius: 50px; 
    font-weight: 600; 
    transition: var(--transition); 
    background: rgba(255, 255, 255, 0.95); 
}

.social-btn.whatsapp-btn { color: #128C7E; }
.social-btn.instagram-btn { color: #dc2743; }
.social-btn:hover { 
    transform: scale(1.05); 
    background: white; 
}

/* --- 10. Contact Section --- */
.contact { background: var(--card-bg); }
.contact-container { 
    display: grid; 
    grid-template-columns: 1fr 1.2fr; 
    gap: 50px; 
    max-width: 1200px; 
    margin: 0 auto; 
    align-items: flex-start; 
}

.contact-info .info-item { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    margin-bottom: 30px; 
}

.info-item i { 
    font-size: 1.5rem; 
    color: var(--primary-color); 
    width: 50px; 
    height: 50px; 
    background: var(--bg-color); 
    border-radius: 50%; 
    display: grid; 
    place-items: center; 
    border: 1px solid var(--border-color); 
}

.info-item h4 { 
    font-size: 1.2rem; 
    color: var(--heading-color); 
    margin-bottom: 5px; 
}

.copy-text { 
    cursor: pointer; 
    transition: color 0.3s; 
    position: relative; 
    font-weight: 500; 
}

.copy-text:hover { color: var(--primary-color); }
.copy-text .copy-icon { margin-left: 8px; opacity: 0.6; }
.copy-text .tooltip { 
    position: absolute; 
    bottom: 130%; 
    left: 50%; 
    transform: translateX(-50%); 
    background: var(--secondary-color); 
    color: white; 
    padding: 5px 12px; 
    border-radius: 6px; 
    font-size: 0.8rem; 
    opacity: 0; 
    visibility: hidden; 
    transition: var(--transition); 
    white-space: nowrap; 
}

.copy-text.copied .tooltip { 
    opacity: 1; 
    visibility: visible; 
}

.contact-form { 
    background: var(--bg-color); 
    padding: 40px; 
    border-radius: var(--border-radius); 
    border: 1px solid var(--border-color); 
}

.form-group input, 
.form-group textarea { 
    width: 100%; 
    padding: 15px; 
    border: 1px solid var(--border-color); 
    border-radius: 10px; 
    font-family: 'Poppins', sans-serif; 
    background: var(--card-bg); 
    color: var(--text-color); 
    transition: var(--transition); 
    margin-bottom: 20px; 
}

.form-group input:focus, 
.form-group textarea:focus { 
    outline: none; 
    border-color: var(--primary-color); 
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-color) 20%, transparent); 
}

.form-group textarea { 
    min-height: 140px; 
    resize: vertical; 
}

.submit-btn { 
    width: 100%; 
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); 
    color: white; 
    padding: 15px; 
    border: none; 
    border-radius: 10px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: var(--transition); 
    font-size: 1.1rem; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
}

.submit-btn:hover:not(:disabled) { 
    opacity: 0.9; 
    transform: translateY(-3px); 
}

.submit-btn:disabled { 
    background: var(--text-color); 
    cursor: not-allowed; 
    opacity: 0.7; 
}

.submit-btn .spinner { 
    width: 20px; 
    height: 20px; 
    border: 2px solid rgba(255, 255, 255, 0.3); 
    border-top-color: #fff; 
    border-radius: 50%; 
    animation: spin 1s linear infinite; 
}

#form-success-message { 
    display: none; 
    text-align: center; 
    background: var(--card-bg); 
    padding: 50px; 
    border-radius: var(--border-radius); 
    border: 1px solid var(--success-color); 
}

#form-success-message.show { display: block; }
#form-success-message i { 
    font-size: 3rem; 
    color: var(--success-color); 
    margin-bottom: 20px; 
}

/* --- 11. FAQ Section --- */
.faq-section { background-color: var(--bg-color); }
.faq-container { max-width: 850px; margin: 0 auto; }
.faq-item { 
    background: var(--card-bg); 
    margin-bottom: 15px; 
    border-radius: var(--border-radius); 
    border: 1px solid var(--border-color); 
    overflow: hidden; 
    transition: var(--transition); 
}

.faq-item.active { box-shadow: var(--strong-shadow); }
.faq-question { 
    padding: 20px 25px; 
    cursor: pointer; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-weight: 600; 
    font-size: 1.1rem; 
}

.faq-question::after { 
    content: '\f078'; 
    font-family: 'Font Awesome 6 Free'; 
    font-weight: 900; 
    transition: transform 0.3s ease; 
}

.faq-item.active .faq-question::after { transform: rotate(-180deg); }
.faq-item.active .faq-question { color: var(--primary-color); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-answer p { padding: 0 25px 25px; opacity: 0.8; line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 300px; }

/* --- 12. Detail Popup --- */
.detail-popup { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(8px); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 2000; 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.3s ease, visibility 0.3s ease; 
}

.detail-popup.show { 
    opacity: 1; 
    visibility: visible; 
}

.popup-content { 
    background: var(--card-bg); 
    padding: 40px; 
    border-radius: var(--border-radius); 
    max-width: 600px; 
    width: 90%; 
    position: relative; 
    color: var(--text-color); 
    transform: scale(0.95); 
    transition: transform 0.3s ease; 
    max-height: 85vh; 
    overflow-y: auto; 
    box-shadow: var(--strong-shadow); 
}

.detail-popup.show .popup-content { transform: scale(1); }
.close-popup { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    font-size: 1.8rem; 
    cursor: pointer; 
    color: var(--text-color); 
    opacity: 0.6; 
    transition: var(--transition); 
}

.close-popup:hover { 
    color: var(--accent-color); 
    transform: rotate(90deg) scale(1.1); 
}

#detail-title { 
    margin-bottom: 20px; 
    font-size: 1.8rem; 
    color: var(--primary-color); 
}

#detail-content ul { 
    list-style-position: outside; 
    padding-left: 20px; 
    margin-top: 15px; 
    opacity: 0.9; 
}

#detail-content li { margin-bottom: 12px; }

/* --- 13. Footer --- */
.footer { 
    background-color: var(--secondary-color); 
    color: #e5e7eb; 
    padding: 100px var(--container-padding) 0; 
}

.footer-content { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding-bottom: 60px; 
    border-bottom: 1px solid #374151; 
}

.footer-about .footer-logo { 
    display: flex; 
    align-items: center; 
    margin-bottom: 20px; 
    gap: 15px; 
}

.footer-logo img { 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    object-fit: cover; 
}

.footer-logo h3 { 
    font-size: 1.5rem; 
    color: white; 
}

.footer-about p { 
    color: #d1d5db; 
    margin-bottom: 25px; 
    line-height: 1.8; 
}

.footer-social { 
    display: flex; 
    gap: 15px; 
}

.footer-social a { 
    width: 40px; 
    height: 40px; 
    background: rgba(255, 255, 255, 0.08); 
    border-radius: 50%; 
    display: grid; 
    place-items: center; 
    transition: var(--transition); 
    color: white; 
}

.footer-social a:hover { 
    background: var(--primary-color-dark); 
    transform: translateY(-3px); 
}

.footer h4 { 
    color: white; 
    font-size: 1.1rem; 
    margin-bottom: 25px; 
    font-weight: 600; 
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { 
    color: #d1d5db; 
    transition: color 0.3s; 
}

.footer-links a:hover { color: var(--primary-color-dark); }
.newsletter-form { 
    display: flex; 
    margin-bottom: 20px; 
    border-radius: 10px; 
    overflow: hidden; 
    border: 1px solid #374151; 
}

.newsletter-form input { 
    flex-grow: 1; 
    border: none; 
    padding: 12px 15px; 
    background: #374151; 
    color: white; 
}

.newsletter-form input:focus { outline: none; }
.newsletter-form button { 
    border: none; 
    background: var(--primary-color-dark); 
    color: white; 
    padding: 0 15px; 
    cursor: pointer; 
    font-weight: 600; 
}

.footer-review { 
    background: rgba(255,255,255,0.05); 
    padding: 20px; 
    border-radius: 10px; 
    font-style: italic; 
    border-left: 3px solid var(--primary-color-dark); 
}

.footer-review .stars { 
    color: #f1c40f; 
    margin-bottom: 10px; 
}

.payment-badges { 
    margin-top: 20px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    filter: grayscale(1) opacity(0.7); 
}

.footer-bottom { 
    text-align: center; 
    padding: 30px 0; 
    font-size: 0.9rem; 
    color: #9ca3af; 
}

/* --- 14. Responsive Media Queries --- */
@media (max-width: 1024px) {
    .menu-toggle { 
        display: grid; 
    }
    .nav-menu { 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        padding: 0; 
        max-height: 0; 
        background: var(--header-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        overflow: hidden; 
        transition: max-height 0.4s ease-out; 
        box-shadow: var(--soft-shadow); 
    }
    .nav-menu.active { 
        max-height: 500px; 
        border-top: 1px solid var(--border-color);
    }
    .nav-menu ul { 
        display: block; 
        width: 100%; 
        padding: 10px 0; 
    }
    .nav-menu ul li { 
        margin: 0; 
        text-align: center; 
    }
    .nav-menu ul li a { 
        display: block; 
        padding: 15px 30px; 
    }
    .nav-logout-btn-li {
        display: block;
        padding: 10px 30px;
    }
    .nav-logout-btn-li .logout-btn {
        justify-content: center;
        width: 100%;
        background: rgba(231, 76, 60, 0.1);
        color: var(--accent-color);
    }
    
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 30px; padding-top: 80px; }
    .hero-content { order: 2; }
    .hero-animation { order: 1; margin: 0 auto; max-width: 450px; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-stats { justify-content: center; }
    .contact-container { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: repeat(2, 1fr); }
    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    section { padding: 100px var(--container-padding); }
    .slide-content h2 { font-size: 2.5rem; }
    .slide-content p { font-size: 1.2rem; }
    .slide-buttons-container { flex-direction: column; gap: 15px; align-items: center;}
    .social-container { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .work-container { 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        padding-bottom: 20px; 
        display: flex; 
        gap: 20px; 
    }
    .work-card { flex: 0 0 80%; scroll-snap-align: center; }
    .work-container::-webkit-scrollbar { height: 6px; }
    .work-container::-webkit-scrollbar-track { background: transparent; }
    .work-container::-webkit-scrollbar-thumb { 
        background-color: var(--primary-color); 
        border-radius: 10px; 
    }
}

@media (max-width: 576px) {
    body { font-size: 15px; }
    section { padding: 80px var(--container-padding); }
    .hero h1 { font-size: 2.5rem; }
    .slide-content h2 { font-size: 2rem; }
    .slide-content p { font-size: 1.1rem; }
    .contact-form { padding: 25px; }
    .footer-review-section { margin-top: 20px; }
}