/* CSS for Premium Homepage Redesign (v2) */

:root {
    --v2-primary: #d4af37;
    /* Luxury Gold */
    --v2-primary-hover: #b8972e;
    --v2-dark: #121212;
    --v2-light: #f8f9fa;
    --v2-white: #ffffff;
    --v2-text-dark: #2c3e50;
    --v2-text-light: #a0aec0;

    /* Glassmorphism Defaults */
    --glass-bg: rgba(18, 18, 18, 0.45);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: rgba(0, 0, 0, 0.3);
    --glass-backdrop: blur(12px) saturate(180%);
    --glass-text: #ffffff;

    --section-bg-about: #ffffff;
    --section-bg-projects: #f8f9fa;
    --text-color-body: #4a5568;
    --text-color-heading: #1a202c;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.05);
}

/* Dark theme overrides */
[data-theme="dark"],
body.dark-mode {
    --v2-light: #1f2937;
    --v2-white: #111827;
    --v2-text-dark: #f7fafc;
    --glass-bg: rgba(17, 24, 39, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: rgba(0, 0, 0, 0.5);

    --section-bg-about: #111827;
    --section-bg-projects: #1f2937;
    --text-color-body: #cbd5e0;
    --text-color-heading: #f7fafc;
    --card-bg: #111827;
    --card-border: rgba(255, 255, 255, 0.05);
}

/* Global resets for full-width look */
.homepage-v2 {
    font-family: 'Montserrat', sans-serif !important;
    overflow-x: hidden;
    color: var(--text-color-body);
}

.homepage-v2 h1,
.homepage-v2 h2,
.homepage-v2 h3,
.homepage-v2 h4,
.homepage-v2 h5,
.homepage-v2 h6 {
    font-family: 'Oswald', 'Montserrat', sans-serif !important;
    color: var(--text-color-heading);
    letter-spacing: 0.5px;
}

/* Safety overrides to prevent layout fonts from replacing icon fonts */
.homepage-v2 .fa, 
.homepage-v2 .fas {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}
.homepage-v2 .far {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
    font-weight: 400 !important;
}
.homepage-v2 .fab {
    font-family: "Font Awesome 5 Brands", "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}
.homepage-v2 .la, 
.homepage-v2 .las, 
.homepage-v2 .lab, 
.homepage-v2 .lar {
    font-family: "Line Awesome" !important;
}


/* ────────────────────────────────────────────────────────
   GLASSMORPHISM NAVBAR
   ──────────────────────────────────────────────────────── */
.v2-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent;
    border-bottom: 1px solid transparent;
}

/* Scrolled state */
.v2-navbar.scrolled {
    padding: 12px 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

.v2-navbar .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 4%;
}

.v2-navbar .logo img {
    max-height: 55px;
    transition: all 0.3s ease;
}

.v2-navbar.scrolled .logo img {
    max-height: 45px;
}

.v2-navbar .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.v2-navbar .nav-menu a {
    color: var(--glass-text);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.v2-navbar .nav-menu a:hover {
    opacity: 1;
    color: var(--v2-primary);
}

.v2-navbar .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--v2-primary);
    transition: width 0.3s ease;
}

.v2-navbar .nav-menu a:hover::after {
    width: 100%;
}

.v2-navbar .nav-menu a.active {
    opacity: 1;
    color: var(--v2-primary) !important;
}

.v2-navbar .nav-menu a.active::after {
    width: 100% !important;
}

/* Glassmorphism CTA Button */
.v2-nav-cta {
    display: inline-block;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--v2-white);
    background: rgba(212, 175, 55, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.v2-nav-cta:hover {
    background: var(--v2-primary);
    color: #121212 !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.v2-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--glass-text);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.v2-nav-toggle:hover {
    background: rgba(212, 175, 55, 0.18);
    border-color: var(--v2-primary);
    color: var(--v2-primary);
    transform: scale(1.05);
}

/* ────────────────────────────────────────────────────────
   FULL-SCREEN HERO SLIDER
   ──────────────────────────────────────────────────────── */
.v2-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
}

.v2-hero-slider {
    width: 100%;
    height: 100%;
}

.v2-hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.v2-hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Dark overlay gradient */
.v2-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.v2-hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 8%;
}

.v2-hero-content {
    position: relative;
    max-width: 800px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    z-index: 1;
}

.swiper-slide-active .v2-hero-content {
    opacity: 1;
    transform: translateY(0);
}

