/* ============================================================
   DON SOLUTIONS — STYLESHEET
   Colors: Dark Navy #0B1F3A | Green #1D7A3E | Cream #F5EDD8
   ============================================================ */

:root {
  --dark:        #0B1F3A;
  --dark-alt:    #12263f;
  --dark-mid:    #1a3358;
  --green:       #1D7A3E;
  --green-mid:   #22964c;
  --green-light: #2ECC71;
  --cream:       #F5EDD8;
  --white:       #ffffff;
  --light:       #F0F5FA;
  --gray-light:  #dde4ef;
  --gray:        #6b7f99;
  --gray-dark:   #3d4f66;
  --font:        'Montserrat', sans-serif;
  --ease:        cubic-bezier(.25,.46,.45,.94);
  --radius:      10px;
  --radius-lg:   18px;
  --shadow:      0 12px 48px rgba(0,0,0,.14);
  --shadow-lg:   0 24px 80px rgba(0,0,0,.18);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ── LAYOUT ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ── TYPOGRAPHY HELPERS ── */
.text-accent  { color: var(--green); }
.text-green   { color: var(--green-light); }
.text-white   { color: var(--white); }
.text-gray    { color: var(--gray); }

/* ── SECTION COMMON ── */
.section-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  padding-left: 36px;
  position: relative;
}
.section-tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 2px;
  background: var(--green);
}
.section-tag.light { color: var(--green-light); }
.section-tag.light::before { background: var(--green-light); }

.section-title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 14px;
}
.section-title.white { color: var(--white); }
.section-sub  { font-size: 1.05rem; color: var(--gray); max-width: 580px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 34px;
  border-radius: var(--radius);
  font-size: .92rem; font-weight: 600; letter-spacing: .4px;
  transition: all .28s var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-mid); border-color: var(--green-mid); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(29,122,62,.35); }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); transform: translateY(-2px); }
.btn-full { width: 100%; }

/* ── SCROLL ANIMATIONS ── */
[data-aos] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-aos].anim { opacity: 1; transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-36px); }
[data-aos="fade-right"].anim { transform: translateX(0); }
[data-aos="fade-left"]  { transform: translateX(36px); }
[data-aos="fade-left"].anim  { transform: translateX(0); }
[data-aos-delay="60"].anim  { transition-delay: .06s; }
[data-aos-delay="100"].anim { transition-delay: .10s; }
[data-aos-delay="120"].anim { transition-delay: .12s; }
[data-aos-delay="180"].anim { transition-delay: .18s; }
[data-aos-delay="200"].anim { transition-delay: .20s; }
[data-aos-delay="240"].anim { transition-delay: .24s; }
[data-aos-delay="300"].anim { transition-delay: .30s; }
[data-aos-delay="360"].anim { transition-delay: .36s; }
[data-aos-delay="420"].anim { transition-delay: .42s; }
[data-aos-delay="480"].anim { transition-delay: .48s; }
[data-aos-delay="540"].anim { transition-delay: .54s; }
[data-aos-delay="600"].anim { transition-delay: .60s; }

/* ════════════════════════════
   NAVBAR
   ════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.navbar.scrolled {
  background: var(--dark);
  padding: 10px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
}
.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img {
  height: 72px; width: auto;
  border-radius: 8px;
  transition: height .3s;
}
.navbar.scrolled .nav-logo img { height: 56px; }

.nav-menu {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  font-size: .86rem; font-weight: 600; letter-spacing: .4px;
  color: rgba(255,255,255,.82);
  padding: 8px 15px; border-radius: 7px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--green-light);
  transition: width .25s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: calc(100% - 28px); }
.nav-cta {
  background: var(--green); color: var(--white) !important;
  margin-left: 6px; border-radius: var(--radius);
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--green-mid); transform: translateY(-1px); }

/* Language Switcher */
.lang-switcher { display: flex; align-items: center; gap: 6px; margin-left: 14px; }
.lang-btn {
  font-size: .75rem; font-weight: 700; letter-spacing: 1px;
  color: rgba(255,255,255,.5);
  padding: 5px 10px; border-radius: 5px;
  transition: all .2s;
}
.lang-btn:hover { color: var(--white); }
.lang-btn.active {
  color: var(--white);
  background: rgba(46,204,113,.2);
  border: 1px solid rgba(46,204,113,.4);
}
.lang-div { color: rgba(255,255,255,.25); font-size: .8rem; }

/* Mobile Toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all .25s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(3px);
}
.nav-backdrop.show { display: block; }

/* ════════════════════════════
   HERO
   ════════════════════════════ */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('https://images.pexels.com/photos/1216589/pexels-photo-1216589.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(11,31,58,.93) 0%, rgba(11,31,58,.72) 55%, rgba(11,31,58,.9) 100%);
}
.hero-content {
  position: relative; z-index: 3;
  text-align: center; color: var(--white);
  max-width: 880px; padding: 0 24px;
  animation: heroIn .9s var(--ease) both;
}
@keyframes heroIn { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }

