/* ================================
   GLOBAL STYLES & RESETS
================================ */
body {
    margin: 0px;
    min-height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    font-family: "Roboto", sans-serif;
}

* {
    box-sizing: border-box;
}

body.modal-open {
    overflow: hidden;
}

ul {
    list-style-type: none;
}

span,
a {
    display: inline-block;
}

a {
    text-decoration: none;
    background-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Source Sans 3", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ================================
   HOME SECTION
================================ */
.home {
    background-image: url(../Images/hero\ img.webp);
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100vw;
    position: relative;
}

/* Transparent cover Background_home */
.overlay-home {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.container-home {
    height: 100vh;
    width: 1140px;
    max-width: 100%;
    margin: 0 auto;
    padding: 1px;
    position: relative;
    z-index: 2;
}

/* ================================
   NAVBAR - STICKY
================================ */
.navber {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    background-color: transparent;
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    max-width: 1600px;
    margin: 0 auto;
}

/* Scrolled state */
.navber.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    height: 65px;
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo a {
    color: #ff305b;
    font-size: 24px;
    font-weight: 800;
    transition: all 0.3s ease;
}

.list {
    display: flex;
    align-items: center;
    height: 100%;
}

.items {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.items li {
    display: inline-block;
    padding: 0;
}

.items a {
    color: white;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 4px;
}

.items a:hover {
    color: #ff305b;
    background: rgba(255, 48, 91, 0.1);
}

.items a.active {
    color: #ff305b;
    position: relative;
}

.items a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #ff305b;
    animation: underline 0.3s ease forwards;
}

.items a.active[href="#home_id"] {
    font-weight: 500;
    border-radius: 4px;
}

@keyframes underline {
    to {
        width: 80%;
    }
}

/* ================================
   HAMBURGER MENU للموبايل
================================ */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 10px;
    z-index: 9999;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ================================
   CONTENT HOME
================================ */
.content-home {
    width: 1140px;
    max-width: 100%;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
}

.content-home p {
    color: white;
    margin: 0px 0px 10px;
    font-size: 24px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.content-home h1 {
    color: #ff305b;
    margin: 0px 0px 10px;
    font-size: 70px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ================================
   ANIMATED TEXT
================================ */
.content-home .animated-text {
    color: white;
    margin: 0px 0px 10px;
    font-size: 22px;
    font-weight: 300;
    vertical-align: middle;
    display: inline-block;
    position: relative;
}

.animated-text {
    font-size: 22px;
    font-weight: 300;
    min-width: 280px;
}

/* Professional Web ثابت */
.animated-text .typing-text {
    color: #ff305b;
    font-weight: 500;
    position: relative;
}

/* Cursor Animation */
.animated-text .typing-text::after {
    content: '|';
    position: absolute;
    right: -5px;
    color: #ff305b;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* ================================
   FOOTER
================================ */
.footer {
    background-color: #333;
    width: 100vw;
    height: auto;
    min-height: 120px;
    padding: 40px 20px;
    box-sizing: border-box;
}

.container-footer {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.icons-footer {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
}

.icon {
    display: inline-block;
}

.social-icons .icon i {
    color: #ffffff;
    font-size: 18px;
    padding: 8px;
    transition: color 0.3s ease, transform 0.6s ease;
}

.social-icons .icon i:hover {
    color: #ff305b;
    animation: shake 0.6s ease-in-out infinite;
}

@keyframes shake {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-3px);
    }

    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(3px);
    }

    100% {
        transform: translateY(0);
    }
}

.copy-right {
    color: #ffffff;
    font-size: 14px;
    margin: 10px 0 0;
    padding: 10px 0;
}

.copy-right span {
    color: #ff305b;
}

/* ================================
   RESPONSIVE DESIGN
================================ */

/* Tablet (أقل من 1024px) */
@media (max-width: 1024px) {
    .container-home {
        width: 95%;
        margin: 0 auto;
        padding: 20px;
    }

    .content-home {
        width: 95%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 0 20px;
    }

    .content-home p {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .content-home h1 {
        font-size: 50px;
        margin-bottom: 12px;
    }

    .animated-text {
        font-size: 18px;
        min-width: 200px;
    }

    .navber {
        padding: 0 20px;
    }

    .items a {
        font-size: 15px;
        padding: 8px 12px;
    }

    .items a.active::after {
        height: 2px;
    }

    .items a.active[href="#home_id"] {
        font-weight: 500;
        border-radius: 4px;
        padding: 8px 12px;
    }


    .logo a {
        padding-right: 100px;
    }


    .items {
        gap: 1px;
    }

    .footer {
        padding: 30px 15px;
        min-height: 100px;
    }

    .container-footer {
        width: 95%;
        max-width: 900px;
    }

    .social-icons {
        gap: 12px;
        padding: 8px 0;
    }

    .social-icons .icon i {
        font-size: 16px;
        padding: 7px;
    }

    .social-icons .icon i:hover {
        animation: shake 0.6s ease-in-out infinite;
    }

    .copy-right {
        font-size: 13px;
        margin: 8px 0 0;
    }
}

/* Mobile (أقل من 768px) */
@media (max-width: 768px) {
    .navber {
        padding: 0 20px;
        height: 60px;
    }

    .navber.scrolled {
        height: 60px;
    }

    .hamburger {
        display: flex;
    }

    .list {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 60px);
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        transition: right 0.3s ease;
        padding: 40px 0;
    }

    .list.active {
        right: 0;
    }

    .items {
        flex-direction: column;
        gap: 0;
        width: 100%;
        height: auto;
    }

    .items li {
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .items a {
        display: block;
        padding: 20px 30px;
        font-size: 16px;
        width: 100%;
    }

    .items a:hover,
    .items a.active {
        background: rgba(255, 48, 91, 0.1);
        padding-left: 40px;
    }

    .items a.active::after {
        display: none;
        
    }

    .items a.active[href="#home_id"] {
        font-weight: 500;
        box-shadow: 0 0 6px rgba(255, 48, 91, 0.5);
        border-radius: 4px;
    }

    .container-home {
        width: 100%;
        margin: 0;
        padding: 20px;
    }

    .content-home {
        width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 0 20px;
    }

    .content-home p {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .content-home h1 {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        margin-bottom: 15px;
    }

    .animated-text {
        font-size: 18px;
        min-width: auto;
    }

    .footer {
        padding: 20px 15px;
        min-height: 80px;
    }

    .container-footer {
        width: 100%;
    }

    .social-icons {
        gap: 10px;
        padding: 6px 0;
    }

    .social-icons .icon i {
        font-size: 15px;
        padding: 6px;
    }

    .social-icons .icon i:hover {
        animation: shake 0.6s ease-in-out infinite;
    }

    .copy-right {
        font-size: 12px;
        margin: 6px 0 0;
    }
}

/* Small Mobile (أقل من 480px) */
@media (max-width: 480px) {
    .navber {
        padding: 0 15px;
        height: 60px;
    }

    .logo a {
        font-size: 20px;
    }

    .hamburger span {
        width: 20px;
        height: 2px;
    }

    .container-home {
        width: 100%;
        padding: 15px;
    }

    .content-home {
        width: 100%;
        top: 50%;
        transform: translate(-50%, -50%);
        padding: 0 15px;
    }

    .content-home p {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .content-home h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-bottom: 12px;
    }

    .animated-text {
        font-size: 16px;
        min-width: auto;
    }

    .list {
        width: 100%;
    }

    .footer {
        padding: 15px 10px;
        min-height: 70px;
    }

    .container-footer {
        width: 100%;
    }

    .social-icons {
        gap: 8px;
        padding: 5px 0;
    }

    .social-icons .icon i {
        font-size: 14px;
        padding: 5px;
    }

    .social-icons .icon i:hover {
        animation: shake 0.6s ease-in-out infinite;
    }

    .copy-right {
        font-size: 11px;
        margin: 5px 0 0;
    }
}
























/* ================================
           ABOUT SECTION - SPACE OPTIMIZED
        ================================ */
.about {
    background-position: center;
    height: 100vh;
    width: 100vw;
    position: relative;
    padding: 1px;
    opacity: 0;
    animation: fadeInSection 0.8s ease forwards;
    animation-delay: 0.2s;
}

.container-about {
    height: auto;
    width: 1400px;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    top: 80px;
}

.clear-fix {
    clear: left;
}

/* ================================
           الصورة والإطار - محافظ على التصميم الأصلي
        ================================ */
.frame img {
    position: relative;
    top: 20px;
    left: 15px;
    width: 340px;
    height: 410px;
    object-fit: cover;
}

.frame {
    position: absolute;
    left: 120px;
    top: 55px;
    border: 8px #555555 solid;
    width: 320px;
    border-radius: 5px;
    display: block;
}

/* ================================
           المحتوى الجانبي - مساحة أوسع
        ================================ */
.part-two {
    float: left;
    width: 750px;
    padding: 0px 0px 0px 28px;
    height: 490px;
    position: absolute;
    right: 50px;
    top: 35px;
}

.about-me h2::before {
    content: "|";
    color: #ff305b;
    position: absolute;
    left: -5px;
    top: 0px;
}

.about-me h2 {
    margin-bottom: 20px;
    font-size: 34px;
    font-weight: 600;
    text-transform: uppercase;
    padding-left: 4px;
    position: relative;
}

.about-me p {
    color: #555555;
    font-size: 16px;
    margin: 0px 0px 20px;
    padding: 0px 0px 20px;
    border-bottom: 1px #999999 dashed;
    line-height: 1.6;
}

/* ================================
           معلومات الملف الشخصي - نفس الأصلي
        ================================ */
.profile-about .clear-fix {
    clear: left;
}

.profile-about ul {
    padding-left: 0px;
    width: 100%;
    list-style: none;
}

.profile-about span {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}

.profile-about li {
    float: left;
    color: #555555;
    margin: 0px 0px 15px;
    width: 50%;
    line-height: 1.6;
    padding-right: 20px;
    
}

/* ================================
           الأزرار - نفس الأصلي
        ================================ */
.download-cv-btn {
    margin-top: 20px;
}

.download-cv-btn .download-cv {
    color: white;
    background-color: #ff305b;
    border: 2px #ff305b solid;
    margin: 0px 15px 0px 0px;
    padding: 10px 24px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.download-cv-btn .hire-me {
    color: white;
    background-color: #ff305b;
    border: 2px #ff305b solid;
    margin: 0px 15px 0px 0px;
    padding: 10px 24px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.download-cv-btn .download-cv:hover,
.download-cv-btn .hire-me:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 48, 91, 0.3);
}

/* ================================
           RESPONSIVE DESIGN
        ================================ */

/* Large Desktop (1600px+) */
@media (min-width: 1600px) {
    .container-about {
        width: 1600px;
    }

    .frame {
        left: 150px;
    }

    .part-two {
        width: 850px;
        right: 80px;
    }

    .about-me h2 {
        font-size: 38px;
    }

    .about-me p {
        font-size: 17px;
    }
}

/* Desktop (1200px - 1599px) */
@media (max-width: 1599px) and (min-width: 1200px) {
    .container-about {
        width: 1300px;
    }

    .frame {
        left: 100px;
    }

    .part-two {
        width: 700px;
        right: 60px;
    }
}

/* Tablet (أقل من 1200px) */
@media (max-width: 1199px) and (min-width: 768px) {
    .container-about {
        width: 95%;
        max-width: 1000px;
    }

    .frame {
        left: 45px;
        width: 250px;
    }

    .frame img {
        width: 280px;
        height: 360px;
    }

    .part-two {
        width: 52%;
        right: 30px;
    }

    .about-me h2 {
        font-size: 30px;
    }
}

/* Mobile (أقل من 768px) */
@media (max-width: 767px) {
    .about {
        height: auto;
        min-height: 100vh;
        padding: 60px 25px 40px;
    }

    .container-about {
        position: relative;
        width: 100%;
        left: 0;
        transform: none;
        top: 0;
    }

    /* المحتوى في الموبايل (h2 في الأول) */
    .part-two {
        position: relative;
        float: none;
        width: 100%;
        right: 0;
        top: 0;
        padding: 0;
        height: auto;
    }

    .about-me h2 {
        font-size: 28px;
        text-align: center;
        position: relative;
    }

    .about-me h2::before {
        content: "|";
        color: #ff305b;
        position: absolute;
        left: calc(50% - 50px);
        top: 50%;
        transform: translateY(-50%);
        font-size: 28px;
    }

    .about-me p {
        font-size: 15px;
    }

    /* الصورة في الموبايل (بعد h2) */
    .frame {
        position: relative;
        left: 0;
        top: 0;
        margin: 20px auto 40px;
        width: 280px;
        border: 6px #555555 solid;
    }

    .frame img {
        width: 280px;
        height: 340px;
        top: 15px;
        left: 10px;
    }

    .profile-about ul {
        width: 100%;
    }

    .profile-about span {
        font-size: 14px;
    }

    .profile-about li {
        width: 100%;
        margin-bottom: 10px;
        font-size: 14px;
        padding-right: 0;
    }

    .download-cv-btn {
        text-align: center;
        margin-top: 20px;
    }

    .download-cv-btn .download-cv,
    .download-cv-btn .hire-me {
        margin: 5px 15px;
        display: inline-flex;
    }
}

/* Small Mobile (أقل من 480px) */
@media (max-width: 479px) {
    .about {
        padding: 40px 15px 30px;
    }

    .frame {
        width: 250px;
        border: 5px #555555 solid;
    }

    .frame img {
        width: 250px;
        height: 300px;
        top: 10px;
        left: 8px;
    }

    .about-me h2 {
        font-size: 24px;
    }

    .about-me h2::before {
        font-size: 24px;
        left: calc(50% - 45px);
    }

    .profile-about span {
        font-size: 13px;
    }

    .profile-about li {
        font-size: 13px;
    }

    .download-cv-btn .download-cv,
    .download-cv-btn .hire-me {
        padding: 8px 20px;
        font-size: 14px;
        width: calc(50% - 20px);
        justify-content: center;
    }
}

/* Very Small Mobile (أقل من 360px) */
@media (max-width: 359px) {
    .frame {
        width: 220px;
    }

    .frame img {
        width: 220px;
        height: 270px;
    }

    .about-me h2 {
        font-size: 20px;
    }

    .download-cv-btn .download-cv,
    .download-cv-btn .hire-me {
        width: 100%;
        margin: 5px 0;
    }
}

/* ================================
           Animation تدريجية بسيطة
        ================================ */
@keyframes fadeInSection {
    to {
        opacity: 1;
    }
}




















/* ================================
           OUR SERVICES - FIXED & RESPONSIVE
        ================================ */
.services {
    background-color: #f1f1f1;
    width: 100%;
    padding: 50px 20px;
    position: relative;
    opacity: 0;
    animation: fadeInSection 0.6s ease forwards;
    animation-delay: 0.2s;
}

.container-services {
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.title-services h2 {
    color: #333333;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 60px;
    text-transform: capitalize;
    position: relative;
    display: inline-block;
}

.title-services h2::before {
    content: "";
    width: 70px;
    height: 15px;
    display: block;
    border-top: 2px solid #ff305b;
    border-bottom: 2px solid #ff305b;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 0 5px;
}

.title-services h2::after {
    content: "";
    width: 170px;
    height: 2px;
    background-color: #ff305b;
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
}

/* Cards Container - FLEXBOX */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
}

.card {
    flex: 0 1 calc(25% - 15px);
    /* 4 cards with gap consideration */
    padding: 60px 25px;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px;
    position: relative;
}

.card:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 10px 5px rgba(0, 0, 0, 0.13);
}

.card i {
    color: #ff305b;
    font-size: 32px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 48, 91, 0.1);

}

.card:hover i {
    transform: scale(1.1);

    color: #e02b50;
    background: rgba(255, 48, 91, 0.15);
}

.card h3 {
    color: #333333;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: #ff305b;
}

.card p {
    color: #666666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

/* ================================
           RESPONSIVE DESIGN
        ================================ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container-services {
        max-width: 1400px;
    }

    .cards {
        gap: 25px;
    }

    .card {
        flex: 0 1 calc(25% - 19px);
        padding: 70px 30px;
    }

    .card i {
        font-size: 36px;
        width: 80px;
        height: 80px;
        margin-bottom: 30px;
    }

    .card h3 {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .card p {
        font-size: 16px;
    }
}

/* Desktop (1024px - 1399px) */
@media (max-width: 1399px) and (min-width: 1024px) {
    .container-services {
        max-width: 1200px;
    }

    .cards {
        gap: 20px;
    }

    .card {
        flex: 0 1 calc(25% - 15px);
        padding: 55px 20px;
    }

    .card i {
        font-size: 30px;
        width: 65px;
        height: 65px;
        margin-bottom: 22px;
    }

    .card h3 {
        font-size: 21px;
        margin-bottom: 15px;
    }

    .card p {
        font-size: 15px;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .services {
        padding: 60px 25px;
    }

    .title-services h2 {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .title-services h2::before {
        top: 45px;
        width: 65px;
    }

    .title-services h2::after {
        top: 50px;
        width: 150px;
    }

    .cards {
        gap: 20px;
    }

    .card {
        flex: 0 1 calc(50% - 10px);
        /* 2 cards per row */
        padding: 50px 25px;
        margin-bottom: 0;
    }

    .card i {
        font-size: 28px;
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .card p {
        font-size: 14px;
    }
}

/* Mobile (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .services {
        padding: 50px 20px;
    }

    .title-services h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .title-services h2::before {
        top: 40px;
        width: 60px;
    }

    .title-services h2::after {
        top: 45px;
        width: 130px;
    }

    .cards {
        gap: 25px;
        /* مسافة أكبر بين الكروت */
    }

    .card {
        flex: 0 1 100%;
        padding: 45px 30px;
        margin-bottom: 0;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(255, 48, 91, 0.1);
    }

    .card:hover {
        background: rgba(255, 255, 255, 0.95);
        transform: translateY(-5px);
        border-color: rgba(255, 48, 91, 0.2);
    }

    .card i {
        font-size: 32px;
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
        background: rgba(255, 48, 91, 0.15);
    }

    .card h3 {
        font-size: 22px;
        margin-bottom: 15px;
        color: #333;
    }

    .card p {
        font-size: 15px;
        line-height: 1.6;
        color: #666;
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .services {
        padding: 40px 15px;
    }

    .title-services h2 {
        font-size: 28px;
        margin-bottom: 35px;
    }

    .title-services h2::before {
        top: 38px;
        width: 50px;
        height: 12px;
    }

    .title-services h2::after {
        top: 43px;
        width: 110px;
    }

    .cards {
        gap: 20px;
    }

    .card {
        flex: 0 1 100%;
        padding: 35px 20px;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(255, 48, 91, 0.1);
        border-radius: 12px;
    }

    .card:hover {
        background: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .card i {
        font-size: 28px;
        width: 60px;
        height: 60px;
        margin-bottom: 18px;
        background: rgba(255, 48, 91, 0.12);
    }

    .card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .card p {
        font-size: 14px;
        line-height: 1.6;
        max-width: 280px;
        margin: 0 auto;
    }
}

/* Very Small Mobile (أقل من 320px) */
@media (max-width: 319px) {
    .services {
        padding: 30px 10px;
    }

    .title-services h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .title-services h2::before {
        top: 35px;
        width: 45px;
        height: 10px;
    }

    .title-services h2::after {
        top: 40px;
        width: 90px;
    }

    .card {
        padding: 30px 10px;
    }

    .card i {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .card p {
        font-size: 13px;
    }
}

/* ================================
           ANIMATIONS
        ================================ */
@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:nth-child(4) {
    animation-delay: 0.4s;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ================================
   OUR PORTFOLIO (مع الـ btns وlist-btns الأصلي + portfolio-overlay)
================================ */
.portfolio {
    width: 100vw;
    height: auto;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    margin: 80px 0px 50px;
    opacity: 0;
    animation: fadeInSection 0.8s ease forwards;
    animation-delay: 0.2s;
    box-sizing: border-box;
}

.container-portfolio {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.title-portfolio h2 {
    color: #333333;
    margin: 0 0 20px;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    padding-bottom: 30px;
    text-transform: capitalize;
    position: relative;
}

.title-portfolio h2::before {
    content: "";
    width: 70px;
    height: 15px;
    display: block;
    border-top: 1px solid #ff305b;
    border-bottom: 1px solid #ff305b;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 0;
}

.title-portfolio h2::after {
    content: "";
    width: 170px;
    height: 2px;
    border-bottom: 1px solid #ff305b;
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
}

.btns {
    margin: 30px 0;
    padding: 0;
    position: relative;
}

.list-btns {
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
}

.portfolio .btns .list-btns .btn {
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 8px 15px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.portfolio .btns .list-btns .btn:hover,
.portfolio .btns .list-btns .btn.active {
    color: #ff305b;
    background: rgba(255, 48, 91, 0.1);
}

.portfolio .btns .list-btns .btn:disabled {
    opacity: 1;
    cursor: pointer;
}

.container-portfolio .clear-fix {
    clear: both;
}

.cards-portfolio {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    position: relative;
    margin-top: 30px;
}

.card-portfolio {
    position: relative;
    width: calc(33.33% - 20px);
    padding: 0;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.card-portfolio img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    display: block;
}

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

.card-portfolio.hidden {
    opacity: 0;
    transform: translateY(20px);
    display: none;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border-radius: 10px;
}

.card-portfolio:hover .portfolio-overlay {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.portfolio-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ff305b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.portfolio-links a:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 48, 91, 0.3);
}




/* Ensure body doesn't scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Modal styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999; /* Increased to ensure it's above all elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; /* Changed from 100vh to handle mobile better */
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-modal .modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    border: 3px solid #ff305b;
    z-index: 10000; /* Above modal */
}

.image-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001; /* Above modal and content */
}

.image-modal .modal-close:hover {
    color: #ff305b;
}



/* ================================
   RESPONSIVE DESIGN
================================ */

/* Tablet (768px-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .portfolio {
        padding: 30px 15px;
        margin: 60px 0 40px;
    }

    .container-portfolio {
        width: 95%;
        max-width: 900px;
        margin: 0 auto;
    }

    .title-portfolio h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .title-portfolio h2::before {
        top: 50px;
        width: 60px;
    }

    .title-portfolio h2::after {
        top: 55px;
        width: 140px;
    }

    .btns {
        margin: 25px 0;
    }

    .list-btns {
        gap: 12px;
        margin: 15px 0;
    }

    .portfolio .btns .list-btns .btn {
        font-size: 15px;
        padding: 7px 12px;
    }

    .cards-portfolio {
        gap: 15px;
        margin-top: 25px;
    }

    .card-portfolio {
        width: calc(50% - 15px);
        margin-bottom: 15px;
    }

    .portfolio-overlay {
        padding: 15px;
    }

    .portfolio-links a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Mobile (أقل من 768px) */
@media (max-width: 768px) {
    .portfolio {
        padding: 20px 15px;
        margin: 40px 0 30px;
    }

    .container-portfolio {
        width: 100%;
        margin: 0 auto;
    }

    .title-portfolio h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .title-portfolio h2::before {
        top: 45px;
        width: 60px;
    }

    .title-portfolio h2::after {
        top: 50px;
        width: 120px;
    }

    .btns {
        margin: 20px 0;
    }

    .list-btns {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin: 15px 0;
    }

    .portfolio .btns .list-btns .btn {
        font-size: 14px;
        padding: 6px 10px;
        max-width: 120px;
        text-align: center;
    }

    .cards-portfolio {
        gap: 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .card-portfolio {
        width: 100%;
        margin-bottom: 15px;
    }

    .portfolio-overlay {
        padding: 15px;
    }

    .portfolio-links a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Small Mobile (أقل من 480px) */
@media (max-width: 480px) {
    .portfolio {
        padding: 15px 10px;
        margin: 30px 0 20px;
    }

    .container-portfolio {
        width: 100%;
        margin: 0 auto;
    }

    .title-portfolio h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .title-portfolio h2::before {
        top: 40px;
        width: 50px;
    }

    .title-portfolio h2::after {
        top: 45px;
        width: 100px;
    }

    .btns {
        margin: 15px 0;
    }

    .list-btns {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin: 10px 0;
    }

    .portfolio .btns .list-btns .btn {
        font-size: 13px;
        padding: 5px 8px;
        max-width: 100px;
    }

    .cards-portfolio {
        gap: 10px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .card-portfolio {
        width: 100%;
        margin-bottom: 10px;
    }

    .portfolio-links a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
}

/* ================================
   Animation تدريجية بسيطة
================================ */
@keyframes fadeInSection {
    to {
        opacity: 1;
    }
}














/* ================================
           STATISTICS SECTION - SIMPLE FIX
        ================================ */
.statistics {
    background-color: #f1f1f1;
    min-height: 270px;
    position: relative;
    padding: 50px 20px;
    margin: 80px 0px 50px;
    opacity: 0;
    animation: fadeInSection 0.8s ease forwards;
    animation-delay: 0.2s;
    width: 100%;
}

.container-statistics {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 89;
}

.list-statistics {
    width: 100%;
}

.icons-statistics {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.icon-statistics {
    flex: 0 1 24%;
    min-width: 200px;
    padding: 0 15px;
    text-align: center;
}

.icon-statistics i {
    color: #ff305b;
    font-size: 26px;
    margin-bottom: 15px;
    display: block;
}

.icon-statistics h3 {
    color: #333333;
    font-size: 26px;
    font-weight: 800;
    margin: 0px 0px 10px;
}

.icon-statistics h4 {
    color: #555555;
    font-size: 16px;
    margin: 0;
}

.clear-fix {
    clear: both;
}

/* ================================
           RESPONSIVE DESIGN
        ================================ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .container-statistics {
        max-width: 1600px;
    }
}

/* Desktop (1024px - 1399px) */
@media (max-width: 1399px) and (min-width: 1024px) {
    .container-statistics {
        max-width: 1200px;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .statistics {
        min-height: 300px;
        padding: 60px 30px;
        margin: 60px 0px 40px;
    }

    .icons-statistics {
        justify-content: space-around;
        gap: 20px;
    }

    .icon-statistics {
        flex: 0 1 45%;
        /* 2 عناصر في صف */
        margin-bottom: 20px;
    }
}

/* Mobile (481px - 767px) */
@media (max-width: 767px) and (min-width: 481px) {
    .statistics {
        padding: 40px 20px;
        margin: 40px 0px 30px;
    }

    .icons-statistics {
        justify-content: center;
        gap: 20px;
    }

    .icon-statistics {
        flex: 0 1 100%;
        min-width: auto;
        max-width: 300px;
        margin-bottom: 20px;
    }

    .icon-statistics i {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .icon-statistics h3 {
        font-size: 22px;
    }

    .icon-statistics h4 {
        font-size: 14px;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .statistics {
        padding: 30px 15px;
        margin: 30px 0px 20px;
    }

    .icon-statistics {
        padding: 0 5px;
        margin-bottom: 15px;
    }

    .icon-statistics i {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .icon-statistics h3 {
        font-size: 20px;
    }

    .icon-statistics h4 {
        font-size: 13px;
    }
}

/* Very Small Mobile (أقل من 320px) */
@media (max-width: 319px) {
    .icon-statistics i {
        font-size: 24px;
    }

    .icon-statistics h3 {
        font-size: 18px;
    }

    .icon-statistics h4 {
        font-size: 12px;
    }
}

/* ================================
           Animation تدريجية بسيطة
        ================================ */
@keyframes fadeInSection {
    to {
        opacity: 1;
    }
}


















/* ================================
   CLIENT'S FEEDBACK SECTION - SLIDER
================================ */
.TestimonialsSection {
    width: 100%;
    min-height: 500px;
    padding: 80px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.TestimonialsSection .TestimonialsContainer {
    max-width: 1150px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.TestimonialsSection .TestimonialsTitle h2 {
    color: #333333;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 60px;
    text-transform: capitalize;
    position: relative;
    display: inline-block;
}

.TestimonialsSection .TestimonialsTitle h2::before {
    content: "";
    border-bottom: 2px solid #ff305b;
    border-top: 2px solid #ff305b;
    padding: 4px 0 5px;
    display: block;
    width: 70px;
    height: 15px;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.TestimonialsSection .TestimonialsTitle h2::after {
    content: "";
    width: 170px;
    height: 2px;
    background-color: #ff305b;
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
}

/* Slider Container */
.TestimonialsSection .TestimonialsSlider {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    min-height: 301px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.TestimonialsSection .TestimonialCard {
    background-color: #f1f1f1;
    max-width: 800px;
    /* زيادة العرض */
    width: 90%;
    min-height: 350px;
    /* زيادة الارتفاع */
    padding: 50px;
    /* زيادة الحشو */
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    /* border-radius أكبر */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.TestimonialsSection .TestimonialCard.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.TestimonialsSection .TestimonialCard:not(.active) {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.95);
    pointer-events: none;
}

.TestimonialsSection .ClientPhoto img {
    width: 120px;
    /* صورة أكبر */
    height: 120px;
    border-radius: 50%;
    border: 4px solid #ff305b;
    /* بوردر أكبر */
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.TestimonialsSection .TestimonialContent {
    background-color: beige;
    flex: 1;
    padding: 30px;
    /* حشو أكبر */
    border-radius: 10px;
    text-align: left;
    position: relative;
    min-height: 220px;
    /* ارتفاع أكبر */
}

.TestimonialsSection .TestimonialContent h3 {
    color: #333333;
    font-size: 30px;
    /* خط أكبر */
    font-weight: 700;
    margin-bottom: 18px;
}

.TestimonialsSection .TestimonialContent a {
    color: #777777;
    font-size: 17px;
    /* خط أكبر */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    transition: color 0.3s ease;
}

.TestimonialsSection .TestimonialContent p {
    font-size: 18px;
    /* خط أكبر */
    font-style: italic;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.TestimonialsSection .RatingStars p {
    color: #f1c30d;
    font-size: 22px;
    /* نجوم أكبر */
    margin: 0;
    display: flex;
    gap: 5px;
}

.TestimonialsSection .TestimonialItem {
    background-color: transparent;
    width: 100%;
    min-height: 221px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.TestimonialsSection .ClientPhoto {
    flex-shrink: 0;
    position: relative;
}

.TestimonialsSection .ClientPhoto img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #ff305b;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.TestimonialsSection .ClientPhoto img:hover {
    transform: scale(1.05);
}

.TestimonialsSection .TestimonialContent {
    background-color: beige;
    flex: 1;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    position: relative;
    min-height: 180px;
}

.TestimonialsSection .TestimonialContent h3 {
    color: #333333;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
}

.TestimonialsSection .TestimonialContent a {
    color: #777777;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.TestimonialsSection .TestimonialContent a:hover {
    color: #ff305b;
}

.TestimonialsSection .TestimonialContent a i {
    color: #ff305b;
}

.TestimonialsSection .TestimonialContent p {
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.TestimonialsSection .RatingStars {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.TestimonialsSection .RatingStars p {
    color: #f1c30d;
    font-size: 18px;
    margin: 0;
    display: flex;
    gap: 3px;
}

.TestimonialsSection .RatingStars i {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* ================================
   DOTS CONTROLS
================================ */
.TestimonialsSection .DotsNavigation {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.TestimonialsSection .SliderDot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.TestimonialsSection .SliderDot:hover {
    background: #bbb;
    transform: scale(1.1);
}

.TestimonialsSection .SliderDot.active {
    background: #ff305b;
    transform: scale(1.2);
    border-color: rgba(255, 48, 91, 0.3);
}

.TestimonialsSection .SliderDot.active::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(255, 48, 91, 0.4);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ================================
   RESPONSIVE DESIGN
================================ */

/* Tablet - شاشات متوسطة */
@media (max-width: 1200px) {
    .TestimonialsSection .TestimonialsContainer {
        max-width: 900px;
        padding: 0 30px;
    }

    .TestimonialsSection .TestimonialCard {
        max-width: 100%;
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .TestimonialsSection {
        padding: 60px 15px;
        min-height: 400px;
    }

    .TestimonialsSection .TestimonialsTitle h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .TestimonialsSection .TestimonialsTitle h2::before {
        top: 40px;
        width: 60px;
        height: 12px;
    }

    .TestimonialsSection .TestimonialsTitle h2::after {
        top: 45px;
        width: 140px;
    }

    .TestimonialsSection .TestimonialCard {
        padding: 25px 15px;
        min-height: 260px;
    }

    .TestimonialsSection .TestimonialItem {
        gap: 15px;
    }

    .TestimonialsSection .ClientPhoto img {
        width: 70px;
        height: 70px;
    }

    .TestimonialsSection .TestimonialContent {
        padding: 15px;
        min-height: 160px;
    }

    .TestimonialsSection .TestimonialContent h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .TestimonialsSection .TestimonialContent a {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .TestimonialsSection .TestimonialContent p {
        font-size: 14px;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .TestimonialsSection .RatingStars {
        bottom: -2px;
    }

    .TestimonialsSection .RatingStars p {
        font-size: 15px;
    }

    .TestimonialsSection .SliderDot {
        width: 12px;
        height: 12px;
    }
}

/* Mobile - الهواتف الصغيرة */
@media (max-width: 480px) {
    .TestimonialsSection {
        padding: 40px 8px;
    }

    .TestimonialsSection .TestimonialsTitle h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .TestimonialsSection .TestimonialsTitle h2::before {
        top: 35px;
        width: 50px;
        height: 10px;
    }

    .TestimonialsSection .TestimonialsTitle h2::after {
        top: 40px;
        width: 120px;
    }

    .TestimonialsSection .TestimonialCard {
        padding: 20px 12px;
        min-height: 220px;
    }

    .TestimonialsSection .TestimonialItem {
        gap: 12px;
    }

    .TestimonialsSection .ClientPhoto img {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }

    .TestimonialsSection .TestimonialContent {
        padding: 10px;
        min-height: 140px;
    }

    .TestimonialsSection .TestimonialContent h3 {
        font-size: 18px;
        margin-bottom: 5px;
    }

    .TestimonialsSection .TestimonialContent a {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .TestimonialsSection .TestimonialContent p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .TestimonialsSection .RatingStars p {
        font-size: 13px;
    }

    .TestimonialsSection .DotsNavigation {
        gap: 10px;
        margin-top: 25px;
    }

    .TestimonialsSection .SliderDot {
        width: 10px;
        height: 10px;
    }
}

/* Very Small Mobile */
@media (max-width: 320px) {
    .TestimonialsSection {
        padding: 30px 5px;
    }

    .TestimonialsSection .TestimonialsTitle h2 {
        font-size: 22px;
    }

    .TestimonialsSection .TestimonialCard {
        padding: 15px 8px;
        min-height: 200px;
    }

    .TestimonialsSection .TestimonialItem {
        gap: 10px;
    }

    .TestimonialsSection .ClientPhoto img {
        width: 50px;
        height: 50px;
    }

    .TestimonialsSection .TestimonialContent {
        padding: 8px;
        min-height: 120px;
    }

    .TestimonialsSection .TestimonialContent h3 {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .TestimonialsSection .TestimonialContent a {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .TestimonialsSection .TestimonialContent p {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .TestimonialsSection .RatingStars p {
        font-size: 12px;
    }

    .TestimonialsSection .SliderDot {
        width: 8px;
        height: 8px;
    }

    .TestimonialsSection .DotsNavigation {
        gap: 8px;
        margin-top: 20px;
    }
}




/* !Our Blog */
.blog {
    background-color: #f1f1f1;
    width: 100vw;
    height: auto;
    min-height: 100vh;
    padding: 60px 20px;
    position: relative;
    margin: 80px 0 50px;
    box-sizing: border-box;
}

.container-blog {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.title-blog h2 {
    color: #333333;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px;
    padding-bottom: 30px;
    position: relative;
    text-transform: capitalize;
}

.title-blog h2::before {
    content: "";
    width: 70px;
    height: 15px;
    display: block;
    border-top: 1px solid #ff305b;
    border-bottom: 1px solid #ff305b;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 0;
}

.title-blog h2::after {
    content: "";
    width: 170px;
    height: 2px;
    border-bottom: 2px solid #ff305b;
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
}

.clear-fix {
    clear: both;
}

.cards-blog {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    position: relative;
}

.card-blog {
    width: calc(33.33% - 20px);
    min-height: 450px;
    /* Reduced for compact design */
    padding: 0;
    margin-bottom: 20px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.image-blog,
.video-blog {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.card-blog img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px 10px 0 0;
}

.card-blog .description {
    padding: 15px;
    /* Reduced padding */
    color: #333333;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-blog .date-post {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
    /* Reduced margin */
}

.card-blog h3 {
    color: black;
    font-size: 20px;
    font-weight: 600;
    margin: 5px 0;
    /* Reduced margin */
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-blog h3:hover {
    color: #ff305b;
}

.card-blog p {
    font-size: 16px;
    line-height: 1.5;
    margin: 5px 0;
    /* Reduced margin */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-blog .post-read {
    color: #333333;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 14px;
    margin-top: 5px;
    /* Reduced margin */
}

.card-blog .post-read:hover {
    color: #ff305b;
}

/* ================================
   RESPONSIVE DESIGN
================================ */

/* Tablet (769px-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .blog {
        padding: 40px 15px;
        margin: 60px 0 40px;
    }

    .container-blog {
        width: 95%;
        max-width: 900px;
    }

    .title-blog h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .title-blog h2::before {
        top: 50px;
        width: 60px;
    }

    .title-blog h2::after {
        top: 55px;
        width: 140px;
    }

    .cards-blog {
        gap: 15px;
        margin: 25px 0;
    }

    .card-blog {
        width: calc(50% - 15px);
        min-height: 400px;
        /* Reduced for compact design */
        margin-bottom: 15px;
    }

    .card-blog .description {
        padding: 12px;
        /* Reduced padding */
    }

    .card-blog .date-post {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .card-blog h3 {
        font-size: 18px;
        margin: 4px 0;
        -webkit-line-clamp: 2;
    }

    .card-blog p {
        font-size: 15px;
        margin: 4px 0;
        -webkit-line-clamp: 3;
    }

    .card-blog .post-read {
        font-size: 13px;
        margin-top: 4px;
    }
}

/* Mobile (أقل من 768px) */
@media (max-width: 768px) {
    .blog {
        padding: 30px 15px;
        margin: 40px 0 30px;
    }

    .container-blog {
        width: 100%;
        margin: 0 auto;
    }

    .title-blog h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .title-blog h2::before {
        top: 45px;
        width: 60px;
    }

    .title-blog h2::after {
        top: 50px;
        width: 120px;
    }

    .cards-blog {
        gap: 15px;
        margin: 20px 0;
    }

    .card-blog {
        width: 100%;
        min-height: 350px;
        /* Reduced for compact design */
        margin-bottom: 15px;
    }

    .card-blog .description {
        padding: 10px;
        /* Reduced padding */
    }

    .card-blog .date-post {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .card-blog h3 {
        font-size: 18px;
        margin: 4px 0;
        -webkit-line-clamp: 2;
    }

    .card-blog p {
        font-size: 15px;
        margin: 4px 0;
        -webkit-line-clamp: 3;
    }

    .card-blog .post-read {
        font-size: 13px;
        margin-top: 4px;
    }
}

/* Small Mobile (أقل من 480px) */
@media (max-width: 480px) {
    .blog {
        padding: 20px 10px;
        margin: 30px 0 20px;
    }

    .container-blog {
        width: 100%;
        margin: 0 auto;
    }

    .title-blog h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .title-blog h2::before {
        top: 40px;
        width: 50px;
    }

    .title-blog h2::after {
        top: 45px;
        width: 100px;
    }

    .cards-blog {
        gap: 10px;
        margin: 15px 0;
    }

    .card-blog {
        width: 100%;
        min-height: 300px;
        /* Reduced for compact design */
        margin-bottom: 10px;
    }

    .card-blog .description {
        padding: 8px;
        /* Reduced padding */
    }

    .card-blog .date-post {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .card-blog h3 {
        font-size: 16px;
        margin: 3px 0;
        -webkit-line-clamp: 2;
    }

    .card-blog p {
        font-size: 14px;
        margin: 3px 0;
        -webkit-line-clamp: 3;
    }

    .card-blog .post-read {
        font-size: 12px;
        margin-top: 3px;
    }
}



/* !Contact Us */
.contact {
    /* background-color: #f1f1f1;  */
    width: 100vw;
    padding: 60px 20px;
    /* Adjusted from 80px 0px 80px */
    box-sizing: border-box;
}

.container-contact {
    width: 90%;
    max-width: 1200px;
    /* Adjusted from 1150px */
    margin: 0 auto;
    /* Centered instead of left: 185px */
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.title-contact h2 {
    color: #333333;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    /* Adjusted from 30px */
    margin: 0 0 20px;
    /* Reduced from 40px */
    padding-bottom: 30px;
    position: relative;
    text-transform: capitalize;
}

.title-contact h2::before {
    content: "";
    width: 70px;
    height: 15px;
    display: block;
    border-top: 1px solid #ff305b;
    border-bottom: 1px solid #ff305b;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    /* Centered instead of left: 540px */
    padding: 4px 0;
}

.title-contact h2::after {
    content: "";
    width: 170px;
    height: 2px;
    border-bottom: 2px solid #ff305b;
    /* Adjusted thickness */
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    /* Centered instead of left: 490px */
}

.contact-form {
    max-width: 800px;
    /* Widened from 720px */
    margin: 0 auto;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    /* Added for spacing between name and email */
    margin-bottom: 10px;
    /* Reduced from 20px */
}

.form-group {
    flex: 1;
    position: relative;
}

.form-name,
.form-email,
.form-subject,
.form-textbox {
    margin: 10px 0;
    /* Reduced from 20px/22px */
}

.form-name2,
.form-email2,
.form-subject2,
.form-textbox2 {
    width: 100%;
    /* Responsive width */
    font-size: 14px;
    line-height: 1.5;
    /* Adjusted from 1.42857143 */
    border-radius: 4px;
    border: 2px solid #e5e5e5;
    /* Changed from whitesmoke */
    padding: 10px 12px;
    /* Increased from 6px 12px */
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-name2,
.form-email2 {
    height: 44px;
    /* Increased from 40px */
}

.form-subject2 {
    height: 44px;
    /* Increased from 40px */
}

.form-textbox2 {
    height: 150px;
    /* Increased from 93.5px */
    resize: none;
}

.form-name2:focus,
.form-email2:focus,
.form-subject2:focus,
.form-textbox2:focus {
    border-color: #ff305b;
    /* Changed from #a94442 to match button */
    outline: none;
}

.form-name2.error,
.form-email2.error,
.form-subject2.error,
.form-textbox2.error {
    border-color: #a94442;
}

.error-message {
    color: #a94442;
    font-size: 12px;
    margin-top: 5px;
    text-align: left;
    display: none;
}

.send-btn {
    text-align: center;
    margin: 10px 0;
    /* Adjusted from -15px */
}

.send-btn .btn {
    position: relative;
    /* Changed from absolute */
    border-radius: 4px;
    border: 2px solid #ff305b;
    background-color: #ff305b;
    color: #ffffff;
    text-transform: uppercase;
    width: 160px;
    /* Increased from 143px */
    height: 44px;
    /* Increased from 40px */
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.send-btn .btn:hover {
    background-color: #e52a50;
    border-color: #e52a50;
}

.send-btn .btn:disabled {
    background-color: #cccccc;
    border-color: #cccccc;
    cursor: not-allowed;
}

.btn-text {
    font-size: 14px;
}

.btn-loader {
    font-size: 14px;
}

.form-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
}

.error-message-global {
    background-color: #f8d7da;
    color: #721c24;
}

.form-message i {
    font-size: 18px;
}

.form-message p {
    font-size: 14px;
    margin: 0;
}

/* ================================
   RESPONSIVE DESIGN
================================ */

/* Tablet (769px-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact {
        padding: 40px 15px;
    }

    .container-contact {
        width: 95%;
        max-width: 900px;
    }

    .title-contact h2 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .title-contact h2::before {
        top: 50px;
        width: 60px;
    }

    .title-contact h2::after {
        top: 55px;
        width: 140px;
    }

    .contact-form {
        max-width: 600px;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 8px;
    }

    .form-name,
    .form-email,
    .form-subject,
    .form-textbox {
        margin: 8px 0;
    }

    .form-name2,
    .form-email2,
    .form-subject2,
    .form-textbox2 {
        padding: 8px 10px;
        font-size: 13px;
    }

    .form-name2,
    .form-email2,
    .form-subject2 {
        height: 40px;
    }

    .form-textbox2 {
        height: 120px;
    }

    .error-message {
        font-size: 11px;
        margin-top: 4px;
    }

    .send-btn {
        margin: 8px 0;
    }

    .send-btn .btn {
        width: 150px;
        height: 40px;
    }

    .btn-text,
    .btn-loader {
        font-size: 13px;
    }
}

/* Mobile (less than 768px) */
@media (max-width: 768px) {
    .contact {
        padding: 30px 15px;
    }

    .container-contact {
        width: 100%;
    }

    .title-contact h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .title-contact h2::before {
        top: 45px;
        width: 60px;
    }

    .title-contact h2::after {
        top: 50px;
        width: 120px;
    }

    .contact-form {
        max-width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 8px;
    }

    .form-name,
    .form-email,
    .form-subject,
    .form-textbox {
        margin: 8px 0;
    }

    .form-name2,
    .form-email2,
    .form-subject2,
    .form-textbox2 {
        padding: 8px 10px;
        font-size: 13px;
    }

    .form-name2,
    .form-email2,
    .form-subject2 {
        height: 40px;
    }

    .form-textbox2 {
        height: 120px;
    }

    .error-message {
        font-size: 11px;
        margin-top: 4px;
    }

    .send-btn {
        margin: 8px 0;
    }

    .send-btn .btn {
        width: 150px;
        height: 40px;
    }

    .btn-text,
    .btn-loader {
        font-size: 13px;
    }
}

/* Small Mobile (less than 480px) */
@media (max-width: 480px) {
    .contact {
        padding: 20px 10px;
    }

    .container-contact {
        width: 100%;
    }

    .title-contact h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .title-contact h2::before {
        top: 40px;
        width: 50px;
    }

    .title-contact h2::after {
        top: 45px;
        width: 100px;
    }

    .contact-form {
        max-width: 100%;
    }

    .form-row {
        gap: 8px;
        margin-bottom: 6px;
    }

    .form-name,
    .form-email,
    .form-subject,
    .form-textbox {
        margin: 6px 0;
    }

    .form-name2,
    .form-email2,
    .form-subject2,
    .form-textbox2 {
        padding: 6px 8px;
        font-size: 12px;
    }

    .form-name2,
    .form-email2,
    .form-subject2 {
        height: 38px;
    }

    .form-textbox2 {
        height: 100px;
    }

    .error-message {
        font-size: 10px;
        margin-top: 3px;
    }

    .send-btn {
        margin: 6px 0;
    }

    .send-btn .btn {
        width: 140px;
        height: 38px;
    }

    .btn-text,
    .btn-loader {
        font-size: 12px;
    }

    .form-message p {
        font-size: 12px;
    }
}







/* !Footer Page */
.footer {
    background-color: #333;
    width: 100vw;
    height: auto;
    min-height: 120px;
    padding: 40px 20px;
    box-sizing: border-box;
}

.container-footer {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.icons-footer {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
}

.icon {
    display: inline-block;
}

.social-icons .icon i {
    color: #ffffff;
    font-size: 18px;
    padding: 8px;
    transition: color 0.3s ease, transform 0.6s ease;
    /* Added transform transition */
}

.social-icons .icon i:hover {
    color: #ff305b;
    animation: shake 0.6s ease-in-out infinite;
    /* Added shake animation */
}

/* Shake animation */
@keyframes shake {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-3px);
    }

    /* Up */
    50% {
        transform: translateY(0);
    }

    75% {
        transform: translateY(3px);
    }

    /* Down */
    100% {
        transform: translateY(0);
    }
}

.copy-right {
    color: #ffffff;
    font-size: 14px;
    margin: 10px 0 0;
    padding: 10px 0;
}

.copy-right span {
    color: #ff305b;
}

/* ================================
   RESPONSIVE DESIGN
================================ */

/* Tablet (769px-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer {
        padding: 30px 15px;
        min-height: 100px;
    }

    .container-footer {
        width: 95%;
        max-width: 900px;
    }

    .social-icons {
        gap: 12px;
        padding: 8px 0;
    }

    .social-icons .icon i {
        font-size: 16px;
        padding: 7px;
    }

    .social-icons .icon i:hover {
        animation: shake 0.6s ease-in-out infinite;
        /* Same animation */
    }

    .copy-right {
        font-size: 13px;
        margin: 8px 0 0;
    }
}

/* Mobile (less than 768px) */
@media (max-width: 768px) {
    .footer {
        padding: 20px 15px;
        min-height: 80px;
    }

    .container-footer {
        width: 100%;
    }

    .social-icons {
        gap: 10px;
        padding: 6px 0;
    }

    .social-icons .icon i {
        font-size: 15px;
        padding: 6px;
    }

    .social-icons .icon i:hover {
        animation: shake 0.6s ease-in-out infinite;
        /* Same animation */
    }

    .copy-right {
        font-size: 12px;
        margin: 6px 0 0;
    }
}

/* Small Mobile (less than 480px) */
@media (max-width: 480px) {
    .footer {
        padding: 15px 10px;
        min-height: 70px;
    }

    .container-footer {
        width: 100%;
    }

    .social-icons {
        gap: 8px;
        padding: 5px 0;
    }

    .social-icons .icon i {
        font-size: 14px;
        padding: 5px;
    }

    .social-icons .icon i:hover {
        animation: shake 0.6s ease-in-out infinite;
        /* Same animation */
    }

    .copy-right {
        font-size: 11px;
        margin: 5px 0 0;
    }
}