/* ========================================
   YASMEEN CREATIVE - Main Stylesheet
   ======================================== */

/* ========================================
   SELF-HOSTED FONTS
   ======================================== */
/* Albert Sans */
@font-face {
    font-family: 'Albert Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/albert-sans-latin-400-normal.woff2') format('woff2'),
         url('../fonts/albert-sans-latin-400-normal.woff') format('woff');
}
@font-face {
    font-family: 'Albert Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/albert-sans-latin-500-normal.woff2') format('woff2'),
         url('../fonts/albert-sans-latin-500-normal.woff') format('woff');
}
@font-face {
    font-family: 'Albert Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/albert-sans-latin-600-normal.woff2') format('woff2'),
         url('../fonts/albert-sans-latin-600-normal.woff') format('woff');
}
@font-face {
    font-family: 'Albert Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/albert-sans-latin-700-normal.woff2') format('woff2'),
         url('../fonts/albert-sans-latin-700-normal.woff') format('woff');
}

/* Barlow */
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'),
         url('../fonts/barlow-latin-400-normal.woff') format('woff');
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2'),
         url('../fonts/barlow-latin-500-normal.woff') format('woff');
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'),
         url('../fonts/barlow-latin-600-normal.woff') format('woff');
}
@font-face {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/barlow-latin-700-normal.woff2') format('woff2'),
         url('../fonts/barlow-latin-700-normal.woff') format('woff');
}

:root {
    --primary: #4abd92;
    --primary-text: #2d8a6b; /* Darker green for text - better contrast */
    --secondary: #221c58;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --light-grey: #f8f9fa;
    --medium-grey: #6c757d;
    --dark-grey: #2d2d2d;
    --text-grey: #4a4a4a;
    --primary-light: rgba(74, 189, 146, 0.1);
    --primary-dark: #3ea57f;
    --secondary-light: rgba(34, 28, 88, 0.05);
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { 
    font-family: 'Barlow', sans-serif; 
    color: var(--dark-grey); 
    line-height: 1.7; 
    overflow-x: hidden;
    background: var(--white);
}

/* Desktop scaled effect - using font-size for cross-browser compatibility */
@media (min-width: 64.0625rem) {
    html {
        font-size: 17.6px; /* 16px Ãƒâ€” 1.1 = 17.6px for 10% larger */
    }
}

h1, h2, h3, h4, h5, h6 { 
    font-family: 'Albert Sans', sans-serif; 
    font-weight: 600; 
    line-height: 1.2; 
    color: var(--secondary);
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
ul { list-style: none; }
.container { max-width: 75rem; margin: 0 auto; padding: 0 1.875rem; }

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(1.25rem);
    backdrop-filter: blur(1.25rem);
    border-bottom: 0.0625rem solid rgba(34, 28, 88, 0.08);
    transition: all 0.3s ease;
}
.nav.scrolled {
    box-shadow: 0 0.25rem 1.875rem rgba(34, 28, 88, 0.1);
}
.nav.scrolled .nav-inner {
    padding: 0.3125rem 1.875rem;
}
.nav.scrolled .nav-logo img {
    height: 4.9375rem;
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 1.875rem;
    max-width: 75rem;
    margin: 0 auto;
    transition: padding 0.3s ease;
}
.nav-logo img {
    height: 6.5625rem;
    width: auto;
    transition: height 0.3s ease;
}
.nav-links {
    display: flex;
    gap: 1.875rem;
    align-items: center;
}
.nav-links a {
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 0.3125rem 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.125rem;
    background: var(--primary);
    transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}
.nav-links a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}
.nav-links a.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 1rem 2.5rem;
    border-radius: 3.125rem;
    font-weight: 600;
    border: 0.125rem solid var(--primary);
    margin-left: 1.5rem;
}
.nav-links a.nav-cta:hover {
    background: transparent;
    color: var(--primary) !important;
}
.nav-links a.nav-cta::after { display: none; }

