/* ==========================================================================
   AL ISRA ONLINE QURAN ACADEMY - MAIN STYLESHEET
   Brand Colors: Madina Green, Deep Emerald, Luxury Gold, Warm Cream, Ivory
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,600&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-green: #0B5D3B;
    --deep-green: #06452D;
    --luxury-green: #0F6B45;
    --gold: #D4AF37;
    --light-gold: #E7C873;
    --cream: #F6EEDC;
    --ivory: #FFF9ED;
    --dark-text: #18352A;
    --white: #FFFFFF;

    /* Extended Design System Variables */
    --gold-rgb: 212, 175, 55;
    --primary-green-rgb: 11, 93, 59;
    --deep-green-rgb: 6, 69, 45;
    --cream-rgb: 246, 238, 220;

    --gold-glow: rgba(212, 175, 55, 0.28);
    --gold-border: rgba(212, 175, 55, 0.35);
    --green-glow: rgba(11, 93, 59, 0.18);
    
    --shadow-soft: 0 10px 30px -5px rgba(6, 69, 45, 0.08), 0 4px 12px -2px rgba(212, 175, 55, 0.06);
    --shadow-card: 0 12px 35px -8px rgba(6, 69, 45, 0.12), 0 4px 14px -3px rgba(212, 175, 55, 0.08);
    --shadow-hover: 0 22px 45px -10px rgba(6, 69, 45, 0.2), 0 8px 22px -4px rgba(212, 175, 55, 0.18);
    
    --transition-base: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-arch: 45px 45px 16px 16px;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--ivory);
    color: var(--dark-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-heading {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--deep-green);
    font-weight: 700;
    line-height: 1.25;
}

h4, h5, h6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--deep-green);
    font-weight: 700;
    line-height: 1.35;
}

.font-arabic {
    font-family: 'Amiri', serif;
    direction: rtl;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

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

/* ==========================================================================
   ISLAMIC PATTERNS & DECORATIVE GRAPHICS
   ========================================================================== */
.islamic-bg-pattern-dark {
    background-color: var(--deep-green);
    background-image: radial-gradient(rgba(212, 175, 55, 0.12) 1px, transparent 0),
                      radial-gradient(rgba(212, 175, 55, 0.08) 1px, transparent 0);
    background-size: 32px 32px;
    background-position: 0 0, 16px 16px;
}

.islamic-bg-pattern-light {
    background-color: var(--cream);
    background-image: radial-gradient(rgba(11, 93, 59, 0.08) 1.2px, transparent 0),
                      radial-gradient(rgba(212, 175, 55, 0.1) 1.2px, transparent 0);
    background-size: 28px 28px;
    background-position: 0 0, 14px 14px;
}

.islamic-gold-pattern {
    background: linear-gradient(135deg, var(--deep-green) 0%, var(--primary-green) 50%, var(--luxury-green) 100%);
    position: relative;
}

.islamic-gold-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 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='%23D4AF37' fill-opacity='0.08' fill-rule='evenodd'%3E%3Cpath d='M30 0l15 15-15 15-15-15L30 0zm0 30l15 15-15 15-15-15L30 30zM0 30l15 15L0 60l-15-15L0 30zm60 0l15 15-15 15-15-15L60 30z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.85;
}

/* Section Title Ornament */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid var(--gold);
    color: var(--deep-green);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-tag.light {
    background: rgba(246, 238, 220, 0.18);
    border-color: var(--light-gold);
    color: var(--light-gold);
}

.section-title {
    font-size: 2.35rem;
    font-weight: 700;
    color: var(--deep-green);
    margin-bottom: 12px;
}

.section-title.light {
    color: var(--ivory);
}

.section-subtitle {
    font-size: 1.05rem;
    color: #4A6357;
    max-width: 680px;
    margin: 0 auto;
}

.section-subtitle.light {
    color: rgba(255, 249, 237, 0.85);
}

.gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 14px auto 18px;
}

