html {
  scroll-behavior: smooth;
}

body {
  background: #F8F5F2;
  color: #2A2A2A;
}

:root {
  --primary: #0B0F1A;
  --secondary: #111827;
  --accent: #C8A96A;
  --text-light: #F9FAFB;
  --text-muted: #9CA3AF;
}

/* Headings */
h1,
h2,
h3,
h4 {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 3.2rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.5rem;
}

/* Body */
p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}


/* Alternative alert bg */
/* alt alerts */
.alt_alert_secondary {
  background-color: #e2e3e5;
}

.alt_alert_danger {
  background-color: #f8d7da;
}

.alt_alert_success {
  background-color: #d4edda;
}

.alt_alert_warning {
  background-color: #fff3cd;
}

.alt_alert_info {
  background-color: #d1ecf1;
}

.alt_alert_light {
  background-color: #fefefe;
}

.alt_alert_dark {
  background-color: #d6d8d9;
}

.article_contents {
  height: 350px;
}

.article_contents:hover {
  height: fit-content !important;
  min-height: fit-content !important;
}

.article_container:hover {
  position: relative;
  z-index: 555;
}

.article_container:hover .article_content {
  display: block;
}

/* .article_container:hover .article_contents {
  min-height: fit-content !important;
  position: absolute;
  background-image: linear-gradient(to top, #c4c5c7 0%, #dcdddf 52%, #ebebeb 100%);
    -webkit-transition: max-height 1.12s;
    -moz-transition: max-height 1.12s;
    transition: max-height 1.12s;

} */

.article_contents.article_contents_hov {
  min-height: fit-content !important;
  position: absolute;
  background-image: linear-gradient(to top, #2d2d2d 0%, #2d2d2d 52%, #474747 100%);
  -webkit-transition: max-height 1.12s;
  -moz-transition: max-height 1.12s;
  transition: max-height 1.12s;
}

.article_contents.article_contents_hov a,
.article_contents.article_contents_hov span {
  color: #fff !important;
}

.artclt_bg2 {
  background-image: linear-gradient(to top, #f8f9fa 0%, #e9ecef 100%);
  background-blend-mode: screen;
  /* border-radius: 25px; */
}

.hide_text_on_length {
  white-space: nowrap;
  overflow: hidden;
  /* text-overflow: clip; */
  text-overflow: "...";
}


/* ***************************************************************************************************** */
/* Start here */



/* Section titles center alignment */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* Navbar */
.custom-navbar {
    background: rgba(11, 15, 26, 0.85);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.nav-link {
    color: #F9FAFB !important;
    margin-left: 15px;
}

/* Buttons */
.btn-gold {
    background: #C8A96A;
    color: #000;
    border-radius: 30px;
    padding: 8px 20px;
}

.btn-gold:hover {
    background: #b89650;
}

/* Sections */
section {
    padding: 100px 0;
}

@media (max-width: 768px) {
    section {
        padding: 70px 0;
    }
}

.mt-100 {
    margin-top: 100px;
}

.mb-100 {
    margin-bottom: 100px;
}

/* Light Section */
.light-section {
    background: #F9FAFB;
    color: #111827;
}

/* Footer */
.footer {
    background: #111827;
    padding: 60px 0;
}

.hero-interiors {
    height: 90vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)),
        url('../img/home/interior-hero.jpg') center/cover;
    color: #fff;
}

.service-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-8px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #C8A96A;
    margin-top: 15px;
}

.hero-actions {
    margin-top: 30px;
}

.featured-card {
    padding: 40px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    transition: 0.4s ease;
}

.featured-card:hover {
    transform: translateY(-10px);
}

.featured-card.dark {
    background: #111827;
}

.link-arrow {
    color: #C8A96A;
    text-decoration: none;
}

.sub-card {
    padding: 30px;
    border-radius: 15px;
    background: #fff;
    transition: 0.3s;
}

.sub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.cta-section {
    background: fixed;
    background-image: url('../img/home/interior-hero.jpg');
    background-size: cover;
    padding: 120px 0;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    padding: 15px;
    border-radius: 50%;
    color: #fff;
}

.sub-card {
    padding: 35px;
    border-radius: 18px;
    background: #ffffff;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* subtle glow effect */
.sub-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(200, 169, 106, 0.2), transparent);
    opacity: 0;
    transition: 0.5s;
}

.sub-card:hover::before {
    opacity: 1;
}

.sub-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.btn-gold {
    background: var(--accent);
    color: #000;
    border-radius: 50px;
    padding: 10px 26px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: #b89650;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(200, 169, 106, 0.4);
}

.custom-navbar {
    transition: all 0.3s ease;
}

