
:root {
  --blue: #3b52a0;
  --blue-soft: #6c7cc4;
  --text: #555;
  --rose: #c9a39a;
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
}

body {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  color: var(--text);
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img, video, iframe, svg { max-width: 100%; }
img { height: auto; }

/* Notch / rounded-corner safe areas (landscape phones) */
.navbar, .contact-strip, .footer, .copyright {
  padding-left: max(var(--bs-gutter-x, 0px), var(--safe-l));
  padding-right: max(var(--bs-gutter-x, 0px), var(--safe-r));
}
.copyright { padding-bottom: calc(.5rem + var(--safe-b)); }

/* ---------- Navbar ---------- */
.navbar { padding: 0; z-index: 1030; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.logo-img { height: 70px; width: auto; display: block; }
.navbar-brand { padding: 4px 0; min-width: 120px; }
.navbar .navbar-collapse { justify-content: center; }
.navbar .navbar-nav { align-items: center; gap: 12px; }
.navbar .nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  padding: .7rem .9rem;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--blue); }
.navbar-toggler { min-width: 44px; min-height: 44px; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-bg {
  height: 520px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* Hero carousel slides – replace file names with your own images */
.hero-slide-1 { background-image: url('assests/Hero-section.webp'); }
.hero-slide-2 { background-image: url('assests/slider-2.jpg'); }
.hero-slide-3 { background-image: url('assests/slider-3.jpg'); }
.hero-slide-4 { background-image: url('assests/slider-4.png'); }
.hero-slide-5 { background-image: url('assests/slider-5.png'); }

.hero-carousel { position: relative; }
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next { z-index: 6; width: 8%; }
.hero-carousel .carousel-indicators { z-index: 6; margin-bottom: 1.2rem; }
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
}

.hero-container {
  position: absolute;
  top: 40px; left: 50%;
  transform: translateX(-50%);
  height: 555px;
  pointer-events: none;
  z-index: 5;
}
.hero-box {
  pointer-events: auto;
  width: 588px;
  max-width: 100%;
  padding: 36px 64px 0 64px;
  background: rgba(59, 82, 160, .68);
  display: flex;
  flex-direction: column;
}
.hero-box h1 {
  font-size: 36px;
  line-height: 56px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 22px;
}
.hero-list { margin: 0 0 22px; padding: 0; list-style: none; }
.hero-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 330px;
  min-height: 52px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
}
.hero-list i { font-size: 34px; width: 34px; text-align: center; flex-shrink: 0; }
.btn-call {
  width: 160px; height: 48px;
  line-height: 34px;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--blue);
  border-radius: 3px;
  align-self: flex-start;
}

/* ---------- Contact strip ---------- */
.contact-strip { background: var(--blue); padding: 24px 0; font-size: .95rem; }
.icon-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--rose); display: inline-grid; place-items: center; font-size: 1rem;
  flex-shrink: 0;
}
.contact-strip a, .contact-strip span { word-break: break-word; }

