/* ============================================================
   Den-mas Ventures — Home Page Sleek Redesign (home.css)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --gold:       #f39c12;
    --gold-dark:  #e67e22;
    --gold-light: rgba(243,156,18,0.12);
    --navy:       #1a2740;
    --navy-mid:   #243350;
    --off-white:  #f4f5f8;
    --surface:    #ffffff;
    --text-main:  #1a2740;
    --text-muted: #6b7a99;
    --border:     rgba(0,0,0,0.06);
    --canvas:     #f5f7fb;
    --ink:        #172033;
    --ink-soft:   #526174;
    --line:       #dbe3ee;
    --brand:      #f59e0b;
    --brand-soft: #fff4dc;
    --brand-strong: #d97706;
    --rsm:  8px;
    --rmd:  14px;
    --rlg:  22px;
    --rxl:  32px;
    --shsm: 0 2px 10px rgba(0,0,0,0.06);
    --shmd: 0 8px 30px rgba(0,0,0,0.10);
    --shlg: 0 20px 60px rgba(0,0,0,0.14);
    --t:    all 0.28s cubic-bezier(0.4,0,0.2,1);
}

body { font-family: 'Inter', system-ui, sans-serif; background: var(--off-white); color: var(--text-main); }

/* Light mode theme variable overrides */
html[data-theme="light"] {
    --surface: #ffffff;
    --off-white: #f4f5f8;
    --canvas: #f5f7fb;
    --text-main: #1a2740;
    --text-muted: #6b7a99;
    --border: rgba(0,0,0,0.06);
    --ink: #172033;
    --ink-soft: #526174;
    --line: #dbe3ee;
}

/* Dark mode theme variable overrides */
html[data-theme="dark"] {
    --surface: #1a2332;
    --off-white: #0f1419;
    --canvas: #141a24;
    --text-main: #e8ecf2;
    --text-muted: #8b95a8;
    --border: rgba(255,255,255,0.08);
    --ink: #e8ecf2;
    --ink-soft: #a8b3c4;
    --line: #2a3441;
}

/* ===== HERO ===== */
.hero {
    margin-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 58px;
    padding-bottom: 80px;
    background: #1a2740;
}
/* Background image slider container */
.hero-background-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}
/* Individual background images */
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    transform: scale(1);
    animation: none;
}
.hero-bg-image.active {
    opacity: 1;
    animation: heroZoom 8s ease-out forwards;
}
@keyframes heroZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.15);
    }
}
/* Overlay layer - ALWAYS DARK regardless of theme - MUST be above images */
.hero-overlay-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(26,39,64,0.88) 0%, rgba(36,51,80,0.92) 100%);
    z-index: 2 !important;
    pointer-events: none !important;
}

/* DARK MODE: Much heavier overlay to completely hide background image */
html[data-theme="dark"] .hero-overlay-layer {
    background: linear-gradient(130deg, rgba(13,17,23,0.96) 0%, rgba(22,27,34,0.98) 100%) !important;
}
/* Grid pattern overlay */
.hero > div:first-child {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 3;
    pointer-events: none;
}
/* Grid pattern overlay */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 3;
    pointer-events: none;
}

