/* ============================================================
   VAULTIXAI — Complete Stylesheet
   Colors: Logo navy (#15283f) + teal (#08b6ad) on light surfaces
   ============================================================ */

/* Slider Styles (Merged from slider.css) */
.slider-section {
    padding: 2rem 0;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: auto;
}

.slider-container {
    display: flex;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slider-item {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-link {
    display: block;
    position: relative;
}

.slider-image {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex; /* Visible by default */
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

[data-theme="dark"] #page-loader {
    background: rgba(10, 15, 27, 0.8);
}

#page-loader .spinner {
    font-size: 0.1rem !important; /* تم تصغير حجم أيقونة الانتظار بشكل أكبر وتطبيق !important */
    color: var(--bs-accent); /* لضمان وضوح الأيقونة */
    position: relative;
    display: inline-block;
}

#page-loader .spinner::before,
#page-loader .spinner::after {
    content: '⚙️';
    position: absolute;
    top: 0;
    left: 0;
    width: 1em; /* إعادة إضافة width و height لضمان احتواء الأيقونة وتصغيرها بشكل صحيح */
    height: 1em;
    line-height: 1; /* لضمان عرض حرف الترس بشكل صحيح */
    animation: spin 2s linear infinite;
}

#page-loader .spinner::after {
    animation-direction: reverse;
    font-size: 0.5em;
    top: 0.25em;
    left: 0.25em;
}

