/* Gold Premium Theme */
:root {
    --navy: #0d1b3d;
    --gold: #d4af37;
    --orange-tis: #f15a24; 
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    color: #444;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, .section-title {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    font-weight: 700;
}

h1 {
    letter-spacing: -1px;
    line-height: 1.2;
}

.bg-navy{
    background-color: var(--navy);
}

.bg-gold{
    background-color: var(--gold);
}


/* Section Titles with Gold Accent */
.section-title {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 20px;
}

/* The Gold Underline */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0; /* Centers it */
}

/* Paragraphs & Small Text */
p {
    font-size: 1.05rem;
    font-weight: 400;
}

.section-sub {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    font-family: 'Inter', sans-serif; 
    font-weight: 500;
}


/* NAVBAR BASE */
.custom-nav {
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
    padding: 10px 0;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--gold); 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--navy);
    letter-spacing: 9.5px;
}

.brand-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--navy); 
    letter-spacing: 2px;
    margin-top: 2px;
}

.nav-logo {
    height: 75px; 
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}
/* Optimize Logo Dimensions for Desktop Screens (min-width: 992px) */
@media (min-width: 992px) {
    /* Target the logo element inside nav-bar_2.php */
    .custom-nav .nav-logo {
        height: 100px !important;       /* Increases the visual footprint */
        width: auto !important;        /* Maintains the perfect aspect ratio */
        max-height: none !important;   /* Overrides framework limitations */
        margin-top: -12px;             /* Shifts the layout upward into padding zone */
        margin-bottom: -12px;          /* Pulls lower components up to equalize bounds */
        transition: all 0.3s ease;     /* Keeps interactions smooth */
    }
}
/* NAV LINKS */
.custom-nav .nav-link {
    color: var(--navy) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 10px 15px !important;
    transition: color 0.3s ease;
}

.custom-nav .nav-link:hover {
    color: var(--orange-tis) !important;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: 0 8px 24px rgba(13, 27, 61, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.navbar .dropdown-item {
    color: #0d1b3d;
    font-size: 0.95rem;
    padding: 8px 20px;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #ffc107; 
}

/* ==========================================================================
   DESKTOP ONLY NAVIGATION (Screens 992px and above)
   ========================================================================== */
@media (min-width: 992px) {
    /* Trigger dropdown presentation on hover */
    .navbar .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0);
        margin-top: 0; /* Prevents gaps from closing the menu panel */
    }
    
    /* Elegant Desktop Animation Foundation */
    .navbar .dropdown-menu {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        pointer-events: auto;
    }
}

/* ==========================================================================
   MOBILE ONLY NAVIGATION (Screens 991px and below)
   ========================================================================== */
@media (max-width: 991px) {
    /* Ensure Bootstrap's collapse engine can freely show/hide the main menu */
    .navbar-collapse.collapse {
        display: none !important;
    }
    .navbar-collapse.collapse.show {
        display: block !important;
        background-color: #0d1b3d; 
        padding: 15px;
        border-radius: 8px;
        margin-top: 10px;
    }
    
    .navbar-collapse.collapsing {
        display: block !important;
    }

    .navbar .dropdown-menu {
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        position: static !important; /* Stacks the submenu inline */
        background-color: rgba(255, 255, 255, 0.05) !important;
        border: none !important;
        box-shadow: none !important;
        width: 100% !important;
        padding-left: 15px !important;
    }

    .navbar .dropdown-menu.show {
        display: block !important;
    }

    .navbar-nav {
        align-items: flex-start !important;
        width: 100%;
    }
    .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-nav .nav-link, 
    .navbar-nav .dropdown-item {
        color: #ffffff !important;
        padding: 10px 0 !important;
        width: 100%;
        display: block;
    }
    .navbar-nav .dropdown-item:hover {
        background: none !important;
        color: #ffc107 !important; 
    }
}

/* ENROLL BUTTON */
.btn-enroll {
    background: var(--navy);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    border: 2px solid var(--navy);
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    background: transparent;
    color: var(--navy) !important;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 991px) {
    .nav-logo { height: 70px; }
    .custom-nav { background: var(--white); }
}



/* ACTIVE MENU */
.nav-link.active{
    font-weight:600;
    color: var(--gold) !important;
}

.nav-link.active::after{
    content:'';
    position:absolute;
    bottom:-5px;
    left:0;
    width:100%;
    height:2px;
    background:#d4af37;
}

.hero h1{
    font-size:56px;
    font-weight:800;
    line-height:1.2;
    color: #ffffff;
}

.hero p{
    font-size:18px;
    opacity:0.9;
}

/* BUTTON */
.btn-main{
    background:#d4af37;
    border:none;
    font-weight:600;
    padding:12px 26px;
    border-radius:30px;
}

.btn-main:hover{
    background:#c29b2b;
    transform: scale(1.05)
}

.btn-outline-light{    
    border-radius:30px;
    font-weight:600;
    padding:12px 26px;
}
.btn-outline-light:hover{
    background: #d4af37;
    transform: scale(1.05)
}
/* SECTION */
.section{
    padding:90px 0;
}

.section-title{
    font-size:38px;
    font-weight:800;
    margin-bottom:15px;
    color:#0d1b3d;
}

.section-sub{
    color:#666;
}