/* Ensure grid is visible in both themes */
html[data-theme="light"] .hero-grid-pattern,
html[data-theme="dark"] .hero-grid-pattern {
    display: block !important;
    opacity: 1 !important;
}
@keyframes blobPulse {
    0%   { transform:scale(1) translate(0,0); }
    100% { transform:scale(1.15) translate(-3%,5%); }
}
.hero-overlay { display:none !important; }
.hero-content {
    position:relative;
    z-index:10;
    max-width:820px;
    text-align:center;
    padding:40px 24px 60px;
    animation:heroFadeIn 0.9s ease both;
}
@keyframes heroFadeIn {
    from { opacity:0; transform:translateY(20px); }
    to   { opacity:1; transform:translateY(0); }
}
.hero-title {
    font-size:clamp(36px,5.5vw,62px);
    font-weight:800;
    line-height:1.1;
    letter-spacing:-1.5px;
    margin-bottom:18px;
    background:linear-gradient(135deg,#ffffff 30%,#f39c12 80%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    text-shadow:none;
    animation:none;
    transition: opacity 0.6s ease, transform 0.6s ease !important;
    min-height: 136px;
    color: #ffffff;
}
.hero-title .highlight {
    background:linear-gradient(135deg,#f39c12 30%,#e67e22 80%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
}
.hero-subtitle {
    font-size:clamp(14px,1.8vw,18px);
    color:rgba(255,255,255,0.85);
    line-height:1.75;
    margin-bottom:34px;
    max-width:600px;
    margin-left:auto;
    margin-right:auto;
    animation:none;
    font-weight:400;
    transition: opacity 0.6s ease, transform 0.6s ease !important;
    min-height: 95px;
}

/* Hero Text Transition Animations */
.hero-title.fade-out,
.hero-subtitle.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.hero-title.fade-in,
.hero-subtitle.fade-in {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-buttons {
    display:flex;
    gap:12px;
    justify-content:center;
    flex-wrap:wrap;
    margin-bottom:48px;
    animation:none;
}
.hero-buttons .btn-primary {
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:linear-gradient(135deg,var(--gold),var(--gold-dark));
    color:#fff;
    padding:13px 28px;
    border-radius:var(--rxl);
    font-size:14px;
    font-weight:700;
    text-decoration:none;
    border:none;
    box-shadow:0 6px 24px rgba(243,156,18,0.4);
    transition:var(--t);
    animation:none;
}
.hero-buttons .btn-primary:hover {
    transform:translateY(-2px);
    box-shadow:0 10px 32px rgba(243,156,18,0.55);
}
.hero-buttons .btn-secondary {
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(255,255,255,0.06);
    color:rgba(255,255,255,0.88);
    padding:13px 28px;
    border-radius:var(--rxl);
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    border:1px solid rgba(255,255,255,0.16);
    backdrop-filter:blur(10px);
    transition:var(--t);
}
.hero-buttons .btn-secondary:hover {
    background:rgba(255,255,255,0.12);
    border-color:rgba(255,255,255,0.3);
    transform:translateY(-2px);
    color:#fff;
}
.hero-stats {
    display:flex;
    gap:12px;
    justify-content:center;
    flex-wrap:wrap;
    animation:none;
    max-width:540px;
    margin:30px auto 0;
    align-items:center;
    width:100%;
}
.hero-stat {
    display:flex;
    align-items:center;
    gap:12px;
    background:rgba(255,255,255,0.10);
    backdrop-filter:blur(14px);
    border:1px solid rgba(255,255,255,0.15);
    border-radius:var(--rlg);
    padding:14px 20px;
    flex:0 0 auto;
    width:auto;
    min-width:unset;
    animation:none;
    transition:var(--t);
    justify-content:center;
}
.hero-stat:hover {
    background:rgba(255,255,255,0.15);
    border-color:rgba(243,156,18,0.4);
    transform:translateY(-2px);
}
.hero-stat i      { font-size:22px; color:var(--gold); animation:none; flex-shrink: 0; }
.hero-stat strong { font-size:17px; font-weight:700; color:#fff; display:block; line-height:1.2; margin-bottom:2px; }
.hero-stat span   { font-size:11.5px; color:rgba(255,255,255,0.75); display:block; line-height:1.3; }
.hero-scroll-indicator {
    position:absolute;
    bottom:28px;
    left:50%;
    transform:translateX(-50%);
    color:rgba(255,255,255,0.35);
    font-size:20px;
    cursor:pointer;
    z-index:10;
    animation:scrollBounce 2.5s ease-in-out infinite;
    transition:color 0.3s;
}
.hero-scroll-indicator:hover { color:var(--gold); }
@keyframes scrollBounce {
    0%,100% { transform:translateX(-50%) translateY(0); }
    50%      { transform:translateX(-50%) translateY(7px); }
}

/* ===== SECTIONS ===== */
.home-section { padding:20px 0; }
.section-header { text-align:center; margin-bottom:20px; }
.section-header h2 {
    font-size:clamp(24px,3.5vw,38px);
    font-weight:800;
    color:var(--text-main);
    margin-bottom:10px;
    letter-spacing:-0.5px;
    display:block;
    position:static;
}
.section-header h2::after { display:none !important; }
.section-header p  { font-size:15px; color:var(--text-muted); font-weight:400; margin-top:8px; }
.section-header::after {
    content:'';
    display:block;
    width:36px;
    height:3px;
    background:linear-gradient(90deg,var(--gold),var(--gold-dark));
    border-radius:3px;
    margin:14px auto 0;
}

/* ===== SERVICES PREVIEW ===== */
.services-preview { 
    background: var(--surface); 
    position: relative;
    margin-top: -60px;
    z-index: 20;
    border-radius: 40px 40px 0 0;
    padding-top: 80px;
}
.services-preview::before { display:none !important; }
.services-preview-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
    margin-bottom:20px;
    position:static;
    z-index:auto;
}
.service-preview-card {
    background: var(--surface);
    padding: 20px 16px;
    border-radius: var(--rlg);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--t);
    position: relative;
    overflow: hidden;
    box-shadow: none;
    cursor: default;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: auto;
    height: auto;
}
.service-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    opacity: 0;
    transition: opacity 0.28s ease;
    border-radius: var(--rmd) var(--rmd) 0 0;
    z-index: 1;
}
.service-preview-card:hover::before {
    opacity: 0;
}
/* Remove the dark fill on hover */
.service-preview-card::after {
    display: none;
}
.service-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 39, 64, 0.15);
    border-color: var(--border);
}
.service-preview-card > * {
    position: relative;
    z-index: 2;
}

/* Service Preview Image (NEW) */
.service-preview-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    z-index: 2;
}

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

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

/* Service Content Container */
.service-preview-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-preview-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    margin: 0 auto 12px auto;
    transition: var(--t);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}
.service-preview-icon::after {
    display: none !important;
}
.service-preview-card:hover .service-preview-icon {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.45);
}
.service-preview-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 6px 0;
    transition: color 0.28s;
}
.service-preview-card:hover h3 {
    color: var(--gold);
}
.service-preview-card p {
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0 0 10px 0;
    transition: color 0.28s;
}
.service-preview-card:hover p {
    color: var(--text-main);
}
.service-link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gold-light);
    color: var(--gold);
    font-size: 12px;
    text-decoration: none;
    transition: var(--t);
    opacity: 1;
    transform: translateY(0);
    margin: 0 auto;
}
.service-preview-card:hover .service-link-arrow {
    opacity: 1;
    transform: translateY(0);
}
.service-link-arrow:hover {
    background: var(--gold);
    color: #fff;
    transform: translateY(-2px) !important;
}

