/* ===================================================
    1. GENERAL & RESET
===================================================*/
body { font-family: 'Segoe UI', sans-serif; margin: 0; padding: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ===================================================
    2. TOPBAR (Hidden on Mobile)
===================================================*/
.topbar { background: #002b5c; color: #fff; font-size: 13px; padding: 4px 0; }
@media (max-width: 991px) { .topbar { display: none !important; } }

/* ===================================================
    3. INTERNATIONAL PROFESSIONAL HEADER (Full-Width Mobile)
===================================================*/
.header-bg {
    background-image: url("../images/header-bg.jpg") !important;
    background-size: cover;
    background-position: center;
    padding: 18px 0; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 110px; /* Desktop Height Unchanged */
    overflow: hidden;
}

.logo-container, .reg-container {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 30px; 
}

.header-text {
    flex: 1;
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.logo-img {
    max-height: 75px; 
    width: auto;
}

.header-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 26px; 
    text-transform: uppercase;
    color: #003366;
    margin-bottom: 10px !important; 
    letter-spacing: 1.5px; 
    line-height: 1;
    white-space: nowrap; 
}

.header-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 15px; 
    color: #444;
    margin-top: 5px !important; 
    letter-spacing: 2px; 
    line-height: 1;
    text-transform: uppercase;
}

/* --- MOBILE: MAX SPACE & INTERNATIONAL ALIGNMENT --- */
@media (max-width: 991px) {
    .header-bg {
        height: auto !important; 
        min-height: 85px; 
        /* Side padding set to 0 to use every pixel of the screen */
        padding: 12px 0 !important; 
        overflow: visible;
    }

    .logo-container { 
        padding-left: 5px !important; /* Pushes logo to the absolute left */
        padding-right: 0 !important; 
    }
    
    .reg-container { 
        padding-right: 5px !important; /* Pushes menu button to the absolute right */
        padding-left: 0 !important;
    }

    .logo-img {
        max-height: 45px !important; 
    }

    .header-text {
        padding: 0 2px;
        /* Center text now has 85-90% of the screen width */
        flex: 1; 
    }

    .header-title {
        white-space: normal !important; 
        display: block !important;
        
        /* Professional Font Size for 2-line wrap */
        font-size: 12.5px !important; 
        font-weight: 900 !important;
        line-height: 1.25;
        letter-spacing: 0.3px;
        
        /* Width expanded to prevent 3rd line */
        max-width: 260px !important; 
        width: 100%;
        margin: 0 auto !important;
        overflow: visible !important;
    }

    .header-subtitle {
        white-space: nowrap !important; 
        font-size: 9.5px !important;
        display: block !important;
        margin-top: 4px !important;
        letter-spacing: 0.5px;
        opacity: 0.8;
    }
    
    .navbar-toggler {
        padding: 4px 6px !important;
        border: 1px solid rgba(0,0,0,0.1) !important;
        background: rgba(255,255,255,0.2) !important;
    }
}

/* For Extra Small Screens (iPhone SE / 320px) */
@media (max-width: 360px) {
    .header-title { 
        font-size: 11px !important; 
        max-width: 210px !important; 
    }
    .header-subtitle { font-size: 8px !important; }
}
/* ===================================================
    4. NAVBAR & ASWOME ANIMATION (Updated)
===================================================*/
.modern-navbar { 
    background: #003366 !important; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
}

.modern-navbar .nav-link {
    color: #fff !important; 
    font-weight: 600; 
    text-transform: uppercase;
    /* Improved Font & Spacing */
    font-size: 13px !important; 
    padding: 15px 22px !important; 
    letter-spacing: 0.8px;
    position: relative; 
    display: inline-block; 
    transition: all 0.3s ease;
}

/* Awesome Hover Lift Effect */
.modern-navbar .nav-link:hover {
    color: #ffd700 !important;
    transform: translateY(-2px);
}

/* Animated Underline */
.modern-navbar .nav-link::after {
    content: ""; 
    position: absolute; 
    left: 50%; 
    bottom: 8px;
    width: 0; 
    height: 2px; 
    background: #ffd700;
    transition: all 0.3s ease; 
    transform: translateX(-50%);
}

.modern-navbar .nav-link:hover::after { 
    width: 60%; 
}

/* ===================================================
    5. MOBILE MENU (Deep Blue & Awesome Design)
===================================================*/
.navbar-toggler {
    /* Deep Blue Border & Subtle White Background */
    border: 1.5px solid #003366 !important;
    background-color: #ffffff !important; 
    padding: 6px 8px !important;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 51, 102, 0.1); /* Subtle depth */
    outline: none !important;
}

