/* Color Variables for easy updates */
:root {
    --primary-blue: #002147;    /* Deep Navy */
    --secondary-blue: #007bff;  /* Bright Blue */
    --text-dark: #333333;
    --white: #ffffff;
}

/* Top Bar Styling */
.top-bar {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .contact-info i {
    color: var(--secondary-blue);
}

.top-bar .social-links a {
    color: var(--white);
    margin-left: 15px;
    transition: 0.3s;
}

.top-bar .social-links a:hover {
    color: var(--secondary-blue);
}

/* Navbar Branding */
.brand-icon {
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.brand-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.brand-accent {
    color: var(--secondary-blue);
}

/* Nav Links */
.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 14px;
    padding: 0 15px !important;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--secondary-blue) !important;
}

/* Contact Button */
.btn-nav-contact {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-nav-contact:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile Toggler Icon Color */
.navbar-toggler i {
    color: var(--primary-blue);
    font-size: 1.5rem;
}


/* about */

/* About Section Base */
.section-about {
    background-color: #fcfdfe; /* Very light blue tint */
    overflow: hidden;
}

.subtitle-text {
    color: var(--secondary-blue);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-about h2 {
    color: var(--primary-blue);
}

.text-accent {
    color: var(--secondary-blue);
}

/* Feature Cards */
.about-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border-top: 4px solid var(--primary-blue); /* Professional accent line */
    transition: 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    border-top-color: var(--secondary-blue);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(0, 123, 255, 0.1); /* Light blue background */
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.about-card h5 {
    color: var(--primary-blue);
    font-weight: 700;
}

/* Image Section Custom Styling */
.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.main-about-img {
    position: relative;
    z-index: 2;
    border: 8px solid #ffffff;
}

.image-bg-blob {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 80%;
    height: 80%;
    background: var(--secondary-blue);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Organic shape */
    z-index: 1;
}

/* --- Typography Updates --- */
.fw-extrabold { font-weight: 800; }

.main-heading {
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Animated Intro Badge --- */
.intro-badge {
    display: inline-flex;
    align-items: center;
    background: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.pulse-icon {
    color: var(--secondary-blue);
    margin-right: 12px;
    font-size: 1.2rem;
    animation: pulse-blue 2s infinite;
}

@keyframes pulse-blue {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* --- Animated Underline --- */
.animated-line {
    width: 100px;
    height: 6px;
    background: var(--secondary-blue);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.animated-line::after {
    content: '';
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: slide-shine 3s infinite;
}

@keyframes slide-shine {
    100% { left: 100%; }
}

/* --- Floating Image Animation --- */
.floating-anim {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating-blob {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 250px;
    height: 250px;
    background: var(--secondary-blue);
    filter: blur(80px);
    opacity: 0.15;
    z-index: 0;
}

/* --- Card Icon Animation --- */
.icon-box-animate {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: 0.5s;
}

.about-card:hover .icon-box-animate {
    background: var(--secondary-blue);
    transform: rotateY(360deg);
}




/* --- Scholars Section Custom Styling --- */
.scholars-section {
    background-color: #f8fbff; /* Very soft blue background */
    border-top: 1px solid rgba(0,0,0,0.05);
}

.arabic-calligraphy {
    font-family: 'Amiri', serif;
    font-size: 3rem; /* Kaafi bara size */
    color: var(--primary-blue);
    margin-bottom: 5px;
    opacity: 0.9;
}

.scholar-main-title {
    color: var(--primary-blue);
    font-weight: 800;
}

.text-info-blue {
    color: var(--secondary-blue);
}

.title-divider-center {
    width: 60px;
    height: 4px;
    background: var(--secondary-blue);
    margin: 15px auto;
    border-radius: 5px;
}

/* --- Scholar Cards --- */
.scholar-profile {
    background: #ffffff;
    border-radius: 15px;
    padding: 15px;
    transition: 0.4s ease;
    text-align: center;
}

.scholar-profile:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 33, 71, 0.1) !important;
}

.image-holder {
    width: 110px;
    height: 110px;
    margin: 0 auto 15px;
    border-radius: 50%;
    padding: 5px;
    border: 2px dashed var(--secondary-blue); /* Professional dashed border */
    transition: 0.4s;
}

.scholar-profile:hover .image-holder {
    border-style: solid;
    transform: rotate(15deg);
}

.image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-info h6 {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.work-title {
    font-size: 0.75rem;
    color: var(--secondary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



/* --- Book Detail Section --- */
.section-book-detail {
    background: linear-gradient(to right, #ffffff, #f9fbff);
}

.feature-item-box {
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s ease;
    background: transparent;
}

.feature-item-box:hover {
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.05);
    transform: translateX(5px);
}

.feature-icon-sm {
    min-width: 45px;
    height: 45px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--secondary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
    transition: 0.3s;
}

.feature-item-box:hover .feature-icon-sm {
    background: var(--primary-blue);
    color: #fff;
}

.text-primary-blue {
    color: var(--primary-blue);
}

/* --- 3D Book Visual --- */
.book-visual-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px; /* Essential for 3D effect */
}

.book-3d-wrapper {
    position: relative;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: 5px;
    overflow: hidden;
    border-left: 5px solid #001a35; /* Spacing for book spine look */
}

.book-visual-container:hover .book-3d-wrapper {
    transform: rotateY(-15deg) rotateX(5deg) scale(1.02);
}

.book-img-main {
    border-radius: 2px 10px 10px 2px;
}

.book-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--secondary-blue);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.blob-behind-book {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--secondary-blue);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    animation: blob-move 8s infinite alternate;
}

@keyframes blob-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}



/* --- Highlights Styling --- */
.section-highlights {
    background-color: #ffffff;
    position: relative;
    z-index: 1;
    padding-bottom: 100px !important; /* Space for hover effects */
}

.highlight-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 33, 71, 0.15) !important;
}

/* Image Handling */
.img-zoom-container {
    position: relative;
    overflow: hidden;
    background: #eee;
}

.img-zoom-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
}

.highlight-card:hover .img-zoom-container img {
    transform: scale(1.1);
}

/* Play Button Styling */
.play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 33, 71, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.highlight-card:hover .play-overlay {
    opacity: 1;
}

.play-btn-circle {
    width: 65px;
    height: 65px;
    background: white;
    color: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 0 30px rgba(255,255,255,0.4);
}

/* Main Big Event Overlay */
.main-event-card {
    height: 100%;
    min-height: 480px;
}

.event-glass-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 25px;
    background: rgba(0, 33, 71, 0.7); /* Deep Blue Glass */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
}