.gold-divider .line {
    width: 60px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.gold-divider .line.right {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.gold-divider .symbol {
    color: var(--gold);
    font-size: 1.15rem;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
    background: var(--deep-green);
    color: var(--cream);
    padding: 7px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.top-bar a {
    color: var(--light-gold);
    font-weight: 500;
}

.top-bar a:hover {
    color: var(--white);
}

/* ==========================================================================
   NAVBAR (PREMIUM STICKY)
   ========================================================================== */
.academy-navbar {
    background: rgba(255, 249, 237, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(6, 69, 45, 0.07);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition-base);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.navbar-logo-img {
    height: 56px;
    width: 56px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--gold);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.35);
    background: var(--deep-green);
    transition: var(--transition-base);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--deep-green);
    letter-spacing: 0.8px;
    line-height: 1.15;
}

.brand-title span {
    color: var(--gold);
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--luxury-green);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Nav Links */
.navbar-nav .nav-item {
    margin: 0 4px;
}

.navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-text) !important;
    padding: 8px 14px !important;
    position: relative;
    transition: var(--transition-base);
    border-radius: var(--radius-sm);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--light-gold), var(--gold));
    border-radius: 2px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-green) !important;
}

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

.navbar-nav .nav-link.active {
    color: var(--deep-green) !important;
    font-weight: 700;
}

/* Mobile Navbar Toggle */
.navbar-toggler {
    background: var(--deep-green);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    padding: 7px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(6, 69, 45, 0.2);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.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='%23D4AF37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==========================================================================
   BUTTONS (PREMIUM VIP STYLING)
   ========================================================================== */
.btn-gold {
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--gold) 100%);
    color: var(--deep-green) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--light-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, #f0d588 0%, #d4af37 100%);
    color: #032b1c !important;
}

.btn-emerald {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--deep-green) 100%);
    color: var(--ivory) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid var(--gold);
    box-shadow: 0 4px 15px rgba(6, 69, 45, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-emerald:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 69, 45, 0.4);
    background: linear-gradient(135deg, var(--luxury-green) 0%, var(--deep-green) 100%);
    color: var(--white) !important;
    border-color: var(--light-gold);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold) !important;
    border: 1.5px solid var(--gold);
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--deep-green) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-lg {
    padding: 14px 34px !important;
    font-size: 1.05rem !important;
}

.btn-sm {
    padding: 7px 16px !important;
    font-size: 0.85rem !important;
}

/* ==========================================================================
   HERO BANNER - HOMEPAGE
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 85px 0 100px;
    overflow: hidden;
    background: linear-gradient(135deg, #043321 0%, #06452D 45%, #0B5D3B 100%);
    color: var(--ivory);
}

.hero-bismillah {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    color: var(--light-gold);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.18;
    margin-bottom: 22px;
}

.hero-title span {
    color: var(--light-gold);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.hero-desc {
    font-size: 1.12rem;
    color: rgba(255, 249, 237, 0.9);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gold);
    font-size: 1.15rem;
}

.hero-stat-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

.hero-stat-text span {
    font-size: 0.8rem;
    color: rgba(255, 249, 237, 0.75);
}

/* Hero Right Decorative Graphic Card */
.hero-badge-card {
    background: rgba(6, 69, 45, 0.85);
    border: 2px solid var(--gold);
    border-radius: var(--radius-arch);
    padding: 38px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 25px rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    position: relative;
}

.hero-badge-card::before {
    content: '۞';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--deep-green);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-logo-center {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    margin: 0 auto 20px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.hero-card-list {
    text-align: left;
    margin: 22px 0;
    list-style: none;
    padding: 0;
}

.hero-card-list li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.25);
    font-size: 0.92rem;
    color: var(--cream);
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-card-list li i {
    color: var(--gold);
}

/* ==========================================================================
   INNER PAGE HERO BANNER
   ========================================================================== */