/* Hover/Click Effect */
.navbar-toggler:active, 
.navbar-toggler:focus {
    background-color: #f0f5ff !important;
    transform: scale(0.95);
    box-shadow: none;
}

.navbar-toggler-icon {
    /* Deep Blue Hamburger Lines (Custom SVG) */
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23003366' stroke-width='2.5' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    width: 22px;
    height: 22px;
}

@media (max-width: 991px) {
    /* Dropdown Menu Background */
    .navbar-collapse { 
        background: #003366; 
        padding: 10px 0; 
        text-align: left !important;
        border-top: 2px solid #ffd700; /* Gold top border for premium feel */
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    
    .navbar-nav { 
        align-items: flex-start !important; 
        margin: 0 !important; 
        padding: 0 25px;
    }
    
    .modern-navbar .nav-link {
        width: 100%; 
        text-align: left !important;
        padding: 15px 0 !important; 
        border-bottom: 1px solid rgba(255,255,255,0.08); /* Minimalist separator */
        font-size: 14px !important;
        color: #ffffff !important;
        letter-spacing: 1.2px;
        font-weight: 500;
    }
    
    /* Active/Hover Link in Mobile Menu */
    .modern-navbar .nav-link:hover,
    .modern-navbar .nav-link:focus {
        color: #ffd700 !important;
        padding-left: 5px !important; /* Subtle slide effect */
        transition: 0.2s;
    }
}



.banner-slide{
  height:550px;
  background-size:cover;
  background-position:center;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  overflow:hidden;
}

/* Gradient Overlay */
.banner-slide::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

/* Content */
.banner-content{
  position:relative;
  z-index:2;
  animation:fadeUp 1.2s ease-in-out;
}

.banner-title{
  font-size:48px;
  font-weight:700;
  letter-spacing:1px;
}

.banner-subtitle{
  font-size:20px;
  margin-top:15px;
  margin-bottom:25px;
}

/* Modern Button */
.banner-btn{
  background:#ffcc00;
  color:#000;
  padding:12px 30px;
  font-weight:600;
  border-radius:50px;
  transition:0.3s;
}

.banner-btn:hover{
  background:#fff;
  color:#000;
  transform:translateY(-3px);
}

/* Animation */
@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* Responsive */
@media (max-width:768px){
  .banner-slide{
    height:350px;
  }

  .banner-title{
    font-size:24px;
  }

  .banner-subtitle{
    font-size:14px;
  }
}



/* Modern Layout Additions */
.text-primary { color: #003366 !important; }
.text-warning { color: #ffcc00 !important; }

.section-title {
  border-bottom: 3px solid #ffcc00;
  display: inline-block;
  padding-bottom: 5px;
  font-weight: 700;
  text-transform: uppercase;
}

/* Photo Card Styles */
.card {
  transition: transform 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
}

.notice-list p {
  font-size: 14px;
  line-height: 1.4;
}

/* Icon backgrounds */
.bg-light {
  background-color: #f8f9fa !important;
}

.display-5 {
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .display-5 {
    font-size: 2rem;
  }
}

:root {
    --primary-blue: #003366;
    --sand-accent: #ffcc00;
}

.section-padding {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fbff, #ffffff);
}

@media (max-width: 992px) {
    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 50px 0;
    }
}



/* ===============================
   THEME BASED LEADERSHIP DESIGN
   Colors: #002347 & #ffcc00
=================================*/

/* Section Background */
.leadership-section {
    background: #f8f9fb;
    padding: 80px 0;
}

/* ===============================
   LEADER CARD DESIGN
=================================*/

.leader-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 40px 25px 30px;
    box-shadow: 0 15px 40px rgba(0, 35, 71, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 35, 71, 0.08);
}

/* Golden Top Highlight */
.leader-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: #ffcc00;
}

/* Hover Effect */
.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 35, 71, 0.18);
}

/* ===============================
   IMAGE DESIGN
=================================*/

.leader-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, #002347, #ffcc00);
    transition: transform 0.4s ease;
}

.leader-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.4s ease;
    backface-visibility: hidden;
}

.leader-card:hover .leader-img {
    transform: scale(1.08);
}

/* ===============================
   TEXT STYLING
=================================*/

