/* ==========================================================================
   Design System & Variable Declarations
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-primary: #F9F6F0;       /* Soft warm cream background */
    --bg-secondary: #F3ECE0;     /* Slightly darker warm beige */
    --bg-card: #FFFFFF;          /* Pure white card backgrounds */
    --text-primary: #1A1A1A;     /* Soft charcoal black */
    --text-secondary: #605E59;   /* Warm gray-brown */
    --accent: #C5A880;           /* Luxurious warm gold/bronze */
    --accent-hover: #B2946C;     /* Darker gold for hover states */
    --accent-light: #F2EAE0;     /* Light gold tint for background highlights */
    --white: #FFFFFF;
    --black: #000000;
    --border: rgba(26, 26, 26, 0.08);
    --border-focus: rgba(197, 168, 128, 0.6);
    
    /* Typography */
    --font-headings: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Spacing & Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease-in-out;
    --shadow-sm: 0 4px 20px rgba(26, 26, 26, 0.03);
    --shadow-md: 0 10px 40px rgba(26, 26, 26, 0.06);
    --shadow-lg: 0 30px 60px rgba(26, 26, 26, 0.1);
    
    /* Layout Constants */
    --header-height: 80px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* Containers */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Section Common Styling */
section {
    padding: 120px 0;
    position: relative;
}

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

.section-tagline {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
}

.section-title {
    font-family: var(--font-headings);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
}

.italic-serif {
    font-family: var(--font-headings);
    font-style: italic;
    font-weight: 400;
}

.section-line {
    width: 60px;
    height: 1px;
    background-color: var(--accent);
    margin: 20px auto 0;
}

.section-line.left {
    margin: 20px 0 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    border-radius: 0;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--text-primary);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
}

.btn-md {
    padding: 14px 28px;
}

.btn-lg {
    padding: 18px 36px;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 100;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(249, 246, 240, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 70px;
    box-shadow: var(--shadow-sm);
}

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

/* Logo Design */
.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-weight: 300;
}

.logo-main {
    font-family: var(--font-headings);
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    font-weight: 400;
    color: var(--white);
    transition: var(--transition-smooth);
}

.header.scrolled .logo-main {
    color: var(--text-primary);
}

.logo-sub {
    font-size: 0.55rem;
    letter-spacing: 0.55em;
    color: var(--accent);
    margin-left: 2px;
    font-weight: 600;
}

/* Navigation Links */
.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 8px 0;
    transition: var(--transition-smooth);
}

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

.header.scrolled .nav-link {
    color: var(--text-primary);
}

.header.scrolled .nav-link:hover {
    color: var(--accent);
}

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

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

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

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

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

.header.scrolled .btn-outline {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.header.scrolled .btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--white);
}

/* Burger menu icon */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.burger-bar {
    width: 100%;
    height: 1.5px;
    background-color: var(--white);
    transition: var(--transition-fast);
}

.header.scrolled .burger-bar {
    background-color: var(--text-primary);
}

/* Mobile Nav Drawer Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    z-index: 200;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

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

.mobile-nav-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 40px;
}

.mobile-nav-link {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.mobile-nav-btn {
    margin-top: 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.1);
    filter: blur(5px);
    animation: zoomOutBg 12s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: 180px;
    padding-bottom: 60px;
}

.hero-content {
    max-width: 650px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--accent);
    margin-bottom: 24px;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-headings);
    font-size: 4.8rem;
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Stats overlay widget */
.hero-stats {
    display: flex;
    gap: 80px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 40px;
    opacity: 0;
    animation: fadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 1.1s;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-number {
    font-family: var(--font-headings);
    font-size: 3rem;
    line-height: 1;
    color: var(--accent);
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.6);
}

