:root {
    --primary: #2c3e50;
    /* كحلي غامق */
    --secondary: #d35400;
    /* برتقالي محروق */
    --gold: #f39c12;
    /* ذهبي للإحصائيات */
    --bg-color: #f0f2f5;
    --white: #fff;
    --text: #444;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* ظل افتراضي */
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.2);
    /* ظل عند التحويم */
    --transition: all .3s ease-in-out;
}

* {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: var(--transition);
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
    scroll-margin-top: 0;
}

body {
    background: var(--bg-color);
}

section {
    padding: 3rem 5%;
}

/* Better content margins for mobile */
@media (min-width: 769px) {
    section {
        padding: 3rem 9%;
    }
}

@media (min-width: 1200px) {
    section {
        padding: 3rem 12%;
    }
}

.heading {
    text-align: center;
    padding-bottom: 3rem;
    color: var(--primary);
    font-size: 4rem;
    font-weight: 800;
}

.heading span {
    color: var(--secondary);
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 3rem;
    font-size: 1.8rem;
    background: var(--secondary);
    color: var(--white);
    border-radius: .5rem;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background: var(--primary);
    transform: translateY(-5px);
    /* تحريك الزر للأعلى */
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    border: .2rem solid var(--white);
    margin-right: 1rem;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.logo {
    text-decoration: none;
    flex-shrink: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.logo-container img {
    width: 150px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* تأثير عند المرور */
.logo-container:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15));
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    padding: 0.8rem 5%;
    transition: all 0.3s ease;
}

/* Header shadow on scroll - will be toggled via JS */
.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header .header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.header .navbar {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    justify-content: center;
}

.header .navbar a {
    font-size: 1.4rem;
    color: var(--text);
    padding: 0.8rem 1rem;
    font-weight: 600;
    border-radius: 0.6rem;
    position: relative;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.header .navbar a:hover,
.header .navbar a.active {
    color: var(--secondary);
    background: rgba(211, 84, 0, 0.06);
}

/* Active link indicator */
.header .navbar a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--secondary);
    border-radius: 50%;
}

.header .icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header .icons div {
    height: 4rem;
    width: 4rem;
    line-height: 4rem;
    border-radius: 0.6rem;
    background: transparent;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    text-align: center;
    display: none;
    transition: all 0.2s ease;
}

.header .icons div:hover {
    background: rgba(211, 84, 0, 0.1);
    color: var(--secondary);
}

/* Desktop adjustments */
@media (min-width: 1200px) {
    .header {
        padding: 0.8rem 6%;
    }

    .header .navbar a {
        font-size: 1.4rem;
        padding: 0.7rem 1.2rem;
    }

    .logo-container img {
        width: 200px;
    }

    .logo-text {
        font-size: 1.7rem;
    }
}

/* Hero */
/* .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/hero.JPG') no-repeat center center/cover;
    position: relative;
    text-align: center;
} */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
}

/* -------------------------------------- */
/*      صور الخلفية مع تأثير التبديل       */
/* -------------------------------------- */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
}

/* الصورة الأولى - cover.JPG */
.hero-image-1 {
    background-image: url("images/cover.JPG");
    animation: crossFadeBlur1 10s ease-in-out infinite;
}

/* الصورة الثانية - background.png */
.hero-image-2 {
    background-image: url("images/background.png");
    animation: crossFadeBlur2 10s ease-in-out infinite;
}

/* تأثير الصورة الأولى - تبدأ واضحة ثم تختفي مع غبش */
@keyframes crossFadeBlur1 {

    0%,
    10% {
        opacity: 1;
        filter: blur(0);
    }

    35%,
    40% {
        opacity: 1;
        filter: blur(6px);
    }

    45%,
    55% {
        opacity: 0;
        filter: blur(12px);
    }

    90%,
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

/* تأثير الصورة الثانية - تبدأ مخفية ثم تظهر */
@keyframes crossFadeBlur2 {

    0%,
    40% {
        opacity: 0;
        filter: blur(12px);
    }

    50%,
    60% {
        opacity: 1;
        filter: blur(0);
    }

    85%,
    90% {
        opacity: 1;
        filter: blur(6px);
    }

    95%,
    100% {
        opacity: 0;
        filter: blur(12px);
    }
}

/* الـ overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    /* تعتيم الخلفية */
    z-index: 0;
    /* فوق الصورة والفيديو وتحت النص */
}