.hero-badge {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--green-light);
  padding: 8px 22px;
  border: 1px solid rgba(46,204,113,.35);
  border-radius: 100px;
  margin-bottom: 28px;
  animation: heroIn .9s .1s var(--ease) both;
}
.hero-title {
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  font-weight: 900; line-height: 1.04; letter-spacing: -2px;
  margin-bottom: 22px;
  animation: heroIn .9s .2s var(--ease) both;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--green-light); }
.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.72);
  margin-bottom: 42px;
  animation: heroIn .9s .3s var(--ease) both;
}
.hero-btns {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: heroIn .9s .4s var(--ease) both;
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.45);
  font-size: .72rem; letter-spacing: 2px; text-transform: uppercase;
  transition: color .2s;
}
.hero-scroll:hover { color: rgba(255,255,255,.9); }
.scroll-arrow { animation: bounce 2s infinite; font-size: 1.1rem; }
@keyframes bounce { 0%,100% { transform:translateY(0); } 50% { transform:translateY(8px); } }

/* ════════════════════════════
   STATS
   ════════════════════════════ */
.stats {
  background: var(--dark);
  padding: 72px 0;
  position: relative;
}
.stats::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light), var(--green));
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 24px; text-align: center;
}
.stat { position: relative; }
.stat:not(:last-child)::after {
  content: '';
  position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  height: 56px; width: 1px; background: rgba(255,255,255,.1);
}
.stat-num {
  font-size: clamp(2.4rem,5vw,3.8rem); font-weight: 900;
  color: var(--white); display: inline-block; line-height: 1;
}
.stat-suf {
  font-size: clamp(1.4rem,3vw,2.4rem); font-weight: 900;
  color: var(--green-light); display: inline-block; margin-left: 3px;
}
.stat-lbl {
  font-size: .78rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-top: 8px;
}

/* ════════════════════════════
   ABOUT
   ════════════════════════════ */
.about { padding: 100px 0; background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-text { font-size: 1.02rem; color: var(--gray-dark); margin-bottom: 18px; line-height: 1.82; }
.about-feats { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.about-feat { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--dark); }
.feat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-size: .68rem; font-weight: 700; flex-shrink: 0;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.img-badge {
  position: absolute; bottom: -20px; left: -20px;
  background: var(--green); color: var(--white);
  padding: 22px 30px; border-radius: var(--radius-lg);
  text-align: center; box-shadow: var(--shadow);
}
.badge-num { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.badge-lbl { font-size: .72rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; opacity: .9; margin-top: 4px; }

/* ════════════════════════════
   SERVICES
   ════════════════════════════ */
.services {
  padding: 100px 0;
  background: var(--dark-alt);
  background-image:
    radial-gradient(ellipse at 15% 50%, rgba(29,122,62,.1) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(18,38,63,.8) 0%, transparent 55%);
}
.srv-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
.srv-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  cursor: pointer; min-height: 300px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.srv-card:hover { transform: translateY(-7px); box-shadow: 0 20px 60px rgba(0,0,0,.4); }

.srv-img { position: absolute; inset: 0; }
.srv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.srv-card:hover .srv-img img { transform: scale(1.08); }

.srv-card::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(11,31,58,.96) 0%, rgba(11,31,58,.5) 55%, rgba(11,31,58,.18) 100%);
  transition: background .35s var(--ease);
}
.srv-card:hover::before {
  background: linear-gradient(to top, rgba(20,100,52,.96) 0%, rgba(11,31,58,.78) 55%, rgba(11,31,58,.4) 100%);
}
.srv-body {
  position: relative; z-index: 2;
  padding: 28px 24px; min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white);
  transition: opacity .3s, transform .3s var(--ease);
}
.srv-card:hover .srv-body { opacity: 0; transform: translateY(16px); }
.srv-icon { font-size: 2rem; margin-bottom: 10px; }
.srv-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 7px; }
.srv-body p  { font-size: .83rem; color: rgba(255,255,255,.72); line-height: 1.6; }

.srv-hover {
  position: absolute; inset: 0; z-index: 3;
  padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--white);
  opacity: 0; transform: translateY(16px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.srv-card:hover .srv-hover { opacity: 1; transform: translateY(0); }
.srv-hover h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 12px; }
.srv-hover p  { font-size: .92rem; color: rgba(255,255,255,.82); line-height: 1.75; margin-bottom: 20px; }
.srv-link { font-size: .88rem; font-weight: 600; color: var(--green-light); display: inline-flex; gap: 4px; transition: gap .2s; }
.srv-link:hover { gap: 10px; }

