/* 
   ==========================================================================
   Aarav Enterprises - Premium Interior Design & Interior Contracting Stylesheet
   ==========================================================================
   This stylesheet has been designed to be modern, elegant, and highly structured.
   It uses custom CSS properties (variables) for easy customization and is fully 
   responsive for all devices (mobiles, tablets, laptops, and large screens).
*/

/* Google Fonts - Playfair Display (Serif for luxury headers) & Plus Jakarta Sans (Modern Geometric for body) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Sora:wght@400;600;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    /* Color Palette */
    --primary: #c5a059;         /* Premium Luxury Gold */
    --primary-hover: #b28e47;   /* Hover State Gold */
    --primary-light: #f5f1e6;   /* Luxurious warm linen/champagne background */
    --secondary: #1c1c1c;       /* Elegant Charcoal */
    --dark: #0f0f0f;            /* Deep Space Black */
    --light: #ffffff;           /* Clean, bright editorial white body background */
    --white: #ffffff;
    --gray: #6e6e6e;            /* Medium Slate Gray */
    --gray-light: #e8e6e1;      /* Subtle Border Gray */
    --success: #2e7d32;
    
    /* Layout & Effects */
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); /* Premium ease-out transition */
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 30px 60px rgba(197, 160, 89, 0.15); /* Gold-tinted hover shadow */
    --glass: rgba(255, 255, 255, 0.7);
    --glass-dark: rgba(15, 15, 15, 0.85);
    --border-radius: 12px;
    --border-radius-lg: 24px;
}

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

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

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.7;
    width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--dark);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.75rem;
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

h2.with-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

h2.with-line.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

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

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

/* Helper Utilities */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3 {
    color: var(--white);
}

.section-bg-dark p {
    color: #a8a8a8;
}

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

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--primary); }

.subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    display: block;
    margin-bottom: 0.75rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.5rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.3);
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-outline-dark:hover {
    background-color: var(--dark);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* 2. Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

header.scrolled {
    background-color: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

header.scrolled-dark {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: 1.5rem 0;
    border-bottom: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    width: 520px;
    height: 48px; /* Anchor height to keep navigation bar thin and stable */
    transition: var(--transition);
}

header.scrolled .logo {
    width: 350px;
    height: 38px;
}

.logo a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.logo img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 160px; /* Proud extra large landscape logo image */
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 90px; /* Sleek compact image on scroll */
}

header.scrolled-dark .logo img {
    height: 160px;
}

.logo-text {
    position: absolute;
    left: 280px; /* Zero space from the 280px wide landscape logo */
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 2px;
    text-transform: uppercase; /* Clean high-end architectural feel */
    white-space: nowrap;
    transition: var(--transition);
}

header.scrolled .logo-text {
    left: 158px; /* Zero space from the 158px wide landscape logo */
    font-size: 1.25rem;
    color: var(--dark);
}

header.scrolled-dark .logo-text {
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Navigation Links */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.25rem;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark);
    position: relative;
    padding: 0.5rem 0;
}

header.scrolled-dark .nav-link {
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

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

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

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

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--dark);
    z-index: 1100;
    transition: var(--transition);
}

header.scrolled-dark .mobile-nav-toggle {
    color: var(--white);
}

/* Mobile Side Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--dark);
    z-index: 1050;
    padding: 6rem 3rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: -15px 0 40px rgba(0,0,0,0.4);
    transition: var(--transition);
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    display: block;
    padding: 0.5rem 0;
}

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

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* 3. Hero Section */
.hero {
    height: 100vh;
    min-height: 650px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.4) 60%, rgba(15, 15, 15, 0.2) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 780px;
    margin-top: 70px; /* Pushes content down to perfectly clear the extra large header logo */
}

.hero h1 {
    color: var(--white);
    font-size: 4.25rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    margin-bottom: 2.75rem;
    max-width: 600px;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

/* Scroll Mouse Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
}

.mouse {
    width: 26px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mouse::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    top: 8px;
    animation: mouseScroll 2s infinite ease-in-out;
}

/* 4. Stats Badge / Layout */
.about-image-wrapper {
    position: relative;
    padding: 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 3px solid var(--primary); /* Perfectly aligned luxury golden border */
    overflow: hidden;
    z-index: 2;
}

.about-img-main {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
}

/* 5. Services Cards */
.services-section {
    position: relative;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 3.5rem 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(197, 160, 89, 0.3);
}

.service-card.featured {
    background-color: var(--secondary);
    color: var(--white);
    border-color: var(--primary);
}

.service-card.featured h3 {
    color: var(--white);
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.7);
}

