/* ==========================================================================
   Hero Section 
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

@media (min-width: 769px) {
  .hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 52, 75, 0.85) 0%,    
    rgba(0, 52, 75, 0.65) 35%,
    rgba(0, 52, 75, 0.35) 50%,
    rgba(0, 52, 75, 0.15) 65%,
    transparent 100%
  );
  z-index: 2;
}

/* Content Container */
.hero-content {
  position: relative;
  z-index: 3;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  color: white;
  margin-right: auto;
  margin-left: 15%;
}

/* Typography */
.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); 
}

.hero-subheader {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
  line-height: 1.5;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-btn-primary,
.hero-btn-secondary {
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  font-weight: 600;
  transition: all 0.3s ease;
  text-shadow: none;
}

.hero-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #00344b;
  border-color: white;
}

@media (max-width: 1600px) {
  .hero-content {
    max-width: 550px;
    margin-left: 10%;
  }
  
  .hero-content h1 {
    font-size: 44px;
  }

  .hero-section {
    min-height: 450px;
  }
}

@media (max-width: 1400px) {
  .hero-content {
    max-width: 500px;
    margin-left: 8%;
  }
  
  .hero-content h1 {
    font-size: 40px;
  }

  .hero-section {
    min-height: 400px;
  }

  .hero-section::before {
    background: linear-gradient(
      90deg,
      rgba(0, 52, 75, 0.85) 0%,
      rgba(0, 52, 75, 0.65) 40%,
      rgba(0, 52, 75, 0.35) 55%,
      rgba(0, 52, 75, 0.1) 70%,
      transparent 100%
    );
  }
}

@media (max-width: 1200px) {
  .hero-content {
    max-width: 450px;
    margin-left: 6%;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-section {
    min-height: 350px;
  }
  
  .hero-section::before {
    background: linear-gradient(
      90deg,
      rgba(0, 52, 75, 0.9) 0%,
      rgba(0, 52, 75, 0.7) 45%,
      rgba(0, 52, 75, 0.4) 60%,
      rgba(0, 52, 75, 0.1) 75%,
      transparent 100%
    );
  }
}

@media (max-width: 1024px) {
  .hero-section {
    min-height: 350px;
  }
  
  .hero-content {
    max-width: 400px;
    margin-left: 5%;
    padding: 30px;
  }

  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-subheader {
    font-size: 18px;
  }
  
  .hero-section::before {
    background: linear-gradient(
      90deg,
      rgba(0, 52, 75, 0.92) 0%,
      rgba(0, 52, 75, 0.75) 50%,
      rgba(0, 52, 75, 0.45) 65%,
      rgba(0, 52, 75, 0.15) 80%,
      transparent 100%
    );
  }
}

@media (max-width: 768px) {
  .hero-section {
    background-color: #00344b; 
  }

  .hero-content {
    max-width: 100%;
    margin: 0;
    padding: 40px 20px;
    text-align: center;
  }
  

  .hero-content h1 {
    font-size: 28px;
  }
  
  .hero-subheader {
    font-size: 16px;
  }
  
  .hero-buttons {
    justify-content: center;
  }

  .hero-btn-primary, .hero-btn-secondary {
    width: 50%;
    margin: 0 auto;
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .hero-section::before {
    background: linear-gradient(
      180deg, 
      rgba(0, 52, 75, 0.8) 0%,
      rgba(0, 52, 75, 0.7) 50%,
      rgba(0, 52, 75, 0.6) 100%
    );
  }

  .hero-background {
    background-color: #00344b; 
  }

  .hero-background img {
    object-fit: cover;
    object-position: center center;
    max-width:  850px;

  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: auto;
  }
  
  .hero-content h1 {
    font-size: 22px; 
    margin-bottom: 12px;
  }
  
  .hero-buttons {
    flex-direction: row; 
    gap: 8px;
  }
  
  .hero-btn-primary,
  .hero-btn-secondary {
    padding: 8px 20px;
    font-size: 13px;
    flex: 1; 
  }

  .hero-section::before {
    background: rgba(0, 52, 75, 0.75);
  }
}

/* ==========================================================================
   Split Content
   ========================================================================== */

.split-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 20px;
}

.split-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-content--left .split-content-text {
  order: 2;
}

.split-content--left .split-content-media {
  order: 1;
}

.split-content-text h2 {
  color: var(--primary-navy);
  font-size: 36px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.split-content-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-red);
    margin-top: 20px;
}

