/* ==============================================
    Global Styles & Variables
==============================================
*/
:root {
    --primary-blue: #2B338C;
    --primary-gold: #DB9B48;
    --light-bg: #F7F7FA;
    --white-color: #FFFFFF;
    --dark-text: #333333;
    --shadow-color: rgba(0, 0, 0, 0.08);
}

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

img,
picture,
video,
canvas,
svg {
    -webkit-user-drag: none;
    user-select: none;
}

.screenshot-shield {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 99999;
}

.screenshot-shield.is-visible {
    opacity: 1;
}

body {
    font-family: 'Almarai', sans-serif;
    background-color: var(--white-color);
    color: var(--dark-text);
    text-rendering: optimizeLegibility;
}

.site-preloader {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    background-color: var(--white-color);
    z-index: 2000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.site-preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    color: var(--white-color);
}

.preloader-logo {
    width: clamp(96px, 28vw, 140px);
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.2));
}

.preloader-spinner {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.25);
    border-top-color: var(--primary-gold);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==============================================
    Navigation Bar Section
==============================================
*/
.navigation-bar-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding-top: 20px;
    transition: box-shadow 0.3s ease-in-out;
}

.navigation-bar-section.scrolled .nav-desktop,
.navigation-bar-section.scrolled .nav-mobile {
    box-shadow: 0 4px 12px var(--shadow-color);
}


/* --- Desktop Navigation --- */
.nav-desktop {
    display: none; /* Hidden by default, shown via media query */
    align-items: center;
    justify-content: space-between;
    background-color: var(--light-bg);
    border-radius: 50px;
    padding: 10px 20px;
    margin: 0 16px;
}

.nav-desktop .logo {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-size: 15px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a:hover {
    background-color: rgba(219, 155, 72, 0.1);
}

.dropdown-toggle .fa-chevron-down {
    font-size: 14px;
    color: var(--primary-gold);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--light-bg);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    list-style: none;
    padding: 8px;
    min-width: 200px;
    z-index: 100;
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown.open .dropdown-menu,
.dropdown-menu:hover {
    display: block;
    opacity: 1;
    transform: translateY(6px);
}

.dropdown-menu a {
    padding: 12px 16px;
    font-size: 15px;
    white-space: nowrap;
}


/* --- Mobile Navigation --- */
.nav-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--light-bg);
    border-radius: 36px;
    margin: 0 12px;
    padding: 4px 16px;
    height: 52px;
}

.nav-mobile .logo-mobile {
    height: 28px;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--dark-text);
}


/* --- Mobile Drawer --- */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: var(--light-bg);
    z-index: 1002;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    text-align: left;
    margin-bottom: 16px;
}

.close-drawer {
    background: none;
    border: none;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    color: #888;
}

.drawer-links {
    list-style: none;
    flex-grow: 1;
}

.drawer-links li {
    padding: 6px 0;
}

.drawer-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 500;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.drawer-links a:hover {
    background-color: rgba(219, 155, 72, 0.15);
}

.drawer-links .fas {
    font-size: 20px;
    color: var(--primary-gold);
    width: 24px; /* For alignment */
    text-align: center;
}