/* Scroll indicator link */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.scroll-indicator-line {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-indicator-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background-color: var(--accent);
    animation: scrollIndicatorAnimation 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* Animations */
@keyframes zoomOutBg {
    to { transform: scale(1.04); }
}

@keyframes scrollIndicatorAnimation {
    0% { top: -40%; }
    50% { top: 100%; }
    100% { top: 100%; }
}

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

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

/* ==========================================================================
   Philosophy Section
   ========================================================================== */
.philosophy {
    background-color: var(--bg-primary);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.philosophy-card {
    background-color: var(--bg-card);
    padding: 50px 30px 40px;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.philosophy-card::before {
    content: attr(data-index);
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-headings);
    font-size: 1.5rem;
    color: rgba(197, 168, 128, 0.25);
    font-weight: 500;
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.philosophy-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 30px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-card h3 {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.philosophy-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
}

/* ==========================================================================
   Portfolio Section with Filter and Hover
   ========================================================================== */
.portfolio {
    background-color: var(--bg-secondary);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
    padding-bottom: 20px;
}

.filter-btn {
    background: transparent;
    border: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 12px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

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

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

.filter-btn.active::after {
    width: 100%;
}

/* Grid Layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    cursor: pointer;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-primary);
}

/* Set up hide/show classes for filtering animation */
.portfolio-item.hide {
    display: none;
}

.portfolio-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.2) 60%, rgba(26, 26, 26, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
}

/* Hover State */
.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.08);
}

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

.portfolio-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 8px;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.portfolio-item-title {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 16px;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    transition-delay: 0.05s;
}

.portfolio-link-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transform: translateY(15px);
    transition: var(--transition-smooth);
    transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-category,
.portfolio-item:hover .portfolio-item-title,
.portfolio-item:hover .portfolio-link-text {
    transform: translateY(0);
}

/* ==========================================================================
   Lightbox Modal for Project Details
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(8px);
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background-color: var(--bg-primary);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    transform: scale(0.95);
    transition: var(--transition-smooth);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    background-color: var(--accent);
    color: var(--white);
}

.lightbox-body {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    max-height: 85vh;
    overflow-y: auto;
}

.lightbox-img-pane {
    background-color: #222;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 5;
}

.lightbox-img-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox-details-pane {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary);
}

.lightbox-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 500;
}

.lightbox-title {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
}

.lightbox-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    margin-bottom: 24px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.meta-label {
    color: var(--text-secondary);
    font-weight: 400;
}

.meta-value {
    color: var(--text-primary);
    font-weight: 500;
}

.lightbox-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 300;
}

.lightbox-materials h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 600;
}

.lightbox-materials p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
}

.lightbox-action-btn {
    margin-top: auto;
}

/* ==========================================================================
   Interactive Cost & Style Quiz Section
   ========================================================================== */
.quiz-section {
    background-color: var(--bg-primary);
}

.quiz-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    background-color: var(--bg-card);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    min-height: 600px;
}

/* Left info pane styling */
.quiz-info-pane {
    position: relative;
    padding: 60px 40px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quiz-info-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

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

.quiz-tagline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 16px;
}

.quiz-heading {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
}

.quiz-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
}

.quiz-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.benefit-item i {
    color: var(--accent);
    flex-shrink: 0;
}

/* Right wizard container styling */
.quiz-container {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.quiz-header {
    margin-bottom: 40px;
}

.quiz-step-indicator {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.quiz-progress-bar {
    width: 100%;
    height: 4px;
    background-color: var(--bg-secondary);
}

.quiz-progress-fill {
    height: 100%;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

/* Form Steps */
.quiz-step {
    display: none;
    animation: fadeInStep 0.4s ease-in-out forwards;
}

.quiz-step.active {
    display: block;
}

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

.quiz-question {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.3;
}

/* Quiz Option grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

/* Custom Checkbox/Radio Option Cards */
.quiz-option {
    cursor: pointer;
}

.quiz-option input[type="radio"] {
    display: none;
}

.option-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition-fast);
}

.option-title {
    font-family: var(--font-headings);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 500;
    display: block;
}

.option-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 300;
}