.v2-hero-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--v2-primary);
    margin-bottom: 20px;
    position: relative;
    padding-left: 40px;
}

.v2-hero-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--v2-primary);
}

.v2-hero-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.v2-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 650px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.v2-btn-primary {
    background-color: var(--v2-primary);
    color: #121212 !important;
    border: 1px solid var(--v2-primary);
}

.v2-btn-primary:hover {
    background-color: var(--v2-primary-hover);
    border-color: var(--v2-primary-hover);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.v2-btn-outline {
    background-color: transparent;
    color: var(--v2-white) !important;
    border: 1px solid var(--v2-white);
}

.v2-btn-outline:hover {
    background-color: var(--v2-white);
    color: #121212 !important;
    transform: translateY(-2px);
}

/* Navigation & Pagination style */
.v2-hero-slider .swiper-button-prev,
.v2-hero-slider .swiper-button-next {
    color: #ffffff;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.v2-hero-slider .swiper-button-prev:after,
.v2-hero-slider .swiper-button-next:after {
    font-size: 18px;
}

.v2-hero-slider .swiper-button-prev:hover,
.v2-hero-slider .swiper-button-next:hover {
    background: var(--v2-primary);
    border-color: var(--v2-primary);
    color: #121212;
}

.v2-hero-slider .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.v2-hero-slider .swiper-pagination-bullet-active {
    background: var(--v2-primary);
    opacity: 1;
    width: 25px;
    border-radius: 5px;
}

/* Scroll indicator */
.v2-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #ffffff;
    font-size: 24px;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.8;
}

.v2-scroll-down:hover {
    color: var(--v2-primary);
    opacity: 1;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* ────────────────────────────────────────────────────────
   PREMIUM ABOUT SECTION
   ──────────────────────────────────────────────────────── */
.v2-about-section {
    padding: 120px 0;
    background-color: var(--section-bg-about);
    position: relative;
}

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

.v2-about-content {
    padding-right: 20px;
}

.v2-section-subtitle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--v2-primary);
    margin-bottom: 15px;
    display: block;
}

.v2-section-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.v2-about-desc {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.v2-about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.v2-about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.v2-about-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--v2-primary);
    border-radius: 8px;
    font-size: 20px;
    flex-shrink: 0;
}

.v2-about-feature-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.v2-about-feature-desc {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.8;
}

/* About Image Grid */
.v2-about-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.v2-about-img-wrapper {
    position: relative;
    width: 85%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.v2-about-img-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

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

/* Premium overlapping card */
.v2-about-badge {
    position: absolute;
    bottom: -30px;
    left: -20px;
    background: var(--v2-primary);
    color: #121212;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    z-index: 10;
}

.v2-about-badge .number {
    font-family: 'Oswald', sans-serif;
    font-size: 45px;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}

.v2-about-badge .text {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

/* ────────────────────────────────────────────────────────
   PROJECTS SLIDER SECTION (2 PROJECTS)
   ──────────────────────────────────────────────────────── */
.v2-projects-section {
    padding: 120px 0;
    background-color: var(--section-bg-projects);
}

.v2-projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.v2-projects-nav {
    display: flex;
    gap: 15px;
}

.v2-projects-btn {
    width: 50px;
    height: 50px;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-color-heading);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.v2-projects-btn:hover {
    background: var(--v2-primary);
    border-color: var(--v2-primary);
    color: #121212;
}

.v2-projects-slider-wrapper {
    width: 100%;
}

/* Project Card */
.v2-project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.v2-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--v2-primary);
}

.v2-project-img {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background-color: #000;
}

.v2-project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.v2-project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    z-index: 10;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Badge classes */
.v2-badge-launch {
    background: var(--v2-primary);
    color: #121212 !important;
}

.v2-badge-progress {
    background: #e28743;
}

.v2-badge-finish {
    background: #27ae60;
}

.v2-project-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.v2-project-location {
    font-size: 13px;
    font-weight: 500;
    color: var(--v2-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.v2-project-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.v2-project-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.v2-project-title a:hover {
    color: var(--v2-primary);
}

.v2-project-details {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--card-border);
    padding-top: 20px;
    margin-top: auto;
}

.v2-project-detail-item {
    font-size: 14px;
}

.v2-hero-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8%;
}

.v2-hero-content {
    position: relative;
    max-width: 800px;
    color: #ffffff;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    text-align: center;
    z-index: 1;
}

.swiper-slide-active .v2-hero-content {
    opacity: 1;
    transform: translateY(0);
}