.inner-hero {
    background: linear-gradient(135deg, #043321 0%, #06452D 60%, #0B5D3B 100%);
    color: var(--ivory);
    padding: 65px 0 70px;
    position: relative;
    text-align: center;
    overflow: hidden;
    border-bottom: 3px solid var(--gold);
}

.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 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='%23D4AF37' fill-opacity='0.07' fill-rule='evenodd'%3E%3Cpath d='M30 0l15 15-15 15-15-15L30 0zm0 30l15 15-15 15-15-15L30 30zM0 30l15 15L0 60l-15-15L0 30zm60 0l15 15-15 15-15-15L60 30z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.inner-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.inner-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 249, 237, 0.85);
    max-width: 650px;
    margin: 0 auto 20px;
}

.breadcrumb-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
}

.breadcrumb-custom a {
    color: var(--light-gold);
}

.breadcrumb-custom span {
    color: rgba(255, 249, 237, 0.6);
}

.breadcrumb-custom .active {
    color: var(--white);
    font-weight: 600;
}

/* ==========================================================================
   CARDS & GRID STYLES (NO IMAGE DEPENDENCY FOR COURSES)
   ========================================================================== */
.card-luxury {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(212, 175, 55, 0.25);
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--primary-green), var(--gold));
    opacity: 0.8;
    transition: var(--transition-base);
}

.card-luxury:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.card-luxury:hover::before {
    height: 6px;
    opacity: 1;
}

/* Course Card Specifics */
.course-card {
    padding: 30px 24px;
}

.course-icon-wrapper {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(11, 93, 59, 0.12) 100%);
    border: 1.5px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.75rem;
    margin-bottom: 20px;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.course-card:hover .course-icon-wrapper {
    background: var(--deep-green);
    color: var(--light-gold);
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 6px 20px rgba(6, 69, 45, 0.3);
}

.course-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--deep-green);
    margin-bottom: 12px;
}

.course-desc {
    font-size: 0.92rem;
    color: #4A6357;
    margin-bottom: 18px;
    flex-grow: 1;
}

.course-meta {
    background: var(--cream);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.83rem;
    color: var(--deep-green);
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.course-meta span {
    font-weight: 600;
    color: var(--primary-green);
}

/* Feature Box */
.feature-box {
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    border-color: var(--gold);
    background: #FFFCF5;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--deep-green) 0%, var(--primary-green) 100%);
    color: var(--light-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
    border: 1px solid var(--gold);
    box-shadow: 0 5px 15px rgba(6, 69, 45, 0.2);
}

/* Steps Box (How Classes Work) */
.step-card {
    background: var(--white);
    border: 1.5px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
    height: 100%;
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-card);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--deep-green);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   FOUNDER / INSTRUCTOR SPOTLIGHT
   ========================================================================== */
.founder-frame-wrapper {
    position: relative;
    display: inline-block;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--deep-green) 100%);
    border-radius: var(--radius-arch);
    box-shadow: 0 16px 40px rgba(6, 69, 45, 0.25);
}

.founder-img {
    width: 100%;
    max-width: 380px;
    height: 460px;
    object-fit: cover;
    border-radius: 35px 35px 12px 12px;
    border: 3px solid var(--ivory);
    display: block;
}

.founder-badge-float {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--deep-green);
    border: 2px solid var(--gold);
    color: var(--light-gold);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.founder-bio-card {
    background: var(--white);
    border: 1.5px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-card);
}

.founder-quote {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--deep-green);
    margin: 20px 0;
    font-size: 0.98rem;
}

/* ==========================================================================
   FORMS (ADMISSION & CONTACT)
   ========================================================================== */
.form-luxury {
    background: var(--white);
    border: 2px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg);
    padding: 42px 35px;
    box-shadow: var(--shadow-card);
}

.form-label {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--deep-green);
    margin-bottom: 6px;
}

.form-control, .form-select {
    border: 1.5px solid #D5DFDA;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--dark-text);
    background-color: var(--ivory);
    transition: var(--transition-base);
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-glow);
    background-color: var(--white);
    outline: none;
}