/* المحتوى فوق الكل */
.hero .content {
    position: relative;
    z-index: 1;
    max-width: 80rem;
    padding: 0 20px;
}

/* النص */
.hero .content h3 {
    font-size: 5rem;
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
}

.hero .content p {
    font-size: 1.8rem;
    color: #f0f0f0;
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* About */
.about .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.about .row .image {
    flex: 1 1 40rem;
}

.about .row .image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.about .row .content {
    flex: 1 1 40rem;
}

.about .row .content h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* قسم لماذا نحن */
.why-us {
    padding: 6rem 2rem;
    background: #f9f9f9;
    text-align: center;
}

.why-us .heading {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #00796B;
}

.why-us .box-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.why-us .box {
    background: #fff;
    flex: 1 1 calc(50% - 2rem);
    max-width: 400px;
    border-radius: 1rem;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 4px solid transparent;
    /* خط أسفل شفاف */
    cursor: pointer;
}

/* عند Hover أو الضغط */
.why-us .box:hover,
.why-us .box:active {
    transform: translateY(-10px);
    /* يتحرك لفوق */
    border-bottom: 4px solid #00796B;
    /* يظهر الخط السفلي */
}

.why-us .box .icon-bg {
    font-size: 3rem;
    color: #00796B;
    margin-bottom: 1rem;
}

.why-us .box h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #004D40;
}

.why-us .box p {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.why-us .box .icon-bg .riyal-img {
    height: 4rem;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}



/* Responsive */
@media (max-width: 768px) {
    .why-us .box {
        flex: 1 1 100%;
    }
}

/* ===== Slider Images (CSS Only) ===== */
.slider {
    position: relative;
    height: 260px;
    overflow: hidden;
    border-radius: 12px;
}

/* First image is always visible by default */
.slider img:first-child {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 1;
}

/* Second image fades in and out on top */
.slider img:nth-child(2) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 2;
    animation: crossFade 10s ease-in-out infinite;
}

/* Crossfade Animation - smooth transition with no gaps */
@keyframes crossFade {

    0%,
    45% {
        opacity: 0;
    }

    50%,
    90% {
        opacity: 1;
    }

    95%,
    100% {
        opacity: 0;
    }
}


.about .row .content p {
    font-size: 1.6rem;
    color: #666;
    line-height: 2;
    padding-bottom: 1.5rem;
}

/* Services */
.services .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.services .box {
    background: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    border-bottom: .5rem solid transparent;
}

/* تأثير التكبير والظل القوي عند المرور */
.services .box:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--secondary);
}

.services .box .icon-bg {
    height: 7rem;
    width: 7rem;
    line-height: 7rem;
    border-radius: 50%;
    background: rgba(230, 126, 34, 0.1);
    color: var(--secondary);
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.services .box:hover .icon-bg {
    background: var(--secondary);
    color: var(--white);
}

.services .box h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.services .box p {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.services .box .read-more {
    color: var(--secondary);
    font-size: 1.6rem;
    font-weight: 600;
}

.services .box .read-more:hover {
    color: var(--primary);
    padding-right: 1rem;
    /* حركة بسيطة للسهم */
}

/* Stats */
.stats {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), fixed center;
    padding: 5rem 9%;
}

.stats .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
    text-align: center;
}

