/* ===== GLOBAL STYLES ===== */
* {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

body {
    background-color: #f8fafd;
    overflow-x: hidden;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

main {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

section {
    width: 100%;
    margin: 0 auto;
    margin-right: 0 !important;
    padding-right: 0 !important;
}

/* ===== CONTAINER CENTERING ===== */
.container {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.container-fluid {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100%;
}

/* Ensure sections with container class are centered */
section.container,
section.container-fluid {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0b0c1e;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease, visibility 0.7s;
}

.preloader {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,107,107,0.3), rgba(72,219,251,0.3), rgba(150,206,180,0.3));
    filter: blur(30px);
    animation: pulseGlowCustom 2.2s infinite alternate;
}

.progress-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(20,30,50,0.3);
    box-shadow: inset 0 0 30px #00000055;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    top: 50%;
    left: 50%;
    animation: floatParticle 3s infinite ease-in-out;
}

@keyframes floatParticle {
    0% { transform: translate(0,0) scale(1); opacity: 0.8; }
    50% { transform: translate(10px, -15px) scale(1.5); opacity: 0.4; }
    100% { transform: translate(0,0) scale(1); opacity: 0.8; }
}

.ring {
    position: absolute;
    border-radius: 50%;
    border-style: solid;
    border-width: 4px;
    width: 160px;
    height: 160px;
    animation: spin 4s linear infinite;
}

.ring-1 {
    width: 170px;
    height: 170px;
    border-width: 5px;
    animation: spin 5s linear infinite;
}

.ring-2 {
    width: 140px;
    height: 140px;
    border-width: 3px;
    animation: spin-reverse 6s linear infinite;
}

.ring-3 {
    width: 110px;
    height: 110px;
    border-width: 4px;
    animation: spin 7s linear infinite;
}

.dotted-ring {
    width: 200px;
    height: 200px;
    border: 2px dashed rgba(255,255,255,0.3);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes pulseGlowCustom {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.2); }
}

.logo-container {
    position: relative;
    z-index: 20;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px #96ceb4;
}

.logo-container img {
    max-width: 70px;
    max-height: 70px;
    border-radius: 50%;
}

.logo-fallback {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(145deg, #5f2b8c, #c7248a);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ===== BRANDING ===== */
.brand-logo-square {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    width: 64px;
    height: 64px;
}

.brand-logo-square img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.hero-logo .brand-logo-square {
    width: 120px;
    height: 120px;
}

.hero-logo .brand-logo-square img {
    width: 96px;
    height: 96px;
}



/* ===== BUTTONS ===== */
.btn-violet {
    background: #5f2b8c;
    color: white;
    border-radius: 60px;
    padding: 0.6rem 2rem;
    border: none;
    font-weight: 600;
    transition: all 0.2s;
    box-shadow: 0 8px 18px -6px #5f2b8c66;
    text-decoration: none;
    display: inline-block;
}

.btn-violet:hover {
    background: #4a1f6e;
    transform: translateY(-2px);
    color: white;
}

.btn-fuchsia-outline {
    border: 2px solid #c7248a;
    color: #c7248a;
    border-radius: 60px;
    padding: 0.6rem 2rem;
    background: transparent;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

.btn-fuchsia-outline:hover {
    background: #c7248a;
    color: white;
}

.btn-consult {
    background: #c7248a;
    color: white;
    border-radius: 40px;
    padding: 0.4rem 1.5rem;
    border: none;
    font-weight: 500;
    margin-top: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-consult:hover {
    background: #a01d6e;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: radial-gradient(ellipse at 30% 40%, #c7248a20, #5f2b8c30, #162b4dd9);
    min-height: 65vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    padding: 3rem 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to top, #f8fafd, transparent);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-text h1 {
    font-size: calc(1.8rem + 1.5vw);
}

/* ===== CARDS ===== */
.program-card,
.university-card,
.expert-card,
.dba-card,
.insight-card {
    background: white;
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 20px 30px -10px rgba(95, 43, 140, 0.15);
    transition: 0.2s;
    height: 100%;
    border: 1px solid #f0f0ff;
}

.program-card:hover,
.university-card:hover,
.expert-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 40px -15px #c7248a80;
}

.program-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.expert-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1rem;
}

.insight-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 20px;
}

.university-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 20px;
    background: #f8f8ff;
    padding: 10px;
    margin-bottom: 1rem;
}