/* Dropdown Menu */
.nav-links li {
    position: relative;
    list-style: none;
}
.nav-dropdown {
    position: relative;
}
.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-dropdown > a::before {
    content: '';
    position: absolute;
    right: -0.875rem;
    top: 50%;
    transform: translateY(-50%);
    border-left: 0.25rem solid transparent;
    border-right: 0.25rem solid transparent;
    border-top: 0.25rem solid currentColor;
    transition: transform 0.3s ease;
}
.nav-dropdown:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 12.5rem;
    padding: 0.75rem 0;
    border-radius: 0.5rem;
    box-shadow: 0 0.625rem 2.5rem rgba(34, 28, 88, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 0.5rem;
}
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}
@media (hover: hover) and (pointer: fine) {
    .nav-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
}
.dropdown-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.dropdown-menu a::after {
    display: none;
}
.dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 1.5rem;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.625rem 2.5rem rgba(34, 28, 88, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    min-width: 28rem;
}
.mega-menu::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}
@media (hover: hover) and (pointer: fine) {
    .has-mega-menu:hover .mega-menu {
        opacity: 1;
        visibility: visible;
    }
}
.mega-menu-column h4,
.mega-menu-header {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--primary-light);
    text-decoration: none;
    transition: color 0.2s ease;
}
.mega-menu-header:hover {
    color: var(--secondary);
    transform: none;
}
.mega-menu-view-all {
    display: none;
}
.mega-menu-column a {
    display: block;
    padding: 0.625rem 0;
    text-decoration: none;
    transition: all 0.2s ease;
}
.mega-menu-column a::after {
    display: none;
}
.mega-menu-column a:hover {
    transform: translateX(0.25rem);
}
.mega-menu-column a:hover .mega-link-title {
    color: var(--primary);
}
.mega-link-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.125rem;
    transition: color 0.2s ease;
}
.mega-link-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-grey);
    font-weight: 400;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.3125rem;
    cursor: pointer;
    padding: 0.625rem;
    background: none;
    border: none;
    z-index: 1001;
}
.mobile-menu-btn span {
    width: 1.5625rem;
    height: 0.125rem;
    background: var(--secondary);
    transition: all 0.3s ease;
}
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(0.3125rem, 0.3125rem);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(0.3125rem, -0.3125rem);
}
.mobile-menu-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ========================================
   HERO SECTIONS
   ======================================== */
.hero {
    padding: 9rem 0 4rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1545 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(74, 189, 146, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 37.5rem;
}
.hero-badge {
    display: inline-block;
    background: rgba(74, 189, 146, 0.2);
    border: 0.0625rem solid rgba(74, 189, 146, 0.3);
    padding: 0.625rem 1.5rem;
    border-radius: 3.125rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}
.hero h1 span {
    color: var(--primary); /* Green on dark bg is fine */
}
.hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9375rem;
}
.hero-img-1,
.hero-img-2 {
    width: 100%;
    height: 15.625rem;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 1.875rem 3.75rem rgba(0, 0, 0, 0.3);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 34.375rem;
    margin-left: auto;
}
.slider-container {
    position: relative;
    width: 100%;
    height: 26.25rem;
    overflow: hidden;
    border-radius: 1.25rem;
    box-shadow: 0 1.875rem 3.75rem rgba(0, 0, 0, 0.4);
}
.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
    height: 100%;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 0.625rem;
    pointer-events: none;
}
.slider-btn {
    width: 2.8125rem;
    height: 2.8125rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.2);
}
.slider-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.slider-dot {
    width: 0.875rem;
    height: 0.875rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Increase touch target without changing visual size */
    padding: 0.375rem;
    box-sizing: content-box;
    background-clip: content-box;
}
.slider-dot.active {
    background: var(--primary);
    background-clip: content-box;
    transform: scale(1.2);
}
.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    background-clip: content-box;
}