.v2-hero-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--v2-primary) !important;
    margin-bottom: 20px;
    position: relative;
    padding: 0 40px;
}

.v2-hero-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--v2-primary) !important;
    transform: translateY(-50%);
}

.v2-hero-tag::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--v2-primary) !important;
    transform: translateY(-50%);
}

.v2-hero-title {
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.v2-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff !important;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.v2-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Hero buttons color lock and styling overrides in both modes */
.v2-hero-buttons .v2-btn-primary {
    background-color: var(--v2-primary) !important;
    color: #121212 !important;
    border: 1px solid var(--v2-primary) !important;
}

.v2-hero-buttons .v2-btn-primary:hover {
    background-color: var(--v2-primary-hover) !important;
    border-color: var(--v2-primary-hover) !important;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-2px) !important;
}

.v2-hero-buttons .v2-btn-outline {
    background-color: #ffffff !important;
    color: #121212 !important;
    border: 1px solid #ffffff !important;
}

.v2-hero-buttons .v2-btn-outline:hover {
    background-color: #f3f3f3 !important;
    border-color: #f3f3f3 !important;
    color: #121212 !important;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-2px) !important;
}

.v2-project-detail-item span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--v2-text-light);
    margin-bottom: 5px;
}

.v2-project-detail-item p {
    font-weight: 600;
    margin: 0;
    color: var(--text-color-heading);
}

/* Premium Gold CTA Link */
.v2-project-cta {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--v2-primary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.v2-project-cta i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.v2-project-cta:hover {
    color: var(--v2-primary-hover) !important;
}

.v2-project-cta:hover i {
    transform: translateX(4px);
}

/* ────────────────────────────────────────────────────────
   CONTACT CTA SECTION
   ──────────────────────────────────────────────────────── */
.v2-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d0d0d 0%, #202020 100%);
    color: var(--v2-white);
    position: relative;
    overflow: hidden;
}

.v2-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.v2-cta-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.v2-cta-content {
    max-width: 650px;
}

.v2-cta-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--v2-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.v2-cta-desc {
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

.v2-cta-buttons {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.v2-cta-buttons .v2-btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
}

.v2-cta-buttons .v2-btn-outline:hover {
    border-color: var(--v2-white);
    background-color: var(--v2-white);
    color: #121212 !important;
}

.v2-cta-buttons .v2-btn i {
    font-size: 16px;
}

/* ────────────────────────────────────────────────────────
   V2 FOOTER — floating CTA card + dark navy body
   ──────────────────────────────────────────────────────── */

/* Wrapper: sets the stacking context */
.v2-footer-wrapper {
    position: relative;
}

/* ---- Floating CTA card ---- */
.v2-footer-cta-wrap {
    position: relative;
    z-index: 10;
    padding: 0 0 0;          /* card sits at the very bottom of this zone */
    margin-bottom: -90px;    /* pulls card down into the footer */
}

/* Lock Floating CTA Card colors to prevent dark mode overrides from dark-mode.css (using high specificity) */
.v2-footer-cta-card,
body.dark-mode .v2-footer-cta-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden !important;
    /* Subtle watermark-like background pattern */
    background-image: radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
                      radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 60%) !important;
}

.v2-footer-cta-inner,
body.dark-mode .v2-footer-cta-inner {
    padding: 70px 80px !important;
    text-align: center !important;
}

.v2-footer-cta-card .v2-footer-cta-title,
body.dark-mode .v2-footer-cta-card .v2-footer-cta-title {
    font-family: 'Oswald', 'Montserrat', sans-serif !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin-bottom: 16px !important;
    line-height: 1.2 !important;
}

.v2-footer-cta-card .v2-footer-cta-desc,
body.dark-mode .v2-footer-cta-card .v2-footer-cta-desc {
    font-size: 16px !important;
    color: #4a5568 !important;
    line-height: 1.7 !important;
    max-width: 600px !important;
    margin: 0 auto 36px !important;
}

.v2-footer-cta-actions,
body.dark-mode .v2-footer-cta-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

/* Ghost CTA button variant (dark outline on white card) */
.v2-footer-cta-card .v2-footer-cta-ghost,
body.dark-mode .v2-footer-cta-card .v2-footer-cta-ghost {
    background-color: transparent !important;
    color: #1a202c !important;
    border: 1px solid rgba(26, 32, 44, 0.25) !important;
}
.v2-footer-cta-card .v2-footer-cta-ghost:hover,
body.dark-mode .v2-footer-cta-card .v2-footer-cta-ghost:hover {
    background-color: #1a202c !important;
    color: #ffffff !important;
    border-color: #1a202c !important;
    transform: translateY(-2px) !important;
}