.drawer-dropdown-menu {
    list-style: none;
    padding-right: 40px; /* Indent sub-items */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.drawer-dropdown-menu.open {
    max-height: 200px; /* Adjust as needed */
}

.drawer-dropdown-toggle .arrow {
    margin-right: auto;
    transition: transform 0.3s ease;
}

.drawer-dropdown-toggle.open .arrow {
    transform: rotate(180deg);
}


/* Shared "Book Now" Button */
.book-now-btn {
    background-color: var(--primary-blue);
    color: var(--white-color);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s ease;
    display: inline-block;
    text-align: center;
}

.book-now-btn:hover {
    background-color: #1f266a;
}

.drawer-footer {
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

/* Overlay for Drawer */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.overlay.visible {
    opacity: 1;
    visibility: visible;
}


/* ==============================================
    Responsive Media Queries
==============================================
*/
@media (min-width: 900px) {
    .nav-desktop {
        display: flex;
    }
    .nav-mobile {
        display: none;
    }
}

/* ==============================================
    Hero Section
==============================================
*/
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.hero-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    transition: background 0.3s ease;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center left;
    display: block;
    transition: object-position 0.3s ease;
}

.hero-content {
    flex-grow: 1;
    display: flex;
    align-items: right;
    padding-top: 150px; /* Extra space below navigation */
    padding-bottom: 20px;
}

.hero-content .container {
    margin-inline-start: 0;
    margin-inline-end: auto;
    padding-inline-start: clamp(88px, 9vw, 240px);
    padding-inline-end: clamp(80px, 10vw, 220px);
}

.hero-text {
    max-width: 600px;
    text-align: right;
    margin-inline-end: auto;
}

.hero-text h1 {
    font-size: clamp(2.2rem, 5vw, 3.2rem); /* Responsive font size */
    font-weight: 800;
    color: var(--white-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--white-color);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 90%;
}

.hero-formula {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    color: var(--white-color);
    font-weight: 600;
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
}

.btn {
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-gold);
    color: var(--white-color);
}
.btn-primary:hover {
    background-color: #c88a3a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}
.btn-secondary:hover {
    background-color: var(--white-color);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* --- Hero Logos --- */
.hero-logos {
    width: 100%;
    padding: 50px 0;
    overflow: hidden;
    position: relative;
    /* This creates the fade effect on the edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: clamp(32px, 6vw, 64px);
    width: max-content;
    animation: hero-logos-scroll var(--logos-scroll-duration, 48s) linear infinite;
    animation-play-state: running;
    will-change: transform;
}

.logos-track.is-paused {
    animation-play-state: paused;
}

.hero-logos:hover .logos-track.is-ready {
    animation-play-state: paused;
}

.logos-track img {
    height: clamp(32px, 5vw, 52px);
    opacity: 0.9;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logos-track img:hover,
.logos-track img:focus-visible {
    transform: scale(1.05);
    opacity: 1;
}

@keyframes hero-logos-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .hero-logos {
        padding: 36px 0;
    }
    .logos-track {
        gap: clamp(24px, 9vw, 40px);
    }
    .logos-track img {
        height: clamp(28px, 8vw, 40px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .logos-track {
        animation: none;
        transform: none;
    }
}


/* --- Responsive for Mobile --- */
@media (max-width: 800px) {
    .hero-section {
        background-color: transparent;
        min-height: auto; /* Let content define height */
    }

    .hero-background {
        top: 0;
        opacity: 1;
    }
    
    .hero-background::after {
        background: linear-gradient(rgba(43, 51, 140, 0.5), rgba(43, 51, 140, 0.5));
    }
    
    .hero-content .container {
        margin: 0 auto;
        padding-inline: 1rem;
    }

    .hero-text {
        max-width: 100%;
        text-align: right;
        margin-top: 1.5rem;
    }
}

/* ==============================================
    Stats Section
==============================================
*/
.stats-section {
    padding: 60px 0;
    background-color: var(--white-color);
}

/* --- Social Links --- */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    margin-bottom: 60px;
}

.social-links a {
    color: var(--primary-blue);
    font-size: clamp(24px, 4vw, 32px);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-gold);
    transform: scale(1.1);
}

/* --- Stats Cards --- */
.stats-cards-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 24px;
    justify-content: center;
}

.stat-card {
    background-color: #FDFDFD;
    background-image: url('../assets/images/stat_bg/dots_bg.webp');
    background-repeat: repeat;
    border-radius: 32px;
    padding: clamp(24px, 5vw, 32px) 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.card-icon {
    font-size: clamp(32px, 6vw, 40px);
    color: var(--primary-gold);
}

.stat-number {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: clamp(36px, 7vw, 45px);
    direction: ltr; /* To keep suffix on the left */
}

.stat-label {
    color: var(--primary-blue);
    font-size: clamp(15px, 3vw, 17px);
    font-weight: 500;
    max-width: 220px;
}

@media (max-width: 900px) {
    .stats-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 600px) {
    .stats-section {
        padding: 40px 0;
    }
    .social-links {
        gap: 20px;
        margin-bottom: 40px;
    }
    .stats-cards-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

    .stat-card {
        padding: 18px 12px;
        border-radius: 20px;
        gap: 12px;
    }

    .card-icon {
        font-size: 28px;
    }

    .stat-number {
        font-size: clamp(20px, 5.2vw, 24px);
    }

    .stat-label {
        font-size: clamp(12px, 3.2vw, 13px);
    }
}

/* ==============================================
    Recorded Courses Section
==============================================
*/
.courses-section {
    padding: 60px 0;
    background-color: var(--white-color);
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 60px;
}

.courses-carousel-container {
    position: relative;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-gold);
    box-shadow: 0 12px 24px rgba(219, 155, 72, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    z-index: 5;
}

.carousel-button::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border: solid var(--white-color);
    border-width: 0 3px 3px 0;
    transform-origin: center;
}