/* Page Hero (smaller) */
.page-hero {
    padding: 9rem 0 3rem;
    background: linear-gradient(135deg, var(--secondary) 0%, #1a1545 100%);
    text-align: center;
    position: relative;
}
.page-hero h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 0.9375rem;
}
.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 37.5rem;
    margin: 0 auto;
}
.breadcrumb {
    margin-top: 1.25rem;
    font-size: 0.9rem;
}
.breadcrumb a {
    color: var(--primary);
}
.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* Service Hero Image Section */
.service-hero-section {
    padding: 3.75rem 0;
    background: var(--white);
}
.service-hero-image {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.625rem 2.5rem rgba(34, 28, 88, 0.1);
}
.service-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.9375rem 2rem;
    border-radius: 3.125rem;
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 0.125rem solid transparent;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}
.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary);
}
.btn-dark {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}
.btn-dark:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-white:hover {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 4rem 0;
}
.section-light {
    background: var(--light-grey);
}
.section-dark {
    background: var(--secondary);
}
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-text);
    padding: 0.5rem 1.25rem;
    border-radius: 3.125rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.section-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-grey);
    max-width: 37.5rem;
    margin: 0 auto;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    background: var(--white);
    padding: 2.5rem 0;
    box-shadow: 0 0.625rem 2.5rem rgba(34, 28, 88, 0.08);
    position: relative;
    z-index: 10;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item h3,
.stat-item .stat-number {
    font-family: 'Albert Sans', sans-serif;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
    display: block;
}
.stat-item p {
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.services-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}
.service-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.625rem 2.5rem rgba(34, 28, 88, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 1.25rem 2.5rem rgba(34, 28, 88, 0.15);
}
.service-card-img {
    height: 12.5rem;
    overflow: hidden;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.service-card:hover .service-card-img img {
    transform: scale(1.05);
}
.service-card-content {
    padding: 1.5rem;
    text-align: center;
}
.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.service-card p {
    color: var(--text-grey);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.service-card .price {
    font-weight: 700;
    color: var(--primary-text);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* ========================================
   PRICING CARDS
   ======================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.pricing-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 0.625rem 2.5rem rgba(34, 28, 88, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 1.25rem 2.5rem rgba(34, 28, 88, 0.15);
}
.pricing-card.featured {
    border: 0.125rem solid var(--primary);
}
.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.375rem 1.25rem;
    border-radius: 3.125rem;
    font-size: 0.8rem;
    font-weight: 600;
}
.pricing-tier {
    color: var(--primary-text);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.625rem;
}
.pricing-name {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}
.pricing-features {
    text-align: left;
    margin-bottom: 1.5rem;
}
.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-grey);
    font-size: 0.95rem;
    border-bottom: 0.0625rem solid var(--light-grey);
    position: relative;
    padding-left: 1.75rem;
}
.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    width: 1rem;
    height: 1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338b593' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ========================================
   PACKAGE CARDS (Bundled)
   ======================================== */
.package-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
}
.package-section-featured {
    background: rgba(74, 189, 146, 0.1);
    border: 0.125rem solid var(--primary);
}
.package-section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
}
.package-section-header h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin: 0;
}
.best-value-badge {
    background: var(--primary);
    color: var(--white);
    padding: 0.375rem 1rem;
    border-radius: 3.125rem;
    font-size: 0.8rem;
    font-weight: 600;
}
.package-section .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.package-card {
    background: var(--white);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    min-height: 11.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.package-card h4 {
    color: var(--secondary);
    font-size: 1rem;
    margin-bottom: 0.625rem;
}
.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-text);
}
.package-original {
    color: var(--text-grey);
    font-size: 0.85rem;
    text-decoration: line-through;
}
.package-details {
    color: var(--text-grey);
    font-size: 0.85rem;
    margin-top: 0.625rem;
}
.package-savings {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-text);
    padding: 0.3125rem 0.75rem;
    border-radius: 3.125rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.625rem;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.why-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 0.3125rem 1.25rem rgba(34, 28, 88, 0.05);
}
.why-icon {
    width: 3.75rem;
    height: 3.75rem;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 1rem;
}
.why-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    stroke: var(--primary);
}
.why-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.why-card p {
    font-size: 0.9rem;
    color: var(--text-grey);
}