/* ---- Dark Navy Footer Body ---- */
.v2-footer-body {
    background: #1e2a44;
    padding-top: 145px;     /* extra top to clear the overlapping CTA card */
    padding-bottom: 0;
    color: rgba(255, 255, 255, 0.75);
}

.v2-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 60px 0 40px;
}

/* Brand column */
.v2-footer-logo {
    max-height: 52px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}

.v2-footer-logo-link {
    display: inline-block;
}

.v2-footer-tagline,
body.dark-mode .v2-footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: #ffffff !important;
    margin-bottom: 0;
    max-width: 280px;
}


.v2-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.v2-footer-social-link:hover {
    background: var(--v2-primary);
    border-color: var(--v2-primary);
    color: #121212 !important;
    transform: translateY(-2px);
}

/* Link columns */
.v2-footer-col-title {
    font-family: 'Oswald', 'Montserrat', sans-serif !important;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff !important;
    margin-bottom: 22px;
}

.v2-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.v2-footer-links li a,
.v2-footer-links li span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.25s ease;
    line-height: 1.5;
}

.v2-footer-links li a:hover {
    color: var(--v2-primary);
}

/* ── Footer Divider with centered social icons ── */
.v2-footer-divider-wrap {
    padding: 0 0 0;
}

.v2-footer-divider {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 0 0;
}

/* The two gradient line arms */
.v2-footer-divider-line {
    flex: 1;
    height: 1px;
    /* Fades from transparent at the outer edge to the gold accent in the centre */
    background: linear-gradient(
        to var(--arm-dir, right),
        transparent 0%,
        rgba(212, 175, 55, 0.25) 40%,
        rgba(212, 175, 55, 0.55) 100%
    );
    display: block;
}

/* Mirror the second arm */
.v2-footer-divider-line:last-child {
    --arm-dir: left;
}

/* Centered social cluster */
.v2-footer-socials-center {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Bottom bar */
.v2-footer-bottom {
    padding: 22px 0;
}

.v2-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.v2-footer-copyright,
body.dark-mode .v2-footer-copyright,
.v2-footer-legal,
body.dark-mode .v2-footer-legal {
    font-size: 13px;
    color: #e2e8f0 !important;
}

.v2-footer-copyright a,
body.dark-mode .v2-footer-copyright a,
.v2-footer-legal a,
body.dark-mode .v2-footer-legal a {
    color: #ffffff !important;
    text-decoration: underline !important;
    transition: color 0.25s ease;
}

.v2-footer-copyright a:hover,
body.dark-mode .v2-footer-copyright a:hover,
.v2-footer-legal a:hover,
body.dark-mode .v2-footer-legal a:hover {
    color: var(--v2-primary) !important;
    text-decoration: underline !important;
}


/* ────────────────────────────────────────────────────────
   RESPONSIVE LAYOUTS
   ──────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .v2-hero-title {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    .v2-navbar .nav-menu {
        display: none;
        /* Hide standard menu on mobile */
    }

    .v2-nav-toggle {
        display: flex;
    }

    .v2-about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .v2-about-content {
        padding-right: 0;
    }

    .v2-about-images {
        margin-top: 20px;
    }

    .v2-projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .v2-cta-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    /* Footer responsive — tablet */
    .v2-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .v2-footer-cta-wrap {
        margin-bottom: -80px;
    }

    .v2-footer-body {
        padding-top: 130px;
    }
}

@media (max-width: 768px) {
    .v2-hero-title {
        font-size: 38px;
    }

    .v2-hero-desc {
        font-size: 14px;
    }

    .v2-hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .v2-hero-buttons .v2-btn {
        width: 100%;
    }

    .v2-navbar .logo img {
        max-height: 45px;
    }

    .v2-section-title {
        font-size: 32px;
    }

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

    .v2-cta-title {
        font-size: 30px;
    }

    .v2-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .v2-cta-buttons .v2-btn {
        width: 100%;
    }

    /* Footer responsive — mobile */
    .v2-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .v2-footer-cta-inner {
        padding: 40px 28px;
    }

    .v2-footer-cta-title {
        font-size: 28px;
    }

    .v2-footer-cta-wrap {
        margin-bottom: -70px;
    }

    .v2-footer-body {
        padding-top: 110px;
    }

    .v2-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .v2-footer-cta-actions .v2-btn {
        width: 100%;
    }
}

