/* ============================================
   Al-Rehman Quranic Institute - Modern Stylesheet
   ============================================ */

:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #99f6e4;
    --secondary: #1e293b;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary), #06b6d4);
    --gradient-accent: linear-gradient(135deg, var(--accent), #f97316);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary);
    width: 100%;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
}

/* ============================================
   Typography
   ============================================ */

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    border: 1px solid rgba(13, 148, 136, 0.15);
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
    border-color: rgba(255, 255, 255, 0.15);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

/* ============================================
   Navbar
   ============================================ */

.navbar {
    padding: 15px 0;
    transition: var(--transition);
    background: transparent;
    z-index: 1200;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 70px);
}

.brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 18px;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    flex-shrink: 0;
}

.navbar.scrolled .navbar-brand {
    color: var(--secondary) !important;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
}

.brand-highlight {
    color: var(--accent);
    font-size: 0.8rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--secondary) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.btn-primary-custom {
    background: var(--gradient);
    color: var(--white);
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 148, 136, 0.4);
    color: var(--white);
}

.navbar-toggler {
    border: none;
    padding: 8px;
}

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

.navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-toggler-icon {
    filter: none;
}


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

.hero-section {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #134e4a 100%);
    overflow: hidden;
    min-height: 100vh;
}

.hero-copy {
    padding-top: 110px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-light);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-buttons {
    margin-bottom: 50px;
}

.hero-buttons .btn-outline-light {
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    border-width: 2px;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0;
}

.stat-number::after {
    content: '+';
}

.stat-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-promo-card {
    width: min(100%, 390px);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(12px);
    overflow: hidden;
    animation: float-promo 6s ease-in-out infinite;
}

.hero-promo-card img {
    width: 100%;
    display: block;
    border-radius: calc(var(--radius) - 4px);
}

@keyframes float-promo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.floating-badge {
    position: absolute;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    animation: float-badge 4s ease-in-out infinite;
}

.floating-badge i {
    color: var(--accent);
    margin-right: 6px;
}

.badge-1 {
    top: 8%;
    right: 0;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 10%;
    left: 0;
    animation-delay: 2s;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

.hero-wave path {
    fill: var(--light);
}

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

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: var(--radius);
    opacity: 0.1;
}

.about-card-visual {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-logo {
    width: 130px;
    display: block;
    margin: 0 auto 20px;
    background: var(--white);
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
}

.about-card-visual h3 {
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
}

.about-card-visual > p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.about-course-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.about-course-tags span {
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.12));
    border: 1px solid rgba(13, 148, 136, 0.16);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
}

.visual-verse {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), rgba(6, 182, 212, 0.05));
    padding: 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(13, 148, 136, 0.1);
}

.arabic-small {
    font-family: 'Amiri', serif;
    font-size: 1.4rem;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.visual-verse small {
    color: var(--gray);
    font-size: 0.8rem;
}

.section-desc {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-feature-item:hover {
    transform: translateX(5px);
}

.feature-icon-sm {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-sm i {
    font-size: 1.2rem;
    color: var(--white);
}

.about-feature-item h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.about-feature-item p {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* ============================================
   Courses Section
   ============================================ */

.course-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 1px solid transparent;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.1);
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.03), var(--white));
}

.course-card.featured::before {
    transform: scaleX(1);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.course-icon i {
    font-size: 1.6rem;
    color: var(--primary);
}

.course-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(13, 148, 136, 0.07);
    position: absolute;
    top: 15px;
    right: 20px;
}

.course-card.featured .course-number {
    right: auto;
    left: 20px;
}

.course-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-card p {
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.course-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.course-features li {
    padding: 4px 0;
    font-size: 0.85rem;
    color: var(--gray);
}

.course-features li i {
    color: var(--primary);
    margin-right: 6px;
    font-size: 0.8rem;
}

.btn-course {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0;
    transition: var(--transition);
}

.btn-course:hover {
    color: var(--primary-dark);
    gap: 8px;
}

.btn-course i {
    transition: var(--transition);
    margin-left: 4px;
}

.btn-course:hover i {
    transform: translateX(4px);
}

/* ============================================
   Features Section
   ============================================ */

.bg-dark-section {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    position: relative;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: rgba(13, 148, 136, 0.3);
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
    border-radius: 50%;
}

.feature-icon-box i {
    font-size: 1.5rem;
    color: var(--white);
}

.feature-card h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    margin-bottom: 0;
    line-height: 1.6;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13, 148, 136, 0.1);
}

.stars {
    margin-bottom: 15px;
}

.stars i {
    color: var(--accent);
    font-size: 0.9rem;
    margin-right: 2px;
}

.testimonial-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
}

.testimonial-author h6 {
    font-weight: 600;
    margin-bottom: 0;
}