.split-content-body {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.split-content-media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 1400px) {
  .split-content {
    margin: 0 8%;
  }
}
@media (max-width: 1200px) {
  .split-content {
    margin: 0 6%;
  }
  
}
@media (max-width: 1024px) {
  .split-content {
    margin: 0 5%;
  }
  
}
@media (max-width: 768px) {
  .split-content {
    margin: 0;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.hero-btn-primary, .accordion-btn-primary, .split-btn-primary {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
}

.hero-btn-primary {
  background: var(--secondary-sunrise)/**/;
  color: var(--primary-navy);
}

.accordion-btn-primary, .split-btn-primary {
  background: var(--primary-red)/**/;
  color: white;
}

.accordion-btn-primary:hover, .split-btn-primary:hover {
  background: #d02931;
  text-decoration: none;
  color: white;
  transform: translateY(-2px);
}

.hero-btn-primary:hover {
  background-color: var(--gold);
  transform: translateY(-2px);
  text-decoration: none;
}

.hero-btn-secondary, .accordion-btn-secondary, .split-btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
}

.hero-btn-secondary:hover, .accordion-btn-secondary:hover, .split-btn-secondary:hover {
  background: white;
  color: var(--primary-navy);
  text-decoration: none;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 32px;
  }
  
  .hero-subheader {
    font-size: 18px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }

  .split-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .split-content--left .split-content-text,
  .split-content--left .split-content-media {
    order: unset;
  }
  
  .split-content-text h2 {
    font-size: 28px;
  }
}


/* ==========================================================================
   Accordion Section
   ========================================================================== */
.accordion-section {
  max-width: 1200px;
  margin: -3rem auto 3rem auto;
  padding: 10px 20px;
}

