/* ============================= */
/* Header & Logo Styling */
/* ============================= */
.site-title {
    font-size: 30px;
    font-weight: 700;
    color: #0d1b5a;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.site-logo a {
    font-size: 20px !important; /* Adjust size of link text if logo text is inside */
    font-weight: 700;
}

/* Remove leftover logo image */
.logo img {
    display: none !important;
}

/* Gradient text style for special logo variant */
.site-title-gradient {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(90deg, #5a4fcf, #8f7bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.site-title-gradient span {
    background: linear-gradient(90deg, #6d42e2, #ff5e62);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-title-gradient:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* ============================= */
/* Header Area & Spacing */
/* ============================= */
.header-area,
.main-header {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* ============================= */
/* Main Navigation Styling */
/* ============================= */

/* Force single row with proper spacing */
.main-menu ul#navigation {
    display: flex !important;
    flex-wrap: nowrap !important; /* prevent wrapping */
    gap: 30px !important;         /* spacing between items */
    justify-content: flex-start;  /* align from left */
    margin-left: 20px;            /* space from logo */
    align-items: center !important;
}

/* Stop items from wrapping to next line */
.main-menu #navigation li {
    white-space: nowrap !important;
}

/* Menu links padding/margin reset */
.main-menu #navigation li a,
.main-menu ul#navigation > li > a {
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

/* ============================= */
/* Dropdown Arrows */
/* ============================= */
/* ============================= */
/* Dropdown Arrows Alignment Fix */
/* ============================= */
/* Dropdown Arrow Perfect Alignment */
/* ============================= */
.main-menu li.dropdown > a {
    display: inline-flex;           /* keeps width natural */
    align-items: center;            /* vertically centers text and arrow */
    gap: 4px;                       /* space between text and arrow */
    padding: 0 10px;
    line-height: normal;             /* ensure no extra spacing */
    font-size: 16px;                /* set your nav font size explicitly */
    height: 100%;                    /* fill parent container */
}

/* Arrow itself */
.main-menu li.dropdown > a::after {
    content: '▼';
    display: inline-flex;            /* flex ensures alignment with text */
    align-items: center;             /* center arrow vertically */
    font-size: 0.7em;                /* adjust arrow size relative to text */
    margin-left: 2px;                /* fine-tune spacing */
    color: #0d1b5a !important;
}

/* Rotate arrow when active */
.main-menu li.dropdown.show > a::after {
    transform: rotate(180deg);
}



/* justify */
.text-justify {
    text-align: justify;
}

/* Gallery/
/* ---------- Global ---------- */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  padding: 40px 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 32px;
  color: navy;
}

.section-header .alternate {
  color: #0A84FF;
}

.section-header .subtitle {
  margin-top: 10px;
  font-size: 16px;
  color: #444;
}

/* ---------- Intro ---------- */
.intro p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #333;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* ALWAYS 3 per row */
  gap: 20px;
  margin-top: 20px;
}



.gallery-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 12px;
  text-align: center;
  background: #fff;
  font-size: 15px;
  color: #333;
}

/* ---------- Quick Facts ---------- */
.quick-facts {
  margin-top: 40px;
  background: #fafafa;
  border-left: 5px solid #0A84FF;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.quick-facts h3 {
  margin-top: 0;
  color: #0A84FF;
}

.quick-facts ul {
  list-style: none;
  padding: 0;
}

.quick-facts li {
  margin: 8px 0;
  font-size: 16px;
}



/* Make parent menu horizontal */
/* Make parent menu horizontal */
#navigation {
    display: flex;
    align-items: center;
    gap: 50px !important;
}

/* Reset nav list style */
#navigation li {
    list-style: none;
    position: relative;
}

/* Bootstrap dropdown styling override (safe) */
/* Force dropdown items into vertical list */
#navigation .dropdown-menu {
    display: none !important;
    flex-direction: column !important;
}

#navigation .dropdown-menu li {
    display: block !important;
    width: 100% !important;
}

#navigation .dropdown-menu .dropdown-item {
    display: block !important;
    width: 100% !important;
    padding: 10px 15px;
    white-space: nowrap;
}

/* When Bootstrap toggles .show, display dropdown */
#navigation .dropdown-toggle.show + .dropdown-menu {
    display: block !important;
}

/* top margin reduce*/
.about-low-area {
    padding-top: 40px !important; /* adjust smaller as needed */
}

.title{
  color: tomato !important;
  margin-top: 50px !important;
}

/* Hamburger menu fix */
/* Remove toggler border */
/* FORCE hamburger to the right */
.navbar-toggler {
    position: absolute !important;
    right: 10px !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
}