.quiz-option input[type="radio"]:checked + .option-card {
    border-color: var(--accent);
    background-color: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
}

/* Tier Card specific badges */
.tier-card {
    position: relative;
    padding-top: 40px;
    text-align: center;
}

.tier-badge, .tier-badge-recommended {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 12px;
    font-weight: 600;
}

.tier-badge {
    background-color: var(--border);
    color: var(--text-secondary);
}

.tier-badge-recommended {
    background-color: var(--accent);
    color: var(--white);
}

/* Slider Design for Area step */
.quiz-slider-container {
    padding: 30px 0;
}

.slider-val-display {
    text-align: center;
    font-family: var(--font-headings);
    font-size: 3.5rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 24px;
}

.quiz-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 4px;
    background: var(--bg-secondary);
    outline: none;
    margin-bottom: 12px;
}

.quiz-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.quiz-slider::-webkit-slider-thumb:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Lead Form step */
.step-subtext {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
}

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

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

.form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 600;
}

.form-input {
    border: 1px solid var(--border);
    background-color: var(--bg-primary);
    padding: 14px 18px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--accent);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.form-textarea {
    resize: none;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.4;
    margin-top: 10px;
}

.form-checkbox input {
    margin-top: 3px;
    accent-color: var(--accent);
}

/* Quiz Footer / Nav buttons */
.quiz-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

/* Loading Panel */
.quiz-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--bg-secondary);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 24px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.quiz-loading h3 {
    font-family: var(--font-headings);
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 24px;
}

.loading-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    max-width: 320px;
}

.loading-steps li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.loading-steps li i {
    font-size: 0.8rem;
    color: var(--border);
    transition: var(--transition-fast);
}

.loading-steps li.active {
    color: var(--text-primary);
    font-weight: 500;
}

.loading-steps li.active i {
    color: var(--accent);
}

.loading-steps li.done {
    color: var(--text-secondary);
    text-decoration: line-through;
}

.loading-steps li.done i {
    color: var(--accent);
}

/* Success panel */
.quiz-success {
    text-align: center;
    animation: fadeInStep 0.5s ease-out forwards;
}

.success-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.2rem;
}

.quiz-success h3 {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.success-msg {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
}

/* Dynamic price feedback card */
.result-breakdown {
    background-color: var(--bg-primary);
    border: 1px solid var(--border);
    padding: 30px;
    margin-bottom: 36px;
    text-align: left;
}

.result-breakdown h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

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

.result-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.res-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.res-value {
    font-family: var(--font-headings);
    font-size: 1.4rem;
    color: var(--text-primary);
    font-weight: 500;
}

.res-value.font-highlight {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.6rem;
}

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

.btn-tg {
    background-color: #229ED9;
    border-color: #229ED9;
    color: var(--white);
}

.btn-tg:hover {
    background-color: #1e8ec3;
    border-color: #1e8ec3;
    transform: translateY(-2px);
}

/* ==========================================================================
   About Section & Lead Designer Profile
   ========================================================================== */
.about {
    background-color: var(--bg-secondary);
}

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

/* Offset photo styling */
.about-photo-pane {
    position: relative;
    padding-right: 40px;
}

.about-photo-wrapper {
    position: relative;
    z-index: 2;
}

.about-photo-wrapper img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.photo-accent-frame {
    position: absolute;
    top: 40px;
    left: -40px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent);
    z-index: 1;
    pointer-events: none;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 0;
    background-color: var(--text-primary);
    color: var(--white);
    padding: 24px 30px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-md);
}

.exp-years {
    font-family: var(--font-headings);
    font-size: 3rem;
    line-height: 1;
    color: var(--accent);
    font-weight: 400;
}

.exp-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
}

/* Profile details */
.about-content-pane {
    display: flex;
    flex-direction: column;
}

.about-subtitle {
    font-size: 1rem;
    color: var(--accent);
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-top: 30px;
    font-weight: 300;
}

.awards-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.award-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.award-item i {
    color: var(--accent);
    font-size: 1.6rem;
    flex-shrink: 0;
}

