/* Modern Home Page Styles - Ocean Depth Journey Theme */

/* Reset to eliminate white margin */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  /*Logo Link */
  .logo-link {
    text-decoration: none;
  }


  /* Common Section Styling */
  section {
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
  }


  /* Hero Section */
  #hero {
    height: 100vh;
    background: url('../images/Dilshan/hero-img.png');
    background-size: cover;
    background-position: right center;
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    color: var(--alice-blue);
    position: relative;
  }

  #hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 53, 102, 0.5);
  }

  .hero-content-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 2;
  }

  .hero-text {
    max-width: 650px;
    margin-left: 5%;
    animation: fadeIn 1s ease-out;
  }

  #hero h1 {
    font-size: 5rem;
    font-weight: 800;
    color: var(--alice-blue);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-transform: uppercase;
    animation: slideUp 1.2s ease;
  }

  #hero-description {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: slideUp 1.4s ease;
  }

  .hero-button {
    display: inline-block;
    background-color: var(--pacific-cyan);
    color: var(--alice-blue);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 4px solid white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    animation: slideUp 1.6s ease;
  }

  .hero-button:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background-color: var(--alice-blue);
    transition: all 0.4s ease;
    z-index: -1;
  }

  .hero-button:hover {
    color: var(--pacific-cyan);
  }

  .hero-button:hover:before {
    width: 100%;
  }

  .scroll-down-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
  }

  .scroll-down-indicator svg {
    width: 30px;
    height: 30px;
    fill: var(--alice-blue);
  }

  /* Why Section */
  .why-section {
    background: url('../images/Dilshan/ocean-bg.jpg') center center/cover, #0074c2;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    color: var(--alice-blue);
  }

  .why-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 53, 102, 0.7);
    padding: 3rem;
    border-radius: 10px;
  }

  .section-tagline {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--alice-blue);
    text-transform: uppercase;
    letter-spacing: 3px;
  }

  .section-heading {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    color: var(--alice-blue);
  }

  .section-heading::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background-color: var(--alice-blue);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
  }

  .why-section p {
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: 600;
    margin-bottom: 2rem;
  }

  /* Mission Section */
  .mission-section {
    background: #003566;
    padding: 4rem 2rem;
    color: var(--alice-blue);
    text-align: center;
    position: relative;
  }

  .mission-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 600;
    font-size: 1.5rem;
  }

  /* Focus Areas Section */
  .focus-section {
    background: #001022;
    padding: 4rem 2rem;
    color: var(--alice-blue);
    text-align: center;
    position: relative;
  }

  .focus-content {
    max-width: 1200px;
    margin: 0 auto;
  }

  .focus-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 4rem;
  }

  .focus-card {
    flex: 1 1 250px;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .focus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateY(100%);
    transition: transform 0.6s ease;
  }

  .focus-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  .focus-card:hover::before {
    transform: translateY(-100%);
  }

  .focus-card h4 {
    color: var(--alice-blue);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
  }

  .focus-card h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--pacific-cyan);
  }

  .focus-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 1.5rem auto;
    border: 3px solid var(--pacific-cyan);
  }

  .focus-card p {
    color: var(--alice-blue);
    line-height: 1.6;
    margin-top: 1.5rem;
  }


  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
  }

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

  /* Call to Action Section */
.cta-section {
  background: linear-gradient(rgba(0, 53, 102, 0.85), rgba(0, 53, 102, 0.85)),
              url('../../images/dilshan/earth_ocean_lifeline.jpg');
  background-size: cover;
  background-position: center;
  padding: 6rem 2rem;
  text-align: center;
  color: var(--alice-blue);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--alice-blue);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button.primary {
  background-color: var(--success);
  color: white;
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--alice-blue);
  border: 2px solid var(--alice-blue);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.primary:hover {
  background-color: #26ae60; /* Darker green */
}

.cta-button.secondary:hover {
  background-color: var(--alice-blue);
  color: var(--yale-blue);
}

  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .nav-wrapper {
      flex-direction: column;
      padding: 1rem;
    }

    .logo-container {
      margin-bottom: 1rem;
    }

    nav ul {
      margin-bottom: 1rem;
    }

    .footer-content {
      flex-direction: column;
      padding: 2rem;
    }



    .focus-card {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }

  @media (max-width: 768px) {
    nav ul {
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
    }



    #hero h1 {
      font-size: 3.5rem;
    }

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

  @media (max-width: 480px) {
    #hero h1 {
      font-size: 2.5rem;
    }

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

    .cta-content h2 {
      font-size: 2rem;
    }

    .cta-buttons {
      flex-direction: column;
      width: 100%;
    }

    .cta-button {
      width: 100%;
    }
  }

  .ST2-links{
    color: var(--alice-blue);
    font-size: 1.25rem;
    font-weight: 700;
  }