/* Mobile responsive menu slide-in panel */
.v2-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100%;
    background: rgba(18, 18, 18, 0.92);
    z-index: 3000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto; /* Handles small screen heights */
}

.v2-mobile-menu.open {
    right: 0;
}

.v2-mobile-menu-close {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.v2-mobile-menu-close:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--v2-primary);
    color: var(--v2-primary);
    transform: rotate(90deg) scale(1.05);
}

.v2-mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.v2-mobile-menu-links a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    opacity: 0.85;
}

.v2-mobile-menu-links a:hover,
.v2-mobile-menu-links a.active {
    color: var(--v2-primary);
    opacity: 1;
    padding-left: 8px;
}

.v2-mobile-menu-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    background-color: var(--v2-primary);
    border-radius: 50%;
    opacity: 0;
    transform: translateY(-50%) scale(0);
    transition: all 0.3s ease;
}

.v2-mobile-menu-links a:hover::before,
.v2-mobile-menu-links a.active::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.v2-mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2900;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.v2-mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.v2-mobile-menu-footer {
    display: flex;
    flex-direction: column;
}

.v2-mobile-menu-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
}

.v2-mobile-menu-contact .contact-title {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--v2-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.v2-mobile-menu-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.v2-mobile-menu-contact .contact-item i {
    color: var(--v2-primary);
    width: 14px;
}

.v2-mobile-menu-contact .contact-item:hover {
    color: #fff;
}

/* ────────────────────────────────────────────────────────
   SUBPAGES ADJUSTMENTS (Non-homepage)
   ──────────────────────────────────────────────────────── */
body:not(.homepage-v2) {
    padding-top: 95px; /* Push content down to prevent overlap by the fixed header */
}

/* On tablet/mobile, adjust padding-top since navbar padding decreases */
@media (max-width: 991px) {
    body:not(.homepage-v2) {
        padding-top: 79px;
    }
}

/* Force navbar to have its scrolled background on subpages from the beginning */
body:not(.homepage-v2) .v2-navbar {
    padding: 12px 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    -webkit-backdrop-filter: var(--glass-backdrop);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
}

body:not(.homepage-v2) .v2-navbar .logo img {
    max-height: 45px;
}

/* ────────────────────────────────────────────────────────
   HIGH-SPECIFICITY DARK THEME OVERRIDES
   Overrides inline styles on contact.php and listing.php
   ──────────────────────────────────────────────────────── */
html[data-theme="dark"] body.dark-mode .card-premium,
html[data-theme="dark"] body.dark-mode .project-meta-header,
html[data-theme="dark"] body.dark-mode .feature-group-card,
html[data-theme="dark"] body.dark-mode .feature-grid-item,
html[data-theme="dark"] body.dark-mode .typology-list-item,
html[data-theme="dark"] body.dark-mode .typology-list-item:hover,
html[data-theme="dark"] body.dark-mode .custom-accordion .accordion-item,
html[data-theme="dark"] body.dark-mode .table-dl li,
html[data-theme="dark"] body.dark-mode .contact-area2,
html[data-theme="dark"] body.dark-mode .widget.style-1,
html[data-theme="dark"] body.dark-mode .icon-bx-wraper.bx-style-1 {
    background-color: #1f2937 !important;
    background: #1f2937 !important;
    border-color: #374151 !important;
}

html[data-theme="dark"] body.dark-mode .form-control,
html[data-theme="dark"] body.dark-mode .form-select,
html[data-theme="dark"] body.dark-mode .custom-accordion .form-control[readonly],
html[data-theme="dark"] body.dark-mode .custom-accordion .input-group-text {
    background-color: #374151 !important;
    background: #374151 !important;
    border-color: #4b5563 !important;
    color: #f3f4f6 !important;
}

html[data-theme="dark"] body.dark-mode .form-control:focus,
html[data-theme="dark"] body.dark-mode .form-select:focus {
    border-color: var(--v2-primary) !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2) !important;
}

html[data-theme="dark"] body.dark-mode .table-dl li:nth-child(even) div,
html[data-theme="dark"] body.dark-mode .table-dl li:nth-child(even) .leftview {
    background-color: #2d3748 !important;
    background: #2d3748 !important;
}

html[data-theme="dark"] body.dark-mode .table-dl li .rightview {
    background-color: #111827 !important;
    background: #111827 !important;
}