/**
 * VITE Website Styles
 * Vineyard Institute for Training in Education
 * Color Scheme: Balanced Purple & Green with more whites
 */

/* ===================================
   CSS VARIABLES - Brand Colors (BALANCED)
   =================================== */
:root {
    /* Primary Colors from Logo - Used Sparingly */
    --primary-purple: #4B1557;
    --primary-green: #6B9D3E;
    --light-purple: #9B7BA8;
    --dark-purple: #3A0F44;
    
    /* Accent Colors */
    --accent-gold: #D4AF37;
    --accent-light-green: #A8D08D;
    --accent-soft-purple: #E8D9F0;
    --footer-bg: #2C1A36;
    
    /* Neutral Colors - More Dominant */
    --white: #FFFFFF;
    --light-gray: #f5f5f5;
    --lighter-gray: #FAFBFC;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --text-dark: #2d2b2b;
    --text-light: #302d2d; 
    
    /* Gradients - Softer */
    --gradient-purple: linear-gradient(135deg, #6B5B8C 0%, #9B7BA8 100%);
    --gradient-green: linear-gradient(135deg, #7FAE5A 0%, #A8D08D 100%);
    --gradient-overlay: linear-gradient(135deg, rgb(75 21 87 / 35%) 0%, rgb(107 157 62 / 38%) 100%);
    --gradient-light: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    
    /* Typography */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --card-padding: 30px;
    
    /* Shadows - Softer */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===================================
   GLOBAL STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 500 !important;
}

a {
    color: var(--primary-purple);
    transition: var(--transition-normal);
}

a:hover {
    color: var(--primary-green);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--section-padding);
}

/* ===================================
   BOOTSTRAP OVERRIDES - BALANCED THEME
   =================================== */

/* Primary Button - Purple but Softer */
.btn-primary {
    background: var(--primary-purple);
    border: none;
    color: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Outline Button - More Visible */
.btn-outline-primary {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    background: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: var(--transition-normal);
}

.btn-outline-primary:hover {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: var(--white);
    transform: translateY(-2px);
}

/* Secondary Button - Green */
.btn-secondary {
    background: var(--primary-green);
    border: none;
    color: var(--white);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Light Button */
.btn-light {
    background: var(--white);
    border: 2px solid var(--white);
    color: var(--primary-purple);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.btn-light:hover {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-2px);
}

/* Badge Colors */
.badge-primary {
    background: var(--primary-purple);
}

.badge-secondary {
    background: var(--primary-green);
}

/* Text Colors */
.text-primary {
    color: var(--primary-purple) !important;
}

.text-secondary {
    color: var(--primary-green) !important;
}

.text-muted {
    color: var(--text-light) !important;
}

/* Background Colors - Lighter */
.bg-primary {
    background: var(--primary-purple) !important;
}

.bg-secondary {
    background: var(--primary-green) !important;
}

.bg-light {
    background-color: var(--lighter-gray) !important;
}

.bg-dark {
    background-color: var(--footer-bg) !important;
}

/* Border Colors */
.border-primary {
    border-color: var(--primary-purple) !important;
}

.border-secondary {
    border-color: var(--primary-green) !important;
}

/* ===================================
   NAVIGATION STYLES - FIXED FLOATING LOGO
   =================================== */

/* Navigation Wrapper */
.nav-wrapper {
    position: relative;
    margin-bottom: 0;
}

/* Floating Logo */
.floating-logo {
    position: absolute;
    left: 30px;
    top: 0;
    z-index: 1050;
    background: var(--white);
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 6px 25px rgba(75, 21, 87, 0.2);
    transition: var(--transition-normal);
    display: block;
}

.floating-logo:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 35px rgba(75, 21, 87, 0.3);
}

.logo-img {
    height: 75px;
    width: auto;
    display: block;
}

/* Main Navbar */
.navbar {
    padding: 20px 0;
    transition: var(--transition-normal);
    background: var(--white) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    min-height: 70px;
}

/* Logo Spacer (Desktop) */
.logo-spacer {
    width: 130px;
    flex-shrink: 0;
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar-collapse {
        flex-grow: 1;
        display: flex !important;
        justify-content: center;
    }
    
    .navbar-nav {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0;
    }
    
    .nav-item {
        position: relative;
    }
    
    .nav-link {
        color: var(--text-dark) !important;
        font-weight: 600;
        font-size: 15px;
        padding: 10px 16px !important;
        transition: var(--transition-normal);
        border-radius: 8px;
        white-space: nowrap;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-purple) !important;
        background: rgba(75, 21, 87, 0.06);
    }
    
    /* Dropdown Menu */
    .dropdown-menu {
        border: none;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
        border-radius: 12px;
        padding: 12px;
        margin-top: 8px;
        min-width: 260px;
    }
    
    .dropdown-item {
        padding: 12px 18px;
        border-radius: 8px;
        transition: var(--transition-fast);
        color: var(--text-dark);
        font-weight: 500;
        font-size: 14px;
    }
    
    .dropdown-item:hover,
    .dropdown-item.active {
        background: rgba(107, 157, 62, 0.12);
        color: var(--primary-green);
        transform: translateX(4px);
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 30px;
    color: var(--primary-purple);
    padding: 5px;
    cursor: pointer;
    transition: var(--transition-normal);
    line-height: 1;
}

.mobile-menu-toggle:hover {
    color: var(--primary-green);
    transform: scale(1.08);
}

/* Mobile Offcanvas */
.offcanvas {
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
    width: 320px !important;
}

.offcanvas-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    color: var(--white);
    padding: 25px 20px;
    border-bottom: 4px solid var(--primary-green);
}

.offcanvas-title {
    display: flex;
    align-items: center;
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.offcanvas-header .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.offcanvas-body {
    padding: 25px 18px;
}

/* Mobile Navigation */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list .nav-item {
    margin-bottom: 6px;
}

.mobile-nav-list .nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 18px !important;
    border-radius: 10px;
    transition: var(--transition-normal);
    display: block;
}

.mobile-nav-list .nav-link:hover,
.mobile-nav-list .nav-link.active {
    background: var(--primary-purple);
    color: var(--white) !important;
    transform: translateX(4px);
}

/* Mobile Dropdown */
.mobile-nav-list .dropdown-menu {
    position: static !important;
    transform: none !important;
    border: none;
    box-shadow: none;
    background: rgba(107, 157, 62, 0.08);
    padding: 8px 0 8px 18px;
    margin: 6px 0;
    border-radius: 10px;
}

.mobile-nav-list .dropdown-item {
    padding: 10px 16px;
    border-radius: 8px;
    transition: var(--transition-fast);
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}

.mobile-nav-list .dropdown-item:hover,
.mobile-nav-list .dropdown-item.active {
    background: var(--primary-green);
    color: var(--white);
    transform: translateX(4px);
}

.mobile-nav-list .dropdown-toggle::after {
    float: right;
    margin-top: 6px;
}

/* Mobile Contact */
.mobile-contact {
    background: rgba(75, 21, 87, 0.06);
    padding: 18px;
    border-radius: 12px;
}

.mobile-contact p {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
}

.mobile-contact i {
    color: var(--primary-purple);
}

/* Mobile */
@media (max-width: 991px) {
    .nav-wrapper {
        position: relative;
        padding-top: 0;
        background: var(--white);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .floating-logo {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        padding: 8px;
        z-index: 1050;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .navbar {
        padding: 15px 0;
        min-height: 75px;
        border-bottom: none;
    }
    
    .navbar .container {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    
    .mobile-menu-toggle {
        margin: 0;
        padding: 10px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .floating-logo {
        left: 10px;
        padding: 6px;
    }
    
    .logo-img {
        height: 48px;
    }
    
    .navbar {
        padding: 12px 0;
        min-height: 65px;
    }
    
    .offcanvas {
        width: 290px !important;
    }
    
    .mobile-menu-toggle {
        font-size: 26px;
        padding: 8px;
    }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1,
.hero-section h2,
.hero-section p {
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===================================
   CARDS
   =================================== */
.card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(75, 21, 87, 0.1);
}

.card-title {
    color: var(--primary-purple);
    font-weight: 700;
}

.card-text {
    color: var(--text-light);
}

/* Icon Box in Cards - Less Purple */
.icon-box {
    width: 80px;
    height: 80px;
    color: var(--primary-purple);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.card:hover .icon-box {
    color: var(--white);
    transform: scale(1.1);
}

/* Hover Lift Effect */
.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   BLOCKQUOTES
   =================================== */
blockquote {
    padding: 20px 30px;
    background: var(--lighter-gray);
    border-left: 4px solid var(--primary-green);
    border-radius: 8px;
    margin: 30px 0;
}

blockquote p {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 10px;
}

blockquote .blockquote-footer {
    color: var(--light-gray);
    margin-top: 20px;
    padding: 10px 10px;
    font-weight: 600;
}

blockquote.text-white {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--white);
}

blockquote.text-white p,
blockquote.text-white .blockquote-footer {
    color: var(--white);
}

/* ===================================
   SECTIONS
   =================================== */

/* Remove automatic alternating backgrounds */
section {
    background: var(--white);
}

/* Light Gray Background - Manual */
.bg-light {
    background-color: var(--lighter-gray) !important;
}

/* ===================================
   FORMS
   =================================== */
.form-control {
    border: 2px solid #E8EAED;
    border-radius: 8px;
    padding: 12px 20px;
    transition: var(--transition-normal);
}

.form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(75, 21, 87, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

textarea.form-control {
    min-height: 150px;
}

/* Custom Checkbox/Radio */
.form-check-input:checked {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
}

/* ===================================
   TABLES
   =================================== */
.table {
    border-radius: 12px;
    overflow: hidden;
}

.table thead {
    background: var(--primary-purple);
    color: var(--white);
}

.table tbody tr:hover {
    background-color: var(--lighter-gray);
}

/* ===================================
   ALERTS
   =================================== */
.alert-success {
    background-color: rgba(107, 157, 62, 0.1);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.alert-info {
    background-color: rgba(75, 21, 87, 0.1);
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.alert-warning {
    background-color: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
    color: #B8860B;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: #DC3545;
    color: #DC3545;
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: var(--dark-gray);
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

footer a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-normal);
}

footer .social-links a:hover {
    background: var(--primary-green);
    transform: translateY(-5px);
    padding-left: 0;
}

/* ===================================
   SPECIAL ELEMENTS
   =================================== */

/* Section Title Decoration */
.section-title {
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

/* Journey Section - Balanced Purple */
.journey-section {
    background: var(--primary-purple);
    color: var(--white);
    padding: 80px 0;
    position: relative;
}

.journey-section h2,
.journey-section h4 {
    color: var(--white);
}

.journey-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.journey-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Community Images */
.community-img {
    max-height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition-normal);
}

.community-img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-up:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in-up:nth-child(2) {
    animation-delay: 0.3s;
}

.fade-in-up:nth-child(3) {
    animation-delay: 0.5s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        min-height: 60vh !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    section {
        padding: 40px 0;
    }
    
    .hero-section {
        min-height: 50vh !important;
    }
    
    .btn-lg {
        padding: 10px 25px;
        font-size: 1rem;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .icon-box {
        width: 60px;
        height: 60px;
    }
    
    .icon-box i {
        font-size: 1.5rem !important;
    }
    
    .community-img {
        max-height: 150px;
    }
    
    .journey-card {
        padding: 15px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    blockquote {
        padding: 15px 20px;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}


/* ===================================
   NOTIFICATION SYSTEM - ENHANCED
   =================================== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 320px;
    max-width: 500px;
    background: white;
    padding: 18px 22px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 99999;
    opacity: 0;
    transform: translateX(450px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-left: 5px solid #6B9D3E;
    background: linear-gradient(to right, #f0f9f4 0%, #ffffff 100%);
}

.notification-success i {
    color: #6B9D3E;
}

.notification-error {
    border-left: 5px solid #DC3545;
    background: linear-gradient(to right, #fef5f5 0%, #ffffff 100%);
}

.notification-error i {
    color: #DC3545;
}

.notification-content {
    display: flex;
    align-items: center;
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
}

.notification-content i {
    font-size: 24px;
    flex-shrink: 0;
}

.notification-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.notification-close:hover {
    color: #333;
    background: rgba(0,0,0,0.05);
}

/* Animation for notification entrance */
@keyframes slideIn {
    from {
        transform: translateX(450px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Spinner for loading state */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
    
    .notification-content {
        font-size: 14px;
    }
    
    .notification-content i {
        font-size: 20px;
    }
}

/* Loading state for buttons */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* ===================================
   PROGRAM CARDS STYLING
   =================================== */

/* Program Card */
.program-card {
    transition: var(--transition-normal);
   overflow: visible !important;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(75, 21, 87, 0.2) !important;
}

/* Program Icon */
.program-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

/* Card Header Gradient */
.program-card .card-header {
    border: none;
    position: relative;
}

/* Featured Program Badge */
.featured-program {
    position: relative;
    border: 2px solid var(--primary-green) !important;
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-green);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(107, 157, 62, 0.3);
}

/* Course Content List */
.program-card ul li {
    padding-left: 0;
    transition: var(--transition-fast);
}

.program-card ul li:hover {
    padding-left: 5px;
}

.program-card ul li i {
    flex-shrink: 0;
}

/* Card Footer */
.program-card .card-footer {
    margin-top: auto;
}

.program-card .btn {
    transition: var(--transition-normal);
}

.program-card:hover .btn-outline-primary {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
}

.program-card:hover .btn-primary {
    background: var(--primary-green);
    transform: translateY(-2px);
}


/* ===================================
   SPHERE CARDS STYLING
   =================================== */

/* Sphere Card */
.sphere-card {
    transition: var(--transition-normal);
    position: relative;
}

.sphere-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(75, 21, 87, 0.15) !important;
}

/* Sphere Image Wrapper */
.sphere-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.sphere-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.sphere-card:hover .sphere-image {
    transform: scale(1.08);
}

/* Sphere Overlay */
.sphere-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(75, 21, 87, 0.85) 0%, rgba(107, 157, 62, 0.7) 100%);
    opacity: 0;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-card:hover .sphere-overlay {
    opacity: 1;
}

/* Sphere Number */
.sphere-number {
    font-size: 5rem;
    font-weight: 900;
    color: white;
    font-family: var(--font-heading);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: var(--transition-normal);
}

.sphere-card:hover .sphere-number {
    transform: scale(1);
}

/* Sphere Icon */
.sphere-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(75, 21, 87, 0.1) 0%, rgba(107, 157, 62, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.sphere-icon i {
    font-size: 28px;
    color: var(--primary-purple);
    transition: var(--transition-normal);
}

.sphere-card:hover .sphere-icon {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-green) 100%);
    transform: rotate(5deg) scale(1.05);
}

.sphere-card:hover .sphere-icon i {
    color: white;
}

/* Quote Box */
.quote-box {
    background: linear-gradient(135deg, rgba(107, 157, 62, 0.05) 0%, rgba(75, 21, 87, 0.05) 100%);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
    position: relative;
}

/* Card Title in Spheres */
.sphere-card .card-title {
    color: var(--primary-purple);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Card Text in Spheres */
.sphere-card .card-text {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sphere-image-wrapper {
        height: 200px;
    }
    
    .sphere-number {
        font-size: 4rem;
    }
    
    .sphere-icon {
        width: 50px;
        height: 50px;
    }
    
    .sphere-icon i {
        font-size: 24px;
    }
}

/* ===================================
   ACTIVE STATES - ENHANCED
   =================================== */

/* Active state transitions */
.nav-link,
.dropdown-item {
    transition: all 0.3s ease;
}

/* Desktop Active Link */
@media (min-width: 992px) {
    .nav-link.active {
        color: var(--primary-purple) !important;
        background: rgba(75, 21, 87, 0.1) !important;
        position: relative;
    }
    

    
    /* Dropdown item active */
    .dropdown-item.active {
        background: rgba(107, 157, 62, 0.15) !important;
        color: var(--primary-green) !important;
        font-weight: 600;
        position: relative;
    }
    

    
    .dropdown-item.active {
        padding-left: 28px !important;
    }
    
    /* Active state hover effects */
    .nav-link.active:hover {
        background: rgba(75, 21, 87, 0.12) !important;
    }
    
    .dropdown-item.active:hover {
        background: rgba(107, 157, 62, 0.2) !important;
    }
}

/* Mobile Active States */
.mobile-nav-list .nav-link.active {
    background: var(--primary-purple) !important;
    color: var(--white) !important;
    position: relative;
}

/* Mobile active indicator */
.mobile-nav-list .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-green);
    border-radius: 0 4px 4px 0;
}

/* Mobile dropdown item active */
.mobile-nav-list .dropdown-item.active {
    background: var(--primary-green) !important;
    color: var(--white) !important;
    font-weight: 600;
    position: relative;
}

/* Mobile dropdown item active indicator */
.mobile-nav-list .dropdown-item.active::before {
    content: '●';
    position: absolute;
    left: 8px;
    color: white;
    font-size: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-nav-list .dropdown-item.active {
    padding-left: 28px !important;
}

/* Mobile active hover */
.mobile-nav-list .nav-link.active:hover {
    background: var(--dark-purple) !important;
}

.mobile-nav-list .dropdown-item.active:hover {
    background: #5a8a32 !important;
}

/* ===================================
   STICKY NAVBAR ON SCROLL - ENHANCED
   =================================== */

/* Sticky effect on scroll */
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(75, 21, 87, 0.15) !important;
    padding: 12px 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

/* Logo size on scroll */
.navbar.scrolled ~ .nav-wrapper .floating-logo,
.nav-wrapper .floating-logo.scrolled {
    transform: scale(0.85);
    box-shadow: 0 4px 15px rgba(75, 21, 87, 0.25);
}

@media (min-width: 992px) {
    .navbar.scrolled {
        padding: 10px 0 !important;
    }
    
    .navbar.scrolled .logo-img {
        height: 65px;
    }
}

@media (max-width: 991px) {
    .navbar.scrolled {
        min-height: 65px !important;
    }
    
    .nav-wrapper .floating-logo.scrolled {
        transform: translateY(-50%) scale(0.9);
    }
}