/* palette: ocean-rose */
:root {
  --primary-color: #0A3245;
  --secondary-color: #174E66;
  --accent-color: #B83050;
  --background-color: #F0F7FB;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(255,255,255,0.15);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px; 
  --radius-md: 12px; 
  --radius-lg: 20px; 
  --radius-xl: 32px;
  --main-font: 'Work Sans', sans-serif;
  --alt-font: 'DM Sans', sans-serif;
}

/* Base Styles & Typography Scale */
body, html {
  font-family: var(--alt-font);
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 1.7;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 600;
}

img {
  max-width: 100%;
  height: auto;
}

/* Touch Targets */
.btn, input, textarea, label {
  min-height: 44px;
}

/* PRESET STYLE: GLASS-DARK (Copied Literally & Extended) */
body,html{background:var(--secondary-color)} 
section{background:transparent;padding:56px 16px;margin:0} 
@media(min-width:1024px){section{padding:96px 24px}} 
.card{background:rgba(255,255,255,0.08);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,0.15);border-radius:16px} 
body,p,.subtitle{color:rgba(240,240,240,0.85)} 
h1,h2,h3{color:#fff} 
.btn{background:rgba(255,255,255,0.12);border:1px solid rgba(255,255,255,0.3);color:#fff;border-radius:8px; display: inline-flex; align-items: center; justify-content: center; transition: transform .15s, box-shadow .15s;} 
.btn-primary{background:var(--primary-color);border-color:var(--primary-color)} 
section+section{border-top:1px solid rgba(255,255,255,0.05)}

/* Hover Animations */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card {
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Header & CSS Burger Menu */
header {
  background: rgba(10, 50, 69, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1000;
}

header .logo img {
  height: 40px;
  width: auto;
}

.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 21px;
    gap: 5px;
    cursor: pointer;
}

.burger-btn .bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary-color);
  z-index: 999;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 12px;
}

.site-nav a {
  color: #fff;
  font-weight: 500;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--accent-color);
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

#menu-toggle:checked ~ .burger-btn .bar:first-child {
  transform: translateY(9px) rotate(45deg);
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked ~ .burger-btn .bar:last-child {
  transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
  }
  .site-nav ul {
    flex-direction: row;
    padding: 0;
    gap: 24px;
  }
}

/* HERO: layered-depth */
.hero-layered-depth {
  min-height: 86vh;
}

.hero-layer-1 {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  filter: blur(4px) brightness(0.5);
}

.hero-layer-2 {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%);
  background: var(--primary-color);
  opacity: 0.55;
}

.hero-layer-3 {
  z-index: 3;
}

/* Stats Counter (CSS @property) */
@property --count { 
  syntax: '<integer>'; 
  initial-value: 0; 
  inherits: false; 
}

.stat-num {
  --target: 80;
  animation: count-up 2s ease-out forwards;
  animation-timeline: view(); 
  animation-range: entry 0% entry 60%;
  counter-reset: n var(--count);
}

.stat-num::after { 
  content: counter(n); 
}

@keyframes count-up { 
  from { --count: 0; } 
  to { --count: var(--target); } 
}

/* Scroll Reveal */
@keyframes reveal-up { 
  from { opacity: 0; transform: translateY(32px); } 
  to { opacity: 1; transform: translateY(0); } 
}

.reveal {
  animation: reveal-up linear both;
  animation-timeline: view(); 
  animation-range: entry 0% entry 30%;
}

/* Card cascade delays */
.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: .12s; }
.card:nth-child(3) { animation-delay: .24s; }
.card:nth-child(4) { animation-delay: .36s; }

/* Testimonial Image */
.testimonial-image-container img {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Footer style */
footer {
  background: rgba(10, 50, 69, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer img[alt="logo"] { 
  filter: brightness(0) invert(1); 
  height: 35px;
}

.bg-gray-100,
.bg-white,
.bg-yellow-100,
.bg-blue-100,
.bg-red-100,
.bg-green-100,
.bg-gray-100 p,
.bg-white p,
.bg-yellow-100 p,
.bg-blue-100 p,
.bg-red-100 p,
.bg-green-100 p {
  color: #111A13;
}