.carousel-button-next {
    right: -28px;
}

.carousel-button-next::before {
    transform: rotate(-45deg);
}

.carousel-button-prev {
    left: -28px;
}

.carousel-button-prev::before {
    transform: rotate(135deg);
}

.carousel-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 18px 32px rgba(219, 155, 72, 0.35);
}

.carousel-button:focus-visible {
    outline: 2px solid var(--white-color);
    outline-offset: 4px;
}

.carousel-button.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
    box-shadow: none;
}

@media (max-width: 768px) {
    .carousel-button {
        width: 48px;
        height: 48px;
    }
    .carousel-button-next {
        right: 12px;
    }
    .carousel-button-prev {
        left: 12px;
    }
}

@media (max-width: 480px) {
    .carousel-button {
        width: 42px;
        height: 42px;
    }
    .carousel-button-next {
        right: 16px;
    }
    .carousel-button-prev {
        left: 16px;
    }
}

.courses-swiper {
    width: 100%;
    padding: 20px 0 40px 0 !important; /* To make space for shadow and scaling */
}

.swiper-slide {
    width: clamp(260px, 28vw, 380px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
    transform: scale(0.85);
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

.course-card {
    background-color: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transform: translateX(100%); /* Initial state for animation */
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards have same height */
}

.course-card.animated {
    transform: translateX(0);
    opacity: 1;
}

.card-image-container {
    position: relative;
    cursor: pointer;
}

.card-image {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9; /* Professional Aspect Ratio */
    object-fit: cover; /* Ensures image fills the space without distortion */
}

.price-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #F46659;
    color: var(--white-color);
    padding: 8px 12px;
    border-radius: 30px;
    font-size: 14px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.old-price { text-decoration: 
    line-through; opacity: .8; }


.new-price {
    font-weight: 700;
    font-size: 16px;
}

.soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
    font-size: 48px;
    font-weight: 800;
}

.card-content {
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows this to take up remaining space */
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    min-height: 44px; /* To prevent layout shift */
    margin-bottom: 16px;
    flex-grow: 1; /* Pushes buttons to the bottom */
}

.card-buttons {
    display: flex;
    justify-content: center;
   gap: 10px;
    flex-wrap: wrap;
    margin-top: auto; /* Pushes buttons to the bottom */
}

@media (max-width: 600px) {
    .card-buttons {
        flex-wrap: nowrap;
        gap: 8px;
    }
    .card-buttons .btn {
        flex: 1 1 auto;
        padding: 10px 14px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* تمت إزالة أزرار التنقل لقسم الدورات نهائياً */

/* --- Lightbox --- */
.lightbox {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.lightbox.visible {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: clamp(12px, 3vw, 24px);
    inset-inline-end: clamp(12px, 3vw, 24px);
    color: #f1f1f1;
    background: rgba(0, 0, 0, 0.45);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2;
}

.lightbox-close:hover {
    background: var(--primary-gold);
    color: var(--white-color);
}

.card-image-container .service-top-title,
.card-image-container .soon-overlay {
    pointer-events: none;
}

.lightbox-shell {
    position: relative;
    width: min(960px, 94vw);
    max-height: 88vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(12px, 2.6vw, 28px);
}

.lightbox-figure {
    position: relative;
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: clamp(18px, 3vw, 26px);
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.12), transparent 55%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.lightbox.visible .lightbox-figure::after {
    opacity: 1;
}

#lightbox-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    border-radius: clamp(18px, 3vw, 26px);
    box-shadow: 0 32px 70px rgba(12, 21, 45, 0.55);
    background: #0f172a;
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.94); opacity: 0.4; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    background: var(--primary-gold);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 30px rgba(250, 176, 64, 0.35);
}

.lightbox-nav:focus-visible {
    outline: none;
}

.lightbox-prev {
    right: clamp(6px, 3vw, 20px);
}

.lightbox-next {
    left: clamp(6px, 3vw, 20px);
}

.lightbox-nav.is-hidden {
    display: none;
}

.lightbox-meta,
.lightbox-actions {
    position: absolute;
    inset-inline: clamp(14px, 4vw, 32px);
    display: flex;
    justify-content: center;
    gap: 14px;
    text-align: center;
}

.lightbox-meta {
    top: clamp(14px, 4vw, 32px);
    pointer-events: none;
}

.lightbox-meta[data-type="service"],
.lightbox-meta[data-type="soon"] {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    inset-inline: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.lightbox-meta[data-type="service"] > *,
.lightbox-meta[data-type="soon"] > * {
    pointer-events: none;
}

.lightbox-meta > * {
    pointer-events: auto;
}

.lightbox-actions {
    bottom: clamp(24px, 7vw, 42px);
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: clamp(12px, 4vw, 18px);
    justify-content: center;
}

.lightbox-meta.is-hidden,
.lightbox-actions.is-hidden {
    display: none;
}

.lightbox .price-badge {
    background: #F46659;
    color: var(--white-color);
    font-size: clamp(14px, 3vw, 17px);
    border-radius: 999px;
    padding: clamp(8px, 3vw, 12px) clamp(14px, 4vw, 20px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lightbox .service-top-title,
.lightbox .soon-overlay {
    position: static;
    inset: auto;
    padding: 0;
    width: auto;
    height: auto;
    background: none;
    color: var(--white-color);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 90%;
}

.lightbox .price-badge {
    background: linear-gradient(135deg, rgba(244, 102, 89, 0.92), rgba(250, 176, 64, 0.92));
    color: var(--white-color);
    font-size: clamp(15px, 3.2vw, 18px);
    border-radius: 999px;
}

.lightbox .card-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 3vw, 18px);
    flex-wrap: wrap;
    width: 100%;
    pointer-events: auto;
}

.lightbox .card-buttons .btn {
    min-width: clamp(150px, 28vw, 210px);
    padding: clamp(10px, 2.6vw, 14px) clamp(18px, 5vw, 28px);
    font-size: clamp(15px, 3vw, 17px);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(112, 119, 160, 0.28);
}

.lightbox .card-buttons .btn-primary {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-orange, #f8b84d));
    color: var(--white-color);
    border: none;
}

.lightbox .card-buttons .btn-secondary {
    border-width: 2px;
}

@media (max-width: 720px) {
    .lightbox-shell {
        width: 100%;
        max-height: 100%;
        padding: 48px 16px 32px;
    }
    #lightbox-img {
        max-height: 70vh;
    }
    .lightbox-nav {
        width: 46px;
        height: 46px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }
    .lightbox-prev { right: 24px; }
    .lightbox-next { left: 24px; }
    .lightbox-figure {
        flex-direction: column;
        align-items: center;
    }
    .lightbox-actions {
        position: static;
        inset: auto;
        width: 100%;
        margin-top: clamp(18px, 6vw, 28px);
        padding: 0 clamp(16px, 6vw, 24px);
        gap: clamp(10px, 4vw, 16px);
    }
    .lightbox .card-buttons {
        width: 100%;
        justify-content: center;
    }
    .lightbox .card-buttons .btn {
        width: 100%;
        max-width: 320px;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .lightbox-meta,
    .lightbox-actions {
        inset-inline: 16px;
    }
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .swiper-slide {
        width: 85% !important; /* Larger cards on mobile */
        transform: scale(0.9);
    }
    .swiper-slide-active {
        transform: scale(1);
    }
}


/* ==============================================
    Business CTA Section
==============================================
*/
.cta-section {
    padding: 60px 0;
    background-color: var(--white-color);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* To handle smaller screens gracefully */
    gap: 20px;

    max-width: 80%;
    margin: 0 auto;
    padding: 40px 50px;

    background-color: var(--white-color);
    background-image: url('../assets/images/stats/stats_texture_bg.webp');
    background-size: cover;
    background-position: center;

    border-radius: 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cta-text {
    flex: 1;
    min-width: 300px; /* Prevents text from getting too squeezed */
}

.cta-text h2 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.cta-button .btn {
    padding: 12px 24px;
    font-size: 16px;
    white-space: nowrap; /* Prevents button text from wrapping */
}
.cta-box .btn.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}
.cta-box .btn.btn-primary:hover {
    background-color: #1e256e;
    border-color: #1e256e;
}

/* --- Responsive for Mobile --- */
@media (max-width: 800px) {
    .cta-box {
        max-width: 95%;
        padding: 30px;
        justify-content: center; /* Center items on mobile */
        text-align: center;
    }

    .cta-text {
        min-width: 100%;
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .cta-box {
        max-width: 100%;
        padding: 22px 20px;
        flex-wrap: nowrap;
        align-items: center;
        gap: 16px;
        text-align: right;
    }

    .cta-text {
        min-width: 0;
        flex: 1;
        margin-bottom: 0;
        text-align: right;
    }

    .cta-text h2 {
        font-size: clamp(1.05rem, 4vw, 1.3rem);
        line-height: 1.4;
        margin: 0;
    }

    .cta-button {
        flex-shrink: 0;
    }

    .cta-button .btn {
        padding: 10px 18px;
        font-size: 15px;
    }

    .cta-section {
        padding: 40px 0 28px;
    }
}


/* ==============================================
    My Services Section
==============================================
*/
.services-section {
    padding: 60px 0;
    background-color: var(--white-color);
    overflow: hidden;
}

.services-carousel-container {
    position: relative;
}

/* We can reuse the swiper styles, but we target the new class */
.services-swiper {
    width: 100%;
    padding: 20px 0 40px 0 !important;
}

/* Targeting the new service card for animation */
.service-card {
    background-color: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease;
}

.service-card.animated {
    transform: translateX(0);
    opacity: 1;
}

/* Reusing some card styles but with new content */
.service-card .card-image-container {
    position: relative;
    cursor: pointer;
}

.service-card .card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.service-top-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white-color);
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 800;
    text-align: center;
    padding: 10px;
    line-height: 1.2;
}


/* ==============================================
    Clients Feedback Section
==============================================
*/
.feedback-section {
    padding: 60px 0;
    background-color: var(--white-color);
    overflow: hidden;
}

.feedback-carousel-container {
    position: relative;
}

.feedback-swiper {
    width: 100%;
    padding: 20px 0 40px 0 !important;
}

/* We create a new card style for the square feedback images */
.feedback-card {
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    cursor: pointer;
    
    /* This makes the card a perfect square and responsive */
    aspect-ratio: 1 / 1;
    width: 100%;

    /* Animation setup */
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.8s ease, box-shadow 0.3s ease;
}

.feedback-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feedback-card.animated {
    transform: translateX(0);
    opacity: 1;
}

.feedback-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the square card */
    display: block;
}


/* Adjusting the slide width for square cards */
.feedback-swiper .swiper-slide {
    width: auto;
    max-width: 360px;
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
    transform: scale(0.85);
}

.feedback-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 600px) {
    .feedback-swiper .swiper-slide {
        width: 80% !important;
    }
}

