/* ========================================
   WRAPTEX - Premium Car Detailing Website
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #0044cc;
    --primary-dark: #003399;
    --primary-light: #1a5fff;
    --secondary-color: #1a1a2e;
    --accent-color: #0066ff;
    --text-dark: #1a1a2e;
    --text-light: #666666;
    --text-muted: #999999;
    --white: #ffffff;
    --black: #000000;
    --bg-light: #f8f9fa;
    --bg-dark: #0f0f23;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    -webkit-tap-highlight-color: transparent;
}

/* Touch-friendly elements */
@media (max-width: 768px) {
    a, button, input, select, textarea {
        touch-action: manipulation;
    }

    .btn, .nav-link, .btn-signin, .btn-signup, .tab-btn, .faq-question {
        min-height: 44px;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-dark {
    background-color: var(--bg-dark);
}

.bg-light {
    background-color: var(--bg-light);
}

.text-light {
    color: var(--white) !important;
}

.text-light-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

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

.mt-40 {
    margin-top: 40px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 68, 204, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.auth-navbar {
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-signin {
    color: var(--text-dark);
    font-weight: 600;
}

.btn-signin:hover,
.btn-signin.active {
    color: var(--primary-color);
}

.btn-signup {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-signup:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0044cc 100%),
                url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1920') center/cover;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.animate-fade-in-delay {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* ========================================
   SERVICES PREVIEW
   ======================================== */
.services-preview {
    background: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    background: var(--white);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 40px;
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    height: 50vh;
    min-height: 350px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)),
                url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?w=1920') center/cover;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.page-header-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.page-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.page-header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ========================================
   SERVICES CATEGORIES
   ======================================== */
.category-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 30px;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-dark);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-item {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.service-item.hidden {
    display: none;
}

.service-item:hover {
    box-shadow: var(--shadow-lg);
}

.service-item-image {
    height: 100%;
    min-height: 300px;
}

.service-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-item-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.service-item-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-item-content p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-features i {
    color: var(--success-color);
}

.service-price {
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-section {
    background: var(--bg-dark);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: 25px;
}

.product-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.product-price {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* ========================================
   ABOUT PAGE - OUR STORY
   ======================================== */
.our-story {
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.story-text {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.story-highlights {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.highlight-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.highlight-item span {
    font-weight: 600;
    color: var(--text-dark);
}

.story-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   MISSION & VISION
   ======================================== */
.mission-vision {
    background: var(--bg-dark);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.mv-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mv-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.mv-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.mv-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* ========================================
   VALUES SECTION
   ======================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.value-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 68, 204, 0.1);
    margin-bottom: -20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    height: 280px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-content {
    padding: 25px;
    text-align: center;
}

.team-content h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.team-content span {
    display: block;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.partner-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.partner-logo img {
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.contact-info-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
}

.contact-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-social .social-links a {
    background: var(--bg-light);
    color: var(--text-dark);
}

.contact-social .social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Map Section */
.map-container iframe {
    width: 100%;
    filter: grayscale(20%);
}

/* FAQ Section */
.faq-section {
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 2px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   AUTH PAGES (Sign In / Sign Up)
   ======================================== */
.auth-page {
    background: var(--bg-light);
    min-height: 100vh;
}

.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
}

.auth-container {
    width: 100%;
    max-width: 1100px;
}

.auth-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.auth-left {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 50px;
    color: var(--white);
}

.auth-branding h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.auth-branding > p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.feature i {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature span {
    font-size: 1rem;
    opacity: 0.9;
}

.auth-right {
    padding: 60px 50px;
}

.auth-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-form .form-group {
    position: relative;
}

.auth-form input {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.toggle-password:hover {
    color: var(--primary-color);
}

.password-strength {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0%;
    background: var(--error-color);
    transition: var(--transition);
}

.strength-bar.weak {
    width: 33%;
    background: var(--error-color);
}

.strength-bar.medium {
    width: 66%;
    background: #ffc107;
}

.strength-bar.strong {
    width: 100%;
    background: var(--success-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 0.95rem;
}

.checkbox-label input {
    width: auto;
}

.forgot-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-form .btn-primary {
    margin-top: 10px;
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    position: relative;
    background: var(--white);
    padding: 0 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.btn-social {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.btn-social:hover {
    border-color: var(--text-dark);
    background: var(--bg-light);
}

.btn-google:hover {
    border-color: #DB4437;
}

.btn-facebook:hover {
    border-color: #4267B2;
}

.auth-switch {
    text-align: center;
    margin-top: 25px;
    color: var(--text-light);
}

.auth-switch a {
    color: var(--primary-color);
    font-weight: 600;
}

.auth-footer {
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-item-image {
        min-height: 250px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .auth-card {
        grid-template-columns: 1fr;
    }

    .auth-left {
        padding: 40px 30px;
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    /* Navigation */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    .nav-container {
        padding: 15px 20px;
    }

    .logo img {
        height: 40px;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger span {
        width: 24px;
        height: 3px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        display: none;
        gap: 15px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link,
    .btn-signin,
    .btn-signup {
        display: block;
        padding: 12px 15px;
        text-align: left;
        font-size: 1rem;
    }

    .btn-signup {
        text-align: center;
    }

    /* Hero Section */
    .hero {
        height: 100vh;
        min-height: 500px;
        padding-top: 70px;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    /* Sections */
    .section-padding {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        margin-bottom: 10px;
    }

    .service-image {
        height: 200px;
    }

    .service-content {
        padding: 20px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        height: 150px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-content p {
        font-size: 1rem;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 1.6rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo img {
        height: 40px;
    }

    .footer-col p {
        font-size: 0.9rem;
    }

    .footer-col h4 {
        font-size: 1.1rem;
    }

    .footer-col ul li {
        font-size: 0.9rem;
    }

    .contact-info li {
        font-size: 0.9rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Page Header */
    .page-header {
        height: 40vh;
        min-height: 250px;
        margin-top: 70px;
    }

    .page-header-content h1 {
        font-size: 2rem;
    }

    .page-header-content p {
        font-size: 1rem;
    }

    /* Story Section */
    .story-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .story-content h2 {
        font-size: 1.8rem;
    }

    .story-text {
        font-size: 0.95rem;
    }

    .story-highlights {
        flex-wrap: wrap;
        gap: 20px;
    }

    /* Contact Form */
    .contact-form-wrapper {
        padding: 25px;
    }

    .contact-form-wrapper h2 {
        font-size: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Auth Pages */
    .auth-section {
        padding: 80px 15px 40px;
    }

    .auth-card {
        border-radius: 15px;
    }

    .auth-left {
        padding: 30px 20px;
    }

    .auth-branding h1 {
        font-size: 1.8rem;
    }

    .auth-branding > p {
        font-size: 0.95rem;
    }

    .auth-right {
        padding: 30px 20px;
    }

    .auth-form-wrapper h2 {
        font-size: 1.5rem;
    }

    .social-auth {
        flex-direction: column;
    }

    /* FAQ */
    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 0.95rem;
    }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
    /* Base */
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 10px;
    }

    /* Navigation */
    .logo img {
        height: 35px;
    }

    .nav-container {
        padding: 12px 15px;
    }

    .nav-menu {
        top: 60px;
    }

    /* Hero */
    .hero {
        min-height: 450px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    /* Sections */
    .section-padding {
        padding: 30px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.875rem;
    }

    /* Features */
    .feature-card {
        padding: 25px 15px;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Services */
    .service-image {
        height: 180px;
    }

    .service-content {
        padding: 15px;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 200px;
    }

    /* Testimonials */
    .testimonial-content p {
        font-size: 0.95rem;
    }

    .testimonial-author h4 {
        font-size: 1rem;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 1.4rem;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }

    /* Footer */
    .footer {
        padding: 30px 0 15px;
    }

    .social-links {
        justify-content: center;
    }

    /* Buttons */
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

    .contact-form-wrapper {
        padding: 20px 15px;
    }

    /* Auth */
    .auth-left,
    .auth-right {
        padding: 25px 15px;
    }

    .auth-form input {
        padding: 12px;
    }
}
