/* CSS Variables */
:root {
  --primary-color: #d97706;
  --secondary-color: #f59e0b;
  --accent-color: #fbbf24;
  --background-color: #ffffff;
  --foreground-color: #374151;
  --card-color: #fefce8;
  --muted-color: #f9fafb;
  --border-color: #e5e7eb;
  --white: #ffffff;
  --black: #000000;

  --font-serif: "Playfair Display", serif;
  --font-sans: "Source Sans Pro", sans-serif;

  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  --border-radius-2xl: 2rem;
  --border-radius-3xl: 3rem;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  --transition-all: all 0.3s ease;
  --transition-transform: transform 0.3s ease;
  --transition-colors: color 0.3s ease, background-color 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background-color);
  color: var(--foreground-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-muted {
  background-color: var(--muted-color);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.card-hover {
  transition: var(--transition-all);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(217, 119, 6, 0.15);
}

/* Hero Header */
.hero-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 8rem;
}

.maritime-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(217, 119, 6, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-text {
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-divider {
  width: 6rem;
  height: 0.25rem;
  background-color: var(--white);
  margin: 0 auto 1.5rem;
  opacity: 0.8;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

.wave-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.wave-svg {
  width: 100%;
  height: 3rem;
  fill: var(--background-color);
}

/* Navigation */
.main-nav {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  list-style: none;
}

.nav-link {
  color: var(--foreground-color);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius-lg);
  transition: var(--transition-colors);
}

.nav-link:hover {
  color: var(--primary-color);
  background-color: var(--muted-color);
}




/* === Mobile Navbar === */
.mobile-nav {
  display: none;
  position: fixed;   /* 🔹 fixed over content */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: rgba(255, 188, 122, 0);
  border-radius: 30px;

}

.mobile-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.75rem 1rem;
  
}

.icon {
  font-size: 1.8rem;
  cursor: pointer;
  color: black;
  padding-bottom: 40px;
}

/* Dropdown list */
.mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  border-radius:0 0 20px 20px;
  background: rgba(255, 181, 102, 0.959);

}

.mobile-list li {
  padding: 1rem 0;
}

.mobile-list.show {
  max-height: 500px; /* smoothly expands */
}



/* === Responsive Switch === */
@media screen and (max-width: 800px) {
  .main-nav { display: none; }
  .mobile-nav { display: block; }
}

@media screen and (min-width: 801px) {
  .mobile-nav { display: none; }
}










/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.section-divider {
  width: 6rem;
  height: 0.25rem;
  background-color: var(--secondary-color);
  margin: 0 auto 2rem;
}

.section-subtitle {
  color: var(--foreground-color);
  font-size: 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
}

/* About Section */
.about-card {
  background-color: var(--card-color);
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-2xl);
  padding: 4rem;
  max-width: 96rem;
  margin: 0 auto;
}

.about-content {
  max-width: none;
}

.about-text {
  color: var(--foreground-color);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1.25rem;
}

.about-text:last-child {
  margin-bottom: 0;
}

.highlight {
  font-weight: 600;
  color: var(--primary-color);
}

/* Purpose Section */
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 112rem;
  margin: 0 auto;
}

.purpose-card {
  background-color: var(--background-color);
  padding: 2rem;
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.purpose-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition-transform);
}

.purpose-card:hover .purpose-icon {
  transform: scale(1.1);
}

.purpose-icon .icon {
  width: 2rem;
  height: 2rem;
  color: var(--white);
}

.purpose-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground-color);
  margin-bottom: 1rem;
}

.purpose-description {
  color: var(--foreground-color);
  line-height: 1.6;
}

/* Legal Section */
.legal-card {
  background-color: var(--card-color);
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-2xl);
  padding: 3rem;
  overflow: hidden;
  position: relative;
  max-width: 96rem;
  margin: 0 auto;
}

.legal-decoration {
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 8rem;
  height: 8rem;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(245, 158, 11, 0.1));
  border-radius: 50%;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 10;
}

.legal-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.legal-list {
  list-style: none;
}

.legal-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  transition: var(--transition-transform);
}

.legal-item:hover {
  transform: translateX(0.25rem);
}

.legal-bullet {
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  margin-top: 0.5rem;
  margin-right: 1rem;
  flex-shrink: 0;
  transition: var(--transition-transform);
}

.legal-bullet.accent {
  background-color: var(--secondary-color);
}

.legal-item:hover .legal-bullet {
  transform: scale(1.25);
}

.legal-item span {
  color: var(--foreground-color);
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Services Section */
.services-card {
  background-color: #fffbeb;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
}

.services-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 1.5rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.service-item {
  background-color: var(--white);
  padding: 1rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition-all);
}

.service-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.service-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white);
}

.service-name {
  font-weight: 600;
  color: #92400e;
  font-size: 0.875rem;
}

/* Economy Section */
.economy-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

.economy-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 1.5rem;
  text-align: center;
}

.economy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.economy-item {
  padding: 1.5rem;
}

.economy-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.economy-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--secondary-color);
}

.economy-label {
  color: #374151;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.economy-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* Commitment Section */
.commitment-card {
  background-color: #1f2937;
  color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
}

.commitment-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
}

.commitment-list {
  list-style: none;
}

.commitment-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.commitment-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #fbbf24;
  margin-top: 0.25rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Join Section */
.join-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-color) 100%);
  border-radius: var(--border-radius-3xl);
  padding: 5rem 3rem;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  max-width: 64rem;
  margin: 0 auto;
}

.join-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(217, 119, 6, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
}

.join-content {
  position: relative;
  z-index: 10;
}

.join-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.join-divider {
  width: 6rem;
  height: 0.25rem;
  background-color: var(--white);
  margin: 0 auto 2.5rem;
  opacity: 0.8;
}

.join-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.join-button {
  background-color: var(--white);
  color: var(--black);
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius-2xl);
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-all);
  box-shadow: var(--shadow-2xl);
}

.join-button:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

/* Footer */
.main-footer {
  background-color: var(--foreground-color);
  color: var(--background-color);
  padding: 4rem 0;
  margin-top: 5rem;
}

.footer-content {
  text-align: center;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-subtitle {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.footer-divider {
  width: 6rem;
  height: 0.25rem;
  background-color: var(--primary-color);
  margin: 0 auto 2rem;
}

.footer-description {
  font-size: 0.875rem;
  opacity: 0.7;
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

.footer-ports {
  color: var(--primary-color);
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .about-card,
  .legal-card {
    padding: 2rem;
  }

  .legal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .economy-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

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

  .join-title {
    font-size: 2.5rem;
  }

  .join-card {
    padding: 3rem 2rem;
  }

  .hero-content {
    height: 50vh;
  }
  .hero-text {
    padding-top:15vh;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-card,
  .legal-card {
    padding: 1.5rem;
  }

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

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

/* Icon Styles */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 2;
}

.arrow {
  text-align: center;
  margin: 2% 0;
  text-decoration: var(--white);
}
.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}