/*
Theme Name: Origin8 Theme
Theme URI: https://origin8.com
Author: Antigravity
Author URI: https://origin8.com
Description: A premium, modern, and vibrant theme for Origin8.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: origin8-theme
*/

:root {
    --primary: #E53434; /* Brand Red */
    --secondary: #171717; /* Dark Slate for contrast */
    --accent: #B91C1C; /* Darker Red */
    --background: #ffffff; /* White background */
    --surface: #f8fafc; /* Light grey surface */
    --text: #0f172a; /* Dark text for readability */
    --text-muted: #64748b; /* Muted slate */
    --glass: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.container {
    /* max-width: 1280px; */
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

/* Base Styles */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--accent);
    box-shadow: 0 10px 20px rgba(229, 52, 52, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: white;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.call-btn-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #E53434;
    color: white !important;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.whatsapp-btn.glass {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(34, 197, 94, 0.05); /* Very light green tint */
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #15803d !important;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.whatsapp-btn.glass svg {
    width: 20px;
    height: 20px;
    fill: #22C55E;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2.25rem 0; /* Roomier top and bottom padding */
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.header .container {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a; /* Dark logo for light theme */
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #25d366; /* WhatsApp Green */
    transition: var(--transition);
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-btn:hover {
    background: rgba(37, 211, 102, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    fill: #25d366;
}

/* Hero Section */
/* Elite Shield Hero Style */
.hero-elite {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-image-bg.elite-overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-image-bg.elite-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for focus */
}

.hero-center-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    padding: 0 2rem;
}

.elite-logo-wrap {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.elite-logo {
    width: 100px;
    height: auto;
    margin-bottom: 1.5rem;
}

.elite-brand-text {
    line-height: 1.1;
    font-family: var(--font-heading);
}

.elite-main {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.1em;
}

.elite-sub {
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.8;
}

.elite-headline {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.35; /* Increased for premium readability */
    text-transform: uppercase;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

.elite-subheadline {
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 750px;
    margin: 0 auto 3.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.elite-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-red {
    background: #E53434;
    color: white;
    border-radius: 6px;
    padding: 1.1rem 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.btn-red:hover {
    background: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(229, 52, 52, 0.2);
}

.btn-white {
    background: white;
    color: #1c1917;
    border-radius: 6px;
    padding: 1.1rem 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.btn-white:hover {
    background: #f5f5f4;
    transform: translateY(-2px);
}

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 30px;
    z-index: 2000;
}

.fab-container.left { left: 30px; }
.fab-container.right { right: 30px; }

.fab {
    width: 65px;
    height: 65px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
    transition: var(--transition);
}

.fab:hover {
    transform: scale(1.1) rotate(5deg);
}

.fab svg {
    width: 32px;
    height: 32px;
}

/* Glass Car Mockup */
.car-mockup-wrap {
    width: 500px;
    height: 350px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    position: relative;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.car-mockup-glass {
    position: absolute;
    inset: 10%;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), transparent);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.shine-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: sweep 4s infinite linear;
}

@keyframes sweep {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.clarity-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.4);
    transform: rotate(15deg);
}

.clarity-badge span { font-size: 1.25rem; line-height: 1; }
.clarity-badge small { font-size: 0.6rem; opacity: 0.8; text-transform: uppercase; }

/* Content Details */
.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary);
    width: fit-content;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Animations */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1100px) {
    .hero-container { flex-direction: column; text-align: center; gap: 3rem; }
    .hero-content { max-width: 100%; }
    .hero-visual { justify-content: center; }
    .hero-badge, .hero-stats { margin-inline: auto; }
    .hero h1 { font-size: 3.5rem; }
}

/* Features/Services */
.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Animated Cards (for index posts) */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.post-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-image {
    height: 240px;
    background: var(--surface);
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 2rem;
    flex-grow: 1;
}

.post-date {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.post-title h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Professional Footer Styling (White Theme) */
.footer {
    background-color: #ffffff;
    color: #4b5563;
    padding: 100px 0 40px;
    font-size: 0.95rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-col h4 {
    color: #0c0a09;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 900;
    color: #E53434;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.footer-logo span {
    color: #0c0a09;
}

.brand-desc {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 320px;
}

/* Professional Social Buttons (SVG Based) */
.social-grid {
    display: flex;
    gap: 0.75rem;
}

.social-sq {
    width: 48px;
    height: 48px;
    background: #E53434 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(229, 52, 52, 0.15);
}

.social-sq svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.social-sq:hover {
    transform: translateY(-5px);
    background: #000000 !important; /* Change to black on hover for premium contrast */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-sq:hover svg {
    transform: scale(1.1);
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.icon-red {
    color: #E53434;
    font-size: 1.1rem;
    width: 20px;
}

.icon-red i {
    color: #E53434 !important;
}

.contact-list a, .contact-list p {
    color: #4b5563;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul a {
    color: #64748b;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: #E53434;
    padding-left: 5px;
}

.footer-bottom-mini {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2.5rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .footer-columns { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
    .footer-columns { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .header .container { padding: 0 15px; }
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
    .footer-top { grid-template-columns: 1fr; gap: 3rem; }
    .hero-actions { flex-direction: column; }
}

/* Alternate Minimalist Benefits Design */
.benefits-section.alt-design {
    background-color: #ffffff;
    padding: 100px 0;
}

.benefits-eyebrow {
    color: #E53434;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 0.5rem;
    text-align: center;
}

.benefits-title-alt {
    font-size: 3rem;
    font-weight: 900;
    color: #0c0a09;
    text-align: center;
    margin-bottom: 2rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: #E53434;
    margin: 0 auto 5rem;
}

.benefits-flex-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Stacked for mobile, look into side-by-side too */
    text-align: center;
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    background: white;
    border-color: #E53434;
}

.benefit-icon-alt {
    width: 65px;
    height: 65px;
    background: #E53434;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(229, 52, 52, 0.2);
}

.benefit-icon-alt svg {
    width: 32px;
    height: 32px;
}

.benefit-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0c0a09;
}

.benefit-info p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .benefits-flex-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .benefits-flex-grid { grid-template-columns: 1fr; }
    .benefits-title-alt { font-size: 2.25rem; }
    .benefit-item { padding: 2rem; }
}

/* Scrolling Testimonials Marquee */
.testimonials-section.marquee-mode {
    padding: 100px 0;
    overflow: hidden; /* Prevent horizontal scroll bars */
}

.testimonials-marquee-wrap {
    width: 100%;
    position: relative;
    padding-bottom: 2rem;
}

.testimonials-marquee {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: marquee-scroll 60s linear infinite;
    padding-left: 3rem;
    cursor: default;
}

.testimonials-marquee.no-scroll {
    animation: none;
    justify-content: center;
    width: 100%;
}

.testimonials-marquee .testimonial-card {
    width: 450px; /* Fixed width for better marquee alignment */
    flex-shrink: 0;
    margin-right: 0;
}

@keyframes marquee-scroll {
    to {
        transform: translateX(-50%); /* Moves half the width (the first set of items) */
    }
}

/* Testimonial Cards & Rating Styling */
.testimonial-card {
    flex: 0 0 auto;
    width: 420px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    transition: var(--transition);
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
}

/* Source Badge (Google Review) */
.source-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #475569;
    border: 1px solid rgba(0,0,0,0.03);
}

.google-logo {
    width: 14px;
    height: 14px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 2.5rem;
    font-style: italic;
    font-weight: 500;
}

.testimonial-footer {
    border-top: 1px solid rgba(0,0,0,0.03);
    padding-top: 2rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-name {
    font-size: 1.15rem;
    font-weight: 900;
    color: #0c0a09;
    margin-bottom: 0.25rem;
    display: block;
}

.user-car {
    font-size: 0.85rem;
    font-weight: 700;
    color: #E53434;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .testimonials-marquee { animation-duration: 40s; gap: 2rem; }
    .testimonial-card { width: 320px; padding: 2rem; }
}

/* Bento Gallery Layout (Asymmetric) */
.gallery-section.bento-layout {
    padding: 60px 0;
    background: #ffffff;
}

.gallery-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px; /* Each row height */
    gap: 1.5rem;
    padding: 0 1rem;
}

.gallery-item-bento {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    background: #f1f5f9;
}

/* Feature Sizing Rules */
.gallery-item-bento.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-bento.wide {
    grid-column: span 2;
}

.gallery-img-wrap {
    width: 100%;
    height: 100%;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateY(15px);
}

.gallery-item-bento:hover img {
    transform: scale(1.1);
}

.gallery-item-bento:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-cat {
    font-size: 0.75rem;
    font-weight: 800;
    color: #E53434;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.gallery-name {
    font-size: 1.4rem;
    font-weight: 900;
    color: white;
}

/* Responsive Scaling for Bento Grid */
@media (max-width: 1024px) {
    .gallery-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 300px; }
    .gallery-item-bento.large, .gallery-item-bento.wide { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 768px) {
    .gallery-bento { grid-template-columns: 1fr; grid-auto-rows: 280px; gap: 1rem; }
    .gallery-section.bento-layout { padding: 80px 0; }
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background: #ffffff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    position: relative;
    padding: 4rem 3rem;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 1.5rem;
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    border-color: #E53434;
}

.service-num {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03); /* Faded accent number */
    line-height: 1;
    z-index: 1;
    transition: var(--transition);
}

.service-card:hover .service-num {
    color: rgba(229, 52, 52, 0.08); /* Highlight number on hover */
}

.service-icon-wrap {
    width: 60px;
    height: 60px;
    color: #E53434;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #0c0a09;
    position: relative;
    z-index: 2;
}

.service-card p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.service-link {
    font-size: 0.95rem;
    font-weight: 800;
    color: #E53434;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 2;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 25px;
    height: 2px;
    background: #E53434;
    transition: var(--transition);
}

.service-card:hover .service-link::after {
    width: 100%;
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.section-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.contact-desc {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3.5rem;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 4rem;
}

.detail-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.detail-icon {
    width: 24px;
    height: 24px;
    color: #E53434;
    flex-shrink: 0;
}

.detail-text strong {
    display: block;
    font-size: 1.1rem;
    color: #0c0a09;
    margin-bottom: 0.25rem;
}

.detail-text span {
    font-size: 1rem;
    color: #64748b;
}

.map-placeholder {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 380px;
    background: #f1f5f9;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Form Styling */
.contact-form-wrap {
    background: #f8fafc;
    padding: 4rem;
    border-radius: 2rem;
    border: 1px solid rgba(0,0,0,0.03);
}

.form-group {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    color: #0c0a09;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    background: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #E53434;
    box-shadow: 0 0 15px rgba(229, 52, 52, 0.1);
}

.w-full {
    width: 100%;
    display: flex;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.form-note {
    text-align: center;
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 1.5rem;
}

@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 4rem; }
    .contact-info-wrap { max-width: 800px; }
}


/* ==========================================================================
   Comprehensive Mobile Responsiveness Overhaul
   ========================================================================== */

/* Tablet & Mobile (Standard: 768px) */
@media (max-width: 768px) {
    /* Header Polish */
    .header { padding: 1rem 0; }
    .header .container { padding: 0 1.25rem; }
    .logo { font-size: 1.2rem; }
    .nav-links { display: none; } /* Focus on immediate contact for mobile */
    .nav-actions { gap: 0.75rem; }
    .call-btn-header span { display: none; } 
    .call-btn-header { width: 40px; height: 40px; padding: 0; justify-content: center; }
    .whatsapp-btn.glass { width: 40px; height: 40px; padding: 0; justify-content: center; }
    .whatsapp-btn.glass span { display: none; }
    
    .hero-elite { padding-top: 100px; min-height: auto; padding-bottom: 60px; }
    .hero-content h1 { font-size: 2.75rem; line-height: 1.1; margin-bottom: 1.5rem; }
    .hero-content p { font-size: 1rem; margin-bottom: 2rem; }
    .hero-btns { flex-direction: column; gap: 1rem; width: 100%; max-width: 320px; margin-inline: auto; }
    .hero-btns .btn { width: 100%; }

    /* Benefits & Services */
    .section-header { margin-bottom: 3rem; text-align: left; }
    .section-header h2 { font-size: 2.25rem; }
    .benefits-flex-grid, .services-grid { gap: 1.5rem; }
    .service-card { padding: 3rem 2rem; }

    /* Gallery (Bento to Solo) */
    .gallery-bento { grid-template-columns: 1fr; grid-auto-rows: 250px; gap: 1rem; }
    .gallery-item-bento.large, .gallery-item-bento.wide { grid-column: span 1; grid-row: span 1; }
    .gallery-overlay { opacity: 1; transform: translateY(0); padding: 1.5rem; }
    .gallery-name { font-size: 1.1rem; }

    /* Testimonials */
    .testimonials-marquee { gap: 1.5rem; }
    .testimonial-card { width: 300px; padding: 2rem; min-height: 320px; }

    /* Contact & Form */
    .contact-form-wrap { padding: 2.5rem 1.5rem; border-radius: 1.5rem; }
    .form-row { grid-template-columns: 1fr; gap: 1rem; }
    
    /* Footer */
    .footer-columns { grid-template-columns: 1fr; gap: 3rem; }
    .brand-col { text-align: center; }
    .social-grid { justify-content: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-col { text-align: center; }
    .contact-list li { justify-content: center; text-align: center; flex-direction: column; gap: 0.5rem; }
}

/* Small Mobile (Micro: 480px) */
@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero-content h1 { font-size: 2.25rem; }
    .section-header h2 { font-size: 1.85rem; }
    .btn { padding: 1rem 1.5rem; font-size: 0.85rem; }
    .whatsapp-btn-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}