.accordion-section-title {
  color: var(--primary-navy);
  font-size: 42px;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

.accordion-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Accordion Item */
.accordion-item {
  border: none;
  border-bottom: 2px solid var(--primary-red);
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
  background: white;
  transition: background-color 0.3s ease;
}

.accordion-item:hover {
  background-color: #fafafa;
}

.accordion-trigger {
  width: 100%;
  padding: 28px 32px;
  background: white;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 25px;
  font-weight: 600;
  color: var(--primary-navy);
  transition: all 0.3s ease;
  text-align: left;
}

.accordion-trigger:hover {
  background: #fafafa;
  transform: none;
}

.accordion-trigger[aria-expanded="true"] {
  background: #e3f2fd;
}

.accordion-icon {
  font-size: 28px;
  font-weight: 600;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 24px;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

/* Accordion Content */
.accordion-content {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content[hidden] {
  display: block !important;
  max-height: 0;
}

.accordion-content:not([hidden]) {
  max-height: 1000px; 
}

.accordion-content-inner {
  padding: 32px;
  border-top: 1px solid #e0e0e0;
  background: white;
}

.accordion-content-title {
  color: var(--primary-navy);
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: 600;
}

.accordion-content-text {
  color: #333;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.accordion-content-text p {
  margin-bottom: 16px;
}

.accordion-content-text p:last-child {
  margin-bottom: 0;
}

.accordion-content-cta {
  margin-top: 24px;
}

/* Mobile */
@media (max-width: 768px) {
  .accordion-section {
    padding: 30px 20px;
    margin-bottom: 20px;
  }
  
  .accordion-section-title {
    font-size: 32px;
  }
  
  .accordion-trigger {
    font-size: 18px;
    padding: 22px 24px;
  }
  
  .accordion-icon {
    font-size: 24px;
    margin-left: 20px;
  }
  
  .accordion-content-inner {
    padding: 24px;
  }
  
  .accordion-content-title {
    font-size: 22px;
  }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  color: white;
  padding: 80px 20px;
  margin: 3rem auto 3rem auto;
  background: var(--primary-navy);
  border-radius: 8px;
  position: relative;
  max-width: 1200px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.cta-section-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section-header {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.cta-section-subheader .field-item {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  font-weight: 400;
}

.cta-section-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 900px; 
  margin: 0 auto;
}

.cta-btn {
  flex: 0 0 auto; 
  min-width: 180px; 
  background: var(--primary-red)/**/;
  color: white;
  padding: 16px 32px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-btn:hover {
  background: #d02931;
  text-decoration: none;
  color: white;
  transform: translateY(-3px);
}

/* Secondary button variant */
.cta-btn-secondary {
  background: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cta-btn-secondary:hover {
  background: var(--primary-navy);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile */
@media (max-width: 768px) {
  .cta-section {
    padding: 60px 20px;
    margin-top: 40px;
  }
  
  .cta-section-header {
    font-size: 28px;
    margin-bottom: 12px;
  }
  
  .cta-section-subheader {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  .cta-section-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 100%;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    padding: 14px 24px;
  }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
  .cta-section {
    padding: 70px 30px;
  }
  
  .cta-section-header {
    font-size: 32px;
  }
  
  .cta-section-buttons {
    gap: 16px;
  }
}

/* ==========================================================================
   Image Overlay Section
   ========================================================================== */
.image-overlay {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  margin: 60px auto;
  max-width: 1400px;
  overflow: hidden;

}

.image-overlay-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  z-index: 1;
}

.image-overlay--center .image-overlay-background {
  width: 100%;
  right: auto;
  left: 0;
}

.image-overlay--right .image-overlay-background {
  right: auto;
  left: 0;
}

.image-overlay-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-left: 5%;
}

.image-overlay-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

.image-overlay-content {
  background: white;
  padding: 50px;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.image-overlay--center .image-overlay-content {
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
}

.image-overlay--right .image-overlay-content {
  margin-left: auto;
}

.image-overlay-title {
  color: var(--primary-navy);
  font-size: 42px;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
}

/* Add decorative bar like in the example */
.image-overlay-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-red);
  margin-top: 20px;
}

.image-overlay--center .image-overlay-title::after {
  margin-left: auto;
  margin-right: auto;
}

.image-overlay-description {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.image-overlay-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.image-overlay-link {
  color: var(--primary-navy);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
}

.image-overlay-link:hover {
  color: var(--primary-red)/**/;
  transform: translateX(5px);
}

.link-arrow {
  margin-left: 10px;
  font-size: 20px;
  transition: transform 0.3s;
}

.image-overlay-link:hover .link-arrow {
  transform: translateX(5px);
}
.image-overlay-accent {
  position: absolute;
  bottom: -40px;
  left: 40px;
  width: 120px;
  height: 120px;
  background: var(--secondary-sunrise, #f1aa1e);
  z-index: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.image-overlay--center .image-overlay-accent,
.image-overlay--right .image-overlay-accent {
  display: none;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .image-overlay-background {
    width: 100%;
    opacity: 0.3;
  }
  
  .image-overlay--right .image-overlay-background {
    width: 100%;
  }
  
  .image-overlay-content {
    max-width: 100%;
    background: rgba(255, 255, 255, 0.98);
  }
}

@media (max-width: 768px) {
  .image-overlay {
    min-height: auto;
    margin: 40px auto;
  }
  
  .image-overlay-container {
    padding: 40px 20px;
  }
  
  .image-overlay-content {
    padding: 30px;
  }
  
  .image-overlay-title {
    font-size: 32px;
  }
  
  .image-overlay-description {
    font-size: 16px;
  }
  
  .image-overlay-link {
    font-size: 16px;
  }
  
  .image-overlay-accent {
    width: 80px;
    height: 80px;
    left: 20px;
    bottom: -20px;
  }
  .image-overlay-background img {
    margin-left: 0;
  }

}