/* ========== RESET + BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --teal: #176d80;
  --orange: #f7931e;
  --text: #0e2f36;
  --muted: #9D9E91;
  --ease: cubic-bezier(.2,.8,.2,1);
}

html, body{
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Rotis sans serif', sans-serif;
  background-color: #fff;
  color: var(--text);
  line-height: 1.4;
  scroll-behavior: smooth;
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; }
}

/* ========== HEADER ========== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
}

header.is-scrolled{
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.96);
}

.header-left img {
  height: 120px;
  padding: 10px 20px;
  display: block;
}

.burger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: var(--teal);
  user-select: none;
}

/* Nav */
.nav-menu {
  background-color: var(--orange);
  padding: 55px 100px;
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0% 100%);
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-menu a {
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.4px;
  position: relative;
  transition: transform .25s var(--ease), color .25s var(--ease);
}

.nav-menu a::after{
  content:"";
  position:absolute;
  left: 50%;
  bottom: -10px;
  width: 70%;
  height: 3px;
  border-radius: 3px;
  background: var(--teal);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .28s var(--ease);
}

.nav-menu a:hover{
  transform: translateY(-1px);
  color: #0c4251;
}

.nav-menu a:hover::after,
.nav-menu a.active::after{
  transform: translateX(-50%) scaleX(1);
}

.nav-menu a.active{
  color: var(--muted);
}

/* ========== HERO ========== */
.hero {
  display: flex;
  flex-wrap: wrap;
  min-height: 70vh;
  align-items: stretch;
}

/* Left panel */
.hero-left {
  flex: 1;
  background: linear-gradient(135deg, rgba(23,109,128,1), rgba(23,109,128,0.92));
  color: white;
  padding: 110px 50px;
  padding-right: 200px;
  margin-top: 30px;
  margin-right: -100px;
  margin-left: -150px;
  clip-path: polygon(0 0, 90% 0, 74% 100%, 0% 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 14px;
}

/* Right panel */
.hero-right {
  flex: 1;
  margin: 0 -150px -30px -150px;
  z-index: 1;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  overflow: hidden;
  position: relative;
}

/* Small overlay for depth */
.hero-right::after{
  content:"";
  position:absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.20), rgba(0,0,0,0.0));
  pointer-events:none;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* image reveal animation */
  opacity: 0;
  transform: scale(1.02);
  animation: imgIn 1s var(--ease) forwards;
  animation-delay: .35s;
}

/* Hero text */
.sub-heading {
  color: #f2911e;
  letter-spacing: 10px;
  margin-bottom: 2px;
  font-weight: 860;
  font-size: 25px;

  opacity: 0;
  transform: translateY(16px);
  animation: heroIn .9s var(--ease) forwards;
}

.sub-heading:nth-of-type(1){ animation-delay: .12s; }
.sub-heading:nth-of-type(2){ animation-delay: .20s; }
.sub-heading:nth-of-type(3){ animation-delay: .28s; }

.hero-left h1 {
  font-size: 65px;
  font-weight: 860;
  margin-top: 10px;
  margin-bottom: 18px;

  opacity: 0;
  transform: translateY(16px);
  animation: heroIn .9s var(--ease) forwards;
  animation-delay: .38s;
}

/* ✅ NEW: Hero Description (DESKTOP + MOBILE) */
.hero-description{
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  margin: 10px 0 28px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;

  opacity: 0;
  transform: translateY(16px);
  animation: heroIn .9s var(--ease) forwards;
  animation-delay: .45s;
}

/* CTA Button */
.cta-btn {
  background-color: var(--orange);
  color: var(--teal);
  font-weight: 900;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 10px;
  box-shadow: 0 6px 0 #b46810, 0 12px 26px rgba(0,0,0,0.14);
  transition: transform .25s var(--ease), filter .25s var(--ease), box-shadow .25s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: translateY(16px);
  animation: heroIn .9s var(--ease) forwards;
  animation-delay: .52s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 6px 0 #b46810, 0 16px 32px rgba(0,0,0,0.18);
}

.cta-btn:active{
  transform: translateY(0px);
}

/* ========== FOOTER ========== */
footer {
  background: linear-gradient(90deg, #0c4251, #a5e2ef, #0c4251);
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1000;
}

footer a{
  color: white;
  text-decoration: underline;
}

/* ========== ANIMATIONS ========== */
@keyframes heroIn{
  to{ opacity: 1; transform: translateY(0); }
}

@keyframes imgIn{
  to{ opacity: 1; transform: scale(1); }
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media screen and (max-width: 1024px) {
  .nav-menu{
    padding: 45px 60px;
    gap: 28px;
  }

  .hero-left{
    padding-right: 140px;
    margin-left: -90px;
    margin-right: -70px;
  }

  .hero-right{
    margin: 0 -90px -30px -90px;
  }
}

/* Mobile */
@media screen and (max-width: 768px) {
  header {
    flex-direction: row;
    align-items: center;
    padding: 12px 16px;
  }

  .header-left img {
    height: 95px;
    padding: 8px 10px;
  }

  .burger {
    display: block;
    position: absolute;
    top: 22px;
    right: 16px;
  }

  .nav-menu {
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 18px 16px;
    clip-path: none;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    box-shadow: 0 16px 30px rgba(0,0,0,0.12);
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu a::after{
    bottom: -8px;
    width: 40%;
  }

  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero-left {
    padding: 58px 22px;
    padding-right: 22px;
    clip-path: none;
    margin: 0;
  }

  .hero-left h1 {
    font-size: 42px;
  }

  .sub-heading {
    letter-spacing: 6px;
    font-size: 14px;
  }

  /* ✅ Hero description mobile */
  .hero-description{
    font-size: 14px;
    max-width: 100%;
    margin-bottom: 22px;
  }

  .cta-btn {
    padding: 12px 22px;
    font-size: 14px;
  }

  .hero-right {
    margin: 0;
    clip-path: none;
  }

  .hero-right img{
    min-height: 320px;
  }
}

/* Small phones */
@media screen and (max-width: 600px) {
  .hero-left h1 {
    font-size: 34px;
  }

  .sub-heading {
    letter-spacing: 4px;
    font-size: 12px;
  }

  .nav-menu a {
    font-size: 15px;
  }

  footer {
    font-size: 0.85rem;
    padding: 1rem;
  }
}
