:root {
  --navy: #0B1C2D;
  --navy-light: #0F2742;
  --gold: #F4C430;
  --off-white: #F8F9FB;
  --slate: #4A5568;
  --teal: #2C7A7B;
  --border: #E2E8F0;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--slate);
}

h1, h2, h3 {
  font-family: 'Merriweather', serif;
  color: var(--navy);
}

/* Header */
.navbar {
  background: var(--navy);
}

.navbar-brand {
  font-weight: 700;
  color: #fff !important;
}

.navbar-brand span {
  color: var(--gold);
}

.nav-link {
  color: #ddd !important;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

/* Hero */
.hero {
  background: linear-gradient(to bottom, var(--navy), var(--navy-light));
  color: #fff;
  padding: 4rem 1rem;
}

.hero h1 {
  color: #fff;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  border: none;
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold);
}

/* Cards */
.service-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

/* About */
.about {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* CTA */
.cta {
  background: var(--teal);
  color: #fff;
}

.cta h2 {
  color: #fff;
}

/* Footer */
footer {
  background: var(--navy);
  color: #CBD5E0;
  font-size: 0.9rem;
}

footer h5 {
  color: #fff;
  font-size: 1rem;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero-section,
.hero-slide {
  height: 100vh;
}

/* Background image */
.hero-slide {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

/* Blur layer */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  filter: blur(10px);
  transform: scale(1.1);
  z-index: 0;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.65);
  z-index: 1;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  animation: fadeUp 1.3s ease;
}

@keyframes goldPulse {
  0%   { text-shadow: 0 0 8px rgba(244,196,48,.4); }
  50%  { text-shadow: 0 0 22px rgba(244,196,48,.7); }
  100% { text-shadow: 0 0 8px rgba(244,196,48,.4); }
}

.hero-content h1 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  color: #F4C430;
  animation: goldPulse 3.5s ease-in-out infinite;
}

/* underline */
.hero-content h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, #F9D976, #F4C430, #E6A800);
  border-radius: 4px;
  animation: underlineReveal 1.4s ease forwards;
  animation-delay: 0.6s;
}

@keyframes underlineReveal {
  from { width: 0; }
  to   { width: 100%; }
}

.hero-content p {
  font-size: 1.1rem;
  margin-top: 1rem;
  opacity: 0.9;
}

/* Smooth fade */
.carousel-fade .carousel-item {
  transition: opacity 1.2s ease-in-out;
}

/* Zoom animation ONLY on active slide */
.carousel-item.active {
  animation: zoomIn 7s linear forwards;
}

/* Animations */
@keyframes zoomIn {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

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

/* FIXED MEDIA QUERY SYNTAX HERE */
@media (max-width: 576px) {
  .hero-content h1::after {
    height: 3px;
  }
}

/* ===== ABOUT PAGE (Pharos) ===== */
.about-page {
  background-color: #0a192f !important;
  min-height: 100vh;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.about-page p,
.about-page li {
  color: rgba(255, 255, 255, 0.85); /* Light text for readability */
}

.about-list {
  list-style: none;
  padding-left: 0;
}

.about-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.about-list li::before {
  content: "•";
  color: #F4C430; /* Gold bullets */
  font-weight: bold;
  position: absolute;
  left: 0;
}

.about-page h2,
.about-page h3 {
  color: #F4C430; /* Gold Headings */
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
  color: #F4C430;
  padding-bottom: 10px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #F9D976, #F4C430, #E6A800);
}

.about-image {
  height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  filter: brightness(0.85);
  border: 1px solid rgba(244, 196, 48, 0.2); /* Subtle gold border */
}

.about-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: #F4C430;
}

/* =========================================
   PREMIUM DROPDOWN STYLES (Navy & Gold)
   ========================================= */

/* =========================================
   SILK DROPDOWN (Sleek, Compact, & Smooth)
   ========================================= */

/* 1. The Container - Floating Glass Effect */
.dropdown-menu {
    background: rgba(11, 28, 45, 0.95); /* 95% Opacity Navy */
    backdrop-filter: blur(10px);        /* The "Silk" Blur Texture */
    border: none;
    border-top: 2px solid var(--gold);  /* Thinner, elegant gold line */
    border-radius: 0 0 4px 4px;         /* Sharper corners */
    padding: 8px 0;                     /* Tighter vertical padding */
    margin-top: 10px !important;        /* Gap creates "Floating" look */
    min-width: 200px;                   /* Not too wide, not too narrow */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3); /* Deep, soft shadow */
    
    /* Animation Setup */
    display: block; 
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* "Silk" motion curve */
}