:root {
    --bs-primary: #15283f;
    --bs-secondary: #234464;
    --bs-accent: #08b6ad;
    --bs-accent-light: #61d7d1;
    --bs-surface: #ffffff;
    --bs-surface-alt: #eef9fb;
    --bs-border: rgba(21, 40, 63, 0.12);
    --bs-shadow: 0 18px 50px rgba(21, 40, 63, 0.09);
    --text-primary: #132338;
    --text-secondary: #40566f;
    --text-muted: #66798f;
    --heading-color: #15283f;
    --bg-primary: #ffffff;
    --bg-secondary: #f2fbfc;
    --topbar-bg: linear-gradient(90deg, #e9fbfd 0%, #f7ffff 55%, #eaf4fb 100%);
    --navbar-bg: rgba(255, 255, 255, 0.96);
}

[data-theme="dark"] {
    --bs-primary: #08b6ad;
    --bs-secondary: #61d7d1;
    --bs-accent: #f0b429; /* Gold accent for dark mode */
    --bs-accent-light: #f5d06e;
    --bs-surface: #131829;
    --bs-surface-alt: #0a0f1b;
    --bs-border: rgba(13, 182, 173, 0.25);
    --bs-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
    --text-primary: #e8eef7;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --heading-color: #f1f5f9;
    --bg-primary: #0a0f1b;
    --bg-secondary: #131829;
    --topbar-bg: linear-gradient(90deg, #000000 0%, #0a0f1b 60%, #141d2f 100%);
    --navbar-bg: rgba(5, 8, 15, 0.96);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Cairo', 'Inter', sans-serif;
    background: radial-gradient(circle at top left, rgba(8,182,173,0.1), transparent 30%),
                linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 44%, var(--bg-primary) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[dir="ltr"] body {
    font-family: 'Inter', 'Cairo', sans-serif;
}


/* Top Info Bar */
.topinfo-bar {
    background: var(--bs-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 7px 0;
    font-size: 0.85rem;
    color: #ffffff;
}

.topinfo-bar .container > .d-flex {
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}       

.topinfo-bar a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.topinfo-bar a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.topinfo-bar .text-white-50 {
    color: #ffffff !important;
}

.topinfo-whatsapp {
    color: #047d77 !important;
    padding: 4px 12px;
    border: 1px solid rgba(8, 182, 173, 0.24);
    border-radius: 20px;
    font-weight: 600;
    background: rgba(8, 182, 173, 0.08);
}

.topinfo-whatsapp:hover {
    background: rgba(8, 182, 173, 0.14);
}

.topinfo-lang-btn {
    background: linear-gradient(135deg, rgba(8, 182, 173, 0.12), rgba(97, 215, 209, 0.2));
    color: var(--bs-primary) !important;
    border: 1.5px solid rgba(8, 182, 173, 0.28);
    border-radius: 999px;
    padding: 7px 16px;
    font-weight: 800;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(8, 182, 173, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.topinfo-lang-btn:hover {
    background: linear-gradient(135deg, var(--bs-accent), var(--bs-accent-light));
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(8, 182, 173, 0.24);
}

/* Navbar */
.navbar-custom {
    background: var(--navbar-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(8, 182, 173, 0.2);
    box-shadow: 0 12px 32px rgba(21, 40, 63, 0.08);
    padding: 0;
}

.navbar-brand img {
    width: 75px;
    height: auto;
    max-width: 42vw;
    display: block;
    object-fit: contain;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--bs-primary);
    font-weight: 700;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--bs-accent);
    background-color: transparent;
}

.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-accent);
    border-bottom-color: var(--bs-accent);
    background-color: transparent;
}

.navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link:hover {
    box-shadow: none;
}

.lang-switcher-btn {
    background: linear-gradient(135deg, rgba(8, 182, 173, 0.12), rgba(97, 215, 209, 0.2));
    color: var(--bs-primary) !important;
    border: 1.5px solid rgba(8, 182, 173, 0.28);
    border-radius: 999px;
    padding: 1px 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(8, 182, 173, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.lang-switcher-btn:hover {
    background: linear-gradient(135deg, var(--bs-accent), var(--bs-accent-light));
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(8, 182, 173, 0.24);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: linear-gradient(135deg, rgba(8, 182, 173, 0.12), rgba(97, 215, 209, 0.2));
    border: 1.5px solid rgba(8, 182, 173, 0.28);
    color: var(--bs-primary);
    border-radius: 999px;
    padding: 1px 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(8, 182, 173, 0.1);
}

.theme-toggle-btn:hover {
    background: linear-gradient(135deg, var(--bs-accent), var(--bs-accent-light));
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(8, 182, 173, 0.24);
}

.theme-toggle-btn:active {
    transform: scale(0.95);
}

/* Hero Section */
.hero-section-slider {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    border-bottom: 1px solid rgba(8, 182, 173, 0.22);
}

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 120% 100%;
    background-position: top left;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    border: 4px solid rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.3);
    padding: 100px 0;
    /* جعل الزاوية السفلية اليسرى مدورة فقط */
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 60px;
    border-bottom-left-radius: 0px; /* يمكنك تعديل هذه القيمة حسب الحاجة */
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    animation: ken-burns-pan 10s ease-out forwards;
}

.element-single-corner {
    border-bottom-left-radius: 25px; /* تدوير الزاوية السفلية اليسرى فقط */
    background-color: lightblue;
    width: 100px;
    height: 100px;
}


.hero-slide-overlay {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(21, 40, 63, 0.7) 0%, rgba(21, 40, 63, 0.2) 60%, rgba(21, 40, 63, 0.0) 100%);
    pointer-events: none;
    z-index: 2;
}

[dir="rtl"] .hero-slide-overlay {
    background: linear-gradient(-90deg, rgba(21, 40, 63, 0.85) 0%, rgba(21, 40, 63, 0.4) 60%, rgba(21, 40, 63, 0.1) 100%);
}
.hero-slide .container {
    position: relative;
    z-index: 3;
}

.hero-slide-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    color: #ffffff;
}

.hero-slide-description {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    margin-bottom: 2rem;
    max-width: 680px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
}

@keyframes ken-burns-pan {
    100% {
        background-position: bottom right;
    }
}
/* Hero Slider Text Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-slide.active .hero-slide-title {
    animation: slideInFromLeft 0.8s ease-out 0.4s both;
}
.hero-slide.active .hero-slide-description {
    animation: slideInFromLeft 0.8s ease-out 0.7s both;
}
.hero-slide.active .btn-hero {
    animation: slideInFromLeft 0.8s ease-out 1s both;
}


.btn-hero {
    background: linear-gradient(135deg, var(--bs-primary), #1f5f80 52%, var(--bs-accent));
    color: #ffffff;
    border: none;
    padding: 16px 42px;
    font-weight: 700;
    border-radius: 999px;
    transition: all 0.3s ease;
    box-shadow: 0 16px 40px rgba(8, 182, 173, 0.22);
}

.btn-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(8, 182, 173, 0.28);
    color: #ffffff;
}

/* Section Divider */
.section-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--bs-border), rgba(0, 0, 0, 0));
    margin: 0 auto 4.5rem;
    max-width: 500px;
}


