:root {
  --primary-color: #005a9c;
  --secondary-color: #343a40;
  --accent-color: #ffc107;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --white-color: #ffffff;
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-secondary);
  color: var(--dark-color);
  background-color: var(--white-color);
  overflow-x: hidden;
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
}

.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-bg {
  background-color: var(--light-color);
}

.section-title {
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 20px;
  text-transform: capitalize;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 5px;
}

.section-title p {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn {
  font-size: 0.875rem;
  font-family: var(--font-primary);
  padding: 14px 35px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.btn-premium {
  /* background: linear-gradient(145deg, #0062a8, #00508c); */
  background: linear-gradient(145deg, #40a836, #5dcf78);
  color: var(--white-color);
  /* font-weight: 600; */
  transition: all 0.3s ease-in-out;
  border: none;
  box-shadow:
    0 5px 15px rgba(0, 90, 156, 0.2),
    inset 0 -2px 5px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-premium:hover {
  color: var(--white-color);
  box-shadow:
    0 8px 20px rgba(0, 90, 156, 0.3),
    inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium-outline {
  background-color: transparent;
  color: var(--white-color);
  transition: all 0.3s ease-in-out;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-premium-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white-color);
  color: var(--white-color);
}

.btn-secondary-premium {
  background-color: var(--white-color);
  color: var(--primary-color);
  transition: all 0.3s ease-in-out;
  border: 2px solid var(--white-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary-premium:hover {
  background-color: transparent;
  border-color: var(--white-color);
  /* color:limegreen; */
  color: var(--white-color);
  box-shadow: none;
}

/* Shape Dividers */
.shape-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.shape-divider .shape-fill {
  fill: var(--light-color);
}

.shape-divider-top {
  top: -1px;
  bottom: auto;
  transform: rotate(0deg);
}

.shape-divider-top .shape-fill {
  fill: var(--white-color);
}

/* Navbar */

.navbar {
  transition: all 0.4s ease;
  padding: 1.2rem 0;
}

.navbar:not(.scrolled) {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  padding: 0.8rem 0;
}

/* Logo */
.navbar-brand img {
  height: 50px;
  width: auto;
}

/* nav link */
.navbar-nav .nav-link {
  font-family: var(--font-primary);
  color: var(--dark-color);
  margin: 0 12px;
  position: relative;
  transition: color 0.3s ease;
  font-size: 0.875rem;
}

/* Light links when navbar is transparent */
.navbar-dark .nav-link {
  color: var(--white-color) !important;
}

/* Underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  /* background-color: var(--accent-color); */
  background-color: limegreen;
  transition: width 0.4s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

/* dropdown menu */
.dropdown-item {
  font-size: 0.875rem;
  position: relative;
  color: var(--dark-color);
  transition: 0.3s ease;
}

/* Active or hover color */
.dropdown-item.active,
.dropdown-item:hover {
  background-color: limegreen;
}

/* Dropdown underline effect */
.dropdown-item::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: limegreen;
  transition: width 0.4s ease;
}

.dropdown-item:hover::after,
.dropdown-item.active::after {
  width: 60%;
}

/* Remove default arrow */
.dropdown-toggle::after {
  border: none;
}

/* mobile nav */
@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    background-color: var(--white-color);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav .nav-link {
    color: var(--dark-color) !important;
    padding: 0.75rem 0;
  }
}

/* hamburger */
.navbar-toggler {
  border: none;
  padding: 0;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  background: transparent;
}

.navbar-toggler span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--white-color);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

/* Switch color when scrolled */
.navbar.scrolled .navbar-toggler span {
  background: var(--dark-color);
}

/* Positioning */
.navbar-toggler span:nth-child(1) {
  top: 0px;
}
.navbar-toggler span:nth-child(2),
.navbar-toggler span:nth-child(3) {
  top: 9px;
}
.navbar-toggler span:nth-child(4) {
  top: 18px;
}

/* X animation */
.navbar-toggler.open span:nth-child(1),
.navbar-toggler.open span:nth-child(4) {
  top: 9px;
  width: 0%;
  left: 50%;
}

.navbar-toggler.open span:nth-child(2) {
  transform: rotate(45deg);
}

.navbar-toggler.open span:nth-child(3) {
  transform: rotate(-45deg);
}


/* Facilities Section */
/* ============================================
   FACILITIES SECTION - FULLY OPTIMIZED
   ============================================ */

.facilities-section {
    padding: 70px 0 50px;
    background: linear-gradient(135deg, #f0f2f5 0%, #f0f2f5 100%);
    position: relative;
    overflow: hidden;
}

.facilities-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2332;
    text-align: center;
    margin-bottom: 45px;
    position: relative;
}

.facilities-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 2px;
}

/* Facility Card */
.facility-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Highlight Card */
.highlight-card {
    border: 2px solid #28a745;
    background: linear-gradient(145deg, #ffffff, #f0faf0);
    position: relative;
    animation: pulse 2s infinite;
}

.highlight-card .exclusive-label {
    display: inline-block;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Facility Image */
.facility-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    transition: transform 0.5s ease;
}

.facility-card:hover .facility-image {
    transform: scale(1.03);
}

/* Facility Icon */
.facility-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Facility Title */
.facility-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a2332;
}

/* Facility Description */
.facility-description {
    color: #6c7a8a;
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.facility-description strong {
    color: #1a2332;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.2);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 991.98px) {
    .facilities-section {
        padding: 55px 0 40px;
    }
    
    .facilities-section .section-title {
        font-size: 1.9rem;
        margin-bottom: 35px;
    }
    
    .facility-card {
        padding: 18px 18px 22px;
        margin-bottom: 20px;
    }
    
    .facility-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    
    .facility-description {
        font-size: 0.85rem;
    }
    
    .facility-icon {
        font-size: 2.4rem;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 767.98px) {
    .facilities-section {
        padding: 45px 0 30px;
    }
    
    .facilities-section .section-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .facilities-section .section-title::after {
        width: 40px;
        bottom: -8px;
    }
    
    .facility-card {
        padding: 15px 15px 18px;
        margin-bottom: 18px;
        border-radius: 12px;
    }
    
    .facility-image {
        border-radius: 10px;
        margin-bottom: 12px;
        aspect-ratio: 16/9;
    }
    
    .facility-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .facility-description {
        font-size: 0.82rem;
        line-height: 1.6;
    }
    
    .facility-icon {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .highlight-card .exclusive-label {
        font-size: 0.6rem;
        padding: 3px 12px;
    }
    
    .highlight-card {
        padding: 15px 15px 18px;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */
@media (max-width: 575.98px) {
    .facilities-section {
        padding: 35px 0 20px;
    }
    
    .facilities-section .section-title {
        font-size: 1.3rem;
        margin-bottom: 25px;
    }
    
    .facilities-section .section-title::after {
        width: 30px;
        height: 3px;
        bottom: -6px;
    }
    
    .facility-card {
        padding: 12px 12px 15px;
        margin-bottom: 14px;
        border-radius: 10px;
    }
    
    .facility-image {
        border-radius: 8px;
        margin-bottom: 10px;
        aspect-ratio: 16/9;
    }
    
    .facility-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
    .facility-description {
        font-size: 0.78rem;
        line-height: 1.5;
    }
    
    .facility-icon {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }
    
    .highlight-card .exclusive-label {
        font-size: 0.55rem;
        padding: 2px 10px;
        margin-bottom: 8px;
    }
    
    .highlight-card {
        padding: 12px 12px 15px;
    }
}

/* ============================================
   RESPONSIVE - VERY SMALL
   ============================================ */
@media (max-width: 400px) {
    .facilities-section {
        padding: 30px 0 15px;
    }
    
    .facilities-section .section-title {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .facility-card {
        padding: 10px 10px 12px;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .facility-image {
        border-radius: 6px;
        margin-bottom: 8px;
    }
    
    .facility-title {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .facility-description {
        font-size: 0.72rem;
        line-height: 1.4;
    }
    
    .facility-icon {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .facility-card,
    .facility-card:hover,
    .facility-image,
    .highlight-card {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
    
    .highlight-card {
        animation: none !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06) !important;
    }
}

/* ============================================
   TOUCH DEVICES
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    .facility-card:hover {
        transform: none !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06) !important;
    }
    
    .facility-card:hover .facility-image {
        transform: none !important;
    }
    
    .highlight-card {
        animation: none !important;
    }
}

/* ============================================
   GRID FIX FOR MOBILE
   ============================================ */
@media (max-width: 575.98px) {
    .facilities-section .row {
        --bs-gutter-y: 0;
    }
    
    .facilities-section .col-lg-4,
    .facilities-section .col-md-6 {
        padding-left: 8px;
        padding-right: 8px;
    }
}

@media (max-width: 400px) {
    .facilities-section .col-lg-4,
    .facilities-section .col-md-6 {
        padding-left: 5px;
        padding-right: 5px;
    }
}