/* 2. The Links - Refined Typography */
.dropdown-item {
    color: rgba(255, 255, 255, 0.75);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;      /* Smaller, cleaner font */
    font-weight: 500;
    padding: 10px 20px;      /* Comfortable click area, but compact */
    letter-spacing: 0.3px;   /* "Premium" spacing */
    transition: all 0.2s ease-out;
    border-left: 3px solid transparent; /* Invisible border for hover effect */
}

/* 3. Hover State - Subtle & Sharp */
.dropdown-item:hover,
.dropdown-item:focus {
    background: linear-gradient(90deg, rgba(244, 196, 48, 0.1), transparent); /* Soft Gold Fade */
    color: #fff;             /* Bright White text */
    border-left: 3px solid var(--gold); /* Sharp Gold accent on left */
    padding-left: 24px;      /* Slight slide to the right */
}

/* 4. The Divider Line */
.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 6px 0;
}

/* 5. ENABLE HOVER TRIGGER (Desktop Only) */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

/* 6. Mobile Adjustment (Keep it simple on phones) */
@media (max-width: 991px) {
    .dropdown-menu {
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 0 !important;
        display: none; /* Let Bootstrap handle click on mobile */
        transform: none;
        transition: none;
    }
    
    .dropdown-menu.show {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown-item {
        color: rgba(255, 255, 255, 0.6);
        padding: 8px 0;
    }
    
    .dropdown-item:hover {
        background: transparent;
        color: var(--gold);
        padding-left: 10px;
        border-left: none;
    }
}

/* Subtext Styling for Dropdown */
.dropdown-item {
    display: flex;              /* Allows stacking text */
    flex-direction: column;     /* Stacks Title on top of Desc */
    padding: 10px 24px;         /* slightly more padding for 2 lines */
}

.menu-title {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
}

.menu-desc {
    /* 1. Define the Box Model for Clamping */
    display: -webkit-box;
    -webkit-line-clamp: 3;        /* Stop after 3 lines */
    -webkit-box-orient: vertical; /* Stack lines vertically */
    overflow: hidden;             /* Hide anything beyond line 3 */
    
    /* 2. Control Width & Flow */
    max-width: 220px;             /* Restrict width to force wrapping */
    white-space: normal;          /* Ensure text wraps to next line */
    
    /* 3. Typography & Color */
    font-size: 0.7rem;            /* Small text */
    line-height: 1.4;             /* Readable line height */
    color: rgba(244, 196, 48, 0.8); /* Gold with slight transparency */
    margin-top: 4px;
    text-transform: none;         /* normal case for paragraphs */
}

.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    line-height: 55px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    z-index: 9999;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
}

/* On Hover: Brighten the gold */
.dropdown-item:hover .menu-desc {
    opacity: 1;
    text-shadow: 0 0 5px rgba(244, 196, 48, 0.3);
}

.icon-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-top: 4px solid transparent;
        }
        .icon-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
            border-top: 4px solid #ff6a14;
        }
        .text-navy {
            color: #1e1e54 !important;
        }
        .bg-navy {
            background-color: #1e1e54 !important;
        }
        .btn-navy {
            background-color: #1e1e54;
            color: #fff;
        }
        .btn-navy:hover {
            background-color: #11113a;
            color: #fff;
        }
        .btn-outline-orange {
            border-color: #ff6a14;
            color: #ff6a14;
        }
        .btn-outline-orange:hover {
            background-color: #ff6a14;
            color: #fff;
        }
        .custom-bullet li {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.5rem;
            color: #555;
            font-size: 0.95rem;
        }
        .custom-bullet li::before {
            content: "\F26A"; /* Bootstrap icon check-circle-fill */
            font-family: "bootstrap-icons";
            position: absolute;
            left: 0;
            color: #ff6a14;
        }