/* ========================================
   CONTENT GRID
   ======================================== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    overflow: hidden;
}
.content-grid.reverse {
    direction: rtl;
}
.content-grid.reverse > * {
    direction: ltr;
}
.content-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9375rem;
    overflow: hidden;
    min-height: 0;
}
.content-images img {
    border-radius: 0.75rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-height: 18.75rem;
    min-height: 0;
}
.content-text {
    max-width: 31.25rem;
}
.content-text h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}
.content-text p {
    color: var(--text-grey);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
}
.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}
.features-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--dark-grey);
    font-size: 0.95rem;
}
.features-list li::before {
    content: '';
    background: var(--primary);
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
}

/* ========================================
   PORTFOLIO
   ======================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.9375rem;
}
.portfolio-item {
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.portfolio-item:hover img {
    transform: scale(1.05);
}

/* ========================================
   CONTACT
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}
.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}
.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--primary);
}
.contact-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}
.contact-text a,
.contact-text p {
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
}
.contact-text a:hover {
    color: var(--primary);
}
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 0.625rem 2.5rem rgba(34, 28, 88, 0.08);
}
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}
.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--secondary);
    font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 0.0625rem solid #e0e0e0;
    border-radius: 0.5rem;
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-group textarea {
    height: 6.25rem;
    resize: vertical;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.125rem;
}
.form-submit {
    width: 100%;
    background: var(--secondary);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 3.125rem;
    font-family: 'Barlow', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
.form-submit:hover {
    background: var(--primary);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 4rem 0;
    background: var(--primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
    pointer-events: none;
}
.cta-section h2 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 1.125rem;
}
.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 31.25rem;
    margin: 0 auto 1.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #1a1545;
    padding: 3rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-brand img {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-0.125rem);
}
.footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: var(--white);
}
.footer-column h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}
.footer-column li {
    margin-bottom: 0.5rem;
}
.footer-column a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}
.footer-column a:hover {
    color: var(--primary);
}
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}
.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE - TABLET (1024px)
   ======================================== */
@media (max-width: 64rem) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-images { order: -1; }
    .hero h1 { font-size: 2.6rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .package-section .pricing-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; gap: 2.1875rem; }
    .contact-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========================================
   RESPONSIVE - MOBILE (768px)
   ======================================== */