.award-item h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.award-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Timeline / Process Section
   ========================================================================== */
.process {
    background-color: var(--bg-primary);
}

.process-timeline {
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
    padding-left: 60px;
}

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

.process-step {
    position: relative;
    margin-bottom: 60px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number-col {
    position: absolute;
    left: -60px;
    top: -5px;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-primary);
    border: 1px solid var(--accent);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-size: 1.1rem;
    font-weight: 500;
    z-index: 2;
    position: relative;
    transition: var(--transition-fast);
}

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

.step-content-col {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 30px;
    transition: var(--transition-smooth);
}

.process-step:hover .step-content-col {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.step-content-col h4 {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-content-col p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 16px;
}

.step-duration {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   Contact Section & Custom CSS Styled Map
   ========================================================================== */
.contacts {
    background-color: var(--bg-secondary);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

/* Contact Form container */
.contact-form-pane {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 50px;
}

.contact-form-pane h3 {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 12px;
}

.contact-pane-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-weight: 300;
}

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

.contact-submit-btn {
    margin-top: 10px;
}

.form-success-message {
    background-color: var(--accent-light);
    color: var(--text-primary);
    padding: 16px 20px;
    border-left: 3px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    animation: fadeInStep 0.4s ease forwards;
}

/* Contact Info Details */
.contact-info-pane {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 4px;
}

.info-item h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 600;
}

.info-item p {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 400;
}

.info-item a:hover {
    color: var(--accent);
}

/* Custom premium-styled map component using CSS Grid */
.mock-map-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.mock-map {
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary); /* light background style */
    position: relative;
}

