/* ============================================================================
   Salma Zarroug Consulting - Custom Styles
   Modern, elegant design with brand colors and smooth interactions
   ============================================================================ */

/* Brand Color Variables - Following Brand Guidelines */
:root {
    /* Primary Colors */
    --primary-blue: #0B1C33;          /* Deep Midnight Blue - Confidence, professionalism */
    --gold-gradient-start: #CBA135;   /* Gradient Gold - Growth, wisdom */
    --gold-gradient-end: #F0D878;     /* Gradient Gold - Illumination */
    --gold-primary: #CBA135;          /* Main gold for accents */
    
    /* Secondary Colors */
    --beige-warm: #E8E1D4;            /* Warm Beige - Calm, grounding */
    
    /* Neutrals */
    --white-soft: #FAFAFA;            /* Soft White - Clarity, simplicity */
    --charcoal: #3C3C3C;              /* Charcoal Grey - Balance, sophistication */
    --white: #FFFFFF;
    
    /* Legacy support (backwards compatibility) */
    --dark: #0B1C33;                  /* Updated to brand blue */
    --medium: #3C3C3C;                /* Updated to charcoal */
    --light: #E8E1D4;                 /* Updated to warm beige */
    --off-white: #FAFAFA;             /* Updated to soft white */
    
    /* Typography - Brand Guidelines */
    --font-heading: 'Playfair Display', Georgia, serif;           /* Headings - Elegant and confident */
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;  /* Body - Clean, approachable */
    --font-accent: 'Cormorant Garamond', Georgia, serif;         /* Optional for quotes */
    
    /* Spacing */
    --section-padding: 100px;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================================
   Base Styles & Reset
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--primary-blue);
    background-color: var(--white-soft);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-blue);
}

a {
    color: var(--gold-gradient-start);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-gradient-end);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: var(--section-padding) 0;
}

/* ============================================================================
   Navigation
   ============================================================================ */

.navbar {
    padding: 1rem 0;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(11, 28, 51, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(11, 28, 51, 0.1);
}

.navbar-brand .logo {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .navbar-brand .logo {
    height: 50px;
}

.nav-link {
    color: var(--primary-blue) !important;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-gradient-start), var(--gold-gradient-end));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.btn-cta {
    background: linear-gradient(135deg, var(--gold-gradient-start), var(--gold-gradient-end));
    color: var(--white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(203, 161, 53, 0.3);
    margin-left: 1rem;
}

.btn-cta::after {
    display: none;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(203, 161, 53, 0.4);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23CBA135' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================================
   Hero Section
   ============================================================================ */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 28, 51, 0.85), rgba(203, 161, 53, 0.3));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(11, 28, 51, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--gold-gradient-end);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--beige-warm);
    margin-bottom: 3rem;
    font-family: var(--font-accent);
    font-style: italic;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, var(--gold-gradient-start), var(--gold-gradient-end));
    border: none;
    box-shadow: 0 6px 20px rgba(203, 161, 53, 0.4);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(203, 161, 53, 0.5);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-gradient-start), var(--gold-gradient-end));
    border: none;
    color: var(--primary-blue);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(203, 161, 53, 0.4);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(203, 161, 53, 0.5);
    color: var(--primary-blue);
}

.hero-buttons .btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.hero-buttons .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
    opacity: 0.8;
}

.scroll-indicator a:hover {
    opacity: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================================================
   Section Labels & Titles
   ============================================================================ */

.section-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--charcoal);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* ============================================================================
   About Section
   ============================================================================ */

.about-section {
    background: var(--white);
}

.about-image-wrapper {
    position: relative;
}

.rounded-image {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(11, 28, 51, 0.15);
    transition: var(--transition);
}

.about-image-wrapper:hover .rounded-image {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(11, 28, 51, 0.2);
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--gold-gradient-start), var(--gold-gradient-end));
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

.about-content {
    padding-left: 2rem;
}

.about-content .lead {
    font-size: 1.3rem;
    color: var(--gold-gradient-start);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.about-stats {
    padding-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--white-soft), var(--white));
    border-radius: 15px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(11, 28, 51, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-gradient-start);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--charcoal);
    font-weight: 500;
}

