/* Premium Typography */
@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@400;500;700&display=swap');

body {
    font-family: 'Readex Pro', sans-serif !important;
    background-color: #f8fafc;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Readex Pro', sans-serif !important;
    font-weight: 700;
}

/* Glassmorphism Topbar */
#topbar {
    background: linear-gradient(90deg, #0f172a 0%, #1e1b4b 100%) !important; /* Royal Navy */
    border-bottom: 2px solid #fbbf24; /* Amber Gold line */
}

/* Header & Navbar */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.navbar a {
    font-weight: 700;
    color: #334155 !important;
    font-family: 'Readex Pro', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover>a {
    color: #fbbf24 !important; /* Amber Gold */
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(30, 27, 75, 0.9)); /* Navy gradient */
    background-size: cover;
    padding: 140px 0 80px 0;
    color: white;
    border-radius: 0 0 50px 50px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fcd34d; /* Bright Gold */
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
    margin-bottom: 24px;
    line-height: 1.4;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 500;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Modern Cards */
.service-item, .post-img, .member {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(15, 23, 42, 0.05);
    overflow: hidden;
    padding: 0 0 20px 0;
    height: 100%;
}

.sections-bg {
    background-color: #f1f5f9;
}

.service-item:hover, .recent-posts article:hover, .member:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    border-color: #fbbf24;
}

.service-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 20px 20px 0 0 !important;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.35rem;
    padding: 0 24px;
    color: #0f172a;
    margin-bottom: 15px;
}

.service-item h3 a {
    color: #0f172a;
    transition: color 0.3s;
}
.service-item h3 a:hover {
    color: #d97706; /* Darker Gold */
}

.service-item p {
    padding: 0 24px;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Buttons */
.readmore {
    display: inline-flex;
    align-items: center;
    background: #fbbf24; /* Amber */
    color: #0f172a !important; /* Navy text on gold button */
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.readmore:hover {
    background: #f59e0b; /* Hotter Amber */
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

.readmore i {
    margin-right: 0;
    margin-left: 12px;
}

/* Section Headers */
.section-header h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 50px;
}
.section-header h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 80px;
    height: 6px;
    background: #fbbf24; /* Gold underline */
    bottom: 0;
    left: calc(50% - 40px);
    border-radius: 10px;
}

.section-header p {
    font-size: 1.15rem;
    color: #475569;
}

/* Modern Footer */
.footer {
    background: #0f172a; /* Navy */
    color: #f8fafc;
    padding: 70px 0 40px;
    border-top: 6px solid #fbbf24; /* Gold top border */
    border-radius: 50px 50px 0 0;
}

.footer .social-links a {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: 0.3s;
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer .social-links a:hover {
    background: #fbbf24; /* Gold */
    color: #0f172a;
    transform: translateY(-3px);
}

/* Testimonial Images */
.testimonial-img {
    border-radius: 20px;
    margin-top: 20px;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member h4 {
    margin-top: 15px;
    color: #0f172a;
}

.member span {
    color: #d97706; /* Gold text */
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

/* About Section */
.about .content ul i {
    color: #fbbf24; /* Gold check marks */
    font-size: 1.2rem;
    margin-right: 10px;
}

/* =============================================
   Mobile Navigation Fixes (LTR)
   ============================================= */

@media (max-width: 1279px) {
    /* Hamburger icon: dark color on white header */
    .mobile-nav-show {
        color: #0f172a !important;
        font-size: 32px;
        cursor: pointer;
        z-index: 9999;
        transition: 0.3s;
    }

    /* Close (X) icon inside the open nav */
    .mobile-nav-hide {
        color: #fff !important;
        font-size: 36px;
        cursor: pointer;
        position: fixed;
        right: 20px !important;
        left: auto !important;
        top: 20px;
        z-index: 9999;
        transition: 0.3s;
    }

    /* LTR: navbar hidden by default, shown on toggle */
    .navbar {
        left: auto !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 320px !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        background: #0f172a !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transition: visibility 0s 0.3s, opacity 0.3s !important;
    }

    .mobile-nav-active .navbar {
        visibility: visible !important;
        opacity: 1 !important;
        transition: visibility 0s 0s, opacity 0.3s !important;
    }

    /* Mobile nav panel: premium navy theme */
    .navbar ul {
        background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%) !important;
        padding: 80px 0 30px 0;
        min-height: 100% !important;
        overflow-y: auto !important;
    }

    .navbar a,
    .navbar a:focus {
        color: #fff !important;
        font-size: 1.05rem;
        padding: 14px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .navbar a:hover,
    .navbar .active,
    .navbar li:hover > a {
        color: #fbbf24 !important;
        background: rgba(251, 191, 36, 0.12);
    }

    /* Overlay behind mobile nav */
    .mobile-nav-active .navbar:before {
        background: rgba(15, 23, 42, 0.7) !important;
    }

    /* Header: shrink logo on mobile */
    .header .logo img {
        height: 50px;
    }

    .header {
        height: 70px;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        z-index: 9999 !important;
    }
}

/* =============================================
   General Mobile Responsive Improvements
   ============================================= */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px 0;
        border-radius: 0 0 30px 30px;
        margin-bottom: 20px;
    }

    .hero h2 {
        font-size: 2rem;
        line-height: 1.5;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .section-header p {
        font-size: 1rem;
    }

    .service-item img {
        height: 180px;
    }

    .readmore {
        padding: 10px 22px;
        font-size: 0.95rem;
    }

    .footer {
        border-radius: 30px 30px 0 0;
        padding: 40px 0 25px;
    }

    /* Topbar: compact on mobile */
    #topbar {
        height: auto;
        padding: 6px 0;
    }
}
