/* ================= RESET & BASE ================= */
:root{
  --maroon:#ff2a85;
  --maroon-dark:#be185d;
  --gold:#ffb703;
  --gold-dark:#ca8a04;
  --olive:#8a9a3d;
  --olive-dark:#6f7d2f;

  /* dark theme surfaces */
  --bg-black:#0a0a0d;
  --bg-panel:#141317;      /* cards / stats-bar / location cards */
  --bg-panel-2:#1b191e;    /* slightly lighter panel (hover / footer top) */
  --border-soft:rgba(255,255,255,.08);

  --text-light:#f6efe6;    /* headings / primary text on dark */
  --text-muted:#b7aea5;    /* body text on dark */
  --text-dark:#2c2430;     /* kept for any light-surface text */

  --radius:14px;
  --shadow:0 10px 30px rgba(0,0,0,.45);
  --font-display:'Poppins', sans-serif;
  --font-body:'Poppins', sans-serif;
}

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

html{
  scroll-behavior:smooth;
  height:-webkit-fill-available;
}

body{
  font-family:var(--font-body);
  color:var(--text-light);
  background:var(--bg-black);
  line-height:1.6;
  overflow-x:hidden;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

img{max-width:100%;height:auto;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}

.container{
  width:100%;
  max-width:1240px;
  margin:0 auto;
  padding:0 24px;
}

.section{padding:70px 0;}

/* ================= BUTTONS ================= */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 26px;
  border-radius:8px;
  font-size:.95rem;
  font-weight:500;
  transition:all .25s ease;
  white-space:nowrap;
}
.btn .arrow{transition:transform .25s ease;}
.btn:hover .arrow{transform:translateX(4px);}

.btn-primary{
  background:var(--maroon);
  color:#fff;
}
.btn-primary:hover{background:var(--maroon-dark);}

.btn-outline{
  background:transparent;
  color:var(--gold);
  border:1.5px solid var(--gold);
}
.btn-outline:hover{background:var(--gold);color:#151217;}

.btn-outline-gold{
  background:transparent;
  color:var(--gold);
  border:1.5px solid var(--gold);
  padding:12px 28px;
}
.btn-outline-gold:hover{background:var(--gold);color:#151217;}

.btn-gold{
  background:linear-gradient(135deg,#CD9A3E,var(--gold-dark));
  color:#fff;
  padding:12px 22px;
  border-radius:8px;
}
.btn-gold:hover{filter:brightness(1.05);}

/* ================= HEADER ================= */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--bg-black);
  border-bottom:1px solid var(--border-soft);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-space-between;
  padding-top:10px;
  padding-bottom:10px;
  gap:24px;
}
.logo img{height:60px;width:auto;object-fit:contain;}

.main-nav{
  display:flex;
  align-items:center;
  gap:32px;
  flex:1;
  justify-content:center;
}
.main-nav a{
  font-size:.95rem;
  font-weight:500;
  color:var(--text-light);
  position:relative;
  padding-bottom:4px;
  transition:color .2s;
  white-space:nowrap;
}
.main-nav a:hover{color:var(--maroon);}
.main-nav a.active{color:var(--maroon);}
.main-nav a.active::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-2px;
  height:2px;
  background:var(--maroon);
}

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  padding:6px;
}
.nav-toggle span{
  width:24px;height:2px;background:var(--text-light);
}

/* One consistent desktop Apply Now action across every page header. */
@media (min-width:993px){
  .site-header .header-inner > .btn.btn-vacancies,
  .site-header .header-inner > .btn-gold-exact{
    width:136px !important;
    height:46px !important;
    padding:0 !important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    line-height:1;
  }
}

/* ================= HERO ================= */
.hero{
  position:relative;
  min-height:580px;
  display:flex;
  align-items:center;
  padding-bottom:100px;
  background:var(--bg-black);
}
.hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:hidden;
}
.hero-bg img{
  width:100%;height:100%;object-fit:cover;object-position:center;
}
.hero-overlay{
  position:absolute;
  top:0;left:0;
  width:60%;height:100%;
  background:linear-gradient(90deg, var(--bg-black) 45%, rgba(10,10,13,.55) 75%, rgba(10,10,13,0) 100%);
  pointer-events:none;
}