.event-tag {
    background: var(--secondary-blue);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-right: 10px;
}

.event-date {
    color: rgba(255,255,255,0.8);
    font-size: 12px;
}

/* Instagram Button */
.btn-modern-insta {
    display: inline-block;
    padding: 15px 45px;
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-modern-insta:hover {
    background: var(--primary-blue);
    color: white;
}

.badge-custom {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4757;
    color: white;
    font-size: 10px;
    padding: 5px 12px;
    border-radius: 5px;
    font-weight: 700;
}


/* --- Vision & Pillars Theme Variables --- */
.section-vision {
    background: #fdfdfd; /* Clean light background */
    position: relative;
    z-index: 5;
}

/* Left Card Styling */
.vision-glass-card {
    background: #002147; /* Your Navy Blue */
    box-shadow: 0 20px 40px rgba(0, 33, 71, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-glass-card:hover {
    transform: translateY(-10px) rotate(-1deg);
}

.vision-quote {
    font-size: 1.6rem;
    font-style: italic;
    color: #f8f9fa;
    line-height: 1.6;
    font-weight: 300;
}

.text-gold {
    color: #c9a25d; /* Your Gold Color */
}

.text-navy {
    color: #002147;
}

.divider-gold {
    width: 50px;
    height: 4px;
    background: #c9a25d;
    border-radius: 10px;
}

/* Pillars Styling */
.pillar-num {
    min-width: 55px;
    height: 55px;
    background: #ffffff;
    border: 2px solid #002147;
    color: #002147;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    transition: 0.4s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.pillar-row:hover .pillar-num {
    background: #002147;
    color: #ffffff;
    transform: scale(1.1);
}

.quote-bg-icon {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 60px;
    color: #ffffff;
    opacity: 0.1;
}

.ls-2 { letter-spacing: 2px; }

/* Overlap prevention from previous section */
#vision {
    margin-top: -30px;
    border-radius: 40px 40px 0 0;
}


/* --- Services Section Styling --- */
.text-navy { color: #002147; }

.service-card {
    transition: all 0.4s ease;
    border: none;
    position: relative;
    z-index: 1;
}

/* Featured Card (Navy Blue) */
.featured-card {
    background: #002147;
    border: 2px solid #c9a25d !important;
}

.featured-card .service-icon-box {
    color: #c9a25d;
    font-size: 3rem;
}

/* Standard Card (White) */
.standard-card {
    background: #ffffff;
    border: 1px solid rgba(0, 33, 71, 0.08) !important;
}

.standard-card .service-icon-box {
    font-size: 2.8rem;
    transition: 0.4s;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 33, 71, 0.15) !important;
}

.standard-card:hover .service-icon-box {
    transform: scale(1.1);
    color: #c9a25d;
}

/* Buttons */
.btn-gold-pill {
    background: #c9a25d;
    color: #002147;
    font-weight: 700;
    border-radius: 50px;
    padding: 10px 20px;
    border: none;
    transition: 0.3s;
}

.btn-gold-pill:hover {
    background: #ffffff;
    color: #002147;
}

.btn-outline-navy-pill {
    border: 2px solid #002147;
    color: #002147;
    font-weight: 700;
    border-radius: 50px;
    padding: 8px 20px;
    background: transparent;
    transition: 0.3s;
}

.btn-outline-navy-pill:hover {
    background: #002147;
    color: #ffffff;
}

/* Service Icon Box */
.service-icon-box {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* --- Scholars' Remarks Styling --- */
.scholar-card-modern {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 33, 71, 0.05);
    transition: all 0.4s ease;
}

.scholar-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 33, 71, 0.1) !important;
    border-color: #c9a25d;
}