.form-help-text {
    font-size: 0.8rem;
    color: #6C8277;
    margin-top: 4px;
}

/* Info Box / Contact Sidebar */
.contact-info-card {
    background: linear-gradient(135deg, var(--deep-green) 0%, var(--primary-green) 100%);
    color: var(--ivory);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gold);
    padding: 38px 28px;
    box-shadow: var(--shadow-card);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 25px;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.18);
    border: 1px solid var(--gold);
    color: var(--light-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-content strong {
    display: block;
    font-size: 1.05rem;
    color: var(--light-gold);
    margin-bottom: 2px;
}

.contact-item-content p, .contact-item-content a {
    color: var(--cream);
    font-size: 0.95rem;
    margin: 0;
}

.contact-item-content a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.accordion-custom .accordion-item {
    background: var(--white);
    border: 1.5px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px !important;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-base);
}

.accordion-custom .accordion-item:hover {
    border-color: var(--gold);
}

.accordion-custom .accordion-button {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-green);
    background-color: var(--white);
    padding: 18px 24px;
    box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
    background-color: var(--cream);
    color: var(--deep-green);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.accordion-custom .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230B5D3B'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-custom .accordion-body {
    padding: 20px 24px;
    color: #385246;
    font-size: 0.96rem;
    line-height: 1.7;
    background-color: #FCFAF5;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (NO SOCIAL MEDIA ICONS)
   ========================================================================== */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 62px;
    height: 62px;
    background: #25D366;
    color: #FFFFFF !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    z-index: 1050;
    transition: var(--transition-base);
    text-decoration: none;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
    color: #FFFFFF !important;
}

/* Pulse animation */
.floating-whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0.7;
    animation: whatsappPulse 2.2s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.25);
        opacity: 0;
    }
    100% {
        transform: scale(0.95);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 74px;
    background: var(--deep-green);
    color: var(--light-gold);
    border: 1px solid var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0.95;
}

/* ==========================================================================
   FOOTER (DEEP EMERALD, GOLD HEADINGS, CREAM TEXT)
   ========================================================================== */
.academy-footer {
    background: var(--deep-green);
    color: var(--cream);
    border-top: 3px solid var(--gold);
    position: relative;
    padding-top: 65px;
}

.academy-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 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='%23D4AF37' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M30 0l15 15-15 15-15-15L30 0zm0 30l15 15-15 15-15-15L30 30zM0 30l15 15L0 60l-15-15L0 30zm60 0l15 15-15 15-15-15L60 30z'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--light-gold);
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gold);
}

.footer-desc {
    font-size: 0.92rem;
    color: rgba(246, 238, 220, 0.85);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(246, 238, 220, 0.88);
    font-size: 0.93rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--light-gold);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.93rem;
    color: rgba(246, 238, 220, 0.9);
}

.footer-contact-item i {
    color: var(--light-gold);
    font-size: 1.05rem;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 22px 0;
    margin-top: 50px;
    font-size: 0.88rem;
    color: rgba(246, 238, 220, 0.75);
    text-align: center;
}

/* ==========================================================================
   ANIMATIONS & SCROLL OBSERVER
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(-35px);
    transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}

.animate-fade-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(35px);
    transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}

.animate-fade-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.75s ease-out, transform 0.75s ease-out;
}

.animate-scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

/* ==========================================================================
   NOTIFICATION / ALERT TOAST
   ========================================================================== */
.custom-alert-toast {
    position: fixed;
    top: 25px;
    right: 25px;
    background: var(--deep-green);
    color: var(--ivory);
    border: 2px solid var(--gold);
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    transform: translateY(-50px);
    opacity: 0;
    transition: var(--transition-base);
}