@media (max-width: 600px) {
    .feedback-section {
        padding: 40px 0;
    }
}


/* Lazy loading helpers */
.lazy-section [data-lazy-placeholder] {
    display: block;
}

.lazy-section.is-ready [data-lazy-placeholder] {
    display: none;
}

.lazy-section [data-lazy-content] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-section.is-ready [data-lazy-content] {
    opacity: 1;
    transform: translateY(0);
}

.lazy-fade-target {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lazy-section.is-ready .lazy-fade-target {
    opacity: 1;
    transform: translateY(0);
}

.card-skeleton {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #e9edf2;
    border-radius: 16px;
    overflow: hidden;
}

.card-skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(233, 237, 242, 0) 0%, rgba(255, 255, 255, 0.55) 45%, rgba(233, 237, 242, 0) 100%);
    transform: translateX(-100%);
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
}

.card-skeleton.feedback-card {
    aspect-ratio: 1 / 1;
}

.lazy-bg {
    background-color: #f4f6f9;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.lazy-bg.bg-loaded {
    opacity: 1;
}

@keyframes skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

/* ==============================================
    Social Designs Section
==============================================
*/
.social-designs-section {
    padding: 60px 0;
    background-color: var(--white-color);
}

/* --- Carousel / Grid Views --- */
.social-carousel-container,
.social-grid-container {
    display: none; /* Both are hidden initially */
    position: relative;
    margin-bottom: 40px;
}
.social-carousel-container.active { display: block; }
.social-grid-container.active { display: grid; }