/* ===== FILTER BUTTONS ===== */
.filter-btn-group .btn {
    border-radius: 60px;
    background: #eff2f7;
    padding: 0.5rem 1.8rem;
    font-weight: 500;
    border: none;
    margin: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn-group .btn.active {
    background: #5f2b8c;
    color: white;
    box-shadow: 0 10px 20px -5px #5f2b8c;
}

/* ===== SLIDERS ===== */
.owl-carousel .item {
    padding: 10px;
}

.logo-slider img {
    height: 70px;
    width: auto;
    margin: 0 auto;
    filter: grayscale(0.4) opacity(0.7);
    transition: 0.3s;
}

.logo-slider img:hover {
    filter: none;
    transform: scale(1.05);
}

.zoom-img {
    overflow: hidden;
    border-radius: 28px;
}

.zoom-img img {
    transition: transform 0.4s;
    width: 100%;
    display: block;
}

.zoom-img:hover img {
    transform: scale(1.08);
}

/* ===== DBA SLIDE CARD ===== */
.dba-slide-card {
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem;
    color: white;
    position: relative;
}

.dba-slide-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0a0c1e, #5f2b8c70, #162b4d90);
    border-radius: 28px;
}

.dba-slide-card .content {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 5px black;
}

/* ===== FAQ ===== */
.accordion-item {
    border-radius: 20px !important;
    overflow: hidden;
    margin-bottom: 1rem;
    border: none;
    box-shadow: 0 5px 20px #e9e0f0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, #162b4d, #2b1e4a);
    color: white;
    border-radius: 60px;
    padding: 3rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #0b1629;
    color: #ccd;
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

.footer a {
    color: #ccd;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: white;
}

/* ===== STICKY ENQUIRY BUTTON ===== */
.sticky-enquiry {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: linear-gradient(145deg, #c7248a, #5f2b8c);
    color: white;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 1rem 0.6rem;
    border-radius: 20px 0 0 20px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
    box-shadow: -5px 5px 15px rgba(95, 43, 140, 0.4);
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    text-decoration: none;
    color: white;
}

.sticky-enquiry i {
    writing-mode: horizontal-tb;
    font-size: 1.4rem;
}

.sticky-enquiry:hover {
    background: linear-gradient(145deg, #5f2b8c, #c7248a);
    padding-right: 1rem;
    box-shadow: -8px 8px 20px rgba(199, 36, 138, 0.5);
    color: white;
}

/* ===== LIVE CHAT WIDGET ===== */
.chat-sticky-container {
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-popup {
    width: 300px;
    max-width: 85vw;
    background: white;
    border-radius: 28px 28px 10px 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    overflow: hidden;
    display: none;
    flex-direction: column;
}

.chat-popup.show {
    display: flex;
}

.chat-header {
    background: linear-gradient(145deg, #5f2b8c, #c7248a);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
}

.chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    padding: 1rem;
    background: #f9f5ff;
}

.chat-agent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.chat-agent img {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    object-fit: cover;
}

.chat-message {
    background: white;
    border-radius: 18px 18px 18px 5px;
    padding: 0.8rem;
}

.chat-input {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 0.5rem;
}

.chat-input input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.5rem;
}

.chat-input button {
    background: #c7248a;
    border: none;
    color: white;
    border-radius: 40px;
    padding: 0.4rem 1rem;
    cursor: pointer;
}

.chat-button {
    background: #c7248a;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(199, 36, 138, 0.5);
    cursor: pointer;
    border: 3px solid white;
    transition: transform 0.2s;
}

.chat-button:hover {
    transform: scale(1.1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 20px;
        margin-top: 0.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        margin-left: 0;
    }

    .header-login-btn {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-logo .brand-logo-square {
        margin: 0 auto;
    }

    .sticky-enquiry {
        font-size: 0.9rem;
        padding: 0.8rem 0.4rem;
    }
}

@media (max-width: 576px) {
    .brand-logo-square {
        width: 50px;
        height: 50px;
        padding: 5px;
    }

    .brand-logo-square img {
        width: 40px;
        height: 40px;
    }

    .hero-logo .brand-logo-square {
        width: 90px;
        height: 90px;
    }

    .hero-logo .brand-logo-square img {
        width: 70px;
        height: 70px;
    }

    .program-card {
        padding: 1rem;
    }

    .contact-section {
        padding: 2rem 1rem;
    }

    .chat-sticky-container {
        right: 10px;
        bottom: 15px;
    }

    .chat-button {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .sticky-enquiry {
        font-size: 0.8rem;
        padding: 0.6rem 0.3rem;
    }

    /* Header Mobile Styles */
    .header-nav-link {
        font-size: 15px;
    }

    .header-nav-link .nav-underline {
        display: none;
    }

    .navbar-collapse {
        padding-top: 1rem;
        border-top: 1px solid #f0f0f0;
        margin-top: 1rem;
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
    }

    .header-login-btn,
    .header-signup-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.rounded-4 {
    border-radius: 20px !important;
}

.rounded-5 {
    border-radius: 28px !important;
}

/* ===== EXPLORER BUTTON (USER PROFILE) ===== */
.explorer-btn {
    border-radius: 60px;
    background: transparent;
    border: 2px solid #5f2b8c;
    color: #5f2b8c;
    padding: 0.4rem 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    gap: 0.6rem;
}

.explorer-btn:hover {
    background: #5f2b8c;
    color: white;
    box-shadow: 0 4px 12px rgba(95, 43, 140, 0.3);
}

.explorer-btn:active {
    background: #4a1f6b;
    border-color: #4a1f6b;
}

.explorer-btn i {
    color: inherit;
    font-size: 0.85rem;
}

/* ===== CTA SECTIONS ===== */
.cta-section-main {
    position: relative;
    overflow: hidden;
}

.cta-section-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
    opacity: 0.5;
}

.cta-section-main > * {
    position: relative;
    z-index: 2;
}

.cta-cards-section {
    background: linear-gradient(135deg, #f5f7fb 0%, #f0e9ff 100%);
}

.cta-card {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.cta-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(95, 43, 140, 0.25) !important;
}

.cta-card .btn-link {
    position: relative;
    color: #5f2b8c;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cta-card .btn-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c7248a;
    transition: width 0.3s ease;
}

.cta-card:hover .btn-link::after {
    width: 100%;
}

.cta-card:hover .btn-link {
    color: #c7248a;
}

.cta-card:hover .btn-link i {
    transform: translateX(4px);
}

.cta-features {
    position: relative;
}

.cta-features::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(95, 43, 140, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Countdown timer styles */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(199, 36, 138, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(199, 36, 138, 0);
    }
}

.countdown-timer {
    animation: pulse-glow 2s infinite;
}

/* Button animations */
.btn[style*="background: linear-gradient"] {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn[style*="background: linear-gradient"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: 1;
}

.btn[style*="background: linear-gradient"]:hover::before {
    left: 100%;
}

.btn[style*="background: white"][style*="color: #5f2b8c"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(95, 43, 140, 0.3);
}

.btn[style*="background: linear-gradient"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(199, 36, 138, 0.4);
}

/* CTA Badge animation */
.cta-badge {
    animation: float-up 3s ease-in-out infinite;
}

@keyframes float-up {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Price highlight animation */
.price-highlight {
    background: linear-gradient(135deg, #c7248a, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive CTA Sections */
@media (max-width: 768px) {
    .cta-section-main h2 {
        font-size: 1.8rem !important;
    }

    .cta-section-main .col-lg-7,
    .cta-section-main .col-lg-5 {
        margin-bottom: 2rem;
    }

    .cta-cards-section .row {
        gap: 2rem;
    }

    .cta-card {
        min-height: 280px;
    }

    .cta-features h3 {
        font-size: 1.6rem !important;
    }

    .cta-features .row {
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .cta-section-main {
        padding: 3rem 1rem !important;
    }

    .cta-section-main h2 {
        font-size: 1.4rem !important;
    }

    .cta-section-main p.lead {
        font-size: 0.95rem !important;
    }

    .cta-section-main .d-flex {
        flex-direction: column !important;
        width: 100%;
    }

    .cta-section-main .btn {
        width: 100%;
    }

    .cta-cards-section .col-lg-3 {
        margin-bottom: 1.5rem;
    }

    .cta-card {
        padding: 1.5rem !important;
    }

    .countdown-timer {
        flex-wrap: wrap;
        gap: 8px !important;
    }

    .countdown-timer > div {
        flex: 1;
        min-width: 60px;
    }
}