/* Section Headers */
.section-title {
    color: var(--heading-color);
    text-align: center;
}

.text-muted {
    color: var(--text-muted) !important;
}

section .container {
    max-width: 1180px;
    margin-inline: auto;
}

.py-lg-6 {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.section-shell {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(15, 32, 68, 0.08);
}

/* Service Cards */
.service-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    transition: all 0.35s ease;
    box-shadow: 0 18px 40px rgba(15, 32, 68, 0.08);
    overflow: hidden;
    background-color: var(--bs-surface);
}

.service-card-image {
    height: 180px;
    background-size: 100% 100%; /* Stretch the image */
    background-position: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 55px rgba(15,32,68,0.12);
}
.service-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    flex-grow: 1;
}

.service-card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bs-border);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.stat-item {
    background: var(--bs-surface);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--bs-border);
    box-shadow: var(--bs-shadow);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 55px rgba(15,32,68,0.12);
}

.stat-number {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: var(--bs-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--heading-color);
}

/* Explore Section */
.explore-card {
    background: var(--bs-surface);
    border-radius: 24px;
    padding: 2rem;
    border: 1px solid var(--bs-border);
    box-shadow: var(--bs-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.3s ease;
}

.explore-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 55px rgba(15,32,68,0.12);
    border-color: var(--bs-accent);
}

.explore-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--bs-accent);
}

.explore-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 0.75rem;
}

.explore-card-desc {
    color: var(--text-secondary);
    line-height: 1.8;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}


/* About Cards */
.about-card {
    background: var(--bs-surface);
    border-radius: 22px;
    padding: 1.8rem;
    border-left: 1px solid rgba(15, 32, 68, 0.08);
    box-shadow: 0 16px 36px rgba(15, 32, 68, 0.06);
}

[dir="ltr"] .about-card {
    border-left: none;
    border-right: 1px solid rgba(15, 32, 68, 0.08);
}

.about-card-gold {
    background: var(--bg-secondary);
    border-left-color: rgba(8,182,173,0.3);
}

[dir="ltr"] .about-card-gold {
    border-left: none;
    border-right: 1px solid rgba(8,182,173,0.3);
}

.about-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 0.85rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Contact Map Section */
.contact-map-section {
    filter: grayscale(1) invert(0.9) contrast(0.9);
}

/* Contact Section */
.contact-info-card {
    background: var(--bs-surface);
    color: var(--text-primary);
    border-radius: 28px;
    padding: 2.4rem;
    border: 1px solid rgba(8, 182, 173, 0.18);
    box-shadow: 0 24px 60px rgba(21,40,63,0.1);
}

.contact-info-card h3 {
    color: var(--heading-color);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    letter-spacing: 0.01em;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.info-item:hover .icon {
    background-color: var(--bs-accent);
    color: #fff;
}

.info-item .icon {
    width: 52px;
    height: 52px;
    background: var(--bg-secondary);
    border: 1px solid rgba(8,182,173,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item strong {
    color: var(--heading-color);
    font-size: 0.98rem;
    display: block;
    margin-bottom: 0.3rem;
}

.info-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--bs-accent);
}

/* Contact Form */
.contact-form-card {
    background: var(--bs-surface);
    border-radius: 28px;
    padding: 2.2rem;
    box-shadow: 0 28px 65px rgba(15,32,68,0.12);
    border: 1px solid rgba(15,32,68,0.06);
}

.contact-form-card h3 {
    color: var(--heading-color);
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
}

.form-control-custom {
    border: 1.5px solid #dbeafe;
    border-radius: 16px;
    padding: 16px 18px;
    transition: all 0.3s ease;    
    background: var(--bg-secondary);
}

.form-control-custom:focus {
    border-color: var(--bs-accent);
    box-shadow: 0 0 0 4px rgba(8, 182, 173, 0.16);
    background: var(--bs-surface);
}

.form-label-custom {
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 0.65rem;
}

.btn-submit {
    background: linear-gradient(135deg, var(--bs-accent), var(--bs-accent-light));
    color: var(--bs-primary);
    border: none;
    padding: 16px 28px;
    font-weight: 700;
    border-radius: 999px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(8, 182, 173, 0.24);
    color: #ffffff;
}

/* Footer */
.footer-custom {
    background-color: #0a0f1b;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4.5rem;
    border-top: 4px solid var(--bs-primary);
}

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

.footer-description {
    max-width: 300px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
}

.newsletter-form {
    position: relative;
}

.newsletter-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
    padding-right: 100px;
}