/* Animation for social cards will be handled via JS like other sections */

/* Carousel specific styles */
.social-swiper {
    width: 100%;
    padding: 20px 0 40px 0 !important;
}
.social-swiper .swiper-slide {
    width: auto;
    max-width: 320px;
}

/* Grid specific styles */
.social-grid-container {
    /* display is controlled by .active above */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.social-grid-container .feedback-card {
    width: 100%; /* Override fixed width */
}

/* --- Toggle Button --- */
.toggle-button-container {
    text-align: center;
    margin-bottom: 60px;
}
.toggle-designs-btn {
    background-color: var(--white-color);
    border: 4px solid var(--primary-gold);
    border-radius: 50px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.toggle-designs-btn:hover {
    transform: scale(1.05);
}
.btn-text-wrapper {
    display: block;
    background-color: var(--primary-blue);
    color: var(--white-color);
    padding: 12px 32px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    min-width: 250px;
}

/* --- Before & After Sliders --- */
.before-after-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    justify-items: center;
    gap: 20px;
    padding-top: 32px;
}
.before-after-slider {
    position: relative;
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    cursor: ew-resize;
    touch-action: pan-y;
}
.slider-image-before, .slider-image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
.slider-image-before {
    /* We use clip-path to reveal the image underneath */
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 2;
    transition: clip-path 0.45s ease;
}
.slider-image-after {
    z-index: 1;
}
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    transform: translateX(-50%);
    pointer-events: none; /* allow dragging through the bar */
    transition: left 0.45s ease;
    z-index: 3;
}
.before-after-slider.is-dragging {
    cursor: grabbing;
}
.before-after-slider.is-dragging .slider-handle,
.before-after-slider.is-dragging .slider-image-before {
    transition: none;
}
.handle-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 36px;
    background-color: var(--primary-gold);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    color: var(--white-color);
    font-size: 16px;
}