.hero-inner{
  position:relative;
  z-index:2;
  width:100%;
  padding-left:100px;
}
.hero-text{max-width:560px;}
.hero-text h1{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(2.2rem, 4vw, 3.2rem);
  line-height:1.15;
  color:var(--text-light);
}
.hero-text h1 .accent{color:var(--maroon);}

.divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:22px 0;
  color:var(--gold);
}
.divider span{
  width:60px;height:1px;background:var(--gold);
  opacity:.6;
}
.divider i{font-style:normal;font-size:.9rem;}

.hero-text > p{
  color:var(--text-muted);
  font-size:1.02rem;
  max-width:460px;
  margin-bottom:32px;
}

.hero-actions{display:flex;gap:16px;flex-wrap:wrap;}

/* decorative leaf artwork in hero corners */
.hero-leaf{
  position:absolute;
  z-index:1;
  pointer-events:none;
  opacity:.9;
}
.hero-leaf.leaf-bl{left:-10px;bottom:-10px;width:150px;}
.hero-leaf.leaf-tr{right:-10px;top:-10px;width:220px;}

/* ---- Stats bar ---- */
.stats-bar{
  position:absolute;
  left:0;right:0;
  bottom:-160px;
  z-index:3;
  margin:0 24px;
  background:var(--bg-panel);
  border:1px solid var(--border-soft);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:24px 20px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
}
.stat-item{
  display:flex;
  align-items:center;
  gap:15px;
}
.stat-icon{
  width:44px;height:44px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
  color:#fff;
}
.icon-pink{background:var(--maroon);}
.icon-gold{background:var(--gold);}
.icon-olive{background:var(--olive);}

.stat-text{display:flex;flex-direction:column;font-size:.85rem;color:var(--text-muted);}
.stat-text strong{
  font-size:1rem;
  color:var(--text-light);
  font-weight:600;
}

/* ================= SECTION HEAD ================= */
.section-head{text-align:center;max-width:620px;margin:0 auto 40px;}
.mini-divider{
  display:flex;align-items:center;justify-content:center;gap:10px;
  color:var(--gold);margin-bottom:14px;
}
.mini-divider span{width:36px;height:1px;background:var(--gold);opacity:.6;}
.mini-divider i{font-style:normal;font-size:.8rem;}

.section-head h2{
  font-family:var(--font-display);
  font-size:clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight:700;
  color:var(--maroon);
  margin-bottom:10px;
}
.section-head p{color:var(--text-muted);font-size:1rem;}

/* ================= LOCATIONS ================= */
.locations-section{
  background:var(--bg-black);
  padding-top:180px;
}

.locations-carousel-wrap{
  position:relative;
  display:flex;
  align-items:flex-start;
  gap:14px;
}

.locations-track{
  flex:1;
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:24px;
}
.location-card{
  height:100%;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--border-soft);
  border-radius:var(--radius);
  background:var(--bg-panel);
}
.location-img{height:180px;}
.location-img img{width:100%;height:100%;object-fit:cover;}
.location-body{display:flex;flex:1;flex-direction:column;padding:18px;}
.location-body h3{font-family:var(--font-display);font-size:1rem;line-height:1.4;color:var(--text-light);}
.location-body p{margin-top:8px;color:var(--text-muted);font-size:.88rem;}
.location-body .view-jobs{margin-top:auto;padding-top:16px;color:var(--maroon);font-weight:600;}

/* Three even cards per desktop row; the final seventh card stays centered. */
@media (min-width:1101px){
  .locations-track{grid-template-columns:repeat(6,1fr);}
  .locations-track .location-card{grid-column:span 2;}
  .locations-track .location-card:nth-child(7){grid-column:3 / span 2;}
}

.carousel-arrow{
  width:40px;height:40px;
  border-radius:50%;
  background:var(--bg-panel);
  border:1px solid var(--border-soft);
  color:var(--text-light);
  display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;
  cursor:pointer;
  transition:all .2s;
  flex-shrink:0;
  margin-top:120px;
}
.carousel-arrow:hover{background:var(--maroon);border-color:var(--maroon);}

.view-all-wrap{text-align:center;margin-top:40px;}

/* ================= WHY WORK ================= */
.why-section{
  background:var(--bg-black);
  padding-top:60px;
  padding-bottom:30px;
}
.why-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:24px;
  text-align:center;
}
.why-icon{
  width:64px;height:64px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 18px;
  background:var(--bg-panel);
  border:1px solid var(--border-soft);
}
.bg-pink{color:var(--maroon);}
.bg-gold{color:var(--olive);}