.stats .box i {
    font-size: 5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.stats .box h3 {
    font-size: 4rem;
    color: var(--white);
    font-weight: 800;
}

.stats .box p {
    font-size: 2rem;
    color: #eee;
}

/* ===== Steps Section ===== */
.steps {
    padding: 80px 0;
    background: #f9f9f9;
}

.steps .container {
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

/* التايملاين */
.timeline {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* كل خطوة */
.timeline-step {
    flex: 1;
    background: #fff;
    padding: 35px 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    opacity: 0;
    transform: translateY(40px);
    animation: stepFade 0.8s ease forwards;
}

/* ترتيب الأنيميشن */
.step-1 {
    animation-delay: 0.2s;
}

.step-2 {
    animation-delay: 0.5s;
}

.step-3 {
    animation-delay: 0.8s;
}

.step-4 {
    animation-delay: 1.1s;
}

/* الدائرة */
.timeline-step .circle {
    width: 55px;
    height: 55px;
    margin: 0 auto 20px;
    background: #c9a44d;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-step h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: #333;
}

.timeline-step p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* الحركة */
@keyframes stepFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* موبايل */
@media (max-width: 992px) {
    .timeline {
        flex-direction: column;
    }
}

/* ==================== Skeleton Loading Animation ==================== */
.skeleton-card {
    border-radius: 1rem;
    overflow: hidden;
    height: 30rem;
    position: relative;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 50%, #e8e8e8 100%);
    box-shadow: var(--shadow);
}

.skeleton-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            #e8e8e8 0%,
            #f0f0f0 20%,
            #e0e0e0 40%,
            #f5f5f5 60%,
            #e8e8e8 80%,
            #f0f0f0 100%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease-in-out infinite;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Fade in animation for loaded content */
.projects .box {
    animation: projectFadeIn 0.5s ease-out forwards;
}

@keyframes projectFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Staggered animation for each project card */
.projects .box:nth-child(1) {
    animation-delay: 0.05s;
}

.projects .box:nth-child(2) {
    animation-delay: 0.1s;
}

.projects .box:nth-child(3) {
    animation-delay: 0.15s;
}

.projects .box:nth-child(4) {
    animation-delay: 0.2s;
}

.projects .box:nth-child(5) {
    animation-delay: 0.25s;
}

.projects .box:nth-child(6) {
    animation-delay: 0.3s;
}

/* Projects */
.projects .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 2rem;
}

.projects .box {
    border-radius: 1rem;
    overflow: hidden;
    height: 30rem;
    position: relative;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.projects .box .image {
    height: 100%;
    width: 100%;
}

.projects .box .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* طبقة تظهر عند المرور */
.projects .box .image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(44, 62, 80, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    /* مخفية */
    opacity: 0;
    z-index: 10;
}

.projects .box:hover .image .overlay {
    transform: scale(1);
    /* ظهور */
    opacity: 1;
}

.projects .box:hover .image img {
    transform: scale(1.1);
    /* تكبير الصورة في الخلفية */
}

.projects .box .overlay h3 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.projects .box .overlay p {
    font-size: 1.6rem;
    color: var(--white);
}

/* Reviews */
.reviews .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
}

.reviews .box {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    padding: 3rem;
    position: relative;
}

.reviews .box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.reviews .box .quote {
    font-size: 6rem;
    color: rgba(230, 126, 34, 0.2);
    position: absolute;
    top: 2rem;
    left: 2rem;
}

.reviews .box p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.reviews .box .user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.reviews .box .user img {
    height: 6rem;
    width: 6rem;
    border-radius: 50%;
    object-fit: cover;
    border: .3rem solid var(--secondary);
}

.reviews .box .user h3 {
    font-size: 1.8rem;
    color: var(--primary);
}

.reviews .box .user span {
    font-size: 1.4rem;
    color: var(--secondary);
}

/* Contact */
.contact .row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* Map removed - styles kept for reference */
.contact .row .map {
    display: none;
}

.contact .row form {
    flex: 1 1 100%;
    padding: 3rem;
    max-width: 70rem;
    margin: 0 auto;
}

.contact .row form h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

.contact .row form .inputBox {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    border: .1rem solid #ccc;
    border-radius: .5rem;
    padding: 0 1rem;
    background: #f9f9f9;
}

.contact .row form .inputBox:focus-within {
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 5px rgba(230, 126, 34, 0.3);
}

.contact .row form .inputBox span {
    font-size: 2rem;
    color: var(--primary);
    margin-left: 1rem;
}

.contact .row form .inputBox input,
.contact .row form .inputBox textarea {
    width: 100%;
    padding: 1.5rem 0;
    font-size: 1.6rem;
    color: var(--text);
    background: transparent;
}

.contact .row form .inputBox textarea {
    height: 15rem;
    resize: none;
    padding: 1.5rem 0;
}

.contact .row form .btn {
    width: 100%;
    background: var(--primary);
}

.contact .row form .btn:hover {
    background: var(--secondary);
}

/* Footer */
.footer {
    background: #1a252f;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer .box h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 2rem;
}

.footer .box h3 span {
    color: var(--secondary);
}

.footer .box p {
    font-size: 1.5rem;
    color: #bbb;
    line-height: 1.8;
}

.footer .box .share {
    margin-top: 2rem;
}

.footer .box .share a {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    border-radius: 50%;
    font-size: 1.8rem;
    background: #2c3e50;
    color: var(--white);
    margin-right: .5rem;
    text-align: center;
}

.footer .box .share a:hover {
    background: var(--secondary);
    transform: rotate(360deg);
    /* تدوير الأيقونة عند التحويم */
}

.footer .box .links {
    display: block;
    font-size: 1.6rem;
    color: #bbb;
    padding: 1rem 0;
}

.footer .box .links i {
    color: var(--secondary);
    padding-left: .5rem;
}

.footer .box .links:hover {
    color: var(--secondary);
    padding-right: 1rem;
}

.footer .credit {
    text-align: center;
    border-top: .1rem solid #333;
    padding-top: 2rem;
    font-size: 1.8rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer .credit .credit-line {
    display: block;
}

.footer .credit span {
    color: var(--secondary);
}

.footer .share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .share a:hover {
    transform: scale(1.2);
}

/* لون خاص للواتساب */
.footer .share a.fa-whatsapp {
    background-color: #25D366;
}

/* Reveal Animation Class (يستخدم مع الجافاسكريبت) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 0.6rem 3%;
    }

    .header .header-flex {
        gap: 1rem;
    }

    .logo-container img {
        width: 60px;
    }

    .logo-text {
        font-size: 1.4rem;
    }

    .header .navbar a {
        font-size: 1.3rem;
        padding: 0.6rem 0.7rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.8rem 4%;
    }

    .header .icons div {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo-container img {
        width: 80px;
    }

    .logo-text {
        display: block;
        font-size: 1.2rem;
    }

    .header .navbar {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--white);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding: 1.5rem;
        padding-bottom: 2rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease, opacity 0.3s ease;
        max-height: 80vh;
        overflow-y: auto;
        flex-direction: column;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
        gap: 0;
    }

    .header .navbar.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    /* Mobile navbar end divider */
    .header .navbar::after {
        content: '';
        display: block;
        width: 60%;
        height: 3px;
        margin: 1.5rem auto 0;
        background: linear-gradient(90deg, transparent, var(--secondary), var(--gold), var(--secondary), transparent);
        border-radius: 2px;
        opacity: 0.7;
    }

    .header .navbar a {
        display: block;
        padding: 1.4rem 1.8rem;
        margin: 0.5rem 0;
        background: #f9f9f9;
        font-size: 1.6rem;
        border-radius: 0.8rem;
        border-right: 3px solid transparent;
        transition: all 0.2s ease;
        width: 100%;
    }

    .header .navbar a::after {
        display: none;
    }

    .header .navbar a:hover,
    .header .navbar a:active,
    .header .navbar a.active {
        background: rgba(211, 84, 0, 0.08);
        border-right-color: var(--secondary);
        color: var(--secondary);
    }

    .hero .content h3 {
        font-size: 3.5rem;
    }

    .hero .content p {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    /* About section mobile */
    .about .row {
        flex-direction: column;
    }

    .about .row .content h3 {
        font-size: 2.5rem;
    }

    /* Stats section mobile */
    .stats .box h3 {
        font-size: 3rem;
    }

    .stats .box p {
        font-size: 1.6rem;
    }

    /* Footer mobile */
    .footer {
        padding: 3rem 5%;
    }

    .footer .box-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer .box h3 {
        font-size: 2rem;
    }

    .footer .credit {
        font-size: 1.4rem;
        padding: 1.5rem 0;
    }

    /* Contact form mobile */
    .contact .row form {
        padding: 2rem;
    }

    .contact .row form h3 {
        font-size: 2rem;
    }

    /* Projects grid mobile */
    .projects .box-container {
        grid-template-columns: 1fr;
    }

    /* Services grid mobile */
    .services .box-container {
        grid-template-columns: 1fr;
    }

    /* Reviews grid mobile */
    .reviews .box-container {
        grid-template-columns: 1fr;
    }

    /* Heading sizes mobile */
    .heading {
        font-size: 2.8rem;
        padding-bottom: 2rem;
    }

    /* Logo container mobile */
    .logo-container img {
        width: 50px;
    }

    .logo-container span {
        font-size: 14px;
    }
}

/* WhatsApp & Call Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.whatsapp-btn {
    background-color: #25D366;
    /* لون الواتساب الأخضر */
}

.call-btn {
    background-color: #007BFF;
    /* لون المكالمة الأزرق */
}

/* لتحريك الأيقونات عند الـ hover */
.floating-btn:hover .tooltip {
    opacity: 1;
    transform: translateX(-10px);
}

/* Tooltip نص توضيحي */
.tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}

/* ==================== Success Modal ==================== */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.success-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 2rem;
    padding: 4rem 3rem;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: scale(0.7) translateY(30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.success-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary), var(--gold), var(--secondary));
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.success-modal-overlay.active .success-modal {
    transform: scale(1) translateY(0);
}