/* Grid overlay to look like map structures */
.map-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(26, 26, 26, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26, 26, 26, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Style river coordinates */
.map-river {
    position: absolute;
    bottom: 20px;
    left: -20px;
    width: 120%;
    height: 60px;
    background-color: #E2ECF7;
    transform: rotate(-10deg);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* Abstract street lines */
.map-streets {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.map-streets::before, .map-streets::after {
    content: '';
    position: absolute;
    background-color: var(--white);
    box-shadow: 0 0 2px rgba(26,26,26,0.05);
}

/* Vertical primary boulevard */
.map-streets::before {
    top: 0;
    left: 45%;
    width: 14px;
    height: 100%;
    transform: rotate(20deg);
}

/* Horizontal cross street */
.map-streets::after {
    top: 40%;
    left: -50px;
    width: 150%;
    height: 10px;
    transform: rotate(-15deg);
}

/* Golden custom marker */
.map-marker {
    position: absolute;
    top: 42%;
    left: 51%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-pulse {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(197, 168, 128, 0.35);
    animation: markerPulse 2s infinite ease-out;
}

.marker-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--text-primary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--accent);
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

.marker-label {
    margin-top: 8px;
    background-color: var(--text-primary);
    color: var(--white);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--accent);
}

@keyframes markerPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--text-primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-container {
    display: flex;
    flex-direction: column;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    color: var(--white);
}

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

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

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

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-policy-links a {
    color: rgba(255, 255, 255, 0.4);
}

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

/* ==========================================================================
   Scroll to top, floating buttons
   ========================================================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.scroll-to-top.active {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top:hover {
    background-color: var(--text-primary);
    color: var(--white);
    border-color: var(--text-primary);
    transform: translateY(-4px);
}

/* ==========================================================================
   Responsive Adaptations (Media Queries)
   ========================================================================== */

/* Tablet & Large Mobile Screen Breakpoints */
@media (max-width: 992px) {
    section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .hero-title {
        font-size: 3.6rem;
    }
    
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .lightbox-body {
        display: flex;
        flex-direction: column;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .lightbox-img-pane {
        width: 100%;
        height: 0;
        padding-bottom: 62.5%; /* 16:10 Aspect Ratio */
        position: relative;
        flex-shrink: 0;
    }
    
    .lightbox-img-pane img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .lightbox-details-pane {
        padding: 30px;
        flex-grow: 1;
    }
    
    .quiz-layout {
        grid-template-columns: 1fr;
    }
    
    .quiz-info-pane {
        padding: 50px 30px;
        min-height: 220px;
    }
    
    .quiz-container {
        padding: 40px 30px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-photo-pane {
        padding-right: 0;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-photo-wrapper img {
        height: 450px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* Mobile Screen Breakpoints */
@media (max-width: 768px) {
    /* Header controls */
    .burger-menu {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hide-mobile {
        display: none;
    }
    
    /* Mobile Drawer */
    .mobile-nav {
        background-color: rgba(249, 246, 240, 0.96);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--border);
        width: 85%;
        padding: 80px 30px 40px;
    }
    
    .mobile-nav-links {
        gap: 24px;
    }
    
    .mobile-nav-link {
        font-size: 1.2rem;
        font-family: var(--font-headings);
        letter-spacing: 0.05em;
        border-bottom: 1px solid rgba(26, 26, 26, 0.05);
        padding-bottom: 12px;
    }
    
    /* Hero section */
    .hero {
        height: auto;
        min-height: calc(100vh - var(--header-height));
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-container {
        padding-top: 0;
        padding-bottom: 0;
        gap: 40px;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 7vw, 3.2rem);
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .hero-stats {
        gap: 20px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 30px;
        text-align: center;
    }
    
    .stat-card {
        gap: 4px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }
    
    .scroll-indicator {
        display: none; /* Hide scroll line on mobile devices */
    }
    
    /* Quiz styling */
    .quiz-question {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .quiz-slider-container {
        padding: 15px 0;
    }
    
    .slider-val-display {
        font-size: 2.8rem;
        margin-bottom: 15px;
    }
    
    .process-timeline {
        padding-left: 40px;
    }
    
    .process-timeline::before {
        left: 10px;
    }
    
    .step-number-col {
        left: -40px;
    }
    
    .step-num {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .step-content-col {
        padding: 24px;
    }
    
    .contact-form-pane {
        padding: 30px 20px;
    }
    
    .success-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .success-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Small Devices (Phones) */
@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Philosophy Grid */
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophy-card {
        padding: 40px 20px 30px;
    }
    
    /* Portfolio Layout */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    /* Quiz cards 2-column on mobile to prevent huge vertical lists */
    .quiz-options.grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .quiz-options.grid-3 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .option-card {
        padding: 16px 12px;
    }
    
    .option-title {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }
    
    .option-desc {
        font-size: 0.75rem;
    }
    
    .quiz-container {
        padding: 30px 20px;
    }
    
    .result-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .result-breakdown {
        padding: 20px;
    }
    
    /* Lightbox Modal on Phones */
    .lightbox-content {
        width: 95%;
    }
    
    .lightbox-details-pane {
        padding: 20px 16px;
    }
    
    .lightbox-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .lightbox-meta {
        padding: 10px 0;
        margin-bottom: 16px;
    }
    
    .meta-item {
        font-size: 0.85rem;
    }
    
    .lightbox-desc {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }
    
    /* About image & badge */
    .about-photo-wrapper img {
        height: 320px;
    }
    
    .experience-badge {
        padding: 12px 18px;
        bottom: -15px;
    }
    
    .exp-years {
        font-size: 2.2rem;
    }
    
    .exp-text {
        font-size: 0.6rem;
        letter-spacing: 0.1em;
    }
    
    /* Footer items */
    .footer {
        padding: 60px 0 30px;
        text-align: center;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .footer-policy-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Touch Screens: Always show titles on cards since hover isn't native */
@media (hover: none) {
    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.3) 50%, transparent 100%);
        padding: 24px 20px;
    }
    
    .portfolio-category,
    .portfolio-item-title {
        transform: translateY(0);
    }
    
    .portfolio-link-text {
        display: none; /* Hide button to keep it clean */
    }
}