/* ===== FEATURED PROJECTS ===== */
.featured-projects-home { 
    background:var(--off-white); 
}
.featured-projects-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
    margin-bottom:20px;
}
.featured-project-card {
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:var(--rmd);
    overflow:hidden;
    cursor:pointer;
    box-shadow:var(--shsm);
    transition:var(--t);
    display:flex;
    flex-direction:column;
}
.featured-project-card:hover {
    transform:translateY(-4px);
    box-shadow:var(--shmd);
    border-color:rgba(243,156,18,0.25);
}
.featured-project-image {
    position:relative;
    width:100%;
    height:220px;
    overflow:hidden;
}
.featured-project-card img { 
    width:100%; 
    height:100%; 
    object-fit:cover; 
    transition:transform 0.5s ease;
}
.featured-project-card:hover img { 
    transform:scale(1.05); 
}
.featured-badge {
    position:absolute;
    top:12px;
    left:12px;
    padding:5px 12px;
    border-radius:20px;
    font-size:10px;
    font-weight:700;
    box-shadow:0 2px 8px rgba(0,0,0,0.15);
    z-index:2;
    backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,0.3);
    text-transform:uppercase;
    letter-spacing:0.5px;
}
.featured-badge.ongoing   { 
    background:rgba(0,180,216,0.95); 
    color:#fff; 
    border-color:rgba(0,180,216,0.5);
}
.featured-badge.completed { 
    background:rgba(39,174,96,0.95); 
    color:#fff; 
    border-color:rgba(39,174,96,0.5);
}
.featured-badge.planning  {
    background:rgba(142,68,173,0.95);
    color:#fff;
    border-color:rgba(142,68,173,0.5);
}
.featured-project-content {
    padding:14px 16px;
    display:flex;
    flex-direction:column;
    gap:6px;
}
.featured-project-content h3 { 
    font-size:16px; 
    font-weight:700; 
    color:var(--ink); 
    margin:0;
    letter-spacing:-0.2px;
    line-height:1.3;
    text-shadow:none;
}
.featured-project-content p  { 
    font-size:12.5px; 
    color:var(--ink-soft); 
    margin:0;
    line-height:1.5;
    flex:0;
    text-shadow:none;
}
.project-view-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    padding:10px 18px;
    background:transparent;
    color:var(--text-main);
    border:2px solid var(--border);
    border-radius:8px;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    transition:var(--t);
    width:100%;
    box-shadow:none;
    margin-top:6px;
}
.project-view-btn:hover { 
    background:var(--brand);
    color:#fff;
    border-color:var(--brand);
    transform:translateY(-1px);
    box-shadow:0 4px 12px rgba(245,158,11,0.25);
}
.project-view-btn i {
    font-size:10px;
    transition:transform 0.28s;
}
.project-view-btn:hover i {
    transform:translateX(3px);
}

/* ── Project card action row (View + Share) ── */
.project-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}
.project-card-actions .project-view-btn {
    flex: 1;
    margin-top: 0;
}
.project-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: transparent;
    color: var(--brand, #f59e0b);
    border: 2px solid var(--brand, #f59e0b);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: var(--t, 0.25s);
    white-space: nowrap;
    flex-shrink: 0;
}
.project-share-btn:hover {
    background: var(--brand, #f59e0b);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}
.project-share-btn i {
    font-size: 10px;
}

/* ===== EXPLORE OUR DESIGNS (THEME-ADAPTIVE SLEEK REDESIGN) ===== */
.explore-designs {
    background: linear-gradient(180deg, var(--surface) 0%, var(--canvas) 100%);
    position: relative;
    padding: 20px 0;
    overflow: hidden;
}

/* Light mode decorative glow */
html[data-theme="light"] .explore-designs::before {
    content: '';
    position: absolute;
    top: 5%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Dark mode - no decorative glow */
html[data-theme="dark"] .explore-designs::before {
    display: none;
}

.explore-designs__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 20px;
}

.explore-designs__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: var(--brand-soft);
    color: var(--brand-strong);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 12px;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.explore-designs__title {
    font-size: clamp(26px, 3.8vw, 42px);
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.explore-designs__subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    font-weight: 400;
}

/* Bento Grid */
.explore-designs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 270px;
    gap: 22px;
    margin-bottom: 20px;
}

/* Cards */
.explore-card {
    position: relative;
    border-radius: var(--rlg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shsm);
    transition: var(--t);
    cursor: pointer;
}

.explore-card--hero {
    grid-column: span 2;
    grid-row: span 2;
}

.explore-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.explore-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shlg);
    border-color: var(--brand);
}

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

/* Overlay & Typography */
.explore-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 18, 32, 0.96) 0%, rgba(11, 18, 32, 0.45) 55%, transparent 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--t);
}

.explore-card--hero .explore-card__overlay {
    padding: 36px 32px;
}

.explore-card__tag {
    align-self: flex-start;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 10px;
}

.explore-card__name {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 4px;
    line-height: 1.25;
}

.explore-card--hero .explore-card__name {
    font-size: clamp(22px, 2.5vw, 30px);
    margin-bottom: 8px;
}

.explore-card__desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78) !important;
    margin-bottom: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.explore-card--hero .explore-card__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88) !important;
    margin-bottom: 20px;
    max-width: 480px;
}

.explore-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    padding: 8px 18px;
    border-radius: 30px;
    width: fit-content;
    transition: var(--t);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.explore-card__link i {
    font-size: 11px;
    transition: transform 0.28s;
}

.explore-card:hover .explore-card__link {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.55);
}

.explore-card:hover .explore-card__link i {
    transform: translateX(4px);
}

.explore-designs__cta {
    text-align: center;
}

/* Dark Theme Explicit Rules - Match the Featured Projects section background */
html[data-theme="dark"] .explore-designs {
    background: var(--off-white) !important;
}

html[data-theme="dark"] .explore-designs__title {
    color: var(--text-main) !important;
}

html[data-theme="dark"] .explore-designs__subtitle {
    color: var(--text-muted) !important;
}

html[data-theme="dark"] .explore-card {
    background: var(--surface) !important;
    border-color: var(--border) !important;
}

html[data-theme="dark"] .explore-designs__label {
    background: rgba(245, 158, 11, 0.15) !important;
    color: var(--brand) !important;
    border-color: rgba(245, 158, 11, 0.3) !important;
}

