/* ================= ROOT VARIABLES (Shreyansh Infra luxury palette) ================= */
:root {
  --primary: #5C6B2E;       /* olive green - wordmark */
  --primary-dark: #2E2018;  /* dark chocolate - luxury dark bg */
  --accent: #C9A227;        /* signature gold */
  --accent-light: #E7CB74;  /* light gold */
  --accent2: #8A6D3B;       /* bronze */
  --green: #74843F;         /* olive green (lighter) */
  --grey-swan: #A99B7E;     /* warm taupe */
  --dark: #2A1D14;          /* dark chocolate text */
  --light-bg: #FAF3E4;      /* cream */
  --white: #FFFDF7;         /* ivory */
  --gray: #6b5f52;
  --transition: all 0.45s cubic-bezier(0.22, 0.85, 0.32, 1);
  --gold-line: linear-gradient(90deg, var(--accent), var(--accent-light));
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark);
  overflow-x: hidden;
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.3px;
}

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

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

.section-padding {
  padding: 90px 0;
}

.section-tag {
  color: var(--accent);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.section-title {
  font-size: 2.8rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.btn-brand {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(243, 147, 27, 0.35);
}

.btn-brand:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 39, 51, 0.4);
}

.btn-outline-brand {
  border: 2px solid var(--white);
  color: var(--white);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  background: transparent;
  transition: var(--transition);
}

.btn-outline-brand:hover {
  background: var(--white);
  color: var(--primary-dark);
}

/* ================= PRELOADER ================= */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader .loader-ring {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

/* ================= NAVBAR ================= */
.navbar {
  padding: 16px 0;
  transition: var(--transition);
  background: linear-gradient(180deg, rgba(46,32,24,0.55), rgba(46,32,24,0));
}

.navbar.scrolled {
  background: rgba(15, 39, 51, 0.97);
  padding: 8px 0;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  border-bottom: 1px solid rgba(201,162,39,0.15);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white) !important;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.5px;
}

.navbar-brand img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
  transition: var(--transition);
}

.navbar-brand small {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 500;
  margin-top: 2px;
}

.navbar-brand span {
  color: var(--white);
  line-height: 1.15;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 12px;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-light);
  transition: var(--transition);
}

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

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  margin-left: 10px;
}

.nav-cta:hover {
  background: var(--white);
  color: var(--primary-dark) !important;
}

/* ================= HERO (Split Screen Premium) ================= */
.hero {
  min-height: 100vh;
  display: flex;
  position: relative;
  color: var(--white);
  background: var(--primary-dark);
  overflow: hidden;
}

.hero-text-side {
  width: 50%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
  padding: 60px 5vw;
  background: radial-gradient(circle at 30% 20%, rgba(201,162,39,0.08), transparent 55%), var(--primary-dark);
}

.hero-text-side::after {
  content: '';
  position: absolute;
  top: 0;
  right: -1px;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary-dark) 92%);
  z-index: 4;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 40% 100%);
}

.hero-img-side {
  width: 50%;
  position: relative;
  overflow: hidden;
}

.hero-img-side .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform 6s ease;
}

.hero-img-side .slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-img-side::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46,32,24,0.15), rgba(46,32,24,0.55));
  z-index: 2;
}

.hero-badge {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 3;
  background: rgba(46,32,24,0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 16px;
  padding: 18px 26px;
  color: var(--white);
  text-align: center;
}

.hero-badge .yrs {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--accent-light);
  font-weight: 700;
  line-height: 1;
}

.hero-badge .lbl {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.hero-tagline {
  color: var(--accent-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp 1s ease 0.1s both;
}

.hero-tagline::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-size: 3.1rem;
  line-height: 1.18;
  margin-bottom: 22px;
  animation: fadeUp 1s ease 0.2s both;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-light);
}

.hero p {
  font-size: 1.08rem;
  margin-bottom: 32px;
  max-width: 480px;
  opacity: 0.85;
  animation: fadeUp 1s ease 0.4s both;
  line-height: 1.7;
}

.hero .hero-stats {
  animation: fadeUp 1s ease 0.6s both;
}

.hero-btns {
  animation: fadeUp 1s ease 0.5s both;
}

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

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 46px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 30px;
}

.hero-stats .stat-num {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent-light);
  font-family: 'Playfair Display', serif;
}

