@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Syncopate:wght@400;700&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  /* ── BACKGROUNDS ── */
  --white:        #FFFFFF;
  --off-white:    #F4F7FF;
  --light:        #EBF0FA;
  --light-2:      #DDE6F7;

  /* ── LOGO COLORS ── */
  --blue:         #1B5FCC;
  --blue-mid:     #2472E8;
  --blue-light:   #3B8EF5;
  --cyan:         #00B8E6;
  --cyan-light:   #33CCFF;
  --purple:       #5B2BBF;
  --violet:       #7B3FE8;
  --magenta:      #B020C8;

  /* ── TEXT ── */
  --text-dark:    #060D20;
  --text-mid:     #142040;
  --text-muted:   #2C3C60;
  --text-light:   #4A5A80;

  /* ── BORDERS / GLASS ── */
  --border:           rgba(36, 114, 232, 0.15);
  --border-strong:    rgba(36, 114, 232, 0.30);
  --glass:            rgba(36, 114, 232, 0.06);
  --glass-hover:      rgba(36, 114, 232, 0.10);

  /* ── SHADOWS ── */
  --shadow-sm:    0 2px 16px rgba(27,95,204,0.10);
  --shadow-md:    0 8px 40px rgba(27,95,204,0.14);
  --shadow-lg:    0 20px 60px rgba(27,95,204,0.18);
  --glow-blue:    0 0 32px rgba(36,114,232,0.25);
  --glow-cyan:    0 0 32px rgba(0,184,230,0.25);

  /* ── GRADIENTS ── */
  --grad-primary: linear-gradient(135deg, var(--blue)      0%, var(--cyan)    100%);
  --grad-accent:  linear-gradient(135deg, var(--cyan)      0%, var(--blue-light) 100%);
  --grad-purple:  linear-gradient(135deg, var(--purple)    0%, var(--magenta) 100%);
  --grad-text:    linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 50%, var(--cyan) 100%);
  --grad-hero:    linear-gradient(135deg, var(--blue) 0%, var(--violet) 50%, var(--magenta) 100%);
  --grad-bg:      linear-gradient(160deg, #F4F7FF 0%, #EBF0FA 50%, #DDE6F7 100%);
}

html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: #060D20;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ══ NAV ══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 60px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-logo img { height: 52px; filter: drop-shadow(0 2px 8px rgba(27,95,204,0.20)); transition: filter 0.3s; }
.nav-logo img:hover { filter: drop-shadow(0 4px 16px rgba(36,114,232,0.35)); }
.nav-links { display: flex; gap: 38px; list-style: none; }
.nav-links a {
  font-family: 'Syncopate', sans-serif; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted); text-decoration: none;
  position: relative; transition: color 0.3s; padding-bottom: 5px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--grad-primary); transition: width 0.35s ease; border-radius: 2px;
}
.nav-links a:hover { color: var(--text-dark); }
.nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 11px 28px; border: none;
  background: var(--grad-primary); color: #fff;
  font-family: 'Syncopate', sans-serif; font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; cursor: pointer; transition: all 0.3s;
  text-decoration: none; border-radius: 2px; position: relative; overflow: hidden;
}
.nav-cta::before { content:''; position:absolute; inset:0; background:var(--grad-accent); opacity:0; transition:opacity 0.3s; }
.nav-cta:hover { box-shadow: var(--glow-blue); transform: translateY(-1px); }
.nav-cta:hover::before { opacity: 1; }
.nav-cta-text { position: relative; z-index: 1; }