.navbar-toggler-icon {
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='black' viewBox='0 0 16 16'%3E%3Cpath d='M2 12h12v1H2zm0-4h12v1H2zm0-4h12v1H2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Make desktop dropdown background same as header */
.main-menu .dropdown-menu {
  background-color: #0d1b5a; /* use your header color */
  border: none;              /* remove default border */
  text-align: center;
}

/* Dropdown links color */
.main-menu .dropdown-menu a {
  color: #fff;               /* white text */
  padding: 10px 20px;
  transition: background 0.3s;
  text-decoration: none !important;     /* no underline */

}

/* Hover effect */
.main-menu .dropdown-menu a:hover {
  background-color: #1a2b75; /* slightly darker shade on hover */
  color: #fff;
}

/* Optional: remove dropdown arrow caret if needed */
.main-menu .dropdown-toggle::after {
  color: #fff;
}

/* Dropdown links */
.main-menu .dropdown-menu .dropdown-item {
  color: #fff !important;            /* white text */
  text-decoration: none !important;  /* no underline */
  padding: 10px 20px;
  display: block;
  text-align: center;
  transition: background 0.3s;
}
/* mobile hamburger menu fix */
/* ---------- Mobile Hamburger Menu ---------- */

/* Mobile menu links (top-level and submenus) */
.mobile-nav a {
  display: block;
  color: #fff !important;           /* white text */
  text-decoration: none !important; /* remove underline */
  padding: 10px 0;
  text-align: center;               /* center text */
  transition: color 0.3s;
}

/* Submenu links inside mobile collapse */
.mobile-nav .collapse a {
  color: #fff !important;           /* white text */
  text-decoration: none !important; /* remove underline */
  padding-left: 15px;               /* optional indent */
  text-align: center;               /* center text */
}

/* Parent dropdown link when expanded */
.mobile-nav a[aria-expanded="true"] {
  color: #fff !important;
}

/* Mobile dropdown background same as header */
.mobile-nav .collapse {
  background-color: #0d1b5a;
}

/* banner for other pages */
/* Restore dropdown arrow caret */
.main-menu .dropdown-toggle::after {
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 5px solid #fff;         /* arrow color */
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    content: "";
}
/* Mobile REsponsive menu*/
/* ----- MOBILE MENU ----- */
/* Mobile Nav Styling */
.mobile-nav {
    background: #0d1b5a;
    padding: 15px 0;
}

.mobile-nav a {
    color: #fff !important;
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    font-size: 16px;
}

.mobile-nav .collapse a {
    padding-left: 35px;
}

/* Rotate arrow when opened */
.mobile-nav a[aria-expanded="true"] i {
    transform: rotate(180deg);
    transition: 0.3s;
}

/* MOBILE FIX — only below lg */
@media (max-width: 991px) {

    /* Reset forced desktop flex (for menu items) */
    .main-menu ul#navigation,
    #navigation {
        display: block !important;
        gap: 0 !important;
        margin-left: 0 !important;
    }

    /* FIX HAMBURGER (MOBILE) */
    .navbar-toggler {
        position: static !important;
        transform: none !important;
        right: auto !important;
        top: auto !important;
        margin-left: auto !important;
        z-index: 9999;
    }

    /* Keep header elements on one line */
    .header-area .row,
    .main-header .row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
}

/*hero start*/
.slider-area2 .hero-cap2 img {
    max-width: 70px;  /* Prevents images from growing too large */
    height: auto;      /* Maintains aspect ratio */
}
@media (max-width: 767px) {

    /* Main wrapper fix */
    .slider-area2 .slider-height2 {
        display: block !important;
        padding: 20px 0 !important;
        text-align: center !important;
        height: auto !important;        /* stops overflow */
        align-items: unset !important;
        justify-content: unset !important;
        overflow: visible !important;   /* allows dropdowns */
    }

    /* Stack everything inside hero-cap2 */
    .slider-area2 .hero-cap2 > * {
        display: block !important;
        margin: 8px auto !important;
        text-align: center !important;
    }

    /* Reduce image size */
    .slider-area2 .hero-cap2 img {
        max-width: 50px !important;
        height: auto !important;
    }

    /* Reduce headings */
    .slider-area2 .hero-cap2 h2 {
        font-size: 22px !important;
    }

    .slider-area2 .hero-cap2 h3.title {
        font-size: 18px !important;
    }

    /* Reduce paragraph font size */
    .slider-area2 .hero-cap2 p {
        font-size: 14px !important;
    }

    /* Fix hero-line to stack logo + text */
    .hero-line {
        display: block !important;
    }

    .hero-line img {
        margin-bottom: 5px;
    }
}
/* to remove red arrow in dropdown */
/* REMOVE background arrows / shapes from slider */
.slider-area::before,
.slider-area::after,
.single-slider::before,
.single-slider::after,
.slider-height::before,
.slider-height::after,
.slider-active::before,
.slider-active::after {
    content: none !important;
    display: none !important;
    background: none !important;
}
.slider-area,
.single-slider,
.slider-height {
    background: url("../img/hero/main_pg.jpg") no-repeat center center/cover !important;
}

#back-top a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px;       /* adjust size if needed */
    height: 45px;      /* adjust size if needed */
    border-radius: 50%; /* make it round */
}