/* CARD */
.card-modern {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0; /* Subtle border */
    border-top: 3px solid var(--gold); /* Premium touch */
}

.card-modern:hover{
    transform:translateY(-6px);
}

.icon{
    font-size:2rem;
    color:#d4af37;
    margin-bottom:15px;
}

/* IMAGE */
.img-box img{
    border-radius:16px;
    box-shadow:0 15px 40px rgba(0,0,0,.1);
}

/* The circular container for the image */
.img-box-circle {
    width: 110px;  /* Match your desired image size */
    height: 110px;
    margin: 0 auto;
    border-radius: 50%;
    position: relative;
    padding: 4px; /* This creates the gap for the gold border */
    border: 2px solid transparent; /* Placeholder for the hover state */
    transition: all 0.5s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-box-circle:hover .img-prestige {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.img-box-circle:hover {
    border-color: var(--gold);
}


.img-prestige {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*filter: grayscale(100%);*/
    border-radius: 50%; 
    transition: all 0.5s ease;
}

/* Hover State: Triggered when hovering over the card */
.card-modern:hover .img-box-circle {
    border-color: var(--gold); /* Gold border appears on the container */
}

.card-modern:hover .img-prestige {
    filter: grayscale(0%);
    transform: scale(1.1); /* Subtle zoom inside the ring */
}


/* HIGHLIGHT */
.highlight{
    background:#ffffff;
}

/* CTA */
.cta{
    background:linear-gradient(135deg,#0d1b3d,#1f3a7a);
    color:#fff;
    border-radius:20px;
    padding:60px 40px;
}
.cta h2{
    color: #ffffff;
}

/* FOOTER */
.footer{
    background:#0d1b3d;
    color:#fff;
    padding:40px 0;
}


.footer-links a:hover {
    color: var(--gold) !important;
    padding-left: 4px;
}
.footer-links li {
    transition: all 0.2s ease;
}

.uni-logo{
height:100px;
opacity:0.90;
}

.meta{
color:#666;
margin-bottom:10px;
}

.highlight{
background:#f4f7fb;
padding:20px;
border-left:4px solid #d4af37;
margin-top:20px;
border-radius:6px;
}

/* Premium Price Section */
.premium-price-box {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.3); /* Subtle gold border */
    border-radius: 4px; /* Slightly sharper corners feel more "institutional" */
    padding: 60px 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    transition: transform 0.4s ease;
}

.premium-price-box:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.gold-badge {
    background: var(--gold);
    color: #fff;
    padding: 5px 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 600;
}

.price-content .currency {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.2rem;
}

.price-content .amount {
    font-size: 5rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -2px;
}

.price-content .period {
    display: block;
    color: #888;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-top: -10px;
}


.price-features {
    list-style: none;
    padding-left: 0;
}

.price-features li {
    position: relative;
    padding-left: 30px; 
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.price-features li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--gold);
    font-size: 1.1rem;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 40px;
    border-top: 1px inset #f0f0f0;
    padding-top: 30px;
}

.benefit-item {
    font-size: 0.85rem;
    color: #444;
    text-align: left;
    font-weight: 500;
}

.benefit-item i {
    color: var(--gold);
    margin-right: 8px;
    font-size: 0.7rem;
}

/* Update section title for the Gold theme */
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto;
}

/* Premium Gallery UI Wrapper*/
.premium-gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background-color: #fdfdfd;
    height: 250px; 
}


.premium-gallery-box.large-banner-box {
    height: 400px;
}

@media(max-width: 767px) {
    .premium-gallery-box, 
    .premium-gallery-box.large-banner-box {
        height: 200px; 
    }
}


.premium-gallery-box picture,
.premium-gallery-box .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.premium-gallery-box:hover .gallery-img {
    transform: scale(1.06);
}


.premium-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 61, 0.4); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-gallery-overlay i {
    color: #ffffff;
    font-size: 1.5rem;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-gallery-box:hover .premium-gallery-overlay {
    opacity: 1;
}

.premium-gallery-box:hover .premium-gallery-overlay i {
    transform: scale(1);
}

/* ==========================================================================
   HERO INTERACTIVE BUTTONS MOBILE FIX
   ========================================================================== */
@media (max-width: 576px) {
   
    .hero-carousel .btn-main,
    .hero-carousel .btn-outline-light {
        display: block !important;
        width: 100% !important;
        margin-right: 0 !important;   
        margin-left: 0 !important;
        margin-bottom: 15px !important; 
    }
    
    .hero-carousel .btn-outline-light {
        margin-bottom: 0 !important;
    }
}

/* ==========================================================================
   CTA Buttons Fix
   ========================================================================== */
@media (max-width: 576px) {
   
    .cta .btn-main,
    .cta .btn-outline-light {
        display: block !important;
        width: 100% !important;
        margin-right: 0 !important;   
        margin-left: 0 !important;
        margin-bottom: 15px !important; 
    }
    
    .cta .btn-outline-light {
        margin-bottom: 0 !important;
    }
}

.mentor-card-title {
    color: var(--navy, #0d1b3d) !important;
    transition: color 0.3s ease;
}


.premium-mentor-link-box {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease !important;
    cursor: pointer;
}


.premium-mentor-link-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(13, 27, 61, 0.1) !important;
}

.premium-mentor-link-box:hover .mentor-card-title {
    color: var(--gold, #d4af37) !important;
}