/* ============================================================================
   Detailed Biography Section
   ============================================================================ */

.bio-section {
    background: var(--beige-warm);
}

.bio-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(11, 28, 51, 0.08);
}

.bio-image-wrapper {
    position: relative;
}

.bio-portrait {
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(11, 28, 51, 0.15);
    width: 100%;
    max-width: 350px;
    height: auto;
}

.bio-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--charcoal);
}

.bio-text p {
    margin-bottom: 1.5rem;
}

.bio-intro {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-blue);
    line-height: 2;
}

.bio-text strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.bio-text em {
    color: var(--gold-gradient-start);
    font-style: italic;
}

.bio-closing {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-blue);
    border-left: 4px solid var(--gold-gradient-start);
    padding-left: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 991px) {
    .bio-content {
        padding: 2rem;
    }
    
    .bio-image-wrapper {
        margin-bottom: 2rem;
    }
}

/* ============================================================================
   Services Section
   ============================================================================ */

.services-section {
    background: linear-gradient(180deg, var(--beige-warm), var(--white));
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(11, 28, 51, 0.08);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(11, 28, 51, 0.12);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gold-gradient-start), var(--gold-gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(203, 161, 53, 0.3);
}

.service-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.service-description {
    font-size: 1.05rem;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--charcoal);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-gradient-start);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-gradient-start);
    font-weight: 600;
    margin-top: auto;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
    color: var(--gold-gradient-end);
}

/* ============================================================================
   Credentials/Badges Section
   ============================================================================ */

.credentials-section {
    background: var(--white);
}

.badges-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.badge-item {
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.badge-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: var(--transition);
}

.badge-item:hover img {
    filter: grayscale(0);
    transform: scale(1.1);
}

.badge-title {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}

/* ============================================================================
   Programs Section
   ============================================================================ */

.programs-section {
    background: linear-gradient(180deg, var(--white), var(--beige-warm));
}

.program-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(11, 28, 51, 0.08);
    transition: var(--transition);
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(11, 28, 51, 0.12);
}

.program-image {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-content {
    padding: 2rem;
    position: relative;
}

.program-badge {
    position: absolute;
    top: -15px;
    right: 2rem;
    background: linear-gradient(135deg, var(--gold-gradient-start), var(--gold-gradient-end));
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(203, 161, 53, 0.4);
}

.program-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    color: var(--primary-blue);
}

.program-description {
    font-size: 1.05rem;
    color: var(--charcoal);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.program-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--charcoal);
}

.highlight-item i {
    color: var(--gold-gradient-start);
    font-size: 1.2rem;
}

/* ============================================================================
   Testimonials Section
   ============================================================================ */

.testimonials-section {
    background: var(--white-soft);
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(11, 28, 51, 0.06);
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(11, 28, 51, 0.1);
}

.testimonial-stars {
    color: var(--gold-gradient-start);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.testimonial-image {
    text-align: center;
}

.testimonial-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--gold-gradient-start);
    box-shadow: 0 4px 15px rgba(11, 28, 51, 0.1);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    font-family: var(--font-accent);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    border-top: 2px solid var(--beige-warm);
    text-align: center;
}

.testimonial-author strong {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--gold-gradient-start);
    font-size: 0.95rem;
}

/* ============================================================================
   Contact Section
   ============================================================================ */

.contact-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--charcoal));
    color: var(--white);
}

.contact-section .section-label.text-gold {
    color: var(--gold-gradient-end);
}

.contact-info h3 {
    color: var(--gold-gradient-end);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--gold-gradient-start);
    min-width: 30px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    color: var(--gold-gradient-end);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item a,
.contact-item span {
    color: var(--beige-warm);
    font-size: 1rem;
}

.contact-item a:hover {
    color: var(--gold-gradient-end);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--gold-gradient-start), var(--gold-gradient-end));
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form .form-label {
    color: var(--gold-gradient-end);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(203, 161, 53, 0.3);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold-gradient-start);
    color: var(--white);
    box-shadow: 0 0 0 0.2rem rgba(203, 161, 53, 0.25);
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .form-select option {
    background: var(--primary-blue);
    color: var(--white);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--gold-gradient-start), var(--gold-gradient-end));
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: var(--transition);
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(203, 161, 53, 0.4);
}

