/* ============================================
   D'Cruz Interior Design - Premium Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #b8860b;
    --primary-light: #d4a843;
    --primary-dark: #8a6508;
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --gray-900: #1a1a2e;
    --gray-800: #2d2d3d;
    --gray-700: #3d3d4d;
    --gray-600: #555;
    --gray-500: #777;
    --gray-400: #999;
    --gray-300: #bbb;
    --gray-200: #e0e0e0;
    --gray-100: #f5f5f5;
    --white: #ffffff;
    --bg-cream: #faf8f5;
    --bg-light: #f9f7f4;
    --accent: var(--primary);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-elegant: 'Cormorant Garamond', serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.16);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
}

.accent {
    color: var(--primary);
}

/* ---------- Preloader ---------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.6s, visibility 0.6s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-line {
    width: 60px;
    height: 2px;
    background: var(--primary);
    animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-line:nth-child(2) { animation-delay: 0.2s; width: 40px; }
.loader-line:nth-child(3) { animation-delay: 0.4s; width: 20px; }

.loader-text {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--white);
    letter-spacing: 12px;
    font-weight: 600;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* ---------- Navigation ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

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

.logo-img {
    height: 50px;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    padding: 8px 16px;
    border-radius: 100px;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.navbar.scrolled .nav-link {
    color: var(--gray-700);
}

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

.nav-link.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
    font-weight: 600;
}

.nav-link.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
    background: var(--dark);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ---------- Section Headers ---------- */
.section-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.35);
}

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

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

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

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

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    border-color: #25d366;
    font-size: 17px;
}

.btn-whatsapp:hover {
    background: #1fb855;
    border-color: #1fb855;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease, transform 8s ease;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 24px;
}

.hero-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--primary-light);
}

.tag-line {
    width: 40px;
    height: 1px;
    background: var(--primary-light);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(42px, 8vw, 80px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero-line.accent {
    color: var(--primary-light);
    font-style: italic;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    display: inline;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: 30px;
    color: var(--primary-light);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.scroll-text {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-light);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-light);
    width: 24px;
    border-radius: 4px;
}

/* ---------- About Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-img-main:hover img {
    transform: scale(1.05);
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 11px;
    text-align: center;
    line-height: 1.3;
    opacity: 0.9;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-content .section-label,
.about-content .section-title {
    text-align: left;
}

.about-lead {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 16px;
    font-weight: 500;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--gray-500);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 32px 0;
}

.value-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.value-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.value-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.value-item p {
    font-size: 13px;
    margin: 0 !important;
    color: var(--gray-500);
}

/* ---------- Services Section ---------- */
.services {
    background: var(--bg-cream);
}

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

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

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

.service-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.service-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    box-shadow: var(--shadow-md);
}

.service-content {
    padding: 32px;
}

.service-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-content > p {
    color: var(--gray-500);
    font-size: 15px;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    font-size: 14px;
    color: var(--gray-600);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--primary);
    font-size: 12px;
}

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

.service-link:hover {
    gap: 14px;
    color: var(--primary-dark);
}

/* ---------- Portfolio Section ---------- */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--gray-200);
    background: transparent;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
}

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

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

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.portfolio-img {
    height: 350px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 24px 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-category {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light);
}

.portfolio-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin: 8px 0 4px;
}

.portfolio-info p {
    font-size: 14px;
    opacity: 0.8;
}

.portfolio-link {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transform: translateY(-20px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
    opacity: 1;
}

/* ---------- Process Section ---------- */
.process {
    background: var(--bg-cream);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--primary-light));
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: rgba(184, 134, 11, 0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.step-content {
    background: var(--white);
    padding: 32px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.step-content:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    width: 64px;
    height: 64px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 24px;
    transition: var(--transition);
}

.step-content:hover .step-icon {
    background: var(--primary);
    color: var(--white);
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ---------- Why Choose Us ---------- */
.why-us {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.why-us-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.why-us-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,26,30,0.92) 0%, rgba(26,26,30,0.85) 100%);
}