/* Responsive for sliders and grid */
@media (max-width: 600px) {
    .social-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .before-after-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .before-after-slider {
        max-width: none;
    }
}

@media (min-width: 1024px) {
    .before-after-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* ==============================================
    Branding Works Section
==============================================
*/
.branding-section {
    padding: 60px 0;
    background-color: var(--white-color);
    overflow: hidden;
}

.branding-carousel-container {
    position: relative;
    margin-bottom: 24px;
}

.branding-swiper {
    width: 100%;
    padding: 20px 0 40px 0 !important;
}

/* We reuse the feedback-card style for consistency */
.branding-swiper .swiper-slide {
    width: clamp(240px, 60vw, 320px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
    transform: scale(0.85);
}

.branding-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

/* Styling the "View All" button */
.branding-works-btn {
    text-decoration: none;
    display: inline-block;
}

@media (max-width: 900px) {
    .swiper-slide {
        width: clamp(220px, 62vw, 340px);
    }
}

@media (max-width: 600px) {
    .swiper-slide {
        width: clamp(200px, 74vw, 300px);
    }
    .social-swiper .swiper-slide,
    .branding-swiper .swiper-slide {
        width: clamp(200px, 74vw, 300px);
    }
}


/* ==============================================
    Contact Section
==============================================
*/
.contact-section {
    padding: 60px 16px;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 32px;
}

.contact-info, .contact-form-container {
    flex: 1;
    min-width: 300px;
}

/* --- Contact Info --- */
.contact-info h3 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 16px;
}
.contact-info p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: #555;
    margin-bottom: 32px;
}
.info-list {
    list-style: none;
    margin-bottom: 32px;
}
.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}
.info-list .fab, .info-list .fas {
    color: var(--primary-gold);
    font-size: 32px;
}
.info-list a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 500;
}
.info-social-links {
    display: flex;
    gap: 20px;
}
.info-social-links a {
    color: var(--primary-blue);
    font-size: 36px;
    transition: color 0.3s ease;
}
.info-social-links a:hover {
    color: var(--primary-gold);
}

/* --- Contact Form --- */
.form-group {
    margin-bottom: 16px;
    position: relative;
}
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 16px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 12px;
    font-family: 'Almarai', sans-serif;
    font-size: 16px;
    transition: box-shadow 0.3s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-blue);
}
.btn-submit {
    width: 100%;
    padding: 16px;
    border-radius: 50px;
    background-color: var(--primary-blue);
    color: var(--white-color);
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-submit:hover {
    background-color: #1e256e;
}

/* Custom Phone Input */
.phone-input-wrapper {
    display: flex;
    background-color: #f0f0f0;
    border-radius: 12px;
    direction: ltr; /* Important for phone layout */
}
.country-picker-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    cursor: pointer;
    border-right: 1px solid #ddd;
}
.country-picker-btn #country-flag {
    font-size: 24px;
}
.country-picker-btn #country-code {
    font-weight: 700;
    color: #333;
}
#phone {
    border-radius: 0 12px 12px 0;
    flex-grow: 1;
}

