/* ============================================================
   Ascent Maritime Pvt. Ltd. — Global Stylesheet
   Theme: Premium Glassmorphism
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
  /* Colors - HSL for transparency control */
  --h-navy: 224;
  --h-ocean: 212;
  --h-teal: 190;

  --navy: hsl(var(--h-navy), 65%, 15%);
  --navy-light: hsl(var(--h-navy), 50%, 25%);
  --ocean: hsl(var(--h-ocean), 80%, 42%);
  --sky: hsl(var(--h-ocean), 75%, 55%);
  --teal: hsl(var(--h-teal), 90%, 45%);
  --teal-light: hsl(var(--h-teal), 80%, 85%);

  --bg: hsl(215, 60%, 97%);
  --bg-dark: hsl(224, 60%, 8%);

  --text: hsl(224, 60%, 12%);
  --text-muted: hsl(224, 20%, 45%);
  --white: #FFFFFF;

  /* Glassmorphism Tokens */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(13, 27, 62, 0.12);

  --glass-dark-bg: rgba(13, 27, 62, 0.4);
  --glass-dark-border: rgba(255, 255, 255, 0.1);

  /* Layout Tokens */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);

  --font-display: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  --font-accent: 'Outfit', sans-serif;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

/* Background Mesh Gradient */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: var(--bg);
  background-image:
    radial-gradient(at 0% 0%, hsla(212, 80%, 42%, 0.1) 0, transparent 50%),
    radial-gradient(at 100% 0%, hsla(190, 90%, 45%, 0.1) 0, transparent 50%),
    radial-gradient(at 100% 100%, hsla(224, 65%, 15%, 0.05) 0, transparent 50%);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

h4 {
  font-size: 1.2rem;
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 400;
}

.section-label {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ocean);
  display: block;
  margin-bottom: 1rem;
}

/* ── Layout ── */
.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header p {
  max-width: 700px;
  margin: 1.5rem auto 0;
  font-size: 1.2rem;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .split-grid, .three-col-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .mobile-rev {
    display: flex !important;
    flex-direction: column-reverse !important;
  }
}

/* ── Glass Components ── */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 40px 0 rgba(13, 27, 62, 0.15);
}

.glass-dark {
  background: var(--glass-dark-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-dark-border);
  color: var(--white);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  border-radius: 100px;
  font-family: var(--font-accent);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--ocean);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
}

.btn-white:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(21, 101, 192, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* ── Header / Navigation ── */
.site-header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: 1200px;
  z-index: 2000 !important;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  transition: var(--transition);
  padding: 0.5rem 1.5rem;
}

.site-header.scrolled {
  top: 0;
  width: 100%;
  max-width: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  width: 100%;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .name {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-text .tagline {
  font-size: 0.75rem;
  color: var(--ocean);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

nav.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}

nav.site-nav a:hover,
nav.site-nav a.active {
  color: var(--navy);
}

nav.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--ocean);
  border-radius: 10px;
  transition: var(--transition);
}

nav.site-nav a:hover::after,
nav.site-nav a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--navy);
  border-radius: 10px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  z-index: 1900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

.mobile-nav a.active:not(.btn) {
  color: var(--ocean);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  padding-top: 140px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.page-hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .page-hero {
    padding: 140px 0 80px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 120px 0 60px;
  }
}

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: hsla(var(--h-ocean), 80%, 42%, 0.1);
  color: var(--ocean);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border: 1px solid hsla(var(--h-ocean), 80%, 42%, 0.2);
}

.hero h1 span {
  color: var(--ocean);
}

.hero-sub {
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(13, 27, 62, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-accent);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ocean);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ── Utility ── */
.divider {
  width: 80px;
  height: 6px;
  background: linear-gradient(90deg, var(--ocean), var(--teal));
  border-radius: 10px;
  margin: 1.5rem 0;
}

.section-header .divider {
  margin: 1.5rem auto;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 3rem;
  display: flex;
  gap: 2rem;
}

.icon-box {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--ocean), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, hsla(var(--h-ocean), 80%, 42%, 0.1), transparent 70%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 40px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--teal);
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--teal);
  transform: translateX(8px);
  display: inline-block;
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  color: var(--teal);
  font-size: 1rem;
  margin-top: 0.2rem;
}

.footer-contact-item div {
  font-size: 0.9rem;
  line-height: 1.5;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--ocean);
  border-color: var(--ocean);
  transform: translateY(-5px);
  color: white;
}

.footer-map-container {
  margin-top: 0;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.footer-map-container:hover {
  transform: scale(1.02);
}

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1100px) {

  nav.site-nav,
  .nav-cta {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .logo-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .logo-text .name {
    font-size: 1.15rem;
  }

  .logo-text .tagline {
    font-size: 0.65rem;
  }
}

@media (max-width: 1024px) {
  section {
    padding: 80px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-inner {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 4rem;
  }

  .hero-inner .hero-content {
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .site-header {
    top: 0;
    width: 100%;
    border-radius: 0;
    padding: 0.5rem 1rem;
  }

  .header-inner {
    height: 70px;
  }

  .logo-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }

  .logo-text .name {
    font-size: 1.1rem;
  }

  .logo-text .tagline {
    font-size: 0.6rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  section {
    padding: 80px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ── WhatsApp Float Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2.5rem;
  width: 65px;
  height: 65px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4);
  z-index: 3000;
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
  color: white;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }
}