/* Testimonials section - dark background with white cards in both themes */
html[data-theme="dark"] .testimonials-home {
    background: linear-gradient(rgba(26, 39, 64, 0.94), rgba(26, 39, 64, 0.96)),
                url('../Homepage%20Image/homepage.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

html[data-theme="dark"] .testimonial-home-card {
    background: var(--surface) !important;
    border-color: var(--line) !important;
}

html[data-theme="dark"] .testimonial-home-card h4,
html[data-theme="dark"] .testimonial-home-card p {
    color: var(--text-main) !important;
}

html[data-theme="dark"] .testimonial-home-card span {
    color: var(--text-muted) !important;
}

@keyframes exploreCardIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .explore-designs__grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
        gap: 16px;
    }
    .explore-card--hero {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 640px) {
    .explore-designs {
        padding: 56px 0;
    }
    .explore-designs__grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
        gap: 16px;
    }
    .explore-card--hero {
        grid-column: span 1;
        grid-row: span 1;
    }
    .explore-card__overlay {
        padding: 20px;
    }
    .explore-card--hero .explore-card__overlay {
        padding: 22px 20px;
    }
    .explore-card--hero .explore-card__name {
        font-size: 20px;
    }
    .explore-card--hero .explore-card__desc {
        font-size: 13.5px;
    }
}

/* ===== WHY CHOOSE US ===== */
.why-choose-home {
    background: linear-gradient(rgba(26,39,64,0.92), rgba(26,39,64,0.96)),
                url('../Projects ongoing and complete/projects 1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.why-choose-home::before {
    content:'';
    position:absolute;
    inset:0;
    background-image:
        radial-gradient(circle at 15% 50%,rgba(243,156,18,0.12) 0%,transparent 50%),
        radial-gradient(circle at 85% 20%,rgba(243,156,18,0.08) 0%,transparent 50%);
    z-index:0;
}
.why-choose-home::after { display:none !important; }
.why-choose-home .container { position:relative; z-index:1; }
.why-choose-home .section-header h2 { color:#fff; }
.why-choose-home .section-header p  { color:rgba(255,255,255,0.50); }
.why-choose-home .section-header::after { margin:14px auto 0; }
.why-choose-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-bottom:20px;
    position:relative;
    z-index:1;
}
.why-choose-card {
    padding:24px 20px;
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.07);
    border-radius:var(--rmd);
    text-align:left;
    transition:var(--t);
    position:relative;
    overflow:hidden;
    min-width:unset;
    min-height:unset;
    display:block;
}
.why-choose-card::before { display:none !important; }
.why-choose-card:hover {
    background:rgba(255,255,255,0.09);
    border-color:rgba(243,156,18,0.28);
    transform:translateY(-4px);
    box-shadow:0 12px 32px rgba(0,0,0,0.25);
}
.why-icon-wrapper {
    width:46px;
    height:46px;
    background:var(--gold-light);
    border-radius:var(--rsm);
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 0 14px 0;
    box-shadow:none;
}
.why-icon-wrapper::after { display:none !important; }
.why-icon-wrapper i, .why-choose-card > i { font-size:20px; color:var(--gold); }
.why-choose-card h3 { font-size:15px; font-weight:700; color:#fff; margin-bottom:7px; }
.why-choose-card p  { font-size:12.5px; color:rgba(255,255,255,0.50); line-height:1.65; }

.stats-home {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    text-align:center;
    margin-bottom:20px;
    position:relative;
    z-index:1;
}
.stat-home {
    padding:26px 16px;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.07);
    border-radius:var(--rmd);
    transition:var(--t);
    min-width:unset;
    min-height:unset;
    display:block;
}
.stat-home:hover {
    background:rgba(255,255,255,0.09);
    border-color:rgba(243,156,18,0.22);
    transform:scale(1.02);
}
.stat-icon { font-size:26px; color:var(--gold); margin-bottom:8px; }
.stat-home h4 {
    font-size:38px;
    color:var(--gold);
    font-weight:800;
    letter-spacing:-1px;
    margin-bottom:4px;
}
.stat-home h4::after { display:none !important; }
.stat-home p { font-size:12.5px; color:rgba(255,255,255,0.50); font-weight:500; }

/* ===== TESTIMONIALS ===== */
.testimonials-home {
    background:var(--surface) !important;
    background-image:none !important;
    background-attachment:unset !important;
}
.testimonials-home::before { display:none !important; }
.testimonials-home .section-header h2 { color:var(--text-main); }
.testimonials-home .section-header p  { color:var(--text-muted); }
.testimonials-home-grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}
.testimonial-home-card {
    background:var(--off-white);
    border:1px solid var(--border);
    padding:30px;
    border-radius:var(--rmd);
    text-align:left;
    transition:var(--t);
    position:relative;
    overflow:hidden;
    box-shadow:none;
}
.testimonial-home-card::before {
    content:'';
    position:absolute;
    top:0; left:0; right:0;
    height:3px;
    background:linear-gradient(90deg,var(--gold),var(--gold-dark));
    border-radius:3px 3px 0 0;
}
.testimonial-home-card:hover {
    transform:translateY(-4px);
    box-shadow:var(--shmd);
    border-color:rgba(243,156,18,0.18);
}
.quote-icon {
    width:36px;
    height:36px;
    background:var(--gold-light);
    border-radius:var(--rsm);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:15px;
    color:var(--gold);
    margin:0 0 12px 0;
}
.testimonial-home-card .stars {
    display:flex;
    gap:2px;
    color:var(--gold);
    font-size:13px;
    margin-bottom:12px;
    justify-content:flex-start;
}
.testimonial-home-card p {
    font-style:italic;
    font-size:14.5px;
    color:var(--text-muted);
    line-height:1.8;
    margin-bottom:20px;
    position:static;
}
.testimonial-author-home {
    display:flex;
    align-items:center;
    gap:12px;
    padding-top:16px;
    border-top:1px solid var(--border);
}
.author-avatar-home {
    width:40px;
    height:40px;
    background:linear-gradient(135deg,var(--gold),var(--gold-dark));
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    font-size:13px;
    flex-shrink:0;
    box-shadow:0 3px 8px rgba(243,156,18,0.22);
}
.testimonial-author-home div { text-align:left; }
.testimonial-author-home h4 { font-size:14px; font-weight:700; color:var(--text-main); margin-bottom:2px; }
.testimonial-author-home span { font-size:11.5px; color:var(--text-muted); }