.why-item h3{
  font-family:var(--font-display);
  font-size:1.08rem;
  font-weight:600;
  margin-bottom:10px;
  color:var(--maroon);
}
.why-item p{color:var(--text-muted);font-size:.88rem;}

/* ================= CTA BANNER ================= */
.cta-banner-wrap{padding-top:50px;padding-bottom:70px;}
.cta-banner{
  position:relative;
  background:var(--bg-panel);
  border:1px solid var(--border-soft);
  border-radius:var(--radius);
  padding:34px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  overflow:hidden;
}
.cta-left{display:flex;align-items:center;gap:20px;max-width:520px;}
.cta-icon{
  width:52px;height:52px;
  border-radius:50%;
  border:1.5px solid var(--maroon);
  color:var(--maroon);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.cta-left h3{
  font-family:var(--font-display);
  font-size:1.3rem;
  font-weight:600;
  margin-bottom:4px;
  color:var(--maroon);
}
.cta-left p{color:var(--text-muted);font-size:.92rem;}

.cta-lotus{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  color:var(--maroon);
  opacity:.1;
  pointer-events:none;
}

.cta-submit{position:relative;z-index:2;}
.arrow-circle{
  width:22px;height:22px;
  border-radius:50%;
  background:rgba(255,255,255,.2);
  display:inline-flex;align-items:center;justify-content:center;
  font-size:.85rem;
}

/* ================= FOOTER ================= */
.site-footer{
  background:var(--bg-panel);
  border-top:1px solid var(--border-soft);
  padding-top:50px;
  margin-top:auto;
}
.footer-top{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1.2fr;
  gap:32px;
  padding-bottom:36px;
}
.footer-logo{height:60px;object-fit:contain;margin-bottom:14px;}
.footer-brand p{color:var(--text-muted);font-size:.88rem;margin-bottom:18px;max-width:280px;}

.social-icons{display:flex;gap:10px;}
.social-icons a{
  width:34px;height:34px;
  border-radius:50%;
  background:var(--olive);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  transition:background .2s;
}
.social-icons a:hover{background:var(--maroon);}

.footer-col h4{
  font-family:var(--font-display);
  font-size:1.05rem;
  font-weight:600;
  margin-bottom:16px;
  color:var(--text-light);
}
.footer-col a{
  display:block;
  color:var(--text-muted);
  font-size:.9rem;
  margin-bottom:12px;
  transition:color .2s;
}
.footer-col a:hover{color:var(--maroon);}

.footer-contact p{
  color:var(--text-muted);
  font-size:.9rem;
  margin-bottom:14px;
  display:flex;
  gap:8px;
}
.fi{flex-shrink:0;color:var(--maroon);}

.footer-bottom{
  background:var(--maroon);
  color:#fff;
  text-align:center;
  padding:16px 0;
  font-size:.85rem;
  position:relative;
}

.back-to-top{
  position:absolute;
  right:24px;
  top:-22px;
  width:44px;height:44px;
  border-radius:50%;
  background:var(--maroon);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 16px rgba(255,42,133,.35);
  transition:transform .2s ease;
}
.back-to-top:hover{transform:translateY(-4px);}

/* ================= RESPONSIVE DESIGN FOR ALL PAGES ================= */
@media (max-width:1100px){
  .footer-top{grid-template-columns:1fr 1fr;}
  .footer-brand{grid-column:1/-1;}
  .locations-track{grid-template-columns:repeat(3,1fr);}
  .why-grid{grid-template-columns:repeat(3,1fr);}
}

@media (max-width:992px){
  .main-nav{display:none;}
  .nav-toggle{display:flex; z-index:1200;}
  .btn-vacancies span{display:none;}

  .main-nav.open{
    display:flex;
    position:absolute;
    top:100%;left:0;right:0;
    background:#0a0a0d;
    flex-direction:column;
    padding:20px 24px;
    gap:18px;
    border-bottom:1px solid var(--border-soft);
    box-shadow:var(--shadow);
    z-index: 1100;
    text-align: center;
  }

  .hero{min-height:auto; padding-bottom:40px;}
  .hero-bg{width:100%;height:100%;border-radius:0;}
  .hero-overlay{width:100%;background:linear-gradient(180deg,var(--bg-black) 20%,rgba(10,10,13,.75) 100%);height:100%;}
  .hero-inner{padding-left:0; text-align:center;}
  .hero-text{max-width:100%; margin:0 auto;}
  .hero-text h1{font-size:2.2rem;}
  .hero-actions{justify-content:center;}
  .divider{justify-content:center;}
  .hero-text > p{margin-left:auto; margin-right:auto;}

  .locations-section{padding-top:60px;}
  .stats-bar{
    position:static;
    left:auto;right:auto;bottom:auto;
    margin:24px 0 0;
    grid-template-columns:repeat(2,1fr);
  }
  .locations-track{grid-template-columns:repeat(2,1fr);}
}

@media (max-width:640px){
  /* Shared phone layout: every page uses the same header, footer and gutters. */
  .container{padding:0 16px;}
  .section{padding:40px 0;}
  .site-header .header-inner{
    min-height:60px;
    padding-top:8px;
    padding-bottom:8px;
    gap:10px;
    justify-content:space-between;
  }
  .logo img{height: 105px;}
  .site-header .nav-toggle{margin-left:0; flex-shrink:0;}
  .site-header .header-inner > .btn:not(.nav-toggle),
  .site-header .header-inner > .btn-gold-exact{
    min-width:0;
    min-height:42px;
    padding:10px 12px;
    justify-content:center;
    flex-shrink:0;
  }
  .site-header .header-inner > .btn-gold-exact{
    display:inline-flex;
    align-items:center;
    gap:8px;
    border-radius:8px;
    background:var(--gold);
    color:#151217;
  }
  .site-header .header-inner > .btn span,
  .site-header .header-inner > .btn-gold-exact span{display:inline;}
  .main-nav.open{padding:14px 16px;gap:0;}
  .main-nav.open a{width:100%;padding:11px 0;}
  .hero-text h1{font-size:1.8rem;}
  .stats-bar{grid-template-columns:1fr;padding:16px;margin:20px 0 0;}
  .why-grid{grid-template-columns:1fr;gap:20px;}
  .cta-banner{flex-direction:column;text-align:center;padding:24px 18px;}
  .cta-left{flex-direction:column;text-align:center;}
  .site-footer .footer-top{grid-template-columns:1fr; gap:24px; padding-bottom:28px;}
  .site-footer .footer-brand,
  .site-footer .footer-col{text-align:center;}
  .site-footer .footer-brand p{margin-left:auto;margin-right:auto;}
  .site-footer .social-icons{justify-content:center;}
  .site-footer .footer-contact p{justify-content:center;text-align:left;}
  .locations-track{grid-template-columns:1fr;gap:18px;}
  .locations-carousel-wrap{display:block;}
  .carousel-arrow{display:none;}
  .locations-track{width:100%;}
  .location-card{
    min-height:400px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    border:1px solid var(--border-soft);
    border-radius:var(--radius);
    background:var(--bg-panel);
  }
  .location-img{height:220px;}
  .location-img img{width:100%;height:100%;object-fit:cover;}
  .location-body{display:flex;flex:1;flex-direction:column;padding:20px;}
  .location-body h3{font-size:1.08rem;line-height:1.4;color:var(--text-light);}
  .location-body p{margin-top:8px;color:var(--text-muted);}
  .location-body .view-jobs{margin-top:auto;padding-top:16px;color:var(--maroon);font-weight:600;}
  .stats-bar-exact .stat-item{
    min-height:82px;
    padding:14px 16px;
    border:1px solid var(--border-soft);
    border-radius:10px;
    background:rgba(255,255,255,.03);
  }
  .why-grid{gap:16px;}
  .why-item{
    min-height:190px;
    padding:22px 18px;
    border:1px solid var(--border-soft);
    border-radius:var(--radius);
    background:var(--bg-panel);
  }
  .cta-banner{flex-wrap:wrap;justify-content:center;}
  .cta-left{flex:1 1 240px;}
  .back-to-top{right:16px; width:38px; height:38px;}

  /* Page-level grids that share the global stylesheet. */
  .dmi-about-container,
  .dmi-contact-container,
  .dmi-contact-hero-inner{padding-left:16px;padding-right:16px;}
  .dmi-contact-cards-wrap{padding-left:16px;padding-right:16px;}
  .dmi-about-strip-item,
  .dmi-about-value-item,
  .dmi-contact-card{min-height:170px;}
  .dmi-contact-card{padding:4px 0;}
}