.why-us .container {
    position: relative;
    z-index: 1;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.why-item {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-6px);
    border-color: rgba(184, 134, 11, 0.3);
}

.why-icon {
    width: 72px;
    height: 72px;
    background: rgba(184, 134, 11, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-light);
    font-size: 28px;
    transition: var(--transition);
}

.why-item:hover .why-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.why-item h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 12px;
}

.why-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ---------- Gallery Section ---------- */
.gallery {
    background: var(--bg-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 4px;
}

.gallery-overlay p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- Testimonials Section ---------- */
.testimonials {
    background: var(--white);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 48px;
    background: var(--bg-cream);
    border-radius: var(--radius-lg);
    text-align: center;
}

.testimonial-stars {
    margin-bottom: 24px;
    color: #f5a623;
    font-size: 18px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.testimonial-text {
    font-family: var(--font-elegant);
    font-size: 24px;
    line-height: 1.7;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.author-avatar {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
}

.testimonial-author h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--gray-500);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.test-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--gray-200);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: var(--gray-600);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
    align-items: start;
}

.faq-left .section-label,
.faq-left .section-title {
    text-align: left;
}

.faq-left p {
    color: var(--gray-500);
    margin-bottom: 32px;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: var(--transition);
}

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

.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    padding-right: 16px;
    transition: var(--transition);
}

.faq-question:hover h4 {
    color: var(--primary);
}

.faq-question i {
    color: var(--primary);
    font-size: 14px;
    transition: transform 0.3s ease;
    min-width: 20px;
    text-align: center;
}

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

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

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- Contact Section ---------- */
.contact {
    background: var(--bg-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
}

.contact-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary);
}

.contact-card a:hover {
    color: var(--primary-dark);
}

.contact-card small {
    font-size: 12px;
    color: var(--gray-400);
}

.contact-map {
    margin-top: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.contact-form > p {
    color: var(--gray-500);
    font-size: 15px;
    margin-bottom: 32px;
}

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

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23777' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-status {
    margin-top: 16px;
    padding: 0;
    border-radius: var(--radius-sm);
    font-size: 14px;
    text-align: center;
    transition: var(--transition);
}

.form-status.success {
    padding: 14px;
    background: rgba(37, 211, 102, 0.1);
    color: #1a8a4a;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.form-status.error {
    padding: 14px;
    background: rgba(220, 53, 69, 0.1);
    color: #c82333;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-reg {
    font-size: 12px;
    opacity: 0.5;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--white);
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
}

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

.footer ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer ul li a:hover {
    color: var(--primary-light);
    padding-left: 6px;
}

.footer-contact ul li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
}

.footer-contact ul li i {
    color: var(--primary-light);
    margin-top: 4px;
    min-width: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    opacity: 0.5;
}

/* ---------- WhatsApp Float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
    transition: var(--transition);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--dark);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Back to Top ---------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--dark);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-secondary {
        right: 20px;
        bottom: -20px;
        width: 200px;
    }

    .about-img-secondary img {
        height: 240px;
    }

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

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

    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-timeline::before {
        display: none;
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 0;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--dark);
        padding: 14px 0;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
        border-radius: 0;
    }

    .nav-menu .nav-link.nav-cta {
        border-radius: 100px;
        text-align: center;
        margin-top: 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: clamp(36px, 8vw, 56px);
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 32px;
    }

    .slider-controls {
        bottom: 20px;
        right: 20px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

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

    .portfolio-img {
        height: 280px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item.large {
        grid-column: span 2;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

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

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

    .testimonial-card {
        padding: 32px 20px;
    }

    .testimonial-text {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ---------- Selection ---------- */
::selection {
    background: rgba(184, 134, 11, 0.2);
    color: var(--dark);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ---------- Animations for portfolio filter ---------- */
.portfolio-item.hidden {
    display: none;
}

.portfolio-item {
    animation: fadeInUp 0.5s ease forwards;
}

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