/* ===== CTA ===== */
.cta-home {
    padding:20px 0;
    background:linear-gradient(135deg, #090f1a 0%, #121c2e 100%);
    color:#fff;
    text-align:center;
    position:relative;
    overflow:hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.cta-particles {
    position:absolute;
    inset:0;
    background-image:
        radial-gradient(circle at 20% 50%,rgba(243,156,18,0.10) 0%,transparent 45%),
        radial-gradient(circle at 80% 70%,rgba(243,156,18,0.08) 0%,transparent 45%);
    animation:none;
}
.cta-content { position:relative; z-index:1; }
.cta-icon { font-size:44px; color:var(--gold); margin-bottom:18px; display:block; animation:none; }
.cta-home h2 { font-size:clamp(24px,4vw,42px); font-weight:800; margin-bottom:12px; letter-spacing:-0.5px; }
.cta-home p {
    font-size:16px;
    color:rgba(255,255,255,0.55);
    margin-bottom:34px;
    max-width:540px;
    margin-left:auto;
    margin-right:auto;
    line-height:1.7;
}
.cta-buttons {
    display:flex;
    gap:12px;
    justify-content:center;
    flex-wrap:wrap;
    margin-bottom:20px;
}
.cta-home .btn-primary {
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:linear-gradient(135deg,var(--gold),var(--gold-dark));
    color:#fff;
    padding:13px 28px;
    border-radius:var(--rxl);
    font-size:14px;
    font-weight:700;
    text-decoration:none;
    border:none;
    box-shadow:0 6px 24px rgba(243,156,18,0.38);
    transition:var(--t);
}
.cta-home .btn-primary:hover {
    transform:translateY(-2px);
    box-shadow:0 10px 32px rgba(243,156,18,0.52);
}
.cta-home .btn-secondary {
    display:inline-flex;
    align-items:center;
    gap:8px;
    background:rgba(255,255,255,0.06);
    color:rgba(255,255,255,0.88);
    padding:13px 28px;
    border-radius:var(--rxl);
    font-size:14px;
    font-weight:600;
    text-decoration:none;
    border:1px solid rgba(255,255,255,0.16);
    backdrop-filter:blur(10px);
    transition:var(--t);
}
.cta-home .btn-secondary:hover {
    background:rgba(255,255,255,0.12);
    border-color:rgba(255,255,255,0.32);
    transform:translateY(-2px);
    color:#fff;
}
.cta-features {
    display:flex;
    gap:28px;
    justify-content:center;
    flex-wrap:wrap;
    margin-top:0;
}
.cta-feature { display:flex; align-items:center; gap:7px; font-size:12.5px; color:rgba(255,255,255,0.50); font-weight:500; }
.cta-feature i { font-size:14px; color:var(--gold); }

/* ===== FOOTER ===== */
.footer { background:#0e1623; color:rgba(255,255,255,0.6); padding:56px 0 24px; }
.footer-content {
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.3fr;
    gap:40px;
    margin-bottom:40px;
    padding-bottom:40px;
    border-bottom:1px solid rgba(255,255,255,0.07);
}
.footer-section h3 {
    font-size:13px;
    font-weight:700;
    letter-spacing:0.8px;
    text-transform:uppercase;
    color:rgba(255,255,255,0.85);
    margin-bottom:16px;
}
.footer-section:first-child h3 {
    font-size:16px;
    letter-spacing:0;
    text-transform:none;
    color:var(--gold);
    font-weight:800;
}
.footer-section p,
.footer-section a {
    color:rgba(255,255,255,0.42);
    font-size:13.5px;
    line-height:2;
    text-decoration:none;
    display:block;
    transition:color 0.25s;
}
.footer-section a:hover { color:var(--gold); padding-left:0; }
.footer-section p i    { width:16px; color:var(--gold); margin-right:8px; opacity:0.8; }
.footer .social-icons  { display:flex; gap:8px; margin-top:16px; }
.footer .social-icons a {
    width:32px; height:32px;
    border-radius:var(--rsm);
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.07);
    display:flex; align-items:center; justify-content:center;
    font-size:13px; color:rgba(255,255,255,0.45);
    transition:var(--t);
    line-height:1;
    text-decoration:none;
}
.footer .social-icons a:hover {
    background:var(--gold);
    border-color:var(--gold);
    color:#fff;
    transform:translateY(-2px);
}
.footer-bottom { text-align:center; font-size:12.5px; color:rgba(255,255,255,0.25); padding-top:0; border-top:none; }

/* ===== VIEW MORE ===== */
.view-more-btn { text-align:center; }
.btn-view-more {
    display:inline-flex; align-items:center; gap:8px;
    padding:11px 24px; border-radius:var(--rxl);
    font-size:13.5px; font-weight:700; text-decoration:none;
    transition:var(--t);
    background:var(--gold); color:#fff;
    box-shadow:0 4px 16px rgba(243,156,18,0.28);
}
.btn-view-more:hover {
    background:var(--gold-dark);
    transform:translateY(-2px);
    box-shadow:0 8px 24px rgba(243,156,18,0.38);
}
.btn-view-more-light {
    display:inline-flex; align-items:center; gap:8px;
    padding:11px 24px; border-radius:var(--rxl);
    font-size:13.5px; font-weight:700; text-decoration:none;
    transition:var(--t);
    background:rgba(255,255,255,0.08); color:rgba(255,255,255,0.88);
    border:1px solid rgba(255,255,255,0.18);
}
.btn-view-more-light:hover { background:rgba(255,255,255,0.15); color:#fff; transform:translateY(-2px); }
.btn-view-more i, .btn-view-more-light i { transition:transform 0.28s; font-size:11px; }
.btn-view-more:hover i, .btn-view-more-light:hover i { transform:translateX(4px); }

/* ===== DROPDOWN SLEEK ===== */
.dropdown-menu {
    background:rgba(255,255,255,0.98);
    backdrop-filter:blur(20px);
    border:1px solid rgba(0,0,0,0.06);
    border-radius:var(--rmd);
    box-shadow:0 16px 48px rgba(0,0,0,0.14);
    margin-top:8px;
    padding:8px 0;
}
.dropdown-menu li a {
    font-size:13.5px;
    color:var(--text-main);
    padding:9px 20px;
    border-left:2px solid transparent;
}
.dropdown-menu li a:hover {
    background:var(--gold-light);
    color:var(--gold-dark);
    border-left-color:var(--gold);
    padding-left:24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width:1100px) {
    .services-preview-grid { grid-template-columns:repeat(3,1fr); }
    .why-choose-grid { grid-template-columns:repeat(2,1fr); }
    .stats-home { grid-template-columns:repeat(2,1fr); }
    .footer-content { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:768px) {
    .nav-links { top:58px; height:auto !important; max-height:calc(100vh - 100px); background:#fff; }
    .hero { 
        padding-top:0; 
        padding-bottom:0; 
        min-height:75vh;
        display:flex;
        align-items:center;
        justify-content:center;
    }
    .hero-content { 
        padding:16px 18px; 
        max-width:100%;
    }
    .hero-title { 
        letter-spacing:-0.8px; 
        margin-bottom:8px;
        min-height:auto;
        line-height:1.1;
        font-size:clamp(28px,6.5vw,36px);
        text-align:center;
    }
    .hero-subtitle {
        margin-bottom:14px;
        min-height:auto;
        line-height:1.5;
        font-size:13px;
        text-align:center;
        max-width:100%;
    }
    .hero-buttons { 
        flex-direction:column; 
        align-items:stretch; 
        margin-bottom:14px;
        gap:6px;
        width:100%;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary { 
        width:100%; 
        max-width:100%;
        justify-content:center; 
        padding:11px 20px;
        font-size:13px;
        font-weight:700;
        border-radius:50px;
    }
    .hero-stats { 
        flex-direction:column; 
        align-items:stretch; 
        gap:6px; 
        max-width:100%; 
        margin-top:0;
    }
    .hero-stat { 
        flex:unset;
        width:100%;
        min-width:0;
        justify-content:center; 
        padding:10px 18px;
        border-radius:12px;
        text-align:center;
    }
    .hero-stat > div {
        display:flex;
        align-items:center;
        gap:8px;
    }
    .hero-stat strong {
        font-size:16px;
        margin-bottom:0;
    }
    .hero-stat span {
        font-size:11px;
        display:inline;
    }
    .hero-stat i { font-size:16px; }
    .home-section { padding:28px 0; }
    .section-header { margin-bottom:16px; }
    .section-header h2 { font-size:clamp(20px,5vw,26px); margin-bottom:4px; }
    .section-header p { font-size:12.5px; }
    .section-header::after { margin:8px auto 0; }
    .services-preview { padding-top:36px; margin-top:-30px; }
    .services-preview-grid { grid-template-columns:1fr; gap:8px; }
    .service-preview-card { padding:10px 10px; }
    .service-preview-icon { width:36px; height:36px; font-size:16px; margin-bottom:8px; }
    .service-preview-card h3 { font-size:13px; margin-bottom:4px; }
    .service-preview-card p { font-size:11px; margin-bottom:6px; line-height:1.4; }
    .service-link-arrow { width:26px; height:26px; font-size:10px; }
    .featured-projects-grid { grid-template-columns:1fr; gap:12px; }
    .featured-project-card { border-radius:12px; }
    .featured-project-image { height:200px; }
    .featured-project-content { padding:14px 12px; gap:6px; }
    .featured-project-content h3 { font-size:14.5px; }
    .featured-project-content p { font-size:11.5px; }
    .project-view-btn { padding:8px 14px; font-size:11.5px; margin-top:2px; }
    .featured-badge { padding:4px 10px; font-size:9.5px; top:10px; left:10px; }
    .why-choose-grid { grid-template-columns:1fr; gap:8px; }
    .why-choose-card { padding:14px 12px; }
    .why-icon-wrapper { width:36px; height:36px; margin-bottom:8px; }
    .why-icon-wrapper i { font-size:16px; }
    .why-choose-card h3 { font-size:13px; margin-bottom:4px; }
    .why-choose-card p { font-size:11px; line-height:1.45; }
    .stats-home { grid-template-columns:1fr; gap:8px; }
    .stat-home { padding:14px 12px; }
    .stat-icon { font-size:20px; margin-bottom:4px; }
    .stat-home h4 { font-size:28px; margin-bottom:2px; }
    .stat-home p { font-size:11px; }
    .testimonials-home-grid { grid-template-columns:1fr; gap:12px; }
    .testimonial-home-card { padding:16px 14px; }
    .quote-icon { width:28px; height:28px; font-size:12px; margin-bottom:8px; }
    .testimonial-home-card .stars { font-size:11px; margin-bottom:8px; }
    .testimonial-home-card p { font-size:12px; margin-bottom:12px; line-height:1.55; }
    .testimonial-author-home { padding-top:10px; gap:8px; }
    .author-avatar-home { width:32px; height:32px; font-size:11px; }
    .testimonial-author-home h4 { font-size:12px; }
    .testimonial-author-home span { font-size:10px; }
    .cta-home { padding:24px 0; }
    .cta-icon { font-size:32px; margin-bottom:10px; }
    .cta-home h2 { font-size:clamp(20px,5vw,28px); margin-bottom:6px; }
    .cta-home p { font-size:12.5px; margin-bottom:18px; }
    .cta-buttons { gap:6px; margin-bottom:14px; }
    .cta-home .btn-primary,
    .cta-home .btn-secondary { padding:10px 20px; font-size:12px; }
    .cta-features { gap:12px; }
    .cta-feature { font-size:10.5px; }
    .cta-feature i { font-size:12px; }
    .footer { padding:28px 0 14px !important; }
    .footer-content { grid-template-columns:1fr 1fr; gap:20px; padding-bottom:18px; margin-bottom:18px; }
    .footer-section h3 { font-size:12px; margin-bottom:8px; }
    .footer-section p,
    .footer-section a { font-size:11.5px; line-height:1.7; }
    .footer .social-icons { gap:6px; margin-top:10px; }
    .footer .social-icons a { width:28px; height:28px; font-size:11px; }
    .footer-bottom { font-size:10.5px; padding-top:10px; }
    .view-more-btn { margin-top:6px; }
    .btn-view-more, .btn-view-more-light { padding:8px 16px; font-size:12px; }
}

@media (max-width:480px) {
    .hero { 
        padding-top:0; 
        padding-bottom:0;
        min-height:70vh;
        display:flex;
        align-items:center;
        justify-content:center;
    }
    .hero-content { 
        padding:12px 16px; 
    }
    .hero-title { 
        font-size:clamp(22px,6vw,28px); 
        margin-bottom:6px;
        line-height:1.05;
        letter-spacing:-0.5px;
    }
    .hero-subtitle { 
        font-size:12px;
        margin-bottom:12px;
        line-height:1.45;
    }
    .hero-buttons {
        margin-bottom:12px;
        gap:6px;
    }
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding:10px 18px;
        font-size:12.5px;
        font-weight:700;
    }
    .hero-stats {
        gap:6px;
        margin-top:0;
    }
    .hero-stat {
        flex:unset;
        width:100%;
        padding:8px 14px;
        text-align:center;
        justify-content:center;
    }
    .hero-stat > div {
        display:flex;
        align-items:center;
        gap:6px;
    }
    .hero-stat strong {
        font-size:14px;
        margin-bottom:0;
    }
    .hero-stat span {
        font-size:10px;
        display:inline;
    }
    .hero-stat i { font-size:15px; }
    .home-section { padding:20px 0; }
    .section-header { margin-bottom:12px; }
    .section-header h2 { font-size:clamp(18px,4.5vw,22px); margin-bottom:3px; }
    .section-header p { font-size:11.5px; }
    .section-header::after { margin:6px auto 0; height:2px; width:30px; }
    .services-preview { padding-top:28px; margin-top:-20px; }
    .services-preview-grid { grid-template-columns:1fr; gap:6px; }
    .service-preview-card { padding:8px 8px; }
    .service-preview-icon { width:34px; height:34px; font-size:15px; margin-bottom:6px; }
    .service-preview-card h3 { font-size:12.5px; margin-bottom:3px; }
    .service-preview-card p { font-size:10.5px; margin-bottom:5px; line-height:1.35; }
    .service-link-arrow { width:24px; height:24px; font-size:9px; }
    .featured-projects-grid { grid-template-columns:1fr; gap:10px; }
    .featured-project-card { border-radius:10px; }
    .featured-project-image { height:180px; }
    .featured-project-content { padding:12px 10px; gap:5px; }
    .featured-project-content h3 { font-size:13.5px; }
    .featured-project-content p { font-size:11px; }
    .project-view-btn { padding:7px 12px; font-size:11px; margin-top:2px; }
    .featured-badge { padding:3px 8px; font-size:9px; top:8px; left:8px; }
    .explore-designs { padding:20px 0; }
    .explore-designs__grid { gap:10px; grid-auto-rows:220px; }
    .explore-card__overlay { padding:12px; }
    .explore-card__tag { padding:3px 10px; font-size:9.5px; margin-bottom:6px; }
    .explore-card__name { font-size:14px; margin-bottom:3px; }
    .explore-card__desc { font-size:11px; margin-bottom:8px; }
    .explore-card__link { padding:6px 14px; font-size:11px; }
    .why-choose-grid { grid-template-columns:1fr; gap:6px; }
    .why-choose-card { padding:12px 10px; }
    .why-icon-wrapper { width:34px; height:34px; margin-bottom:6px; }
    .why-icon-wrapper i { font-size:15px; }
    .why-choose-card h3 { font-size:12.5px; margin-bottom:3px; }
    .why-choose-card p { font-size:10.5px; line-height:1.4; }
    .stats-home { grid-template-columns:1fr; gap:6px; }
    .stat-home { padding:12px 10px; }
    .stat-icon { font-size:18px; margin-bottom:3px; }
    .stat-home h4 { font-size:24px; margin-bottom:1px; }
    .stat-home p { font-size:10.5px; }
    .testimonials-home-grid { grid-template-columns:1fr; gap:10px; }
    .testimonial-home-card { padding:14px 12px; }
    .quote-icon { width:26px; height:26px; font-size:11px; margin-bottom:6px; }
    .testimonial-home-card .stars { font-size:10px; margin-bottom:6px; }
    .testimonial-home-card p { font-size:11px; margin-bottom:10px; line-height:1.5; }
    .testimonial-author-home { padding-top:8px; gap:6px; }
    .author-avatar-home { width:30px; height:30px; font-size:10px; }
    .testimonial-author-home h4 { font-size:11.5px; }
    .testimonial-author-home span { font-size:10px; }
    .cta-home { padding:20px 0; }
    .cta-icon { font-size:28px; margin-bottom:8px; }
    .cta-home h2 { font-size:clamp(18px,4.5vw,24px); margin-bottom:5px; }
    .cta-home p { font-size:11.5px; margin-bottom:14px; }
    .cta-buttons { gap:6px; margin-bottom:12px; }
    .cta-home .btn-primary,
    .cta-home .btn-secondary { padding:9px 18px; font-size:11.5px; }
    .cta-features { gap:10px; flex-direction:column; }
    .cta-feature { font-size:10px; }
    .cta-feature i { font-size:11px; }
    .footer { padding:24px 0 12px !important; }
    .footer-content { grid-template-columns:1fr; gap:16px; padding-bottom:14px; margin-bottom:14px; }
    .footer-section h3 { font-size:11.5px; margin-bottom:6px; }
    .footer-section p,
    .footer-section a { font-size:11px; line-height:1.6; }
    .footer .social-icons { gap:5px; margin-top:8px; }
    .footer .social-icons a { width:26px; height:26px; font-size:10px; }
    .footer-bottom { font-size:10px; padding-top:8px; }
    .view-more-btn { margin-top:4px; }
    .btn-view-more, .btn-view-more-light { padding:7px 14px; font-size:11.5px; }
}

/* ===== GLOBAL OVERRIDE ===== */
* { transition:background-color 0s !important; }
button, a, .service-preview-card, .featured-project-card,
.why-choose-card, .stat-home, .testimonial-home-card,
.btn-view-more, .btn-view-more-light, .hero-stat,
.service-link-arrow, .logo img, .cta-button, .search-icon,
.cart-icon, .mobile-toggle, .footer .social-icons a,
.project-view-btn, .hero-buttons .btn-primary,
.hero-buttons .btn-secondary, .cta-home .btn-primary,
.cta-home .btn-secondary, .main-nav, .nav-links > li > a,
.dropdown-menu, .featured-project-card img, .why-icon-wrapper {
    transition:var(--t) !important;
}
img:hover { transform:none !important; }
button:hover { transform:none !important; }

/* ===== LIGHT MODE EXPLICIT OVERRIDES ===== */
/* Hero section stays dark in both themes for consistency */
html[data-theme="light"] .hero,
html[data-theme="dark"] .hero {
    background: #1a2740 !important;
}

/* LIGHT MODE: Keep original overlay */
html[data-theme="light"] .hero-overlay-layer {
    background: linear-gradient(130deg, rgba(26,39,64,0.88) 0%, rgba(36,51,80,0.92) 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* DARK MODE: Much darker overlay to completely cover the image */
html[data-theme="dark"] .hero-overlay-layer {
    background: linear-gradient(130deg, rgba(13,17,23,0.96) 0%, rgba(22,27,34,0.98) 100%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* Ensure background slider is BELOW overlay */
html[data-theme="light"] .hero-background-slider,
html[data-theme="dark"] .hero-background-slider {
    z-index: 1 !important;
}

/* Hero content must be above everything */
html[data-theme="light"] .hero-content,
html[data-theme="dark"] .hero-content {
    z-index: 10 !important;
    position: relative !important;
}

/* Grid pattern above overlay */
html[data-theme="light"] .hero-grid-pattern,
html[data-theme="dark"] .hero-grid-pattern {
    z-index: 3 !important;
}

/* Hero text colors - ALWAYS white in both themes */
html[data-theme="light"] .hero-title,
html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .hero-stat strong,
html[data-theme="light"] .hero-stat span,
html[data-theme="dark"] .hero-title,
html[data-theme="dark"] .hero-subtitle,
html[data-theme="dark"] .hero-stat strong,
html[data-theme="dark"] .hero-stat span {
    color: #ffffff !important;
}

html[data-theme="light"] .hero-stat,
html[data-theme="dark"] .hero-stat {
    background: rgba(255,255,255,0.10) !important;
    border-color: rgba(255,255,255,0.15) !important;
}

/* Why Choose section stays dark in both themes */
html[data-theme="light"] .why-choose-home,
html[data-theme="dark"] .why-choose-home {
    background: linear-gradient(rgba(26,39,64,0.94), rgba(26,39,64,0.96)),
                url('../Projects ongoing and complete/projects 1.jpeg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

html[data-theme="light"] .why-choose-home h2,
html[data-theme="light"] .why-choose-home h3,
html[data-theme="light"] .why-choose-home p,
html[data-theme="light"] .why-choose-home .section-header p,
html[data-theme="dark"] .why-choose-home h2,
html[data-theme="dark"] .why-choose-home h3,
html[data-theme="dark"] .why-choose-home p,
html[data-theme="dark"] .why-choose-home .section-header p {
    color: #ffffff !important;
}

html[data-theme="light"] .why-choose-card,
html[data-theme="dark"] .why-choose-card {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.08) !important;
}

html[data-theme="light"] .stat-home,
html[data-theme="dark"] .stat-home {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.08) !important;
}

html[data-theme="light"] .stat-home h4,
html[data-theme="dark"] .stat-home h4 {
    color: #f39c12 !important;
}

html[data-theme="light"] .stat-home p,
html[data-theme="dark"] .stat-home p {
    color: rgba(255,255,255,0.65) !important;
}

/* CTA section stays dark in both themes */
html[data-theme="light"] .cta-home,
html[data-theme="dark"] .cta-home {
    background: linear-gradient(135deg, #090f1a 0%, #121c2e 100%) !important;
}

html[data-theme="light"] .cta-home h2,
html[data-theme="light"] .cta-home p,
html[data-theme="light"] .cta-home .cta-feature,
html[data-theme="dark"] .cta-home h2,
html[data-theme="dark"] .cta-home p,
html[data-theme="dark"] .cta-home .cta-feature {
    color: #ffffff !important;
}

html[data-theme="light"] .cta-home p,
html[data-theme="dark"] .cta-home p {
    color: rgba(255,255,255,0.65) !important;
}

html[data-theme="light"] .cta-feature,
html[data-theme="dark"] .cta-feature {
    color: rgba(255,255,255,0.60) !important;
}
