/* =========================
   GLOBAL
========================= */
.active-lang {
    font-weight: bold;
    color: #ff9800;
}
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f5f7fa;
    scroll-behavior: smooth;
}

/* =========================
   NAVBAR (MOBILE FIRST)
========================= */
.navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    background: #1e3c72;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    background: white;
}

.nav-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.navbar a {
    color: white;
    margin: 5px 10px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.navbar a:hover {
    color: #ffcc00;
}

/* =========================
   HERO
========================= */

.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* Background removed from here */
}



/* This ensures text is visible and clickable */
.hero-content {
    position: relative;
    z-index: 2; 
    text-align: center;
    color: #fff;
    padding: 20px;
    animation: fadeUp 1s ease;
}


.hero div {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 26px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 14px;
}

/* =========================
   BUTTON
========================= */
.btn {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(45deg, #ff9800, #ff5722);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
/* =========================
   MAGNET SECTION (PREMIUM UPGRADE)
========================= */
.magnet-section {
    background: radial-gradient(circle at top right, #f0f7ff 0%, #ffffff 100%);
    padding: 100px 20px;
    position: relative;
    border-top: 1px solid rgba(0, 123, 255, 0.05);
}

/* Badge styling */
.magnet-section .badge {
    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

/* Heading - Gradient Text */
.magnet-section h2 {
    font-size: 34px;
    font-weight: 800;
    margin-top: 15px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Feature Cards - Glassmorphism & Depth */
.magnet-section .card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 35px 20px;
    width: 200px;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover Effect - The "Premium" Pop */
.magnet-section .card:hover {
    transform: translateY(-12px) scale(1.03);
    background: #1e3c72; /* Dark blue background on hover */
    box-shadow: 0 20px 40px rgba(30, 60, 114, 0.2);
}

.magnet-section .card i {
    font-size: 42px;
    color: #ff5722; /* High-contrast accent color */
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.magnet-section .card strong {
    font-size: 15px;
    color: #333;
    transition: color 0.3s ease;
}

.magnet-section .card:hover i {
    color: #ffcc00; /* Gold icon on dark hover */
}

.magnet-section .card:hover strong {
    color: #ffffff;
}

/* Secondary List - Clean & Modern */
.magnet-section .content-box {
    background: #ffffff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

.magnet-section .icon-list li {
    background: #f8fbff;
    border-left: 5px solid #1e3c72;
    padding: 18px 25px;
    margin-bottom: 12px;
    font-weight: 500;
    transition: 0.3s ease;
}

.magnet-section .icon-list li:hover {
    transform: translateX(10px);
    background: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
/* =========================
   SECTION
========================= */
.section {
    padding: 40px 15px;
    text-align: center;
}

.content-box {
    max-width: 800px;
    margin: auto;
}

.section:nth-child(even) {
    background: #ffffff;
}

.section h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

/* =========================
   CARDS
========================= */
.cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.card {
    background: white;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    font-size: 26px;
    color: #ff5722;
    margin-bottom: 10px;
}

/* =========================
   ICON LIST
========================= */
.icon-list {
    max-width: 600px;
    margin: 20px auto;
    padding: 0;
    list-style: none;
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    margin: 10px 0;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: left;
}

.icon-list i {
    color: #28a745;
}

/* =========================
   FACILITY IMAGE
========================= */

.facility img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
}


/* =========================
   GALLERY
========================= */
.gallery {
    max-width: 1000px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gallery img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* =========================
   FLOATING ACTION BAR (FINAL)
========================= */
.mobile-bar {
    position: fixed;

    bottom: 15px;
    left: 10px;
    right: 10px;   /* 🔥 KEY FIX */

    width: auto;   /* 🔥 important */

    display: flex;
    background: #ffffff;

    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);

    z-index: 1000;
    overflow: hidden;
}

.bar-item {
    flex: 1;
    padding: 14px 10px;
    text-decoration: none;
    color: #333;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 6px;
    font-size: 13px;
}

.bar-item i {
    font-size: 20px;
}

.bar-item:not(:last-child) {
    border-right: 1px solid #eee;
}

.bar-item.highlight {
    background: linear-gradient(45deg, #ff9800, #ff5722);
    color: white;
}

.bar-item:hover {
    background: #f5f5f5;
}

.bar-item.highlight:hover {
    opacity: 0.9;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #111;
    color: #aaa;
    padding: 20px;
    text-align: center;
    font-size: 12px;
}

/* =========================
   TABLET (>=768px)
========================= */
@media (min-width: 768px) {

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 30px;
    }

    .nav-right {
        margin-top: 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 200px;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================
   DESKTOP (>=1024px)
========================= */
@media (min-width: 1024px) {

    .hero {
        height: 90vh;
    }

    .hero h1 {
        font-size: 48px;
    }

    .section {
        padding: 70px 20px;
    }

    .gallery {
        grid-template-columns: repeat(4, 1fr);
    }
}