/* ══ PAGE HERO ══ */
.page-hero {
  padding: 160px 60px 80px;
  position: relative; overflow: hidden;
  background: var(--grad-bg);
  border-bottom: 1px solid var(--border);
}
/* Background image support for inner pages */
.page-hero-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.page-hero-img-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to right,
    rgba(4,8,20,0.75) 0%,
    rgba(4,8,20,0.45) 55%,
    rgba(4,8,20,0.20) 100%
  );
}
/* When image is present, make text white */
.page-hero:has(.page-hero-img) .page-tag { color: rgba(255,255,255,0.8); }
.page-hero:has(.page-hero-img) .page-tag::before { background: rgba(255,255,255,0.5); }
.page-hero:has(.page-hero-img) .page-title { color: #fff; }
.page-hero:has(.page-hero-img) .page-subtitle { color: rgba(255,255,255,0.75); }
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 90% 40%, rgba(36,114,232,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at  5% 80%, rgba(123,63,232,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 30% 40% at 50%  0%, rgba(0,184,230,0.07)  0%, transparent 50%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(36,114,232,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,114,232,0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 100% at 75% 50%, black, transparent 68%);
}
.page-hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: float 9s ease-in-out infinite; }
.page-hero-orb.o1 { width:440px; height:440px; right:-60px; top:-60px; background:radial-gradient(circle,rgba(36,114,232,0.18),transparent 65%); }
.page-hero-orb.o2 { width:280px; height:280px; right:240px; bottom:-20px; background:radial-gradient(circle,rgba(176,32,200,0.12),transparent 65%); animation-delay:-4s; }
@keyframes float { 0%,100%{transform:translateY(0) scale(1);} 50%{transform:translateY(-24px) scale(1.04);} }
.page-hero-content { position: relative; z-index: 3; }
.page-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Syncopate', sans-serif; font-size: 9px; letter-spacing: 0.35em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}
.page-tag::before { content:''; width:24px; height:2px; background: var(--grad-primary); display:block; border-radius:2px; }
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px,7vw,90px); font-weight: 300; line-height: 0.95; letter-spacing: -0.02em;
  color: #060D20;
  animation: fadeUp 0.8s ease 0.15s both;
}
.page-title em { font-style: italic; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-subtitle { font-size:16px; color:var(--text-muted); line-height:1.75; max-width:520px; margin-top:24px; animation: fadeUp 0.8s ease 0.3s both; }

/* ══ SECTIONS ══ */
section { padding: 100px 60px; position: relative; z-index: 2; }
.section-tag {
  font-family: 'Syncopate', sans-serif; font-size: 9px; letter-spacing: 0.35em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.section-tag::before { content:''; width:20px; height:2px; background: var(--grad-primary); display:block; border-radius:2px; }
.section-title { font-family:'Cormorant Garamond',serif; font-size:clamp(36px,4.5vw,62px); font-weight:300; line-height:1.05; color:var(--text-dark); }
.section-title em { font-style:italic; background:var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ══ BUTTONS ══ */
.btn-primary {
  padding: 16px 38px; background: var(--grad-primary);
  color: #fff; font-family: 'Syncopate', sans-serif;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  border: none; cursor: pointer; text-decoration: none; display: inline-block;
  border-radius: 2px;
  clip-path: polygon(0 0,calc(100% - 12px) 0,100% 12px,100% 100%,12px 100%,0 calc(100% - 12px));
  transition: all 0.3s; position: relative; overflow: hidden; font-weight: 600;
}
.btn-primary::after { content:''; position:absolute; inset:0; background:var(--grad-accent); opacity:0; transition:opacity 0.3s; }
.btn-primary:hover { box-shadow:var(--glow-blue); transform:translateY(-1px); }
.btn-primary:hover::after { opacity:1; }
.btn-primary span { position:relative; z-index:1; }
.btn-ghost {
  padding: 15px 36px; background: transparent;
  border: 2px solid var(--blue); color: var(--blue);
  font-family: 'Syncopate', sans-serif; font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; text-decoration: none; display: inline-block;
  border-radius: 2px; transition: all 0.3s;
}
.btn-ghost:hover { background: var(--blue); color: #fff; box-shadow: var(--glow-blue); }

/* ══ MARQUEE ══ */
.marquee-wrap {
  background: linear-gradient(90deg, transparent, var(--glass) 30%, var(--glass) 70%, transparent);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 16px 0; overflow: hidden;
}
.marquee-track { display:flex; white-space:nowrap; animation:marquee 28s linear infinite; }
.marquee-item { font-family:'Syncopate',sans-serif; font-size:10px; letter-spacing:0.3em; color:var(--text-muted); text-transform:uppercase; padding:0 36px; flex-shrink:0; }
.marquee-dot { color:var(--blue); }
@keyframes marquee { from{transform:translateX(0);} to{transform:translateX(-50%);} }

/* ══ CONTACT STRIP ══ */
.contact-strip { display:flex; gap:0; }
.contact-item {
  flex:1; padding:24px 28px; border:1px solid var(--border); background:var(--white);
  display:flex; align-items:center; gap:16px; transition:all 0.3s;
}
.contact-item:hover { background:var(--off-white); border-color:var(--border-strong); box-shadow:var(--shadow-sm); }
.contact-item+.contact-item { border-left:none; }
.contact-icon {
  width:42px; height:42px; flex-shrink:0;
  background: var(--grad-primary);
  border-radius: 2px;
  display:flex; align-items:center; justify-content:center; font-size:17px;
}
.contact-label { font-size:9px; color:#3A4A6A; letter-spacing:0.15em; margin-bottom:4px; font-family:'Syncopate',sans-serif; text-transform:uppercase; }
.contact-value { font-size:14px; color:var(--text-dark); font-weight:500; }

/* ══ CTA BAND ══ */
.cta-band {
  margin: 0 60px 100px;
  background: var(--grad-primary);
  padding: 72px 80px; position: relative; overflow: hidden; border-radius: 4px;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Ccircle cx='30' cy='30' r='28' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-band::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 60%);
}
.cta-inner { position:relative; z-index:1; display:flex; justify-content:space-between; align-items:center; gap:40px; }
.cta-title { font-family:'Cormorant Garamond',serif; font-size:clamp(28px,3.5vw,50px); font-weight:300; max-width:520px; line-height:1.15; color:#fff; }
.cta-title em { font-style:italic; color:rgba(255,255,255,0.85); }
.cta-actions { display:flex; flex-direction:column; gap:14px; align-items:flex-start; flex-shrink:0; }
.cta-band .btn-primary { background: #fff; color: var(--blue); }
.cta-band .btn-primary::after { background: rgba(255,255,255,0.9); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ══ FOOTER ══ */
footer {
  border-top: 1px solid var(--border);
  padding: 72px 60px 36px;
  background: var(--text-dark);
  position: relative; z-index: 2;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-primary);
}
.footer-top { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:60px; padding-bottom:52px; border-bottom:1px solid rgba(255,255,255,0.08); }
.footer-brand img { height:52px; margin-bottom:18px; filter:drop-shadow(0 0 14px rgba(36,114,232,0.40)); }
.footer-desc { font-size:13px; color:rgba(255,255,255,0.5); line-height:1.75; margin-bottom:22px; }
.footer-social { display:flex; gap:10px; }
.social-btn {
  width:36px; height:36px; border:1px solid rgba(255,255,255,0.12);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,0.4); text-decoration:none; font-size:13px; transition:all 0.3s; border-radius:2px;
}
.social-btn:hover { border-color:var(--cyan); color:var(--cyan); background:rgba(0,184,230,0.10); }
.footer-col h4 { font-family:'Syncopate',sans-serif; font-size:9px; letter-spacing:0.22em; text-transform:uppercase; color:var(--cyan); margin-bottom:22px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:11px; }
.footer-col a { font-size:13px; color:rgba(255,255,255,0.45); text-decoration:none; transition:color 0.3s; display:flex; align-items:center; gap:6px; }
.footer-col a::before { content:''; width:0; height:2px; background:var(--grad-primary); transition:width 0.3s; flex-shrink:0; border-radius:2px; }
.footer-col a:hover { color:#fff; }
.footer-col a:hover::before { width:12px; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:28px; font-size:12px; color:rgba(255,255,255,0.3); }

/* ══ SCROLL REVEAL ══ */
.reveal { opacity:1; transform:none; transition:opacity 0.6s ease,transform 0.6s ease; }
.reveal.visible { opacity:1; transform:none; }
@keyframes fadeUp { from{opacity:0;transform:translateY(32px);} to{opacity:1;transform:translateY(0);} }

/* ══ SECTION BG ALTERNATES ══ */
.bg-light { background: var(--off-white); }
.bg-lighter { background: var(--light); }

/* ════════════════════════════
   RESPONSIVE — ALL DEVICES
════════════════════════════ */

/* ── Large Desktop: 1400px+ ── */
@media(min-width:1400px){
  nav { padding:18px 80px; }
  section { padding:120px 80px; }
  .page-hero { padding:180px 80px 100px; }
  .cta-band { margin:0 80px 120px; padding:88px 100px; }
  footer { padding:88px 80px 44px; }
}

/* ── Desktop: 1024px–1399px (default styles apply) ── */

/* ── Tablet Landscape: 768px–1023px ── */
@media(max-width:1023px){
  nav { padding:16px 32px; }
  .nav-links { gap:22px; }
  .nav-links a { font-size:9px; letter-spacing:0.12em; }
  section { padding:80px 40px; }
  .page-hero { padding:150px 40px 70px; }
  .page-title { font-size:clamp(44px,6vw,70px); }
  .cta-band { margin:0 40px 80px; padding:60px 60px; }
  .cta-inner { gap:28px; }
  footer { padding:60px 40px 32px; }
  .footer-top { grid-template-columns:1fr 1fr; gap:40px; }
  .contact-strip { flex-wrap:wrap; }
  .contact-item { min-width:48%; }
  .contact-item+.contact-item { border-left:1px solid var(--border); }
  .contact-item:nth-child(odd)+.contact-item { border-left:none; border-top:1px solid var(--border); }
}

/* ── Tablet Portrait: 600px–767px ── */
@media(max-width:767px){
  nav { padding:14px 20px; }
  .nav-links { display:none; }

  /* Hamburger button */
  .nav-hamburger {
    display:flex; flex-direction:column; gap:5px; cursor:pointer;
    background:none; border:none; padding:4px;
  }
  .nav-hamburger span {
    display:block; width:24px; height:2px;
    background:var(--blue); border-radius:2px; transition:all 0.3s;
  }

  section { padding:60px 20px; }
  .page-hero { padding:120px 20px 60px; }
  .page-title { font-size:clamp(38px,8vw,58px); }
  .page-subtitle { font-size:15px; }

  .cta-band { margin:0 20px 60px; padding:44px 28px; }
  .cta-inner { flex-direction:column; text-align:center; align-items:center; }
  .cta-actions { align-items:center; width:100%; }
  .cta-actions .btn-primary, .cta-actions .btn-ghost { width:100%; text-align:center; }

  .contact-strip { flex-direction:column; }
  .contact-item { border-left:1px solid var(--border) !important; border-top:none !important; }
  .contact-item+.contact-item { border-top:none; border-left:1px solid var(--border); }

  footer { padding:52px 20px 28px; }
  .footer-top { grid-template-columns:1fr; gap:32px; }
  .footer-bottom { flex-direction:column; gap:8px; text-align:center; }

  .btn-primary, .btn-ghost { padding:14px 28px; font-size:9px; }
}

/* ── Mobile: 320px–599px ── */
@media(max-width:599px){
  nav { padding:12px 16px; }
  .nav-logo img { height:42px; }

  section { padding:52px 16px; }
  .page-hero { padding:108px 16px 52px; }
  .page-title { font-size:clamp(32px,9vw,48px); }
  .page-subtitle { font-size:14px; max-width:100%; }
  .page-tag { font-size:8px; letter-spacing:0.2em; }

  .section-tag { font-size:8px; letter-spacing:0.2em; }
  .section-title { font-size:clamp(28px,7vw,42px); }

  .cta-band { margin:0 16px 52px; padding:36px 20px; }
  .cta-title { font-size:clamp(22px,6vw,32px); }

  footer { padding:44px 16px 24px; }
  .footer-top { gap:28px; }
  .footer-bottom { font-size:11px; }

  .marquee-item { padding:0 20px; font-size:9px; letter-spacing:0.2em; }

  .contact-icon { width:36px; height:36px; font-size:15px; }
  .contact-value { font-size:13px; }

  .btn-primary, .btn-ghost { padding:13px 22px; font-size:9px; letter-spacing:0.15em; }
}

/* ── Mobile Nav Overlay ── */
.mobile-nav {
  display:none; position:fixed; inset:0; z-index:200;
  background:rgba(255,255,255,0.99); backdrop-filter:blur(20px);
  flex-direction:column; align-items:center; justify-content:center; gap:36px;
  padding:40px 20px;
}
.mobile-nav.open { display:flex; }
.mobile-nav a {
  font-family:'Syncopate',sans-serif; font-size:13px; letter-spacing:0.22em;
  text-transform:uppercase; color:var(--text-dark); text-decoration:none;
  padding:12px 0; border-bottom:1px solid var(--border); width:100%; text-align:center;
  transition:color 0.3s;
}
.mobile-nav a:hover, .mobile-nav a.active { color:var(--blue); }
.mobile-nav-close {
  position:absolute; top:20px; right:20px;
  background:none; border:none; font-size:28px; color:var(--text-dark);
  cursor:pointer; line-height:1; padding:8px;
}
.mobile-nav-cta {
  margin-top:8px; padding:16px 40px; background:var(--grad-primary);
  color:#fff !important; border:none !important; border-radius:2px;
  font-weight:600;
}
.nav-hamburger { display:none; }
@media(max-width:767px){
  .nav-hamburger { display:flex; }
  .nav-cta { display:none; }
}