.testimonial-author small {
    color: var(--gray);
    font-size: 0.8rem;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    background: var(--gradient);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.cta-section .btn-light {
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 35px;
    color: var(--primary);
    transition: var(--transition);
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

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

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.contact-info-item:last-of-type {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.contact-info-item h5 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item p {
    color: var(--gray);
    font-size: 0.88rem;
    text-decoration: none;
    margin-bottom: 0;
    transition: var(--transition);
}

.contact-info-item a:hover {
    color: var(--primary);
}

.contact-social {
    display: flex;
    gap: 10px;
    padding-top: 20px;
    flex-wrap: wrap;
}

.contact-social a {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    font-size: 1.1rem;
    text-decoration: none;
}

.contact-social a:hover {
    background: var(--gradient);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-quick-connect {
    margin-bottom: 28px;
    padding: 20px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(13, 148, 136, 0.12);
}

.quick-connect-label {
    margin-bottom: 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}

.quick-connect-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
    flex: 1 1 220px;
}

.quick-connect-btn-teams {
    background: #4f52ff;
    color: var(--white);
    box-shadow: 0 10px 24px rgba(79, 82, 255, 0.22);
}

.quick-connect-btn-whatsapp {
    background: #25d366;
    color: var(--white);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.2);
}

.quick-connect-btn:hover {
    transform: translateY(-2px);
    color: var(--white);
}

.form-control,
.form-select {
    padding: 12px 18px;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-label {
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--secondary);
    margin-bottom: 6px;
}

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

.footer {
    background: var(--dark);
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    padding: 8px;
    flex-shrink: 0;
}

.footer p {
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer h5 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links li {
    padding: 5px 0;
    font-size: 0.88rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0 20px;
}

.footer .text-center p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   WhatsApp Float
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: var(--white);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

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

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    color: var(--white);
}

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

@media (max-width: 991px) {
    .navbar {
        background: rgba(15, 23, 42, 0.92);
        backdrop-filter: blur(18px);
        box-shadow: 0 10px 35px rgba(15, 23, 42, 0.18);
        padding: 10px 0;
    }

    .navbar.scrolled {
        background: rgba(15, 23, 42, 0.92);
        padding: 10px 0;
    }

    .navbar.scrolled .navbar-brand {
        color: var(--white) !important;
    }

    .navbar.scrolled .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    .hero-section {
        min-height: auto;
        padding-top: 96px;
    }

    .hero-section .row {
        min-height: auto !important;
    }

    .hero-copy {
        padding-top: 0;
    }

    .navbar-brand {
        max-width: calc(100% - 60px);
    }

    .brand-logo {
        width: 56px;
        height: 56px;
    }

    .brand-text {
        font-size: 0.84rem;
    }

    .navbar-toggler {
        width: 46px;
        height: 46px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.08);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .navbar-toggler-icon {
        width: 1.3rem;
        height: 1.3rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 25px;
    }

    .hero-visual {
        height: auto;
        max-width: 420px;
        margin: 0 auto;
        padding: 30px 0 10px;
    }

    .navbar-collapse {
        background: var(--white);
        border-radius: var(--radius);
        padding: 20px;
        margin-top: 15px;
        box-shadow: var(--shadow-lg);
    }

    .navbar-collapse .nav-link {
        color: var(--secondary) !important;
        padding: 10px 15px !important;
    }

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

    .navbar-collapse .btn-primary-custom {
        display: inline-block;
        margin: 10px 15px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 88px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .floating-badge {
        font-size: 0.78rem;
        padding: 10px 16px;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-padding {
        padding: 70px 0;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .contact-form-card {
        padding: 25px;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding-top: 82px;
    }

    .navbar-brand {
        gap: 10px;
        max-width: calc(100% - 56px);
    }

    .brand-logo {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        padding: 5px;
    }

    .brand-text {
        font-size: 0.76rem;
        letter-spacing: 0.02em;
        line-height: 1;
        white-space: nowrap;
    }

    .brand-highlight {
        display: none;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-buttons .btn.me-3 {
        margin-right: 0 !important;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* newcourses */

/* Extra Course Styling */

.info-card{
    background:#fff;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    height:100%;
    transition:0.4s ease;
}

.info-card:hover{
    transform:translateY(-8px);
}

.info-icon{
    width:70px;
    height:70px;
    background:linear-gradient(135deg,#0d6efd,#198754);
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    margin-bottom:20px;
}

.info-icon i{
    font-size:30px;
    color:#fff;
}

.info-list{
    list-style:none;
    padding:0;
    margin-top:20px;
}

.info-list li{
    margin-bottom:12px;
    font-size:16px;
}

.info-list i{
    color:#198754;
    margin-right:8px;
}

.course-fee{
    background:#f8f9fa;
    border-radius:12px;
    padding:12px 15px;
    margin:20px 0;
    display:flex;
    flex-direction:column;
    gap:8px;
    font-size:15px;
}

.course-fee strong{
    color:#198754;
    font-size:18px;
}

.featured{
    border:2px solid #198754;
    position:relative;
}

.course-badge{
    position:absolute;
    top:15px;
    right:15px;
    background:#198754;
    color:#fff;
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

/* tiktok */

/* ===== TIKTOK POSTER SECTION ===== */

.tiktok-poster-section{
    width:100%;
    padding:90px 7%;
    background:
    linear-gradient(135deg,#050816,#0f172f,#12071f);
    overflow:hidden;
}

.poster-container{
    max-width:1400px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
    flex-wrap:wrap;
}

/* IMAGE SIDE */

.poster-image{
    flex:1;
    min-width:320px;
    text-align:center;
}

.poster-image img{
    width:100%;
    max-width:600px;
    border-radius:35px;
    border:4px solid rgba(255,255,255,0.08);
    box-shadow:
    0 0 25px rgba(255,0,98,.4),
    0 0 60px rgba(0,183,255,.2);
    transition:.5s;
}

.poster-image img:hover{
    transform:scale(1.03);
}

/* CONTENT SIDE */

.poster-content{
    flex:1;
    min-width:320px;
    color:#fff;
}

.poster-badge{
    display:inline-block;
    background:linear-gradient(45deg,#ff003c,#ff7300);
    padding:12px 28px;
    border-radius:50px;
    font-size:15px;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:25px;
    box-shadow:0 0 20px rgba(255,0,60,.5);
}

.poster-content h1{
    font-size:56px;
    line-height:1.1;
    margin-bottom:25px;
    font-weight:900;
    text-transform:uppercase;
}

.poster-content h1 span{
    color:#ff0055;
    text-shadow:0 0 20px #ff0055;
}

.poster-content p{
    font-size:18px;
    line-height:1.9;
    color:#d8d8d8;
    margin-bottom:35px;
}

/* TIMINGS */

.poster-timings{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    margin-bottom:35px;
}

.time-box{
    background:rgba(255,255,255,0.08);
    padding:18px 28px;
    border-radius:18px;
    font-size:22px;
    font-weight:700;
    border:1px solid rgba(255,255,255,0.08);
    transition:.4s;
}

.time-box:hover{
    transform:translateY(-6px);
    background:rgba(255,0,98,.15);
    border-color:#ff0055;
}

/* FEATURES */

.poster-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin-bottom:40px;
}

.feature-item{
    background:rgba(255,255,255,0.06);
    padding:18px 22px;
    border-radius:18px;
    font-size:18px;
    font-weight:600;
    border:1px solid rgba(255,255,255,0.06);
    transition:.4s;
}

.feature-item:hover{
    background:rgba(255,0,98,.12);
    border-color:#ff0055;
    transform:scale(1.03);
}

/* BUTTONS */

.poster-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:35px;
}

.tiktok-btn,
.website-btn{
    text-decoration:none;
    padding:18px 35px;
    border-radius:60px;
    font-size:18px;
    font-weight:700;
    transition:.4s;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.tiktok-btn{
    background:linear-gradient(45deg,#ff004f,#ff7300);
    color:#fff;
    box-shadow:0 0 25px rgba(255,0,98,.5);
}

.tiktok-btn:hover{
    transform:translateY(-5px);
    box-shadow:0 0 35px rgba(255,0,98,.8);
}

.website-btn{
    background:#fff;
    color:#111;
}

.website-btn:hover{
    background:#ffd000;
    transform:translateY(-5px);
}

/* LINK BOX */

.tiktok-link-box{
    background:rgba(255,255,255,0.06);
    padding:25px;
    border-radius:22px;
    border:1px solid rgba(255,255,255,0.08);
}

.tiktok-link-box h3{
    margin-bottom:15px;
    font-size:22px;
}

.tiktok-link-box a{
    color:#00d9ff;
    text-decoration:none;
    font-size:18px;
    word-break:break-word;
}

.tiktok-link-box a:hover{
    color:#fff;
}

/* RESPONSIVE */

@media(max-width:991px){

    .poster-container{
        flex-direction:column;
        text-align:center;
    }

    .poster-content h1{
        font-size:40px;
    }

    .poster-buttons{
        justify-content:center;
    }

    .poster-timings{
        justify-content:center;
    }

    .poster-features{
        grid-template-columns:1fr;
    }
}

@media(max-width:600px){

    .tiktok-poster-section{
        padding:70px 5%;
    }

    .poster-content h1{
        font-size:30px;
    }

    .poster-content p{
        font-size:16px;
    }

    .time-box{
        width:100%;
        font-size:18px;
    }

    .tiktok-btn,
    .website-btn{
        width:100%;
        font-size:16px;
    }
}