/* ========================================
   Global Styles & Variables
======================================== */

:root {
    --primary-color: #00646b;
    --secondary-color: #4cb686;
    --accent-color: #0a5883;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --green-light: #e8f5e9;
    --green-medium: #62ac87;
    --green-dark: #145a32;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: #fff;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
}

.display-4 {
    font-weight: 800;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
}

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

.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff !important;
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.logo {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-left: 12px;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    margin: 0 8px;
    padding: 8px 15px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::before {
    width: 80%;
    right: 10%;
}

.dropdown-menu {
    background-color: #fff;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-item {
    padding: 10px 25px;
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: #fff;
    padding-right: 30px;
}

#donate-btn {
    background-color: var(--accent-color);
    color: #fff !important;
    margin-right: 10px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

#donate-btn:hover {
    background-color: #e67e22;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
    transform: translateY(-3px);
}

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

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;

}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

/* ========================================
   Date Widget
======================================== */

.date-widget {
    position: absolute;
    top: 120px;
    /*left: 50%;*/
    transform: translateX(-50%);
    z-index: 10;
}

.date-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 60px;
    padding: 12px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

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

.date-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.hijri-date .date-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.4);
}

.gregorian-date .date-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 100, 107, 0.4);
}

.date-info {
    display: flex;
    flex-direction: column;
}

.date-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.date-value {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.date-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    margin: 0 5px;
}

/* Date Widget Hover Effects */
.date-item:hover .date-icon {
    transform: scale(1.1) rotate(10deg);
}

/* Responsive Date Widget */
@media (max-width: 768px) {
    .date-widget {
        top: 85px;
        width: 95%;
        max-width: 400px;
    }

    .date-container {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
        border-radius: 20px;
    }

    .date-divider {
        width: 80%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    }

    .date-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .date-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .date-widget {
        top: 100px;
    }

    .date-container {
        padding: 12px 15px;
    }

    .date-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .date-label {
        font-size: 0.7rem;
    }

    .date-value {
        font-size: 0.85rem;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 600;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.hero-buttons {
    position: relative;
    z-index: 1;
}

.hero-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Section Styles
======================================== */

section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

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

#about {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9f4 100%);
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27, 122, 74, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    /* animation: float 20s ease-in-out infinite; */
}

#about::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(39, 174, 96, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    /* animation: float 25s ease-in-out infinite reverse; */
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.about-image {
    position: relative;
    z-index: 2;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.1;
}

.about-image img {
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: 0 20px 60px rgba(27, 122, 74, 0.2);
    border: 5px solid #fff;
}

.about-image img:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 30px 80px rgba(27, 122, 74, 0.3);
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content h3 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-content .lead {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.25rem;
    line-height: 1.8;
}

.about-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: 20px;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 15px;
    border: 2px solid var(--green-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.stat-item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(27, 122, 74, 0.2);
    border-color: var(--primary-color);
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
    transition: var(--transition);
}

.stat-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--secondary-color);
}

.stat-item h4 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
    margin: 0;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin: 10px 0;
}

.stat-item p {
    margin: 0;
    font-weight: 600;
}

/* ========================================
   Intro Section
======================================== */

.intro-box {
    background: #fff;
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-right: 5px solid var(--primary-color);
}

.intro-box h3 {
    color: var(--primary-color);
    font-size: 2rem;
}

.intro-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 2;
}

.intro-content .lead {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.signature {
    text-align: left;
    font-style: italic;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 30px;
}

/* ========================================
   Mission & Vision Sections
======================================== */

.mission-box,
.vision-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    text-align: center;
    position: relative;
    overflow: hidden;
}



.mission-icon,
.vision-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.mission-text,
.vision-text {
    font-size: 1.3rem;
    line-height: 2;
    color: #fff;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ========================================
   Goals Section
======================================== */

.goal-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.goal-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent-color);
}

