/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@1,400;1,500;1,600;1,700&display=swap');

/* CSS Variables & Custom Properties */
:root {
  /* Brand Colors */
  --primary-color: #0B2E4F;
  --primary-color-rgb: 11, 46, 79;
  --ocean-blue: #009FE3;
  --ocean-blue-rgb: 0, 159, 227;
  --accent-yellow: #F5B21A;
  --accent-yellow-rgb: 245, 178, 26;
  --dark-navy: #08263A;
  --dark-navy-rgb: 8, 38, 58;
  --bg-white: #FFFFFF;
  --light-bg: #F8FCFF;

  /* Text Colors */
  --text-dark: #1E2D38;
  --text-muted: #5A7181;
  --text-light: #FFFFFF;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 36px;
  --spacing-xl: 56px;
  --spacing-xxl: 96px;
  --spacing-section: 60px;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-script: 'Playfair Display', serif;

  /* Borders and Shadows */
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(8, 38, 58, 0.03);
  --shadow-md: 0 12px 30px rgba(8, 38, 58, 0.05);
  --shadow-lg: 0 20px 48px rgba(8, 38, 58, 0.07);
  --shadow-xl: 0 32px 72px rgba(8, 38, 58, 0.10);
  --shadow-glow: 0 12px 30px rgba(245, 178, 26, 0.35);

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.3s ease;
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-width: 1240px;
}

/* Global Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark-navy);
  letter-spacing: -0.02em;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(10, 79, 104, 0.2);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Global Layout Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
  position: relative;
  z-index: 2;
}

.section {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
  position: relative;
  overflow: hidden;
}

/* Ambient Ocean Glows */
.section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(234, 246, 255, 0.5) 0%, rgba(31, 183, 199, 0) 75%);
  pointer-events: none;
  z-index: 1;
}

.section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(234, 246, 255, 0.3) 0%, rgba(10, 79, 104, 0) 75%);
  pointer-events: none;
  z-index: 1;
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--spacing-xl) auto;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--ocean-blue);
  margin-bottom: var(--spacing-xs);
  display: inline-block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -0.03em;
  font-weight: 800;
  background: linear-gradient(135deg, #08263A 30%, #1FB7C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title span.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--primary-color);
  text-transform: none;
  letter-spacing: 0;
  font-style: italic;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: var(--primary-color);
  background-clip: initial;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.6;
}

/* Typography Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.script-font {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 400;
  text-transform: none !important;
}

/* Spacing Utility Classes */
.mb-xs {
  margin-bottom: var(--spacing-xs);
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

/* Animation Utility Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Grid & Flex Utilities */
.grid {
  display: grid;
  gap: var(--spacing-md);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Media Queries for Grid Layouts */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-section: 60px;
    --spacing-xl: 40px;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Elegant Wave Dividers */
.wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 5;
}

.wave-divider-top {
  top: 0;
}

.wave-divider-bottom {
  bottom: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 40px;
}