.icon-box {
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.service-card:hover .icon-box {
    background-color: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

.service-card.featured .icon-box {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.service-card.featured:hover .icon-box {
    background-color: var(--primary);
    color: var(--white);
}

.service-card-link {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card-link:hover {
    gap: 0.75rem;
}

/* 6. Before / After Interactive Slider */
.ba-section {
    overflow: hidden;
}

.ba-slider-container {
    max-width: 960px;
    margin: 3.5rem auto 0;
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    aspect-ratio: 16 / 9;
    user-select: none;
    -webkit-user-select: none;
}

.ba-images-wrap {
    position: relative;
    width: 100%;
    height: 100%;
}

.ba-images-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.before-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* JS will control this */
    height: 100%;
    overflow: hidden;
    z-index: 2;
    border-right: 2px dashed var(--white);
}

.before-overlay img {
    width: 100%;
    height: 100%;
    /* Key to keep image aligned when container shrinks */
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
}

/* Labels */
.ba-label {
    position: absolute;
    top: 1.5rem;
    background-color: rgba(15, 15, 15, 0.75);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    pointer-events: none;
    backdrop-filter: blur(5px);
}

.before-label {
    left: 1.5rem;
}

.after-label {
    right: 1.5rem;
}

/* Slider Handle Bar */
.ba-handle {
    position: absolute;
    top: 0;
    left: 50%; /* JS will control this */
    width: 4px;
    height: 100%;
    background-color: var(--white);
    z-index: 4;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.ba-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    border: 3px solid var(--white);
    pointer-events: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.ba-handle:hover .ba-handle-button {
    background-color: var(--primary-hover);
}

/* 7. Portfolio Showcase (Index / Page) */
.portfolio-filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background: none;
    border: 1px solid var(--gray-light);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.4) 65%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.25rem;
    opacity: 0;
    z-index: 2;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-overlay p {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    transform: translateY(20px);
    transition: var(--transition) 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Portfolio Banner CTA */
.portfolio-pdf-banner {
    background-color: var(--primary-light);
    border: 1px dashed var(--primary);
    border-radius: var(--border-radius-lg);
    padding: 4rem;
    margin-top: 4rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.portfolio-pdf-banner h3 {
    margin-bottom: 1rem;
}

.portfolio-pdf-banner p {
    max-width: 650px;
    margin: 0 auto 2rem;
}

/* 8. Testimonials Section */
.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
}

.testimonial-card::before {
    content: '“';
    position: absolute;
    top: 1rem;
    right: 2.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: rgba(197, 160, 89, 0.12);
    line-height: 1;
}

.stars {
    color: var(--primary);
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.stars i,
.stars svg {
    fill: var(--primary);
    stroke: var(--primary);
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--dark);
    margin-bottom: 2rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-meta h4 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.client-meta span {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 9. Value Pillars & Process Timeline */
.value-card {
    background-color: var(--white);
    border-left: 4px solid var(--primary);
    padding: 2.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.value-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.value-card p {
    margin-bottom: 0;
}

/* Process Steps Timeline */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--gray-light);
    z-index: 1;
}

.process-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.process-step-num {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 3px solid var(--gray-light);
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.process-item:hover .process-step-num {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.process-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.process-item p {
    font-size: 0.9rem;
    max-width: 250px;
    margin: 0 auto;
}

/* 10. Contact Forms & Details */
.contact-wrapper {
    display: grid;
    grid-template-columns: 4.5fr 7.5fr;
    gap: 4rem;
}

.contact-info-panel {
    background-color: var(--secondary);
    color: var(--white);
    padding: 4rem 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.contact-info-panel h3 {
    color: var(--white);
    margin-bottom: 2rem;
}

.contact-info-panel p.lead {
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.contact-detail-item .icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-item h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.contact-detail-item p,
.contact-detail-item a {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.contact-detail-item a:hover {
    color: var(--primary);
}

/* Contact Form Card */
.contact-form-card {
    background-color: var(--white);
    padding: 4rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.02);
}

.contact-form-card h3 {
    margin-bottom: 2rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--gray-light);
    background-color: var(--light);
    border-radius: 8px;
    color: var(--dark);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-control::placeholder {
    color: rgba(0,0,0,0.3);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* FAQs */
.faq-grid {
    max-width: 800px;
    margin: 3.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.02);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.75rem 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700; /* Bold yet subtle with completely solid, readable strokes */
    letter-spacing: 0.5px;
    color: var(--dark);
}

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

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

.faq-answer {
    padding: 0 2.25rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer p {
    padding-bottom: 1.75rem;
    margin-bottom: 0;
    color: var(--gray);
    font-size: 0.95rem;
}

/* 11. Footer */
footer {
    background-color: var(--dark);
    color: #a8a8a8;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 4fr 2fr 2fr 4fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #8c8c8c;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-links a {
    color: #8c8c8c;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #6e6e6e;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

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

/* 12. Floating Elements (WhatsApp Widget) */
.whatsapp-floating {
    position: fixed;
    bottom: 1.5rem; /* Neatly spaced from corner */
    right: 1.5rem;
    background-color: #25d366;
    color: var(--white);
    padding: 0.55rem 1.15rem; /* Made button more compact */
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Reduced gap */
    font-weight: 700;
    font-size: 0.8rem; /* Scaled down typography */
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-floating:hover {
    background-color: #128c7e;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

/* 13. Reveal-on-Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes mouseScroll {
    0% {
        opacity: 0;
        top: 6px;
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 24px;
    }
}

/* 14. Responsive Queries */
@media (max-width: 1200px) {
    h1 { font-size: 3.25rem; }
    h2 { font-size: 2.5rem; }
    .grid-2 { gap: 2.5rem; }
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .process-grid::before {
        display: none; /* Hide timeline connectors on tablets/mobiles */
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; } /* Slightly reduce basic font size */
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2.25rem; }
    .section { padding: 80px 0; }
    
    .nav-menu {
        display: none; /* Hide regular menu */
    }
    .mobile-nav-toggle {
        display: block; /* Show menu hamburger */
    }
    .logo {
        width: 300px;
    }
    header.scrolled .logo {
        width: 220px;
    }
    .logo img {
        height: 90px;
    }
    header.scrolled .logo img {
        height: 60px;
    }
    header.scrolled-dark .logo img {
        height: 90px; /* Override desktop 160px for elegant transparent header on tablet */
    }
    .logo-text {
        left: 158px;
        font-size: 1.15rem;
    }
    header.scrolled .logo-text {
        left: 106px;
        font-size: 0.9rem;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hero {
        background-attachment: scroll; /* Disable fixed bg for mobile efficiency */
    }
    .hero h1 {
        font-size: 2.75rem;
    }
    .hero p {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }
    .btn {
        width: 100%;
    }
    .ba-slider-container {
        aspect-ratio: 4 / 3; /* Better square aspect on mobile */
    }
    .portfolio-pdf-banner {
        padding: 2.5rem 1.5rem;
    }
    .contact-form-card {
        padding: 2.5rem 1.5rem;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1.25rem;
    }
    .logo {
        width: 250px;
    }
    header.scrolled .logo {
        width: 190px;
    }
    .logo img {
        height: 70px;
    }
    header.scrolled .logo img {
        height: 50px;
    }
    header.scrolled-dark .logo img {
        height: 70px; /* Overrides giant 160px desktop transparent logo height on small mobile */
    }
    .logo-text {
        left: 123px;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
    header.scrolled .logo-text {
        left: 88px;
        font-size: 0.7rem;
    }
    .hero h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }
    .hero p {
        font-size: 1.0rem;
        margin-bottom: 1.75rem;
    }
    .hero-content {
        margin-top: 100px; /* Perfectly adjusted top margin for mobile vertical logo size */
    }
    h1 { font-size: 2.00rem; }
    h2 { font-size: 1.75rem; }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .process-grid {
        grid-template-columns: 1fr;
    }
    .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .whatsapp-floating {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}