.leader-card h5 {
    color: #002347;
    font-weight: 700;
    margin-top: 15px;
}

.leader-card h6 {
    color: #002347;
    font-size: 16px;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.leader-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.leader-card hr {
    border-top: 2px solid #ffcc00;
    width: 60px;
    margin: 15px auto;
}

/* ===============================
   CLEAN SCROLL ANIMATION
   (ONLY ONE VERSION - NO DUPLICATE)
=================================*/

.fade-in {
    opacity: 0;
    transform: translateY(60px) scale(0.97);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ===============================
   MOBILE RESPONSIVE
=================================*/

@media (max-width: 768px) {

    .leader-img-wrapper {
        width: 120px;
        height: 120px;
    }

    .leader-card {
        padding: 30px 20px;
    }
}

/* =========================
   Executive Committee Box
========================= */

/* GRID – Fixed 2 columns for balance */
.committee-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .committee-wrapper {
        grid-template-columns: 1fr;
    }
}

/* CARD BOX STYLE */
.committee-card {
    background: #ffffff;
    padding: 22px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e6ecf5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Blue top bar */
.committee-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    border-radius: 16px 16px 0 0;
}

/* Hover effect */
.committee-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

/* ROLE */
.committee-role {
    font-size: 13px;
    font-weight: 600;
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* NAME BOX */
.committee-name {
    margin-top: 8px;
    font-size: 17px;
    font-weight: 700;
    color: #2c3e50;
    background: #f4f8ff;
    padding: 8px 12px;
    border-radius: 10px;
    display: inline-block;
}
/* ===============================
   MODERN FOOTER DESIGN
=================================*/
.footer-modern {
    background: #002347; /* Deep Navy */
    color: #ffffff;
    padding: 60px 0 30px;
    font-family: 'Montserrat', sans-serif;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffcc00; /* Gold Accent */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffcc00;
    padding-left: 5px;
}

.footer-contact li {
    font-size: 14px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}


/* ===============================
   SOCIAL ICONS – ROYAL BLUE STYLE
=================================*/

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    margin-right: 12px;
    font-size: 16px;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* Hover Effect */
.social-links a:hover {
    background: #ffcc00;
    color: #002347;
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.4);
}


/* ===============================
   WEATHER WIDGET STYLE
=================================*/
.weather-widget-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* =========================
   SAFETY CARD – COMPACT VERSION
========================= */

.safety-card {
    background: #ffffff;
    padding: 20px 20px; /* reduced padding */
    border-radius: 14px;
    border: 1px solid #e6ecf5;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    position: relative;
    transition: 0.3s ease;
}

/* Gold top line */
.safety-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 3px; /* thinner */
    width: 100%;
    background: #ffcc00;
    border-radius: 14px 14px 0 0;
}

/* Title */
.safety-card h4 {
    color: #003366;
    font-weight: 700;
    font-size: 18px; /* slightly smaller */
    margin-bottom: 15px;
}

/* Remove default UL spacing */
.safety-card ul {
    padding-left: 0;
    margin-bottom: 15px;
}

/* List items */
.safety-card ul li {
    list-style: none;
    margin-bottom: 8px; /* reduced spacing */
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px; /* reduced gap */
    color: #444;
    line-height: 1.4;
}

/* Icons */
.safety-card ul li i {
    color: #ffcc00;
    margin-top: 2px;
    font-size: 14px;
}

/* Button */
.safety-btn {
    background: #003366;
    color: #fff;
    border-radius: 25px;
    font-weight: 600;
    padding: 8px 18px; /* smaller button */
    font-size: 14px;
    transition: 0.3s ease;
}

.safety-btn:hover {
    background: #ffcc00;
    color: #003366;
    transform: translateY(-2px);
}

/* =========================
   SAFETY CARD – FULL HEIGHT
========================= */

.safety-drop {
    display: flex;        /* IMPORTANT */
}

.safety-card {
    background: #ffffff;
    padding: 20px 20px;
    border-radius: 14px;
    border: 1px solid #e6ecf5;
    box-shadow: 0 6px 16px rgba(0,0,0,0.05);
    position: relative;
    transition: 0.3s ease;

    display: flex;              /* IMPORTANT */
    flex-direction: column;     /* IMPORTANT */
    justify-content: space-between;
    width: 100%;
    height: 100%;               /* FULL HEIGHT */
}

/* Make row stretch properly */
.row.g-4 {
    align-items: stretch;
}