.custom-navbar.scrolled {
    background: rgba(11, 15, 26, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

img {
    border-radius: 12px;
    transition: transform 0.4s ease;
}

img:hover {
    transform: scale(1.03);
}

.light-section {
    background: #F9FAFB;
    color: #111827;
}

.light-section h2,
.light-section h3 {
    color: #0B0F1A;
}

a {
    transition: all 0.25s ease;
}

a:hover {
    opacity: 0.8;
}


.page-hero {
    height: 50vh;
    background:
        linear-gradient(rgba(11, 15, 26, 0.8), rgba(11, 15, 26, 0.95)),
        url('../img/home/interior-hero.jpg') center/cover;
}

.service-card {
    padding: 35px;
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card.featured {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.service-card.featured.dark {
    background: #111827;
}

.custom-modal {
    background: #0B0F1A;
    color: #fff;
    border-radius: 20px;
    padding: 30px;
}

.custom-modal h2 {
    margin-bottom: 15px;
}

.custom-modal ul {
    margin-top: 20px;
}

.contact-info i {
    color: #C8A96A;
    margin-right: 10px;
}

.contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: #C8A96A;
    box-shadow: none;
}

.info-card {
    padding: 40px;
    border-radius: 18px;
    background: #fff;
    transition: 0.3s;
}

.info-card.dark {
    background: #111827;
    color: #fff;
}

.mini-card {
    padding: 25px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.subscribe-section input {
    padding: 12px;
    border-radius: 30px;
    border: 1px solid #ddd;
    width: 250px;
}














/* gallery */

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
}

.gallery-item img {
    transition: 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.contact-form-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
}


/* FILTER BUTTONS */
.filters {
    margin-bottom: 40px;
}

.filter-btn {
    border: none;
    background: #EDE6DF;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 30px;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #C8A96A;
    color: #fff;
}

/* GALLERY */
.gallery-grid {
    margin-top: 20px;
}

.gallery-item {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-item img {
    width: 100%;
    transition: 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.philosophy-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
}

.philosophy-card:hover {
    transform: translateY(-6px);
}

.mini-card {
    background: #EDE6DF;
    padding: 25px;
    border-radius: 12px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
}

.project-hero {
    height: 60vh;
    background:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
        url('../img/home/interior-hero.jpg') center/cover;
    color: #fff;
}

.project-description {
    max-width: 700px;
    margin: auto;
    font-size: 1.1rem;
}

.gallery-item {
    position: relative;
}

.gallery-item::after {
    content: attr(data-title);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
}


.ecosystem-bar {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(6px);
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: 1200;
}

.ecosystem-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 9999;
    /* 🔥 increase priority */

    background: rgba(15, 15, 15, 0.92);
    backdrop-filter: blur(8px);
}

/* INNER CONTAINER FIX */
.ecosystem-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: relative;
    /* 🔥 anchors dropdown */
}

/* =========================
   DROPDOWN
========================= */

.ecosystem-dropdown {
    position: relative;
}

/* BUTTON */
.ecosystem-toggle {
    background: transparent;
    border: none;
    color: #fff;

    font-size: 13px;
    font-weight: 500;

    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ARROW */
.ecosystem-toggle .arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.ecosystem-toggle.active .arrow {
    transform: rotate(180deg);
}




/* =========================
   DROPDOWN MENU
========================= */

.ecosystem-menu {
    position: absolute;
    top: 120%;
    /* sits just below button */
    left: 0;

    background: #1F1F1F;
    border-radius: 10px;

    min-width: 220px;
    padding: 8px 0;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition: all 0.25s ease;
}

/* SHOW STATE */
.ecosystem-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* LINKS */
.ecosystem-menu a {
    display: block;
    padding: 10px 16px;

    color: #ccc;
    text-decoration: none;
    font-size: 13px;

    transition: all 0.2s ease;
}

.ecosystem-menu a:hover {
    background: #C8A96A;
    color: #000;
}

/* ACTIVE PLATFORM */
.ecosystem-menu a.active {
    color: #C8A96A;
    font-weight: 600;
}

/* =========================
   TAGLINE (RIGHT SIDE)
========================= */

.ecosystem-tag {
    color: #aaa;
    font-size: 12px;
    letter-spacing: 0.3px;
}

/* =========================
   NAVBAR OFFSET FIX
========================= */

/* If navbar is also fixed */
.custom-navbar {
    position: fixed;
    top: 38px;
    /* height of ecosystem bar */
    width: 100%;
    z-index: 900;
}


/* Push body content down */
body {
    padding-top: 110px;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 768px) {

    .ecosystem-tag {
        display: none;
    }

    .ecosystem-menu {
        min-width: 180px;
    }

    .ecosystem-toggle {
        font-size: 12px;
    }
}


body * {
    pointer-events: auto;
}

.ecosystem-bar {
    pointer-events: auto;
}


/* Navbar */
.custom-navbar {
    background: rgba(11, 15, 26, 0.85);
    backdrop-filter: blur(10px);
}

.custom-navbar {
    padding: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.logo {
    height: 40px;
}

.nav-link {
    margin: 0 15px;
    font-weight: 500;
    color: #fff !important;
}

.nav-link:hover {
    color: #C8A96A !important;
}

.custom-navbar {
    transition: all 0.3s ease;
}

.custom-navbar.scrolled {
    background: rgba(11, 15, 26, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}