@media (max-width: 48rem) {
    .container { padding: 0 1.25rem; }
    
    /* Mobile Navigation */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.875rem;
        z-index: 9999;
    }
    .nav-links.active {
        display: flex;
        overflow-y: auto;
        max-height: calc(100vh - 60px);
        padding-bottom: 5rem;
    }
    .nav-links li {
        list-style: none;
    }
    .nav-links a {
        font-size: 1.5rem;
        color: var(--secondary);
        font-weight: 600;
    }
    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary);
    }
    .nav-links li:last-child {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .nav-links .nav-cta {
        background: var(--primary);
        color: var(--white) !important;
        padding: 0.75rem 1.5625rem;
        border-radius: 0.5rem;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .header-arrow {
        font-size: 0.7em;
    }
    
    /* Mobile Dropdown */
    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .nav-dropdown > a {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 0.5rem;
    }
    .nav-dropdown > a::before {
        position: static;
        transform: none;
        transition: transform 0.3s ease;
    }
    .nav-dropdown.open > a::before {
        transform: rotate(180deg);
    }
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: transparent;
        min-width: auto;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    .nav-dropdown.open .dropdown-menu {
        max-height: 25rem;
        padding: 0.75rem 0;
    }
    .dropdown-menu a {
        display: block;
        font-size: 1.1rem;
        padding: 0.625rem 0;
        text-align: center;
        color: var(--text-grey);
        font-weight: 500;
    }
    .dropdown-menu a:hover {
        background: transparent;
        padding-left: 0;
    }

    /* Mobile Mega Menu */
    .mega-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: transparent;
        min-width: auto;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    .has-mega-menu.open .mega-menu {
        max-height: 50rem;
        padding: 0.75rem 0;
    }
    .mega-menu-column {
        text-align: center;
        width: 100%;
    }
    .mega-menu-column h4,
    .mega-menu-header {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
        margin-top: 0.75rem;
        padding-bottom: 0.25rem;
        border-bottom: none;
    }
    .mega-menu-column:first-child h4,
    .mega-menu-column:first-child .mega-menu-header {
        margin-top: 0;
    }
    .mega-menu-view-all {
        display: block;
        font-size: 0.75rem;
        color: var(--text-grey);
        font-weight: 400;
        margin-top: 0.25rem;
        padding: 0.5rem 0;
    }
    .mega-menu-view-all:hover {
        color: var(--primary);
        transform: none;
    }
    .mega-menu-column:last-child {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(74, 189, 146, 0.2);
    }
    .mega-menu-column a {
        padding: 0.5rem 0;
    }
    .mega-menu-column a:hover {
        transform: none;
    }
    .mega-link-title {
        font-size: 1.1rem;
        color: var(--text-grey);
        font-weight: 500;
    }
    .mega-link-desc {
        display: none;
    }

    .mobile-menu-btn { 
        display: flex; 
        z-index: 10000;
        position: relative;
    }
    .nav-logo img { height: 4.6875rem; }
    
    /* Hero */
    .hero { padding: 8rem 0 3rem; }
    .hero h1 { font-size: 1.9rem; }
    .hero p { font-size: 1rem; margin-bottom: 1.5625rem; }
    .hero-images { 
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.625rem;
    }
    .hero-img-1,
    .hero-img-2 {
        height: auto;
        aspect-ratio: 1;
    }
    
    /* Hero Slider Mobile */
    .hero-slider {
        max-width: 100%;
        margin-top: 1.875rem;
    }
    .slider-container {
        height: 17.5rem;
        border-radius: 1rem;
    }
    .slider-btn {
        width: 2.375rem;
        height: 2.375rem;
        font-size: 0.875rem;
    }
    .slider-dots {
        margin-top: 0.9375rem;
    }
    .slider-dot {
        width: 0.5rem;
        height: 0.5rem;
    }
    
    /* Page Hero */
    .page-hero { padding: 8rem 0 2.5rem; }
    .page-hero h1 { font-size: 1.8rem; }
    .page-hero p { font-size: 0.95rem; }
    
    /* Service Hero Image */
    .service-hero-section { padding: 2rem 0; }
    .service-hero-image { border-radius: 0.75rem; }
    
    /* Sections */
    .section { padding: 3rem 0; }
    .section-header { margin-bottom: 2rem; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 1rem; }
    
    /* Stats */
    .stats-bar { padding: 2rem 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .stat-item h3, .stat-item .stat-number { font-size: 2rem; }
    .stat-item p { font-size: 0.85rem; }
    
    /* Service Cards - 2 column */
    .services-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .service-card-img { height: 8.125rem; }
    .service-card-content { padding: 0.9375rem; }
    .service-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
    .service-card p { font-size: 0.85rem; margin-bottom: 0.625rem; }
    .service-card .price { font-size: 0.95rem; margin-bottom: 0.625rem; }
    .service-card .btn { padding: 0.625rem 1rem; font-size: 0.85rem; }
    
    /* Pricing Cards */
    .pricing-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .pricing-card { padding: 1.875rem 1.5625rem; }
    .pricing-price { font-size: 2.5rem; }
    
    /* Package Sections */
    .package-section { padding: 1.5625rem 1.25rem; margin-bottom: 1.5625rem; }
    .package-section-header { margin-bottom: 1.5625rem; }
    .package-section-header h3 { font-size: 1.4rem; }
    
    /* Package Cards - 2 column */
    .package-card { padding: 1.125rem 0.875rem; min-height: 10rem; border-radius: 0.75rem; }
    .package-price { font-size: 1.6rem; }
    .package-card h4 { font-size: 0.9rem; margin-bottom: 0.5rem; }
    .package-details { font-size: 0.75rem; margin-top: 0.5rem; }
    .package-savings { font-size: 0.7rem; padding: 0.25rem 0.625rem; }
    
    /* Why Grid - 2 column */
    .why-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .why-card { padding: 1.25rem 0.9375rem; }
    .why-icon { width: 2.8125rem; height: 2.8125rem; font-size: 1.2rem; margin-bottom: 0.75rem; }
    .why-card h3 { font-size: 0.95rem; margin-bottom: 0.375rem; }
    .why-card p { font-size: 0.8rem; }
    
    /* Content Grid */
    .content-grid { gap: 1.875rem; }
    .content-images { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
    .content-images img { aspect-ratio: 1; }
    .content-text h2 { font-size: 1.7rem; }
    .content-text p { font-size: 0.95rem; }
    
    /* Portfolio - 2 column */
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    
    /* Features List */
    .features-list { grid-template-columns: 1fr; gap: 0.625rem; }
    .features-list li { font-size: 0.9rem; }
    .features-list li::before { width: 1.375rem; height: 1.375rem; font-size: 0.7rem; }
    
    /* Contact */
    .contact-grid { gap: 2rem; }
    .contact-info h2 { font-size: 1.7rem; }
    .contact-form { padding: 1.875rem 1.5625rem; }
    .contact-form h3 { font-size: 1.3rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    
    /* Footer */
    .footer { padding: 2.5rem 0 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .footer-social { justify-content: center; }
    
    /* CTA */
    .cta-section { padding: 3rem 0; }
    .cta-section h2 { font-size: 1.8rem; }
    .cta-section p { font-size: 1rem; }
    
    /* Buttons */
    .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
}

/* ========================================
   RESPONSIVE - SMALL MOBILE (480px)
   ======================================== */
@media (max-width: 30rem) {
    .hero h1 { font-size: 1.7rem; }
    .hero p { font-size: 0.95rem; }
    .section-title { font-size: 1.6rem; }
    .stat-item h3, .stat-item .stat-number { font-size: 1.8rem; }
    .pricing-price { font-size: 2.2rem; }
    .btn { padding: 0.6875rem 1.25rem; font-size: 0.85rem; }
    .service-card .btn { padding: 0.6875rem 1.25rem; font-size: 0.85rem; }
    .package-price { font-size: 1.6rem; }
    
    /* Single column for very small screens */
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    .service-card-img { height: 10rem; }
    .why-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(74, 189, 146, 0.3);
}
.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top svg {
    width: 1.25rem;
    height: 1.25rem;
}
@media (max-width: 48rem) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 2.75rem;
        height: 2.75rem;
    }
}

/* ========================================
   LEGAL PAGES (Privacy Policy, Terms)
   ======================================== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}
.legal-content h1, .legal-content h2, .legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-grey);
}
.legal-content p {
    margin-bottom: 1rem;
    color: var(--medium-grey);
}
.legal-content ol, .legal-content ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}
.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--medium-grey);
}
.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.legal-content th, .legal-content td {
    border: 1px solid var(--light-grey);
    padding: 0.75rem;
    text-align: left;
}
.legal-content th {
    background: var(--off-white);
    font-weight: 600;
}
.legal-content strong {
    color: var(--dark-grey);
}

/* ========================================
   PORTFOLIO FILTERS
   ======================================== */
.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    border: 2px solid var(--secondary);
    background: transparent;
    color: var(--secondary);
    border-radius: 2rem;
    font-family: 'Barlow', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn:focus {
    background: var(--secondary);
    color: var(--white);
    outline: none;
}

.filter-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.filter-btn.active,
.filter-btn[aria-pressed="true"] {
    background: var(--secondary);
    color: var(--white);
}

/* Portfolio item filtering */
.portfolio-item {
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.portfolio-item:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

/* Mobile filters */
@media (max-width: 48rem) {
    .portfolio-filters {
        gap: 0.5rem;
    }
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* ========================================
   LIGHTBOX (Accessible Image Viewer)
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    padding: 0;
    border: none;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.95);
}

.lightbox[open] {
    display: flex;
    flex-direction: column;
}

.lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    z-index: 10;
}

#lightbox-counter {
    color: var(--white);
    font-size: 0.875rem;
    font-family: 'Barlow', sans-serif;
}

.lightbox-close {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.lightbox-close:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 4rem 1rem 2rem;
    position: relative;
}

.lightbox-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 80vh;
    margin: 0;
}

#lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 0.25rem;
}

.lightbox-caption {
    color: var(--white);
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9375rem;
    font-family: 'Barlow', sans-serif;
    max-width: 600px;
    line-height: 1.5;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    transition: background 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.lightbox-nav:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

/* Mobile lightbox */
@media (max-width: 48rem) {
    .lightbox-nav {
        padding: 0.75rem;
    }
    .lightbox-prev {
        left: 0.5rem;
    }
    .lightbox-next {
        right: 0.5rem;
    }
    #lightbox-image {
        max-height: 60vh;
    }
    .lightbox-header {
        padding: 0.75rem 1rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .portfolio-item,
    .lightbox,
    .lightbox-nav,
    .lightbox-close,
    .filter-btn {
        transition: none;
    }
    .portfolio-item:hover {
        transform: none;
    }
}

/* Visually hidden (for screen readers) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   BLOG CONTENT STYLES
   ======================================== */
.page-hero + .section {
    padding-top: 3rem;
}

.blog-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-content p {
    margin-bottom: 1.25rem;
}

.blog-content .features-list {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.blog-content .features-list li {
    align-items: flex-start;
}

.blog-content a {
    color: var(--primary-text);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.3s ease;
}

.blog-content a:hover {
    text-decoration-color: var(--primary-text);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-white { color: var(--white) !important; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-primary-bold { color: var(--primary); font-weight: 600; }

/* Button margin utilities */
.btn--mt { margin-top: 1.5rem; }
.btn--mb { margin-bottom: 0.75rem; }

/* Section tag variants */
.section-tag--light { background: rgba(74, 189, 146, 0.2); }

/* Dark section text */
.section-dark .section-title { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255, 255, 255, 0.8); }

/* Content images single column */
.content-images--single { grid-template-columns: 1fr; }

/* Container narrow for blog */
.container--narrow { max-width: 800px; }

/* Card link (for blog cards) */
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { text-decoration: none; }

/* Flex utilities */
.flex-center { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.flex-gap { display: flex; gap: 15px; flex-wrap: wrap; }

/* Spacing utilities */
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

/* Thank you page specific */
.thank-you-hero { min-height: 60vh; display: flex; align-items: center; }
.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-you-message { font-size: 1.2rem; max-width: 600px; margin: 20px auto 30px; }
.why-grid--narrow { max-width: 900px; margin: 0 auto; }

/* Promo box */
.promo-box {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
}
.promo-box--highlight {
    background: var(--light-grey);
    border: 2px solid var(--primary);
}
.promo-box h3 { margin-bottom: 10px; }
.promo-box p { color: var(--text-grey); margin-bottom: 15px; }
.promo-box .price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}