.goal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.goal-card:hover .goal-icon {
    transform: scale(1.1) rotate(360deg);
}

.goal-icon i {
    font-size: 2rem;
    color: #fff;
}

.goal-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.goal-card p {
    color: #666;
    line-height: 1.8;
}

/* ========================================
   Means Section
======================================== */

.means-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.means-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.means-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.means-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.means-card:hover i {
    color: var(--accent-color);
    transform: scale(1.2);
}

.means-card h5 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.means-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   Services Section - New Two-Category Design
======================================== */

.services-section {
    background: linear-gradient(180deg, #f8fffe 0%, #ffffff 50%, #f0f8f6 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(0, 100, 107, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

.services-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Service Category Container */
.service-category {
    background: #ffffff;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 100, 107, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 100, 107, 0.08);
    will-change: transform;
}

.service-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 100, 107, 0.15);
}

/* Category Header */
.category-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 35px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-category:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.category-icon i {
    font-size: 2.2rem;
    color: #ffffff;
}

.category-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Category Cards Container */
.category-cards {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* New Service Card */
.service-card-new {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 100, 107, 0.08);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-new:hover {
    transform: translateX(-8px);
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 100, 107, 0.12);
}

.service-card-new:hover::before {
    opacity: 1;
}

/* Service Icon New */
.service-icon-new {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 100, 107, 0.25);
}

.service-card-new:hover .service-icon-new {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(0, 100, 107, 0.35);
}

.service-icon-new i {
    font-size: 1.5rem;
    color: #ffffff;
}

/* Service Content */
.service-content {
    flex: 1;
}

.service-content h4 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.service-card-new:hover .service-content h4 {
    color: var(--accent-color);
}

.service-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Service Link New */
.service-link-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link-new:hover {
    color: var(--primary-color);
    gap: 12px;
}

.service-link-new i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.service-link-new:hover i {
    transform: translateX(-5px);
}

/* Dropdown Menu Services Styling */
.dropdown-menu-services {
    min-width: 220px;
}

.dropdown-menu-services .dropdown-header {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 12px 20px 8px;
    background: linear-gradient(90deg, rgba(0, 100, 107, 0.05), transparent);
    border-right: 3px solid var(--primary-color);
}

.dropdown-menu-services .dropdown-divider {
    margin: 8px 15px;
    border-color: rgba(0, 100, 107, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .service-card-new {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .service-card-new::before {
        width: 100%;
        height: 4px;
        top: 0;
        right: 0;
    }

    .service-card-new:hover {
        transform: translateY(-5px);
    }

    .category-header {
        padding: 25px 20px;
    }

    .category-title {
        font-size: 1.4rem;
    }

    .category-cards {
        padding: 20px;
    }
}

/* Legacy service-card styles kept for compatibility */
.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 95, 141, 0.05), transparent);
    transition: var(--transition);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
}

.service-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(44, 95, 141, 0.3);
}

.service-card:hover .service-icon-wrapper {
    transform: rotateY(360deg);
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
}

.service-icon-wrapper i {
    font-size: 2.5rem;
    color: #fff;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
    gap: 10px;
}

.service-link i {
    margin-right: 5px;
    transition: var(--transition);
}

.service-link:hover i {
    transform: translateX(-5px);
}

/* ========================================
   Read Section - Office Branches
======================================== */

.branches-section {
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f3 100%);
    position: relative;
    overflow: hidden;
}

.branches-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 100, 107, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.branches-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(76, 182, 134, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.branches-intro {
    margin-bottom: 3rem;
}

.map-icon-wrapper {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 15px 40px rgba(0, 100, 107, 0.3);
    animation: pulse 2s infinite;
}

.map-icon-wrapper i {
    font-size: 3.5rem;
    color: #fff;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 15px 40px rgba(0, 100, 107, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 20px 50px rgba(0, 100, 107, 0.4);
    }
}