/* Animated Checkmark */
.success-animation {
    margin-bottom: 2rem;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 3;
    stroke: #4CAF50;
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow:
        inset 0px 0px 0px #4CAF50,
        0 5px 20px rgba(76, 175, 80, 0.3);
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke-miterlimit: 10;
    stroke: #4CAF50;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 4;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 40px rgba(76, 175, 80, 0.1), 0 5px 20px rgba(76, 175, 80, 0.3);
    }
}

.success-modal h3 {
    font-size: 2.6rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.success-modal>p {
    font-size: 1.6rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.success-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.success-details i {
    font-size: 2rem;
    color: #4CAF50;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.success-details span {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
}

.success-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
    color: white;
    border-radius: 5rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.success-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
    background: linear-gradient(135deg, #45a049, #3d8b40);
}

.success-btn:active {
    transform: translateY(0);
}

.success-btn i {
    font-size: 1.6rem;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .success-modal {
        padding: 3rem 2rem;
    }

    .success-modal h3 {
        font-size: 2.2rem;
    }

    .success-modal>p {
        font-size: 1.4rem;
    }

    .checkmark {
        width: 60px;
        height: 60px;
    }

    .success-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.6rem;
    }
}

/* ==================== Articles Section ==================== */
.articles {
    padding: 5rem 9%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.articles-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Featured Article */
.article-card.featured {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    min-height: 50rem;
}

.article-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    min-height: 24rem;
    opacity: 0;
    transform: translateY(30px);
    animation: articleFadeIn 0.6s ease forwards;
}

.article-card:nth-child(1) {
    animation-delay: 0.1s;
}

.article-card:nth-child(2) {
    animation-delay: 0.2s;
}

.article-card:nth-child(3) {
    animation-delay: 0.3s;
}

.article-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes articleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card .article-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.article-card .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-card .article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    color: white;
    transition: all 0.4s ease;
}