.custom-alert-toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (320px to 1920px)
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .inner-hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .navbar-collapse {
        background: var(--ivory);
        border: 1px solid var(--gold);
        border-radius: 12px;
        padding: 18px;
        margin-top: 14px;
        box-shadow: 0 10px 30px rgba(6, 69, 45, 0.15);
    }
    .navbar-nav .nav-link {
        padding: 10px 14px !important;
        font-size: 1rem;
    }
    .founder-img {
        max-width: 320px;
        height: 380px;
        margin: 0 auto;
    }
    .form-luxury {
        padding: 30px 22px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 55px 0 70px;
    }
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-bismillah {
        font-size: 1.75rem;
    }
    .hero-desc {
        font-size: 0.98rem;
    }
    .inner-hero {
        padding: 45px 0 50px;
    }
    .inner-hero-title {
        font-size: 1.85rem;
    }
    .section-title {
        font-size: 1.75rem;
    }
    .section-header {
        margin-bottom: 2.5rem;
    }
    .navbar-logo-img {
        height: 46px;
        width: 46px;
    }
    .brand-title {
        font-size: 1.1rem;
    }
    .brand-tagline {
        font-size: 0.65rem;
    }
    .floating-whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 28px;
    }
    .whatsapp-tooltip {
        display: none;
    }
    .btn-lg {
        padding: 12px 24px !important;
        font-size: 0.96rem !important;
        width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    .section-title {
        font-size: 1.55rem;
    }
    .founder-bio-card {
        padding: 24px 18px;
    }
}

/* Founder Frame & Image Fixes */
.founder-frame-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px; /* Poster ko ek balanced portrait width dene ke liye */
    margin: 0 auto;
    background: transparent;
    padding-bottom: 30px; /* Badge ke liye space */
}

.founder-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
}

/* Floating Badge Styling */
.founder-badge-float {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a3b32;
    white-space: nowrap;
    border: 1px solid rgba(212, 175, 55, 0.3); /* Optional golden subtle border */
    z-index: 5;
}

/* Responsive adjustment for small screens */
@media (max-width: 576px) {
    .founder-badge-float {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
}

/* Founder Section Fixes */
.founder-frame-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px; /* Poster ki proper width maintain karne ke liye */
    margin: 0 auto;
    padding-bottom: 25px; /* Badge ke liye bottom space */
}

.founder-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
}

/* Floating Badge Styling */
.founder-badge-float {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    font-weight: 700;
    font-size: 0.85rem;
    color: #1a3b32;
    white-space: nowrap;
    border: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 5;
}

/* Responsive adjustment for mobiles */
@media (max-width: 576px) {
    .founder-badge-float {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* vediocss */

/* Hero Background Video Styles */
.hero-video-section {
    position: relative;
    overflow: hidden;
    background-color: #0c1f18;
    padding: 80px 0;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Light Overlay taake video saaf nazar aaye lekin text bhi parha ja sake */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 22, 17, 0.55); /* Is transparency ko adjust karke video mazeed bright ya dark ki ja sakti hai */
    z-index: 1;
}

/* Text readability ke liye halka shadow */
.hero-title, .hero-desc {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Right side card ka background aur shadow enhancement */
.hero-badge-card {
    background: rgba(12, 31, 24, 0.85); /* Semi-transparent dark emerald background */
    backdrop-filter: blur(8px);           /* Glassmorphism effect taake peeche ki video halki si blur ho kar dikhe */
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .hero-video-section {
        padding: 50px 0;
    }
}

/* fottervedio */

/* Footer Video Background Styles */
.footer-video-section {
    position: relative;
    overflow: hidden;
    background-color: #0c1f18; /* Fallback color */
    padding-top: 70px;
    padding-bottom: 20px;
}

.footer-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Footer Dark Overlay taake links aur text easily readable hon */
.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 22, 17, 0.85); /* Semi-transparent dark background overlay */
    z-index: 1;
}

/* Responsive adjustments for mobile */
@media (max-width: 991.98px) {
    .footer-video-section {
        padding-top: 50px;
    }
}