.branches-intro h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.branches-intro p {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.branch-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
    border: 2px solid transparent;
}

.branch-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 100, 107, 0.2);
    border-color: var(--primary-color);
}

.branch-card.main-branch {
    border: 2px solid var(--primary-color);
    background: linear-gradient(180deg, rgba(0, 100, 107, 0.03) 0%, #fff 100%);
}

.branch-card.main-branch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.branch-header {
    padding: 25px 25px 15px;
    text-align: center;
    position: relative;
}

.branch-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: var(--transition);
}

.branch-card:hover .branch-icon {
    transform: scale(1.1) rotate(5deg);
}

.branch-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.branch-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.branch-content {
    padding: 15px 25px 30px;
}

.branch-content h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.branch-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: var(--transition);
}

.info-item:hover {
    background: linear-gradient(135deg, rgba(0, 100, 107, 0.08), rgba(76, 182, 134, 0.08));
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-left: 12px;
    margin-top: 3px;
    min-width: 20px;
}

.info-item span {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-location {
    width: 100%;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-location:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 100, 107, 0.3);
}

.btn-location i {
    font-size: 1.1rem;
}

.branches-cta {
    margin-top: 4rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 50px 40px;
    border-radius: 25px;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 100, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-box i {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.cta-box h4 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.cta-box p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.cta-box .btn {
    background: #fff;
    color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cta-box .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Legacy read-card styles kept for compatibility */
.read-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.read-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.read-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

.read-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 141, 0.9), rgba(74, 123, 167, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.read-card:hover .read-overlay {
    opacity: 1;
}

.read-overlay i {
    font-size: 3rem;
    color: #fff;
    transform: scale(0);
    transition: var(--transition);
}

.read-card:hover .read-overlay i {
    transform: scale(1);
}

.read-content {
    padding: 30px;
}

.read-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.read-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ========================================
   Contribute Section
======================================== */

.contribute-card {
    background: #fff;
    padding: 50px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.contribute-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.contribute-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
    position: relative;
}

.contribute-icon::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition);
}

.contribute-card:hover .contribute-icon::before {
    opacity: 0.3;
    width: 140%;
    height: 140%;
}

.contribute-card:hover .contribute-icon {
    transform: scale(1.1);
}

.contribute-icon i {
    font-size: 3rem;
    color: #fff;
}

.contribute-card h4 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contribute-card p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* ========================================
   Activities Section
======================================== */

.activity-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.activity-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.activity-date {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #fff;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    min-width: 58px;
}

.activity-date .month {
    display: block;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    letter-spacing: 0.4px;
}

.activity-date .day {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    padding: 6px 10px 8px;
    color: var(--accent-color);
}

.activity-content {
    padding: 30px;
}

.activity-content h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.activity-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.activity-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

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

.activity-meta i {
    margin-left: 5px;
}

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

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 40px;
    border-radius: var(--border-radius);
    color: #fff;
    height: 100%;
}

.contact-info h3 {
    color: #fff;
    font-size: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-10px);
}

.contact-item i {
    font-size: 1.8rem;
    margin-left: 20px;
    color: var(--accent-color);
}

.contact-item h5 {
    color: #fff;
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-form .form-control {
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 95, 141, 0.1);
}

/* ========================================
   Donate Section - Clean Professional Design
======================================== */

.donate-section {
    background: #fff;
    overflow: hidden;
}

/* Header Bar */
.donate-header-bar {
    background: linear-gradient(135deg, #3a9188 0%, #5bb8a8 100%);
    padding: 50px 0;
    position: relative;
}

.donate-header-bar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, #e91e63, #c2185b);
}

.donate-main-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Content Area */
.donate-content {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.donate-description {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 50px;
}

.payment-method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
    background: #fff;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.payment-method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 100, 107, 0.15);
    border-color: var(--primary-color);
}

.payment-logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.payment-icon-fallback {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
}