/* Validation Errors */
.error-message {
    color: #D32F2F;
    font-size: 12px;
    padding: 4px 8px 0 8px;
    display: none; /* Hidden by default */
}
.form-group.error input, .form-group.error textarea, .form-group.error .phone-input-wrapper {
    box-shadow: 0 0 0 2px #D32F2F;
}
.form-group.error .error-message {
    display: block;
}

/* --- Country Picker Modal --- */
.country-modal {
    position: fixed;
    z-index: 3000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
.country-modal.visible {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background-color: white;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 75vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    border-bottom: 1px solid #eee;
}
.modal-header h4 {
    color: var(--primary-blue);
    font-weight: 700;
}
.modal-close {
    font-size: 28px;
    cursor: pointer;
}
.modal-search {
    padding: 16px;
}
#country-search {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: 'Almarai', sans-serif;
}
.countries-list {
    list-style: none;
    overflow-y: auto;
    flex-grow: 1;
}
.countries-list li {
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.countries-list li:hover {
    background-color: #f5f5f5;
}

/* --- Success Notification --- */
.success-notification {
    position: fixed;
    top: -100px; /* Start off-screen */
    left: 50%;
    transform: translateX(-50%);
    z-index: 4000;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.success-notification.show {
    top: 80px;
}
.success-notification .fas {
    font-size: 28px;
}
.notification-close {
    cursor: pointer;
    font-size: 24px;
    margin-right: 12px;
}

@media (max-width: 800px) {
    .contact-info { text-align: center; }
    .info-list, .info-social-links { justify-content: center; }
}

/* ==============================================
    Footer Section
==============================================
*/
.footer {
    background-color: var(--primary-blue);
    color: var(--white-color);
    padding: 60px 16px;
}

.footer-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column {
    flex: 1;
    min-width: 300px;
}

/* --- Info Column --- */
.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-logo {
    width: 120px;
}

.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social a {
    color: var(--primary-gold);
    font-size: 28px;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.2);
}

/* --- Links Column --- */
.footer-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.links-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-link {
    color: var(--white-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-gold);
}

.footer-link .fas {
    font-size: 14px;
    color: var(--primary-gold);
}

/* --- Copyright --- */
.footer-copyright {
    text-align: center;
    padding-top: 40px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .footer-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links {
        width: 100%;
        justify-content: space-around;
    }

    .links-column {
        align-items: flex-start;
    }
}

/* ==============================================
    Branding Works Page
==============================================
*/
.branding-page-body {
    background-color: var(--primary-gold);
}

.branding-works-main {
    padding: 100px 16px 24px 16px;
    display: flex;
    justify-content: center;
}

.branding-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 75%;
}

.branding-image {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    
    /* This CSS helps prevent easy image saving */
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
}

@media (max-width: 600px) {
    .branding-works-main {
        padding-top: 60px;
    }
    .branding-gallery {
        max-width: 90%;
    }
    .branding-image {
        border-radius: 15px;
    }
}

/* ===== [Hotfix] Swiper minimal fallback for courses ===== */
.courses-swiper { overflow: hidden; }
.courses-swiper .swiper-wrapper { display: flex; }
.courses-swiper .swiper-slide { flex-shrink: 0; }

/* تحسين الزر الثانوي داخل بطاقات الدورات */
:root{
  --primary-blue: #2B338C;
  --primary-gold: #DB9B48;
}
.courses-section .btn.btn-secondary{
  background: transparent;
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
}
.courses-section .btn.btn-secondary:hover{
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}

/* Floating action buttons (WhatsApp + Back to Top) */
.floating-actions {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 1200;
}

.floating-btn {
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    color: var(--white-color);
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 1.4rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.floating-btn:focus-visible {
    outline: 3px solid rgba(219, 155, 72, 0.45);
    outline-offset: 3px;
}

.floating-btn i {
    pointer-events: none;
}

.whatsapp-btn {
    background: #25D366;
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.25);
}

.whatsapp-btn:hover {
    box-shadow: 0 16px 32px rgba(37, 211, 102, 0.32);
}

.to-top-btn {
    background: var(--primary-blue);
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}

.to-top-btn.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .floating-actions {
        left: 16px;
        bottom: 16px;
        gap: 10px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
}