.hero-stats .stat-label {
  font-size: 0.8rem;
  opacity: 0.75;
  letter-spacing: 0.5px;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 25%;
  transform: translateX(-50%);
  color: var(--white);
  z-index: 5;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

@media (max-width: 991px) {
  .hero { flex-direction: column; min-height: auto; }
  .hero-text-side, .hero-img-side { width: 100%; }
  .hero-text-side { padding: 130px 6vw 60px; }
  .hero-text-side::after { display: none; }
  .hero-img-side { height: 55vh; }
  .scroll-down { display: none; }
}

/* ================= SUB PAGE HERO ================= */
.page-hero {
  min-height: 45vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,32,24,0.85), rgba(46,32,24,0.55));
}

.page-hero h1 {
  font-size: 2.8rem;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.breadcrumb-custom a {
  color: var(--accent-light);
}

.breadcrumb-custom span {
  color: var(--white);
  opacity: 0.8;
}

/* ================= WHO WE SERVE CARDS ================= */
.serve-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
}

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

.serve-card:hover img {
  transform: scale(1.1);
}

.serve-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.serve-card h5 {
  color: var(--white);
  margin: 0;
  font-size: 1.3rem;
}

/* ================= BENEFIT ICONS ================= */
.benefit-box {
  text-align: center;
  padding: 40px 24px;
  border-radius: 16px;
  background: var(--white);
  transition: var(--transition);
  height: 100%;
  border: 1px solid #EDE4D3;
}

.benefit-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: transparent;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.8rem;
  transition: var(--transition);
}

.benefit-box:hover .benefit-icon {
  background: var(--accent);
  color: var(--white);
  transform: rotateY(360deg);
}

/* ================= DESIGN / PRODUCT CARDS ================= */
.design-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: var(--transition);
  height: 100%;
}

.design-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.design-card .img-wrap {
  overflow: hidden;
  height: 230px;
  position: relative;
}

.design-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.design-card:hover .img-wrap img {
  transform: scale(1.12);
}

.design-card .price-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.design-card .card-body {
  padding: 22px;
}

/* ================= PROCESS TIMELINE ================= */
.process-step {
  text-align: center;
  position: relative;
  padding: 20px;
}

.process-step .step-num {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
  font-family: 'Playfair Display', serif;
  position: relative;
  z-index: 2;
}

/* ================= COUNTER SECTION ================= */
.counter-section {
  background: linear-gradient(rgba(46,32,24,0.95), rgba(46,32,24,0.95)), url('https://picsum.photos/seed/counterbg/1920/600') center/cover;
  color: var(--white);
  position: relative;
}

.counter-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-line);
}

.counter-box {
  text-align: center;
}

.counter-box .num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-light);
  font-family: 'Playfair Display', serif;
}

/* ================= TESTIMONIALS ================= */
.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 34px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  height: 100%;
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 14px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.testimonial-card .author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

/* ================= FAQ ACCORDION ================= */
.accordion-button {
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--light-bg);
}

.accordion-button:not(.collapsed) {
  background: var(--primary);
  color: var(--white);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

/* ================= FOOTER ================= */
footer {
  background: var(--dark);
  color: #D8C9A9;
  padding-top: 70px;
}

footer h5 {
  color: var(--white);
  margin-bottom: 22px;
  font-size: 1.15rem;
}

footer a {
  color: #D8C9A9;
}

footer a:hover {
  color: var(--accent-light);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding: 22px 0;
  font-size: 0.9rem;
  text-align: center;
}

/* ================= CONTACT FORM ================= */
.contact-form-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 45px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.form-control, .form-select {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #DED0B6;
  margin-bottom: 18px;
}

.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.18);
}

.contact-info-box {
  background: var(--primary-dark);
  color: var(--white);
  border-radius: 20px;
  padding: 45px;
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  margin-bottom: 30px;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-light);
}

/* ================= BACK TO TOP ================= */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

/* ================= FLOATING WHATSAPP ================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ================= MISC ================= */
.divider-accent {
  width: 70px;
  height: 4px;
  background: var(--gold-line);
  margin: 18px 0 26px;
  border-radius: 4px;
}

/* Premium logo badge used in footer */
.footer-logo-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 14px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-badge img {
  height: 46px;
  width: auto;
}

.bg-light-brand {
  background: var(--light-bg);
}

.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
}

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

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

.project-card .info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .info {
  transform: translateY(0);
  opacity: 1;
}

.knowledge-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: var(--transition);
  background: white;
}

.knowledge-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.knowledge-card img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.knowledge-card .cat-badge {
  background: var(--accent);
  color: white;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  display: inline-block;
  margin-bottom: 12px;
}

@media (max-width: 991px) {
  .navbar.scrolled, .navbar {
    background: rgba(26,26,26,0.97);
  }
  .hero h1 { font-size: 2.4rem; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 576px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  .contact-form-wrap, .contact-info-box { padding: 26px; }
}