/* Letter Image Styling */
.letter-container {
    position: relative;
    background: #f0f4f8; /* Light blueish grey to make white paper pop */
    overflow: hidden;
    border-bottom: 2px solid #f8fbff;
}

.scholar-letter-img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.5s;
    cursor: pointer;
}

/* Hover Overlay for Zoom Icon */
.letter-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 33, 71, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    z-index: 2;
    transition: 0.3s;
    pointer-events: none;
}

.scholar-card-modern:hover .letter-overlay {
    opacity: 1;
}

.scholar-card-modern:hover .scholar-letter-img {
    transform: scale(1.05);
}

/* Footer Section of Card */
.card-footer-info {
    border-top: 1px solid rgba(0, 33, 71, 0.05);
}

.letter-spacing-1 {
    letter-spacing: 1px;
}


/* --- Variables & Core Form Styles --- */
.text-gold { color: #c9a25d; }
.text-navy { color: #002147; }
.ls-1 { letter-spacing: 1px; }

.custom-input {
    border: 2px solid #eaeff5;
    border-radius: 12px;
    padding: 12px 18px;
    transition: 0.3s ease;
}

.custom-input:focus {
    border-color: #c9a25d;
    box-shadow: 0 0 0 0.25rem rgba(201, 162, 93, 0.1);
    background-color: #fff;
}

/* Category Grid */
.category-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.btn-outline-navy {
    border: 2px solid #002147;
    color: #002147;
    border-radius: 10px;
    padding: 10px;
    transition: 0.3s;
}

.btn-check:checked + .btn-outline-navy {
    background-color: #002147;
    border-color: #002147;
    color: #fff;
    transform: translateY(-2px);
}

/* Submit Button */
.btn-navy-submit {
    background: #002147;
    color: white;
    border: none;
    border-radius: 12px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-navy-submit:hover {
    background: #c9a25d;
    color: #002147;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 33, 71, 0.15);
}

.icon-circle-sm {
    width: 28px;
    height: 28px;
    background: rgba(201, 162, 93, 0.2);
    color: #c9a25d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

@media (max-width: 768px) {
    .category-grid-modern { grid-template-columns: 1fr; }
}



/* --- Modal Premium Theme --- */
.bg-light-navy { background-color: rgba(0, 33, 71, 0.03); }
.text-navy { color: #002147; }
.text-gold { color: #c9a25d; }
.border-gold { border-color: #c9a25d !important; }

/* Icon Box in Header */
.icon-box-gold {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a25d;
    font-size: 1.5rem;
}

/* CEO Message Box */
.ceo-message-box {
    background: #fdfbf5;
    border: 1px dashed #c9a25d;
}

/* Modal Button */
.btn-navy-modal {
    background: #002147;
    color: white;
    transition: 0.3s;
}
.btn-navy-modal:hover {
    background: #c9a25d;
    color: #002147;
}

/* --- Modal Scale Animation --- */
.custom-modal-zoom {
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .custom-modal-zoom {
    transform: scale(1);
}

/* Service list adjustments */
.service-list-modal p {
    margin-bottom: 8px;
    line-height: 1.4;
}

.ls-1 { letter-spacing: 1.5px; }



/* --- Global Modal Enhancements --- */
.text-navy { color: #002147; }
.text-gold { color: #c9a25d; }

/* Scale Animation */
.custom-modal-zoom {
    transform: scale(0.7);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal.show .custom-modal-zoom {
    transform: scale(1);
}

/* Gold Icon Box */
.icon-box-gold {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid rgba(201, 162, 93, 0.3);
}

/* Custom Buttons */
.btn-navy-pill {
    background: #002147;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    border: none;
}
.btn-navy-pill:hover {
    background: #c9a25d;
    color: #002147;
}

.btn-outline-navy-pill {
    border: 2px solid #002147;
    color: #002147;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}
.btn-outline-navy-pill:hover {
    background: #002147;
    color: #fff;
}

/* List Style */
.modal-list li {
    line-height: 1.5;
}



/* Animation: Scale Up Bounce */
.custom-modal-zoom {
    transform: scale(0.85);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal.show .custom-modal-zoom {
    transform: scale(1);
}

/* Header & Icon Styling */
.icon-box-gold {
    width: 48px;
    height: 48px;
    background: rgba(201, 162, 93, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* Button Styling */
.btn-navy-pill {
    background: #002147;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
}
.btn-navy-pill:hover {
    background: #c9a25d;
    color: #002147;
}

.text-gold { color: #c9a25d; }
.text-navy { color: #002147; }





/* --- Footer Custom Styles --- */
.text-gold { color: #c9a25d; }
.ls-1 { letter-spacing: 1px; }

/* Links Hover Effect */
.footer-links a.transition-link {
    transition: 0.3s;
    display: inline-block;
}
.footer-links a.transition-link:hover {
    color: #c9a25d !important;
    transform: translateX(5px);
}

/* Gold Button */
.btn-gold-outline {
    border: 2px solid #c9a25d;
    color: #c9a25d;
    font-weight: 600;
    transition: 0.3s;
}
.btn-gold-outline:hover {
    background: #c9a25d;
    color: #001a38;
}

/* Social Icons Circle */
.social-icon-circle {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    text-decoration: none;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-icon-circle:hover {
    background: #c9a25d;
    color: #001a38;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(201, 162, 93, 0.3);
}



/* --- News Ticker Modern Design --- */
.news-ticker-container {
    display: flex;
    align-items: center;
    background: #001a38; /* Dark Navy */
    height: 40px;
    overflow: hidden;
    border-bottom: 2px solid #c9a25d; /* Gold Line */
    font-family: 'Poppins', sans-serif;
}

.ticker-label {
    background: #c9a25d; /* Gold Label */
    color: #002147;
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1px;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    /* Premium Slant Effect */
    clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 0% 100%);
}

.ticker-wrap {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 20px;
}

.ticker-move {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker-slide 30s linear infinite;
}

.ticker-item {
    display: inline-block;
    padding: 0 40px;
    font-size: 0.9rem;
    color: #ffffff;
    font-weight: 400;
}

/* Ticker Animation */
@keyframes ticker-slide {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* Pause on Hover taake user parh sakay */
.news-ticker-container:hover .ticker-move {
    animation-play-state: paused;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .ticker-label {
        font-size: 0.65rem;
        padding: 0 15px;
    }
    .ticker-item {
        font-size: 0.75rem;
    }
}


/* --- Tilted Overlapping Section Styles --- */
.investment-section {
    background: #ffffff;
}

.text-navy { color: #002147; }
.text-gold { color: #c9a25d; }
.ls-2 { letter-spacing: 2px; }

/* Image Stack Container */
.image-stack {
    position: relative;
    height: 450px;
    width: 100%;
}

.stack-card {
    position: absolute;
    width: 280px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.5s ease;
}

/* Pehli Image (Tilted Left) */
.card-1 {
    z-index: 2;
    top: 0;
    right: 30%;
    transform: rotate(-10deg);
    border: 5px solid white;
}

/* Dusri Image / Book Card (Tilted Right) */
.card-2 {
    z-index: 3;
    bottom: 0;
    right: 5%;
    transform: rotate(5deg);
    background: linear-gradient(135deg, #002147 0%, #001a38 100%);
    border: 5px solid white;
}

/* Book Placeholder Design */
.book-placeholder {
    height: 100%;
    text-align: center;
}

/* Floating Microphone Icon */
.floating-icon {
    position: absolute;
    bottom: 10%;
    right: 0%;
    z-index: 4;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #002147;
}

/* Hover Effect: Cards straight ho jayengi */
.image-stack:hover .card-1 { transform: rotate(0deg) scale(1.05); z-index: 4; }
.image-stack:hover .card-2 { transform: rotate(0deg) scale(1.05); z-index: 5; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .image-stack { height: 400px; margin-top: 50px; }
    .stack-card { width: 220px; height: 300px; }
}



/* --- Global Navy & Gold Constants --- */
.text-navy { color: #002147; }
.text-gold { color: #c9a25d; }
.ls-2 { letter-spacing: 2px; }

/* Icon Circle for Titles */
.icon-circle-small {
    width: 45px;
    height: 45px;
    background: rgba(0, 33, 71, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* TIF Style Image Layout */
.tif-style-image-container {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.arch-bg {
    width: 300px;
    height: 480px;
    background: #002147; /* Dark Navy */
    border-radius: 150px 150px 30px 30px;
    position: relative;
    padding-top: 160px;
    border: 8px solid rgba(201, 162, 93, 0.1);
}

.circle-badge {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #c9a25d 0%, #a6854d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    border: 5px solid #fff;
}

.values-overlay ul li {
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    letter-spacing: 1px;
}

/* Image Fading Effect */
.floating-student {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 400px;
    z-index: 5;
}

.floating-student img {
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%);
    mask-image: linear-gradient(to top, transparent 0%, black 20%);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .tif-style-image-container { height: 500px; justify-content: center; margin-top: 50px; }
    .floating-student { width: 300px; left: 50%; transform: translateX(-50%); }
    .arch-bg { width: 260px; height: 420px; }
}



.stats-section {
    border-top: 5px solid #c9a25d; /* Gold border like professional sites */
    position: relative;
}

.stat-icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: 0.3s;
    border: 1px solid rgba(201, 162, 93, 0.3);
}

.stat-card:hover .stat-icon-circle {
    background: #c9a25d;
    transform: translateY(-5px);
}

.ls-1 { letter-spacing: 1px; }

@media (max-width: 767px) {
    .counter-value { font-size: 2rem !important; }
    .stat-icon-circle { width: 55px; height: 55px; }
    .stat-icon-circle i { font-size: 1.2rem !important; }
}



.highlight-card {
    border-radius: 15px;
    transition: transform 0.3s ease-in-out;
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.object-fit-cover {
    object-fit: cover; /* Image ko stretch nahi hone dega */
}

.bg-gold-pill { background: #c9a25d; color: #002147; font-weight: bold; border-radius: 50px; padding: 5px 12px; font-size: 10px; }
.bg-navy-pill { background: #002147; color: #fff; border-radius: 50px; padding: 5px 12px; font-size: 10px; }



  /* Support Card Styles */
    .support-card {
        transition: all 0.3s ease;
        border-top: 4px solid transparent !important;
    }
    
    .support-card:hover {
        transform: translateY(-10px);
        border-top: 4px solid #d4af37 !important; /* Gold border on hover */
        background: #fff !important;
    }

    .icon-box {
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }


    

    /* Global Styles for Section */
    .text-navy { color: #002147; }
    .text-accent { color: #d4af37; }
    .border-gold { border-color: #d4af37 !important; }
    .bg-navy { background-color: #002147; }
    .italic { font-style: italic; }

    /* Background Glow Effect */
    .about-bg-shape {
        position: absolute;
        top: -100px;
        right: -100px;
        width: 450px;
        height: 450px;
        background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
        z-index: 0;
    }

    /* Cards & Objectives */
    .obj-card {
        transition: all 0.3s ease;
        background: #fff;
    }
    .obj-card:hover {
        transform: translateY(-5px);
        border-color: #d4af37 !important;
        background: #fdfaf0;
    }
    .obj-icon-circle {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(40, 167, 69, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
    }

    /* Image Stack Design */
    .about-image-stack {
        padding: 30px;
    }
    .main-img-holder {
        position: relative;
        z-index: 5;
        transform: rotate(2deg);
        transition: all 0.5s ease;
    }
    .main-img-holder:hover {
        transform: rotate(0deg) scale(1.02);
    }
    .floating-stat-card {
        position: absolute;
        bottom: -20px;
        left: -20px;
        z-index: 10;
        min-width: 200px;
        border: 2px solid #d4af37;
    }
    .decoration-box {
        position: absolute;
        top: -20px;
        right: -20px;
        width: 100%;
        height: 100%;
        background: #d4af37;
        opacity: 0.1;
        border-radius: 30px;
        z-index: 1;
    }

    .ls-1 { letter-spacing: 1px; }

    /* Responsive Fixes */
    @media (max-width: 991px) {
        .about-image-stack { margin-top: 50px; }
        .floating-stat-card { bottom: 0; left: 0; }
    }



    .extra-highlight {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Book Card Styling */
.custom-book-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.custom-book-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    border-color: #007bff; /* Change this to your primary color */
}

/* Image container */
.img-zoom-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img-top-custom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.custom-book-card:hover .card-img-top-custom {
    transform: scale(1.1);
}

/* Badge Styling */
.badge-custom {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

/* Magnifying Glass Overlay */
.img-overlay-hint {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: white;
    font-size: 1.5rem;
}

.img-zoom-container:hover .img-overlay-hint {
    opacity: 1;
}

/* Card Body Content */
.card-body-custom {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title-custom {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.card-text-custom {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-footer-custom {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Promotion Section Styling */
.promotion-section {
    border-top: 1px solid rgba(201, 162, 93, 0.2);
}

.promo-banner-wrapper {
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid transparent;
    line-height: 0; /* Extra space khatam karne ke liye */
}

/* Hover Effect */
.promo-banner-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #c9a25d; /* Gold border on hover */
}

.promo-img {
    transition: filter 0.4s ease;
    display: block;
}

/* Gold Badge and Overlay */
.bg-gold {
    background-color: #c9a25d !important;
}

.border-gold {
    border: 1px solid rgba(201, 162, 93, 0.3);
}

.promo-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .promotion-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    .promo-banner-wrapper {
        border-radius: 10px; /* Choti screen par rounded corners kam */
    }
}

/* Stats Section Styles */
.stats-section {
    border-top: 1px solid rgba(201, 162, 93, 0.2);
    border-bottom: 1px solid rgba(201, 162, 93, 0.2);
}

.text-gold {
    color: #c9a25d !important;
}

/* Background Glow Effect */
.stats-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(201, 162, 93, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Stat Card Custom Design */
.stat-card-custom {
    padding: 30px 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
}

.stat-card-custom:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(201, 162, 93, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Animated Icon Wrapper */
.icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    font-size: 2rem;
    color: #fff;
    z-index: 2;
    transition: 0.3s;
}

.stat-card-custom:hover .icon-wrapper i {
    color: #c9a25d;
    transform: scale(1.1);
}

.icon-border-rotate {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(201, 162, 93, 0.2);
    border-top: 2px solid #c9a25d;
    border-radius: 50%;
    animation: rotateIconBorder 3s linear infinite;
}
/* ==========updated code========== */
@keyframes rotateIconBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Text Styling */
.counter-value {
    font-size: 2.5rem;
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
    .counter-value {
        font-size: 1.8rem;
    }
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    .icon-wrapper i {
        font-size: 1.5rem;
    }
    .stat-card-custom {
        padding: 20px 10px;
    }
}

/* Custom Variable Colors */
:root {
    --navy: #001a38;
    --gold: #c9a25d;
    --accent: #d4af37;
}
/* ===========updated code============== */
/* Section Decor */
.support-mission { background-color: #f8faff; z-index: 1; }
.bg-shape-1 { position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; background: rgba(201,162,93,0.05); border-radius: 50%; z-index: -1; }
.bg-shape-2 { position: absolute; bottom: -50px; left: -50px; width: 300px; height: 300px; background: rgba(0,26,56,0.03); border-radius: 50%; z-index: -1; }

/* Premium Badge */
.badge-premium {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201, 162, 93, 0.1);
    color: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Support Mini Cards */
.support-card-mini {
    background: white;
    padding: 20px 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
}

.support-card-mini:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
}

.icon-circle {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

/* ==================updated code=============== */

.bg-gold-light { background: #fff8eb; color: var(--gold); }
.bg-blue-light { background: #eef5ff; color: #007bff; }

.support-card-mini h6 { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.support-card-mini p { font-size: 0.75rem; color: #777; margin-bottom: 0; line-height: 1.4; }

/* Tick List */
.feature-tick-item { display: flex; gap: 15px; align-items: start; }
.tick-icon { color: var(--gold); font-size: 1.2rem; }

/* Bank Card Styling */
.bank-card-premium {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
}

.bank-card-header {
    background: var(--navy);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.bank-logo-box {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.account-number-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--gold);
}

.account-number-box label { font-size: 0.7rem; text-transform: uppercase; font-weight: 700; color: #999; }
.acc-num { font-size: 1.5rem; font-weight: 800; color: var(--navy); font-family: 'Courier New', Courier, monospace; letter-spacing: 1px; }

.whatsapp-btn-gold {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
}

.whatsapp-btn-gold:hover {
    background: var(--navy);
    color: white;
    transform: scale(1.02);
}

.detail-row label { display: block; font-size: 0.7rem; color: #999; font-weight: 700; text-transform: uppercase; }
.detail-row .val { font-size: 1.1rem; font-weight: 700; color: var(--navy); }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .acc-num { font-size: 1.1rem; }
    .display-5 { font-size: 2rem; }
}
/* ========================= */

/* =========updated code========== */
/* Premium Colors */
.text-navy { color: #001a38; }
.text-gold { color: #c9a25d; }
.bg-navy { background: #001a38; }

/* Icon Circle Styling */
.icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
    transition: 0.3s;
}

.support-card-mini:hover .icon-circle {
    transform: rotateY(180deg); /* Unique flip effect on icon */
    background: #c9a25d;
    color: white;
}

/* Feature Tick Section */
.feature-tick-item {
    display: flex;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.tick-icon i {
    font-size: 1.5rem;
    color: #c9a25d;
}

/* Bank Account Box Animation */
.account-number-box-animated {
    background: #f0f4f8;
    border: 2px dashed #c9a25d;
    position: relative;
    overflow: hidden;
}

.acc-num-text {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 1.4rem;
    font-weight: 800;
    color: #001a38;
    letter-spacing: 1px;
}

/* WhatsApp Button Unique Style */
.whatsapp-btn-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn-custom:hover {
    background: #128c7e;
    transform: translateY(-3px);
    color: white;
}

.small-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
    display: block;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .acc-num-text { font-size: 1.1rem; }
    .support-card-mini h6 { font-size: 0.8rem; }
}
/* ============================ */

/* ========updated cdeo======== */
/* Custom Scholar Styles */
.text-navy { color: #001a38; }
.text-gold { color: #c9a25d; }
.bg-gold-soft { background: rgba(201, 162, 93, 0.1); }
.border-gold { border-color: #c9a25d !important; }

/* Supervision Highlight Card */
.supervision-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  transition: 0.3s;
}
.supervision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
}

/* Scholar Circle Profile Design */
.scholar-circle-card {
  text-align: center;
  transition: all 0.4s ease;
}

.scholar-circle-card .img-frame {
  width: 140px;
  height: 140px;
  margin: 0 auto 15px;
  border-radius: 50%;
  padding: 5px;
  border: 2px dashed #c9a25d;
  transition: 0.5s;
}

.scholar-circle-card .img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: grayscale(40%);
  transition: 0.5s;
}

.scholar-circle-card:hover .img-frame {
  border-style: solid;
  transform: rotate(10deg);
}

.scholar-circle-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.scholar-circle-card .info h6 {
  font-weight: 700;
  color: #001a38;
  margin-bottom: 2px;
}

.scholar-circle-card .info p {
  font-size: 0.75rem;
  color: #c9a25d;
  font-weight: 600;
  text-transform: uppercase;
}

/* Graduate Scholars List Items */
.grad-icon {
  width: 35px;
  height: 35px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a25d;
  margin-right: 12px;
  font-size: 0.9rem;
}

.scholar-details-list {
  background: #fff;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .scholar-circle-card .img-frame {
    width: 110px;
    height: 110px;
  }
  .border-md-start {
    border-left: none !important;
    border-top: 1px solid #eee;
    padding-top: 15px;
  }
}
/* ======================= */