html {
    scroll-behavior: smooth
}
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');
:root {
    --primary: #0a9f6d;
    --primary-dark: #087a54;
    --primary-light: #0dc078;
    --primary-gradient: linear-gradient(135deg, #0a9f6d 0%, #0dc078 100%);
    --secondary: #1e40af;
    --secondary-light: #3b82f6;
    --secondary-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--white);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--white);
    overflow-x: hidden;
    font-size: 16px
}

.navbar-custom {
    background: rgb(255 255 255 / .95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
    padding: .75rem 0;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000
}

.navbar-custom.scrolled {
    background: rgb(255 255 255 / .98) !important;
    box-shadow: var(--shadow-md)
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
    text-decoration: none;
    transition: var(--transition)
}

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

.navbar-brand img {
    height: 50px;
    width: auto;
    border-radius: var(--radius-md);
    transition: var(--transition)
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: .5rem 1rem !important;
    border-radius: var(--radius);
    transition: var(--transition);
    margin: 0 .25rem;
    position: relative
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: rgb(10 159 109 / .1);
    transform: translateY(-1px)
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%)
}

.navbar-nav .nav-link:hover::after {
    width: 80%
}

.hero-section {
    color: var(--white);
    padding: 6rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: .3
}

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

.hero-logo {
    margin-bottom: 2rem
}

.main-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgb(0 0 0 / .3));
    transition: var(--transition)
}

.main-logo:hover {
    transform: scale(1.05)
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgb(255 255 255 / .15);
    backdrop-filter: blur(10px);
    padding: .5rem 1rem;
    border-radius: var(--radius-xl);
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    border: 1px solid rgb(255 255 255 / .2)
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: .9;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto
}

.hero-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgb(255 255 255 / .1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid rgb(255 255 255 / .2);
    transition: var(--transition)
}

.hero-stat:hover {
    transform: translateY(-5px);
    background: rgb(255 255 255 / .15)
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
    margin-bottom: .5rem
}

.hero-stat-label {
    font-size: .875rem;
    opacity: .9
}

.btn-custom {
    font-weight: 600;
    padding: .875rem 2rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: 1rem;
    position: relative;
    overflow: hidden
}

.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / .2), transparent);
    transition: left .5s
}

.btn-custom:hover::before {
    left: 100%
}

.btn-primary-custom {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-md)
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white)
}

.btn-secondary-custom {
    background: rgb(255 255 255 / .15);
    color: var(--white);
    border: 1px solid rgb(255 255 255 / .3);
    backdrop-filter: blur(10px)
}

.btn-secondary-custom:hover {
    background: rgb(255 255 255 / .25);
    transform: translateY(-3px);
    color: var(--white)
}

.section-padding {
    padding: 10rem 0
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary)
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem
}

.about-section {
    background: var(--gray-50)
}

.about-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg)
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.5rem
}

.about-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary)
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.6
}

.services-section {
    background: var(--white)
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
    position: relative;
    overflow: hidden
}

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

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.75rem;
    transition: var(--transition)
}

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

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary)
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem
}

.service-features li {
    padding: .5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: .75rem
}

.service-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
    width: 20px;
    height: 20px;
    background: rgb(10 159 109 / .1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem
}

.contact-section {
    background: linear-gradient(135deg, #0a9f6d 0%, #1e40af 100%);
    color: var(--white);
    position: relative;
    overflow: hidden
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>')
}

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

.contact-info-card {
    background: rgb(255 255 255 / .1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgb(255 255 255 / .2);
    margin-bottom: 2rem
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem
}

.contact-item:last-child {
    margin-bottom: 0
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgb(255 255 255 / .15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem
}

.contact-form-card {
    background: rgb(255 255 255 / .1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid rgb(255 255 255 / .2)
}

.form-control-custom {
    background: rgb(255 255 255 / .1);
    border: 1px solid rgb(255 255 255 / .3);
    border-radius: var(--radius-lg);
    padding: .875rem 1rem;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition)
}

.form-control-custom::placeholder {
    color: rgb(255 255 255 / .7)
}

.form-control-custom:focus {
    background: rgb(255 255 255 / .15);
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem rgb(245 158 11 / .25);
    color: var(--white)
}

.form-control-custom option {
    background: var(--gray-800);
    color: var(--white);
    padding: .5rem
}

.form-control-custom option:hover,
.form-control-custom option:focus,
.form-control-custom option:selected {
    background: var(--primary);
    color: var(--white)
}

.form-label-custom {
    color: var(--white);
    font-weight: 500;
    margin-bottom: .5rem
}

.form-check {
    margin-bottom: 1.5rem
}

.form-check-input {
    background-color: rgb(255 255 255 / .1);
    border: 1px solid rgb(255 255 255 / .3);
    border-radius: var(--radius-sm)
}

.form-check-input:checked {
    background-color: var(--accent);
    border-color: var(--accent)
}

.form-check-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem rgb(245 158 11 / .25)
}

.form-check-label {
    color: var(--white);
    font-size: .9rem;
    line-height: 1.5;
    margin-right: .5rem
}

.form-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
    border: none
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: var(--white)
}

.partners-section {
    background: var(--gray-50)
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem
}

.partner-logo {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200)
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary)
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px
}