.article-card:hover .article-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.3) 100%);
}

.article-card .article-overlay h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.article-card.featured .article-overlay h3 {
    font-size: 3rem;
}

.article-card .article-overlay p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card.featured .article-overlay p {
    font-size: 1.6rem;
    -webkit-line-clamp: 4;
}

.article-card .article-overlay .btn {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    font-size: 1.4rem;
    background: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.article-card .article-overlay .btn:hover {
    background: var(--primary);
}



/* Articles Responsive */
@media (max-width: 992px) {
    .articles-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .article-card.featured {
        grid-column: 1;
        grid-row: 1;
        min-height: 40rem;
    }

    .article-card {
        min-height: 30rem;
    }
}

@media (max-width: 576px) {
    .article-card .article-overlay h3 {
        font-size: 1.8rem;
    }

    .article-card.featured .article-overlay h3 {
        font-size: 2.2rem;
    }

    .article-card .article-overlay p {
        font-size: 1.3rem;
    }
}

/* ==================== Partners Section ==================== */
.partners {
    padding: 5rem 9%;
    background: #fff;
    text-align: center;
}

.partners-subtitle {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 4rem;
    line-height: 1.4;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.partner-logo-item img {
    max-width: 150px;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.partner-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

/* Partners Responsive */
@media (max-width: 992px) {
    .partners-subtitle {
        font-size: 2.8rem;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem 3rem;
    }

    .partner-logo-item img {
        max-width: 130px;
        max-height: 60px;
    }
}

@media (max-width: 768px) {
    .partners {
        padding: 4rem 5%;
    }

    .partners-subtitle {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .partner-logo-item img {
        max-width: 110px;
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .partners-subtitle {
        font-size: 1.8rem;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .partner-logo-item {
        padding: 1rem;
    }

    .partner-logo-item img {
        max-width: 90px;
        max-height: 45px;
    }
}

/* ================== Article Reader Modal ================== */
.article-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-modal.active {
    display: flex;
    opacity: 1;
}

/* Modal content styles are defined in enhanced section below */

/* Close button styles are defined in enhanced section below */

.article-modal-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.article-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-modal-text {
    padding: 3rem;
}

.article-modal-text h2 {
    font-size: 2.8rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-modal-text .article-date {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-modal-text .article-date::before {
    content: '\f073';
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
}

.article-modal-text .article-content {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #444;
    white-space: pre-line;
    /* Preserves newlines */
}

@media (max-width: 768px) {
    .article-modal {
        padding: 1rem;
    }

    .article-modal-image {
        height: 250px;
    }

    .article-modal-text {
        padding: 2rem;
    }

    .article-modal-text h2 {
        font-size: 2.2rem;
    }
}

/* ===== Article Modal Drag Handle ===== */
.article-modal-drag-handle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 11;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
    padding-top: 10px;
}

.article-modal-drag-handle:active {
    cursor: grabbing;
}

.drag-handle-bar {
    width: 50px;
    height: 5px;
    background: linear-gradient(90deg, #ddd, #bbb, #ddd);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.article-modal-drag-handle:hover .drag-handle-bar {
    width: 70px;
    background: linear-gradient(90deg, var(--secondary), var(--gold), var(--secondary));
}

.drag-handle-hint {
    font-size: 1.1rem;
    color: #999;
    margin-top: 5px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.article-modal-drag-handle:hover .drag-handle-hint {
    opacity: 1;
    transform: translateY(0);
}

/* Show drag handle hint on mobile always (briefly) */
@media (max-width: 768px) {
    .drag-handle-hint {
        animation: hintFade 3s ease-in-out;
    }

    @keyframes hintFade {

        0%,
        100% {
            opacity: 0;
        }

        15%,
        50% {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ===== Enhanced Close Button ===== */
.article-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 2.8rem;
    line-height: 44px;
    cursor: pointer;
    z-index: 12;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.article-modal-close:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.article-modal-close:active {
    transform: scale(0.95) rotate(90deg);
}

/* Close button pulse animation on modal open */
.article-modal.active .article-modal-close {
    animation: closeBtnPulse 0.6s ease-out;
}

@keyframes closeBtnPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== Modal Content Transition ===== */
.article-modal-content {
    background: #fff;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 1.5rem;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.4);
    animation: modalSlideUp 0.4s ease forwards;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Smooth scroll for modal content */
.article-modal-content {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================== Floating Action Buttons with Beam Animation ================== */

/* Base Floating Button Styles */
.floating-btn {
    position: fixed;
    bottom: 3rem;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    color: #fff;
    text-decoration: none;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Left Side - WhatsApp */
.floating-btn-left {
    left: 2.5rem;
}

/* Right Side - Call */
.floating-btn-right {
    right: 2.5rem;
}

/* WhatsApp Button Colors */
.floating-btn.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.floating-btn.whatsapp-btn:hover {
    background: linear-gradient(135deg, #2eee78 0%, #1aab97 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* Call Button Colors */
.floating-btn.call-btn {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
}

.floating-btn.call-btn:hover {
    background: linear-gradient(135deg, #e96400 0%, #f39c12 100%);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(211, 84, 0, 0.5);
}

/* Icon Animation */
.floating-btn i {
    position: relative;
    z-index: 5;
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

/* Pulse Ring Animation */
.floating-btn-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0;
    z-index: 1;
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Beam/Ray Animation Container */
.floating-btn-rays {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 0;
}

/* Multiple Rays emanating from button */
.floating-btn-rays::before,
.floating-btn-rays::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    animation: rayBeam 2.5s ease-in-out infinite;
}

.floating-btn-rays::before {
    width: 90px;
    height: 90px;
    border: 3px solid currentColor;
    opacity: 0.4;
    animation-delay: 0s;
}

.floating-btn-rays::after {
    width: 110px;
    height: 110px;
    border: 2px solid currentColor;
    opacity: 0.3;
    animation-delay: 0.5s;
}

.whatsapp-btn .floating-btn-rays::before,
.whatsapp-btn .floating-btn-rays::after {
    border-color: #25D366;
}

.call-btn .floating-btn-rays::before,
.call-btn .floating-btn-rays::after {
    border-color: #e67e22;
}

@keyframes rayBeam {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.2;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.6;
    }
}

/* Glow Effect */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.4) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 0;
}

.call-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.4) 0%, transparent 70%);
    animation: glowPulse 2s ease-in-out infinite;
    z-index: 0;
}

@keyframes glowPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

/* Tooltip */
.floating-tooltip {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.4rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 10;
}

/* Tooltip positioning based on button side */
.floating-btn-left .floating-tooltip {
    right: -100%;
    transform: translateY(-50%) translateX(20px);
}

.floating-btn-right .floating-tooltip {
    left: -100%;
    transform: translateY(-50%) translateX(-20px);
}

.floating-btn-left .floating-tooltip::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent #333 transparent transparent;
}

.floating-btn-right .floating-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
    visibility: visible;
}

.floating-btn-left:hover .floating-tooltip {
    transform: translateY(-50%) translateX(10px);
}

.floating-btn-right:hover .floating-tooltip {
    transform: translateY(-50%) translateX(-10px);
}

/* WhatsApp CTA Button in Hero Section */
.whatsapp-cta-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    display: inline-flex !important;
    align-items: center;
    gap: 1rem;
    animation: ctaPulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.whatsapp-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: ctaShine 3s ease-in-out infinite;
}

@keyframes ctaShine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5), 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0), 0 8px 20px rgba(0, 0, 0, 0.3);
    }
}

.whatsapp-cta-btn:hover {
    background: linear-gradient(135deg, #2eee78 0%, #1aab97 100%) !important;
    transform: translateY(-5px) scale(1.02);
}

.whatsapp-cta-btn i {
    font-size: 2rem;
}

/* Mobile Responsive Floating Buttons */
@media (max-width: 768px) {
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 2.4rem;
        bottom: 2rem;
    }

    .floating-btn-left {
        left: 1.5rem;
    }

    .floating-btn-right {
        right: 1.5rem;
    }

    .floating-btn-rays::before {
        width: 75px;
        height: 75px;
    }

    .floating-btn-rays::after {
        width: 90px;
        height: 90px;
    }

    .floating-tooltip {
        display: none;
    }
}

/* ===== Section Subtitle ===== */
.section-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: #666;
    max-width: 80rem;
    margin: -2rem auto 3rem;
    line-height: 1.8;
}

/* ===== Hero Tagline ===== */
.hero .content .hero-tagline {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

/* ===== Contact Info Bar ===== */
.contact-info-bar {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    color: var(--primary);
    background: var(--white);
    padding: 1.5rem 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
}

.contact-info-item i {
    font-size: 2rem;
    color: var(--secondary);
}

/* ===== Stats Section Heading ===== */
.stats .stats-heading {
    color: var(--white);
    padding-bottom: 4rem;
}

.stats .stats-heading span {
    color: var(--gold);
}

@media (max-width: 768px) {
    .section-subtitle {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .contact-info-bar {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .contact-info-item {
        width: 100%;
        max-width: 30rem;
        justify-content: center;
    }
}

/* ===== Page Progress Indicator ===== */
.page-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 1001;
    background: transparent;
    pointer-events: none;
}

.page-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--secondary), var(--gold), var(--secondary));
    transition: width 0.1s ease-out;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(211, 84, 0, 0.4);
}

/* Section indicator dots for mobile */
.section-indicator {
    position: fixed;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.section-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.section-dot.active {
    background: var(--secondary);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(211, 84, 0, 0.4);
}

.section-dot::before {
    content: attr(data-section);
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.4rem 0.8rem;
    background: var(--primary);
    color: white;
    font-size: 1.1rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    margin-right: 0.8rem;
}

.section-dot:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Show section indicator on mobile only */
@media (max-width: 768px) {
    .section-indicator {
        display: flex;
    }
}

/* Page end indicator */
.page-end-indicator {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary), var(--gold));
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px 30px 0 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: bottom 0.4s ease;
    z-index: 998;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.page-end-indicator.visible {
    bottom: 0;
}

.page-end-indicator i {
    animation: bounceDown 1s ease infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Hide page end indicator on desktop */
@media (min-width: 769px) {
    .page-end-indicator {
        display: none;
    }
}