#formMessage {
    text-align: center;
    font-weight: 500;
}

#formMessage.success {
    color: #4CAF50;
}

#formMessage.error {
    color: #ff6b6b;
}

/* ============================================================================
   Footer
   ============================================================================ */

.footer {
    background: var(--primary-blue);
    color: var(--beige-warm);
    padding: 4rem 0 2rem;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--beige-warm);
    line-height: 1.8;
    opacity: 0.9;
}

.footer-title {
    color: var(--gold-gradient-end);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--beige-warm);
    transition: var(--transition);
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--gold-gradient-start);
    padding-left: 5px;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 10px;
}

.newsletter-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold-gradient-start);
    color: var(--white);
    box-shadow: none;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .btn-primary {
    background: linear-gradient(135deg, var(--gold-gradient-start), var(--gold-gradient-end));
    border: none;
    padding: 0.75rem;
    font-weight: 600;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    margin: 0;
    color: var(--beige-warm);
    opacity: 0.8;
}

.footer-legal {
    color: var(--beige-warm);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-legal:hover {
    color: var(--gold-gradient-start);
    opacity: 1;
}

/* ============================================================================
   Back to Top Button
   ============================================================================ */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold-gradient-start), var(--gold-gradient-end));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(203, 161, 53, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(201, 169, 110, 0.5);
}

.back-to-top.show {
    display: flex;
}

/* ============================================================================
   Responsive Design
   ============================================================================ */

@media (max-width: 991px) {
    :root {
        --section-padding: 60px;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .hero-section {
        min-height: 600px;
    }
    
    .service-card,
    .program-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-buttons .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .badges-container {
        gap: 2rem;
    }
    
    .badge-item img {
        width: 100px;
        height: 100px;
    }
    
    .program-highlights {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 1rem;
    }
}

/* ============================================================================
   Books/Publications Section
   ============================================================================ */

.books-section {
    background: linear-gradient(180deg, var(--white), var(--white-soft));
}

.book-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(11, 28, 51, 0.08);
    transition: var(--transition);
    height: 100%;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(11, 28, 51, 0.12);
}

.book-image-wrapper {
    position: relative;
    padding: 1rem;
    text-align: center;
}

.book-cover {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(11, 28, 51, 0.2);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.book-card:hover .book-cover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 15px 40px rgba(11, 28, 51, 0.3);
}

.book-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 250px;
    background: radial-gradient(circle, rgba(203, 161, 53, 0.3), transparent);
    border-radius: 10px;
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.book-card:hover .book-glow {
    opacity: 1;
}

.book-content {
    padding: 1.5rem;
}

.book-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-gradient-start), var(--gold-gradient-end));
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(203, 161, 53, 0.3);
}

.book-title {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.book-description {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.book-content .btn {
    font-weight: 600;
    transition: var(--transition);
}

.book-content .btn-outline-primary {
    border: 2px solid var(--gold-gradient-start);
    color: var(--gold-gradient-start);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
}

.book-content .btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--gold-gradient-start), var(--gold-gradient-end));
    color: var(--white);
    border-color: var(--gold-gradient-start);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(203, 161, 53, 0.4);
}

.book-content .btn i {
    margin-right: 0.5rem;
}

.book-extended-description {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--gold-gradient-start);
    box-shadow: 0 5px 20px rgba(11, 28, 51, 0.05);
}

.book-extended-description h4 {
    color: var(--gold-gradient-start);
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.book-extended-description p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--charcoal);
    margin-bottom: 1.2rem;
}

.book-extended-description .font-italic {
    font-family: var(--font-accent);
    font-style: italic;
}

/* Responsive adjustments for books */
@media (max-width: 768px) {
    .book-card {
        margin-bottom: 2rem;
    }
    
    .book-cover {
        max-width: 150px;
    }
    
    .book-content {
        padding: 1rem;
    }
    
    .book-extended-description {
        padding: 1.5rem;
    }
}

/* ============================================================================
   Utility Classes
   ============================================================================ */

.text-gold {
    color: var(--gold-gradient-start);
}

.bg-gold {
    background-color: var(--gold-gradient-start);
}

.bg-dark {
    background-color: var(--primary-blue) !important;
}