.switch-logo {
    width: 100px;
    height: 40px;
}

/* ZainCash Logo */
.zaincash-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: #333;
    padding: 15px 20px;
    border-radius: 12px;
}

.zain-icon {
    color: #8bc34a;
    font-size: 1.8rem;
    line-height: 1;
}

.zain-text {
    color: #8bc34a;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.zain-text strong {
    color: #fff;
    font-weight: 700;
}

/* Alsaqi Logo */
.alsaqi-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #4fb8e0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.alsaqi-logo i {
    font-size: 2.5rem;
    color: #4fb8e0;
}

.payment-method-card .payment-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
}

/* Notice Section */
.donate-notice {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.donate-notice p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    line-height: 1.9;
    text-align: right;
}

.donate-notice i {
    color: var(--primary-color);
    margin-top: 6px;
    flex-shrink: 0;
}

.notice-primary {
    font-size: 0.95rem;
    color: #c62828;
    background: #ffebee;
    padding: 15px 20px;
    border-radius: 10px;
    border-right: 4px solid #c62828;
}

.notice-primary i {
    color: #c62828;
}

.notice-secondary {
    font-size: 0.9rem;
    color: #666;
    background: #f5f5f5;
    padding: 15px 20px;
    border-radius: 10px;
    border-right: 4px solid var(--primary-color);
}

/* Responsive Design */
@media (max-width: 991px) {
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .donate-main-title {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .donate-header-bar {
        padding: 35px 0;
    }

    .donate-main-title {
        font-size: 1.6rem;
    }

    .payment-methods-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .payment-method-card {
        padding: 20px 15px;
    }

    .payment-logo {
        width: 70px;
        height: 70px;
    }

    .donate-content {
        padding: 40px 0 60px;
    }

    .donate-notice p {
        font-size: 0.85rem;
    }
}

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

.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.8);
}

.footer-logo {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
}

.footer-about h4 {
    color: #fff;
    margin-bottom: 15px;
}

.footer-about p {
    line-height: 1.8;
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

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

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

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

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

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--accent-color);
}

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

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

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* ========================================
   Scroll to Top Button
======================================== */

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

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

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .navbar-brand .brand-text {
        font-size: 0.95rem;
    }

    .logo {
        height: 40px;
        width: 40px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .hero-buttons .btn {
        padding: 12px 30px;
        font-size: 1rem;
        margin: 5px !important;
    }

    .stats-row {
        flex-direction: column;
    }

    .stat-item {
        min-width: 100%;
    }

    .donation-amounts button {
        margin: 5px !important;
        font-size: 1rem;
        padding: 12px 25px;
    }

    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 575px) {
    .intro-box,
    .mission-box,
    .vision-box {
        padding: 30px;
    }

    .contact-info,
    .contact-form {
        padding: 20px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item i {
        margin: 0 0 10px 0;
    }

    .social-links {
        justify-content: center;
    }

    section {
        padding: 50px 0;
    }
}

/* ========================================
   Utilities
======================================== */

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(44, 95, 141, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* ========================================
   Animations
======================================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}






/* for service */
/* =============================
   Services Dropdown FIXED
============================= */

.services-menu {
    min-width: 250px;
    padding: 15px 0;
    border-radius: 18px;
}

.service-item {
    position: relative;
}

.service-title {
    font-weight: 550;
    padding: 12px 20px;
    width: 100%;
    text-align: right;
    background: transparent;
    border: none;
    transition: 0.2s;
    cursor:pointer;
}

.service-title:hover {
    background: rgba(0, 100, 107, 0.08);
}

/* Desktop submenu */
@media (min-width: 992px) {

    .service-submenu {
        position: absolute;
        top: 0;
        left: -230px;   /* RTL correct direction */
        width: 220px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateX(10px);
        transition: 0.25s ease;
        padding: 10px 0;
        z-index: 1000;
    }

    .service-item:hover .service-submenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

}