/* ════════════════════════════
   PROJECTS
   ════════════════════════════ */
.projects { padding: 100px 0; background: var(--light); }
.proj-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.proj-item { position: relative; overflow: hidden; border-radius: var(--radius-lg); cursor: pointer; }
.proj-item img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; transition: transform .6s var(--ease); display: block; }
.proj-large { grid-row: span 2; }
.proj-large img { min-height: 480px; }
.proj-item:hover img { transform: scale(1.06); }
.proj-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 22px;
  background: linear-gradient(to top, rgba(11,31,58,.92), transparent);
  color: var(--white);
  opacity: 0; transform: translateY(8px);
  transition: all .3s var(--ease);
}
.proj-item:hover .proj-overlay { opacity: 1; transform: translateY(0); }
.proj-overlay h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.proj-overlay p  { font-size: .78rem; color: var(--green-light); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

/* ════════════════════════════
   WHY US
   ════════════════════════════ */
.why { position: relative; overflow: hidden; }
.why-bg {
  background-image:
    linear-gradient(135deg, rgba(11,31,58,.97) 0%, rgba(29,122,62,.12) 55%, rgba(11,31,58,.97) 100%),
    url('https://images.pexels.com/photos/1474993/pexels-photo-1474993.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover; background-position: center; background-attachment: fixed;
  padding: 100px 0;
}
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.why-card {
  text-align: center; color: var(--white);
  padding: 40px 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all .3s var(--ease);
}
.why-card:hover {
  background: rgba(29,122,62,.16);
  border-color: rgba(46,204,113,.28);
  transform: translateY(-8px);
}
.why-icon { font-size: 2.4rem; margin-bottom: 18px; display: block; }
.why-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.why-card p  { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.72; }

/* ════════════════════════════
   CONTACT
   ════════════════════════════ */
.contact { padding: 100px 0; background: var(--white); }
.con-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.con-info { display: flex; flex-direction: column; gap: 32px; }
.con-item { display: flex; gap: 16px; align-items: flex-start; }
.con-icon { font-size: 1.5rem; flex-shrink: 0; }
.con-item h4 {
  font-size: .7rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--green); margin-bottom: 5px;
}
.con-item p { font-size: .98rem; color: var(--gray-dark); }
.con-item a { color: var(--gray-dark); transition: color .2s; }
.con-item a:hover { color: var(--green); }

.con-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.finput {
  width: 100%; padding: 14px 18px;
  font-family: var(--font); font-size: .93rem; color: var(--dark);
  background: var(--light);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  outline: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.finput:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(29,122,62,.12); }
.finput::placeholder { color: var(--gray); }
.fselect {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7f99' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center;
  padding-right: 38px;
}
.ftextarea { resize: vertical; min-height: 130px; }

/* ════════════════════════════
   FOOTER
   ════════════════════════════ */
.footer { background: var(--dark); color: var(--white); padding: 80px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { height: 54px; width: auto; border-radius: 8px; margin-bottom: 18px; }
.footer-brand p { font-size: .88rem; color: rgba(255,255,255,.5); line-height: 1.82; max-width: 270px; }
.footer-col h4 {
  font-size: .7rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--green-light); margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li, .footer-col p { font-size: .88rem; color: rgba(255,255,255,.55); margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul a:hover { color: var(--green-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.3);
}

/* ════════════════════════════
   RESPONSIVE — TABLET
   ════════════════════════════ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .stat:nth-child(2)::after { display: none; }
  .srv-grid { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap { max-width: 560px; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
  .proj-large { grid-column: span 2; grid-row: span 1; }
  .proj-large img { min-height: 320px; }
}

/* ════════════════════════════
   RESPONSIVE — MOBILE
   ════════════════════════════ */
@media (max-width: 768px) {
  /* Mobile nav */
  .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: min(300px, 85vw); height: 100vh;
    background: var(--dark);
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 32px 24px; gap: 4px;
    transition: right .35s var(--ease);
    box-shadow: -8px 0 40px rgba(0,0,0,.4);
    z-index: 1001;
  }
  .nav-menu.open { right: 0; }
  .nav-link { width: 100%; font-size: .98rem; padding: 13px 16px; }
  .nav-cta { margin-left: 0; margin-top: 12px; text-align: center; justify-content: center; }
  .lang-switcher { margin-left: 0; margin-top: 20px; padding-left: 16px; }
  .nav-toggle { display: flex; }

  /* Sections */
  .srv-grid { grid-template-columns: 1fr; }
  .con-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: 1fr; }
  .proj-grid { grid-template-columns: 1fr; }
  .proj-large { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .img-badge { left: 10px; bottom: -16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat::after { display: none; }
}

@media (max-width: 480px) {
  .hero-title { letter-spacing: -1px; }
  .about-img-wrap img { height: 340px; }
}