/* ---------- Headings ---------- */
.section-title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem); color: #454649; font-weight: 300; }
.underline { width: 100px; height: 2px; background: #454649; margin: 10px auto 0; }
.underline.bg-white { background: #fff; }
.underline.ms-0 { margin-left: 0; }

/* ---------- Partners ---------- */
.partner-logos div {
  color: #333; font-weight: 500; letter-spacing: 1.5px;
  font-size: 1.1rem; padding: 10px 0;
}
.partner-logos img { max-width: 100%; height: auto; }

/* ---------- Partners carousel (auto-scrolling logos) ---------- */
.logo-carousel {
  overflow: hidden;
  position: relative;
  margin-top: 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-scroll 28s linear infinite;
}
.logo-carousel:hover .logo-track { animation-play-state: paused; }
.logo-item {
  flex: 0 0 auto;
  width: 180px;
  padding: 0 24px;
  display: grid;
  place-items: center;
}
.logo-item img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; }

/* track holds the logo set twice, so moving -50% loops seamlessly */
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Services ---------- */
.services-intro { max-width: 720px; font-size: 1.1rem; color: #777; }
.service-card {
  background: #fff;
  padding-bottom: 18px;
  transition: transform .35s ease, box-shadow .35s ease;
  position: relative;
  z-index: 1;
  cursor: pointer;
  height: 100%;
}
.service-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.service-card h3 { font-size: 1.4rem; color: #5f5e5e; margin: 16px 12px 10px; font-weight: 400; }
.service-card p { font-size: 1.0rem; color: #5f5e5e; margin: 0 16px; }
.mt-4{
  margin-top: 36px !important;
}

/* ---------- About ---------- */
.about {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: url('assests/About-Background.webp') center/cover no-repeat;
  background-attachment: fixed;
}
.about::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0; width: 50%;
  background: #fafafa;
}
.about .container { position: relative; z-index: 2; }
.about-content { padding: 50px 40px 50px 0; max-width: 520px; margin-left: auto; }
.about-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); color: #444; font-weight: 400; }
.about-content p { font-size: 1.2rem; line-height: 1.9; text-align: justify; margin-top: 16px; color: #7a7a7a; }
.about-sub { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); color: #444; font-weight: 300; margin: 18px 0 12px; }
/* .badge-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: #12a5d9; 
   color: #fff; display: inline-grid; place-items: center; font-size: 1.4rem;
  flex-shrink: 0;
} */

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; padding: 30px 0; }
.cta-band h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.5rem); font-weight: 400; max-width: 320px; }
.btn-contact {
  background: var(--rose); color: #fff; font-size: .9rem; border-radius: 2px;
  font-family: 'Oswald', sans-serif; font-weight: 500;
}
.btn-contact:hover { background: #b9928a; color: #fff; }

/* ---------- Features ---------- */
.ring {
  width: 52px; height: 52px; border: 5px solid var(--blue); border-radius: 50%;
  color: var(--blue); display: grid; place-items: center; margin: 10px 0; font-size: 1.3rem;
  flex-shrink: 0;
}
.feature-title { font-size: 1.1rem; color: #555; font-weight: 400; }
.feature-text { font-size: .85rem; color: #666; }

/* ---------- Parallax CTA ---------- */
.parallax {
  background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
              url('assests/Outlook.webp') center/cover fixed;
  padding: 100px 0;
}
.parallax h2 { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.7rem); max-width: 640px; margin: 0 auto 10px; font-weight: 400; }
.parallax-text { max-width: 620px; font-size: .95rem; }
.btn-primary-blue {
  background: var(--blue); color: #fff; font-size: .9rem; border-radius: 2px; margin-top: 14px;
  font-family: 'Oswald', sans-serif;
}
.btn-primary-blue:hover { background: #2f4287; color: #fff; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--blue); padding: 50px 0 60px; }
.testi-card {
  background: #fff; max-width: 540px; width: 100%; margin: 0 auto;
  padding: 30px 34px; text-align: center; font-size: .9rem; color: #666;
}
.testi-card span { font-size: .8rem; color: #888; }
.testimonials .carousel-indicators { bottom: -40px; }
.testimonials .carousel-indicators [data-bs-target] { width: 7px; height: 7px; border-radius: 50%; }

/* ---------- Footer ---------- */
.footer { background: var(--blue); }
.footer-title { font-size: 2.4rem; font-weight: 400; }
.footer-text, .footer .form-label { font-size: .85rem; }
.copyright { background: #1a1a1a; font-size: .8rem; }
.made { text-decoration: none; color: inherit; }

/* ---------- Partner logo hover (grayscale -> colour) ---------- */
.tipbox, .excelia, .vidia, .dehotel, .umbra {
  filter: grayscale(100%);
  transition: filter .3s ease;
}
.tipbox:hover, .excelia:hover, .vidia:hover, .dehotel:hover, .umbra:hover {
  filter: grayscale(0%);
  cursor: pointer;
}

/* ---------- Hover effects only on devices that can hover ---------- */
@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    transform: scale(1.06) translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
    z-index: 5;
  }
  .gallery-grid img:hover {
    opacity: 0.5;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
    position: relative;
    z-index: 2;
  }
}

/* Touch devices: logos in colour, no sticky hover, no fixed backgrounds
   (background-attachment: fixed is broken/janky on iOS & most Android) */
@media (hover: none) {
  .tipbox, .excelia, .vidia, .dehotel, .umbra { filter: none; }
  .about, .parallax { background-attachment: scroll; }
  .service-card { cursor: default; }
}

/* =========================================================
   GALLERY PAGE
   ========================================================= */
.gallery-section { padding: 90px 0 60px; background: #fff; }
.gallery-group { margin-bottom: 60px; }
.gallery-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 34px;
  color: #555;
  min-height: 68px;
  margin: 0 0 24px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, box-shadow .35s ease;
}
.ratio-a img { aspect-ratio: 255 / 220; }
.ratio-b img { aspect-ratio: 237 / 140; }
.ratio-c img { aspect-ratio: 255 / 141; }

/* =========================================================
   FREE CONSULTATION PAGE
   ========================================================= */
.consult-section { padding: 60px 0 50px; background: #fff; }
.consult-box {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 40px 80px;
  background: #f0f0f0;
}
.consult-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 400;
  color: #4a4a4a;
  text-align: center;
  margin: 0 0 14px;
}
.consult-intro {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: clamp(1rem, .95rem + .2vw, 1.1rem);
  line-height: 2;
  color: #555;
}
.consult-form { max-width: 610px; margin: 0 auto; }
.consult-form .form-label {
  font-size: .95rem; font-weight: 500; color: #333; margin-bottom: 6px;
}
.consult-form .form-control {
  height: 42px;
  background: #fff;
  border: 1px solid #1d1d3a;
  border-radius: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;              /* 16px stops iOS zooming on focus */
  box-shadow: none;
}
.consult-form textarea.form-control { height: auto; min-height: 90px; }
.consult-form .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(59, 82, 160, .2);
}
.consult-form .form-control::placeholder { color: #888; }
.consult-form .form-check { margin-bottom: 10px; display: flex; align-items: center; gap: 12px; padding-left: 0; }
.consult-form .form-check-input {
  width: 19px; height: 19px; margin: 0; float: none; flex-shrink: 0;
  border: 1px solid #333; border-radius: 2px; background-color: #fff;
}
.consult-form .form-check-input:checked { background-color: var(--blue); border-color: var(--blue); }
.consult-form .form-check-label { font-size: .85rem; color: #333; margin: 0; }
.btn-submit {
  width: 192px; max-width: 100%;
  height: 45px;
  background: #1a1a1a; color: #fff;
  border: 0; border-radius: 3px;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem; font-weight: 500;
}
.btn-submit:hover { background: #000; color: #fff; }

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

/* ---- Ultra-wide (>=1600): stop the hero stretching ---- */
@media (min-width: 1600px) {
  .hero-bg { height: 620px; }
  .hero-container { top: 60px; }
}

/* ---- Large screens (>=1400) ---- */
@media (min-width: 1400px) {
  .hero-bg { height: 560px; }
}

/* ---- Laptops / small desktops (<=1199) ---- */
@media (max-width: 1199px) {
  .hero-container { left: 16px; transform: none; }
  .navbar .navbar-nav { gap: 4px; }
  .navbar .nav-link { padding: .7rem .6rem; }
  .hero-box { padding: 32px 48px 32px; }
}

/* ---- Tablets (<=991) ---- */
@media (max-width: 991px) {
  html { scroll-padding-top: 70px; }

  /* Navbar collapsed menu */
  .logo-img { height: 56px; }
  .navbar .navbar-nav { align-items: flex-start; gap: 0; padding: 8px 0 12px; }
  .navbar .nav-link { padding: .75rem 0; min-height: 44px; }

  /* Hero: box overlaps the image in normal flow (no fixed height math) */
  .hero { margin-bottom: 40px; }
  .hero-bg { height: 360px; }
  .hero-container {
    position: relative;
    top: auto; left: auto;
    transform: none;
    height: auto;
    margin: -140px 16px 0;
    pointer-events: auto;
  }
  .hero-box {
    width: 100%;
    max-width: 588px;
    height: auto;
    margin: 0 auto;
    padding: 32px 36px 36px;
  }
  .hero-box h1 { font-size: 30px; line-height: 44px; }

  .about, .parallax { background-attachment: scroll; }
  .about { min-height: 0; }
  .about::before { width: 100%; opacity: .92; }
  .about-content { margin: 0 auto; padding: 40px 16px; max-width: 640px; }

  .parallax { padding: 70px 0; }
  .service-card img { height: 180px; }

  .logo-item { width: 150px; padding: 0 18px; }

  .gallery-section { padding: 60px 0 30px; }
  .gallery-group { margin-bottom: 40px; }
  .gallery-title { min-height: 0; }
}

/* ---- Large phones / small tablets (<=767) ---- */
@media (max-width: 767px) {
  .hero-bg { height: 300px; }
  .hero-container { margin: -110px 12px 0; }
  .hero-box { padding: 24px 22px 28px; }
  .hero-box h1 { font-size: 24px; line-height: 34px; margin-bottom: 16px; }
  .hero-list li { max-width: 100%; font-size: 15px; gap: 12px; margin-bottom: 10px; min-height: 44px; }
  .hero-list i { font-size: 28px; width: 28px; }

  .contact-strip { padding: 18px 0; }
  .contact-strip .col, .contact-strip [class*="col-"] { margin-bottom: 8px; }

  .service-card img { height: 200px; }
  .service-card h3 { font-size: 1.1rem; }

  .about-content p { text-align: left; line-height: 1.8; }

  .cta-band { padding: 26px 0; text-align: center; }
  .cta-band h3 { max-width: none; margin-bottom: 14px; }

  .parallax { padding: 56px 0; }

  .testimonials { padding: 40px 0 56px; }
  .testi-card { padding: 24px 20px; }

  .footer .row > [class*="col-"] { margin-bottom: 20px; }

  .consult-section { padding: 30px 0; }
  .consult-box { padding: 36px 18px 50px; }
  .consult-intro { margin-bottom: 30px; line-height: 1.8; }

  .logo-track { animation-duration: 22s; }
}

/* ---- Phones (<=575) ---- */
@media (max-width: 575px) {
  .logo-img { height: 48px; }
  .navbar-brand { min-width: 0; }

  .gallery-section { padding: 40px 0 20px; }
  .gallery-title { font-size: 1.25rem; min-height: 0; margin-bottom: 16px; line-height: 30px; }
  .gallery-grid { gap: 10px; }

  .partner-logos div { font-size: 1rem; letter-spacing: 1px; }
  .logo-item { width: 120px; padding: 0 12px; }
  .logo-item img { max-height: 54px; }

  .btn-call, .btn-contact, .btn-primary-blue { min-height: 44px; }
  .btn-submit { width: 100%; }

  .testi-card { font-size: .85rem; }
  .footer-title { font-size: 1.2rem; }
}

/* ---- Small phones (<=480) ---- */
@media (max-width: 480px) {
  .consult-form .col-6 { width: 100%; }   /* stack paired fields */
  .hero-bg { height: 260px; }
  .hero-container { margin-top: -90px; }
  .section-title { text-align: center; }
  .services-intro { font-size: .8rem; }
}

/* ---- Very small phones (<=400) ---- */
@media (max-width: 400px) {
  .hero-box { padding: 20px 16px 24px; }
  .hero-box h1 { font-size: 21px; line-height: 30px; }
  .btn-call { width: 100%; }
  .about-content { padding: 32px 12px; }
  .gallery-title { font-size: 1.1rem; line-height: 26px; }
}

/* ---- Landscape phones: avoid oversized hero ---- */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-bg { height: 260px; }
  .parallax { padding: 40px 0; }
}

/* ---- Respect reduced-motion preference ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}