.newsletter-input::placeholder { color: rgba(255, 255, 255, 0.5); }

.newsletter-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    bottom: 5px;
    background-color: var(--bs-accent);
    color: #fff;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 40px;
    height: 3px;
    background-color: var(--bs-accent);
    border-radius: 2px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider-container, .hero-slide, .hero-section-slider {
        min-height: 350px;
        padding: 60px 0;
    }

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

@media (max-width: 576px) {
    .topinfo-bar {
        padding-top: 4px;
        padding-bottom: 4px;
        font-size: 0.75rem;
    }
    .navbar-custom .container {
        padding-top: 4px;
        padding-bottom: 4px;
    }
    .navbar-brand img {
        width: 60px; /* Slimmer logo on mobile */
    }
    .topinfo-bar {
        text-align: center;
    }
    .topinfo-bar .container > .d-flex {
        justify-content: center;
    }
    .hero-slider-container, .hero-slide, .hero-section-slider {
        min-height: 350px;
        padding: 40px 0;
    }
    
    .hero-slide-title {
        font-size: 1.75rem;
    }

    .navbar-light .navbar-nav .nav-link {
        padding-left: 8px;
        padding-right: 8px;
    }
    .lang-switcher-btn {
        padding: 1px 8px;
    }
}

/* Certifications Page Styles */
.page-header {
    background: linear-gradient(135deg, rgba(21, 40, 63, 0.95), rgba(8, 182, 173, 0.85)), url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?q=80&w=1770&auto=format&fit=crop') center/cover no-repeat;
    border-bottom: 2px solid var(--bs-accent);
}

.page-header h1, .page-header p {
    animation: page-header-fade-in 0.8s ease-out both;
}

.page-header p {
    animation-delay: 0.2s;
}

@keyframes page-header-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}


.page-header-stat {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.page-header-stat .count {
    font-weight: 800;
    font-size: 1.2em;
    margin-inline-start: 5px;
}

.certification-card {
    position: relative;
    display: block; /* Use block for the <a> tag */
    border-radius: 24px;
    min-height: 350px;
    transition: all 0.35s ease;
    box-shadow: 0 18px 40px rgba(15, 32, 68, 0.08);
    overflow: hidden;
    background-size: 100% 100%; /* Stretch the image */
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    text-decoration: none;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 55px rgba(15,32,68,0.12);
}

.certification-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.0) 70%);
    z-index: 1;
    transition: background 0.3s ease;
}

.certification-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}

.certification-card:hover::before {
    background: linear-gradient(to top, rgba(8, 182, 173, 0.85) 0%, rgba(0, 0, 0, 0.1) 80%);
}

.certification-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.certification-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.slider-control:hover {
    background-color: var(--bs-primary);
}

.hero-slider-prev, .slider-prev {
    left: 20px;
}

.hero-slider-next, .slider-next {
    right: 20px;
}

/* Scroll to Top/Bottom Button */
#scroll-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--bs-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

#scroll-btn.visible {
    opacity: 1;
    visibility: visible;
}

/* Welcome Modal */
.welcome-modal-content {
    background-color: var(--bs-surface);
    border-radius: 16px;
    border: 1px solid var(--bs-border);
    box-shadow: var(--bs-shadow);
}

.welcome-dialog-card {
    display: block;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--bs-border);
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.welcome-dialog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bs-shadow);
    border-color: var(--bs-accent);
}

.welcome-dialog-card .dialog-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.welcome-dialog-card h3 {
    color: var(--heading-color);
    font-weight: 700;
}