.partner-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: .95rem;
    text-align: center;
    line-height: 1.3
}

.partners-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem
}

.partners-track-wrapper {
    overflow: hidden;
    width: 100%
}

.partners-track {
    display: flex;
    gap: 1rem;
    scroll-behavior: smooth;
    transition: transform .4s ease
}

.partner-slide {
    flex: 0 0 calc((100% - 5rem) / 6);
    min-width: 120px;
    scroll-snap-align: center
}

.partners-collage {
    margin: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    height: 100%
}

.collage-img {
    max-height: 80px;
    width: auto;
    aspect-ratio: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    box-shadow: none
}

.partners-nav {
    background: var(--white);
    border: 1px solid var(--gray-200);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    color: var(--primary);
    transition: var(--transition)
}

.partners-nav:hover {
    transform: translateY(-2px);
    color: var(--primary-dark)
}

.partners-nav i {
    pointer-events: none
}

@media (max-width:992px) {
    .partner-slide {
        flex: 0 0 calc((100% - 3rem) / 4)
    }
}

@media (max-width:768px) {
    .partners-slider {
        gap: .5rem
    }

    .partner-slide {
        flex: 0 0 calc((100% - 2rem) / 3)
    }

    .partners-nav {
        width: 38px;
        height: 38px
    }
}

@media (max-width:576px) {
    .partner-slide {
        flex: 0 0 calc((100% - 1rem) / 2)
    }

    .collage-img {
        max-height: 70px
    }
}

.footer-section {
    background: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 2rem
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white)
}

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

.footer-links li {
    margin-bottom: .75rem;
    color: var(--white)
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: .5rem
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gray-800);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.25rem
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px)
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--gray-400)
}

.footer-bottom .heart {
    color: #e74c3c;
    animation: heartbeat 1.5s ease-in-out infinite
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.1)
    }
}

.statistics-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%)
}

.stats-category {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%
}

.stats-category:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg)
}

.stats-category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem
}

.stats-category-title {
    color: var(--dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 15px;
    border: 2px solid #fff0;
    transition: var(--transition)
}

.stat-item:hover {
    border-color: var(--primary);
    transform: scale(1.05)
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: .5rem
}

.stat-label {
    font-size: .9rem;
    color: var(--gray-600);
    font-weight: 600;
    text-align: center
}

.floating-buttons {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: none
}

.floating-btn:hover {
    transform: scale(1.1);
    color: var(--white)
}

.floating-btn.whatsapp {
    background: #25d366
}

.floating-btn.phone {
    background: var(--primary)
}

.floating-btn.scroll-top {
    background: var(--gray-700);
    opacity: 0;
    visibility: hidden
}

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

@media (max-width:768px) {
    .hero-section {
        padding: 4rem 0 4rem;
        min-height: 100vh
    }

    .main-logo {
        max-width: 250px
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem
    }

    .section-padding {
        padding: 4rem 0
    }

    .service-card,
    .about-card {
        margin-bottom: 2rem
    }

    .contact-form-card {
        padding: 2rem
    }

    .floating-buttons {
        bottom: 1rem;
        left: 1rem
    }

    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.25rem
    }

    .form-buttons {
        flex-direction: column
    }

    .navbar-brand span {
        display: none
    }
}

@media (max-width:576px) {
    .main-logo {
        max-width: 200px
    }

    .hero-stats {
        grid-template-columns: 1fr
    }

    .hero-stat-number {
        font-size: 2rem
    }
}
