@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
:root {
    --main-color: rgb(8 183 237);
}

body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
}
.page-content{margin-bottom: 30px;}
.section h1 { color: #0d6efd; font-weight:700; margin-bottom:15px; }
.section h1 span { color: cadetblue; }
.section p { color:#000; font-size:16px; line-height:1.6; }
.section p a { color:inherit; text-decoration:none; font-weight:600; transition:0.3s; }
.section p a:hover { color:#0d6efd; }

.top-offer {
    background: linear-gradient(90deg, rgb(70 111 163), rgb(8 183 237));
    color: white;
    padding: 20px 0;
    font-size: 15px;
}

.top-offer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-offer__logo img {
    height: 30px;
    border-radius: 10px;
}

.top-offer__message {
    font-weight: 600;
    text-align: center;
    flex: 1;
}

.top-offer__btn {
    background: white;
    color: var(--main-color);
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
    transition: .3s;
    text-decoration: none;
    display: inline-block;
}

.top-offer__btn:hover {
    background: #f2f2f2;
    transform: translateY(-1px);
}


/* Navbar */
.main-nav {
    background-color: #ffffff;
    padding: 10px 0;
    transition: top 0.3s;
    box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

.main-nav a {
    position: relative;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    display: inline-block; /* مهم لتجنب تحريك الروابط المجاورة */
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #08b7ed, #4670a3);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.main-nav a.active::after {
    transform: scaleX(1);
}

.dropdown-toggle img {
    display: block;
    margin: 0 auto;
}

#flagMenu {
    border: none;
    padding: 5px 0;
    min-width: 60px; /* نفس عرض الزر تقريبًا */
    left: 50% !important;
    transform: translateX(-50%);
    text-align: center;
}

.dropdown-item {
    display: block;
    margin: 5px auto;
    padding: 5px 0;
    cursor: pointer;
}

.dropdown-item img {
    display: block;
    margin: 0 auto;
    width: 30px;
    transition: transform 0.2s;
}

.dropdown-item:hover img {
    transform: scale(1.1);
}
/* Footer */
/* ===== Footer Base ===== */
.main-footer{
    background:#fff;
    color:#333;
    padding-top:50px;
    border-top:1px solid #eee;
    font-size:14px;
}

/* ===== Logo ===== */
.footer-logo{
    width:90px;
    margin-bottom:10px;
}

/* ===== Text ===== */
.footer-box h5{
    font-size:18px;
    font-weight:700;
    margin-bottom:10px;
}

.footer-box p{
    color:#666;
    line-height:1.6;
}

.footer-contact p{
    margin:5px 0;
}

.footer-tax{
    margin-top:10px;
    color:#888;
}

/* ===== Links ===== */
.footer-links h5{
    margin-bottom:15px;
    font-weight:700;
}

.links-grid{
    display:flex;
    gap:30px;
}

.footer-links ul{
    list-style:none;
    padding:0;
}

.footer-links li{
    margin-bottom:8px;
    color:#555;
    cursor:pointer;
    transition:.3s;
}

.footer-links li:hover{
    color:cadetblue;
}

/* ===== Maroof ===== */
.footer-maroof img{
    width:130px;
    margin-top:10px;
}

/* ===== Partners Section ===== */
.footer-partners-section{
    background:#f3f6f5;
    margin-top:30px;
    padding:30px 0;
}

/* ===== Text ===== */
.text-col{
    text-align:right;
}

.footer-partners-section h5{
    color:#3a7d6b;
    font-weight:700;
    margin-bottom:10px;
}

.footer-partners-section p{
    color:#666;
    font-size:14px;
}

/* ===== Logos ===== */
.partners-logos{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    justify-content:flex-start;
}

.partners-logos img{
    width:90px;
    height:60px;
    object-fit:contain;
    background:#fff;
    padding:8px;
    border-radius:10px;
    box-shadow:0 3px 10px rgba(0,0,0,0.05);
}

/* ===== Responsive ===== */
@media(max-width:992px){
    .text-col{
        text-align:center;
        margin-bottom:20px;
    }

    .partners-logos{
        justify-content:center;
    }
}

/* ===== Logos ===== */
.partners-logos{
    display:flex;
    justify-content:center;
    gap:25px;
    margin-top:20px;
    flex-wrap:wrap;
}

.partners-logos img{
    width:90px;
    height:60px;
    object-fit:contain;
    background:#fff;
    padding:8px;
    border-radius:10px;
    box-shadow:0 3px 10px rgba(0,0,0,0.05);
}

/* ===== Bottom ===== */
.footer-bottom{
    text-align:center;
    padding:15px 0;
    border-top:1px solid #eee;
}

.footer-bottom p{
    color:#777;
    margin-bottom:10px;
}

/* ===== Payments ===== */
.payment-logos{
    display:flex;
    justify-content:center;
    gap:10px;
}

.payment-logos img{
    width:45px;
    padding:5px;
    border:1px solid #eee;
    border-radius:5px;
    background:#fff;
}

/* ===== Responsive ===== */
@media(max-width:992px){
    .links-grid{
        flex-direction:column;
    }
}

@media(max-width:768px){
    .footer-box,
    .footer-links{
        text-align:center;
    }

    .partners-logos{
        gap:15px;
    }
}
/*End Footer*/
/* Fixed navbar on scroll */
.fixed-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.hidden {
    top: -100px !important;
}
.container{
    max-width: 95% !important;
}

.gry-bg{
    max-width: 100% !important;
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 51px;
    background-image: linear-gradient(178deg, #f8f8fa, #f2f2f4);
}
.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-btn img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.floating-w-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-w-btn img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.floating-w-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.floating-t-btn {
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-t-btn img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.floating-t-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.video-box {
    position: relative;
}

.play-btn {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    background: var(--main-color);
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-frame {
    width: 100%;
}

.img-fluid{
    max-height: 400px;
}

#universityForm button{
    height:50px;
    font-weight:600;
}

.section-img{
    width:100%;
    height:50px;
    object-fit:cover;
    display:block;
}

.video-frame iframe{
    width:100%;
    border-radius:10px;
}

.align-items-center{
    text-align: center !important;
}

/* العناوين الرئيسية للسكشن */
.section h1 {
    color: #0d6efd; /* اللون الرئيسي */
    font-weight: 700;
    margin-bottom: 15px;
}

/* لون مختلف للـ span داخل العنوان */
.section h1 span {
    color: cadetblue;
}

/* الفقرات داخل السكشن */
.section p {
    color: #000;
    font-size: 16px;
    line-height: 1.6;
}

/* الروابط داخل الفقرات */
.section p a {
    color: inherit;       /* نفس لون الفقرة */
    text-decoration: none; /* إزالة underline */
    font-weight: 600;      /* optional لزيادة وضوح الرابط */
    transition: color 0.3s;
}

/* عند hover على الرابط */
.section p a:hover {
    color: #0d6efd; /* يمكن تغيير اللون عند hover */
}

.card-img{
    width: 30px;
    margin: 0px 15px;
}

.course-card { flex:0 0 250px; border-radius:10px; overflow:hidden; background:#fff; transition:transform 0.3s; position:relative; margin: 5px 20px; box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.3);}
.course-card:hover { transform: translateY(-5px); }
.course-card:hover .head-overlay { opacity:1; }
.course-title a { color:#000; text-decoration:none; font-size:18px; font-weight:700; }
.course-details a { color:#333; text-decoration:none; }
.card-head { position:relative; }
.head-overlay { position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(173,216,230,0.6); opacity:0; transition:0.3s; display:flex; justify-content:center; align-items:center; gap:15px; }
.detail-icon img { width:40px; height:40px; }

.card-content{
    text-align: right;
}


/* title */
.title{
    position: relative;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
}

.title-text {
    color: cadetblue;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: color 0.3s, transform 0.3s;
    display: inline-block;
}

.title svg{
    position:absolute;
    left:0;
    bottom:-15px;
    width:100%;
    height:50px;
}

.title path{
    fill:none;
    stroke:cadetblue;
    stroke-width:12; 
    stroke-linecap:round;
    stroke-dasharray:600; 
    stroke-dashoffset:600; 
    animation:draw 1.5s linear infinite; 
}

@keyframes draw{
    0%{
        stroke-dashoffset:600;
    }
    100%{
        stroke-dashoffset:0;
    }
}

.start-now-price {
    margin-bottom: 20px;
}

.start-now-price .btn {
    padding: 10px 20px;
    font-weight: 600;
    background-color: #3fdbb1;
    border: none;
}

.start-now-price .price {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.start-now-price .discount-price {
    color: #5032AD;
}

.start-now-price .price-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #28a745;
    box-shadow: 0 0 8px #28a745, 0 0 12px #28a745;
    animation: glow 1.5s infinite alternate;
}

@keyframes glow {
    0% { box-shadow: 0 0 4px #28a745, 0 0 6px #28a745; }
    50% { box-shadow: 0 0 8px #28a745, 0 0 12px #28a745; }
    100% { box-shadow: 0 0 4px #28a745, 0 0 6px #28a745; }
}

.select-icon {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: cadetblue;
    pointer-events: none;
    font-size: 1.2rem;
}

.selector {
    padding-right: 2.5rem;
    border-radius:10px;
    color: cadetblue;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    direction: rtl; /* RTL layout */
    margin-top: 20px;
}

.slider-container {
    overflow: hidden;
    width: 100%;
}

.slider-track{
    display:flex;
    gap:20px;
    transition: transform 0.5s ease;
    will-change: transform;
}

.course-card {
    flex: 0 0 250px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    position: relative;
    box-shadow: 0 4px 6px -2px rgba(0,0,0,0.3);
}

.course-card:hover {
    transform: translateY(-5px);
}

.slider-wrapper .left-arrow,
.slider-wrapper .right-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 20;
}
.slider-wrapper .left-arrow i,
.slider-wrapper .right-arrow i{
    font-size: 30px;
    color: #000000;
}
.slider-wrapper .right-arrow{
    right: 10px;
}
.slider-wrapper .left-arrow{
    left: 10px;
}
.slider-wrapper .left-arrow:hover,
.slider-wrapper .right-arrow:hover{
    transform: translateY(-50%) scale(1.1);
    background: rgba(255, 255, 255, 0.753);
}
.slider-wrapper .left-arrow:active,
.slider-wrapper .right-arrow:active{
    transform: translateY(-50%) scale(0.85);
}
.university-section{
    margin-top:80px;
    max-width:1100px;
    margin-left:auto;
    margin-right:auto;
}

/* slider */

.university-slider{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}

.uni-slider-container{
    overflow: hidden;
    width: 92%;
    margin: 20px;
    padding: 20px;
}

/* track */

.uni-slider-track{
    display:flex;
    gap:25px;
    align-items:center;
    transition:transform .5s ease;
    will-change:transform;
}

/* card */

.uni-card{
    flex:0 0 180px;
    background:#fff;
    border-radius:16px;
    text-align:center;
    padding:25px 15px;
    cursor:pointer;
    transition:.35s;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.uni-card img{
    width:80px;
    height:80px;
    object-fit:contain;
    margin-bottom:15px;
}

.uni-card h5{
    font-size:16px;
}

/* hover */

.uni-card:hover{
    transform:scale(1.1);
    box-shadow:0 12px 30px rgba(0,0,0,0.18);
}

/* arrows */

.uni-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:rgba(255,255,255,.4);
    backdrop-filter:blur(6px);
    border:none;
    width:45px;
    height:45px;
    border-radius:50%;
    cursor:pointer;
    font-size:28px;
    z-index:5;
}

.uni-arrow.prev{
    right:-10px;
}

.uni-arrow.next{
    left:-10px;
}

/* dots */

.uni-dots{
    text-align:center;
    margin-top:20px;
}

.uni-dots span{
    width:10px;
    height:10px;
    display:inline-block;
    background:#ccc;
    border-radius:50%;
    margin:0 5px;
    cursor:pointer;
    transition:.3s;
}

.uni-dots span.active{
    background:#0d6efd;
}

.instructor-slider{
    overflow:hidden;
    cursor: grab;
    padding: 40px 0;
}

.instructor-slider:active{
    cursor: grabbing;
}

/* track */

.instructor-track{
    display:grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 1fr);
    gap: 40px 25px;
    width: max-content;
    transition: transform .2s ease;
}

/* card */

.inst-card{
    width: 200px;
    height: 130px;
    background: #fff;
    border-radius: 15px;
    text-align: center;
    padding-top: 60px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: .3s;
}

/* image half outside */

.inst-img{
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
}

.inst-img img{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 4px solid #fff;
}

/* text */

.inst-card h4{
    font-size: 15px;
    margin: 0;
}

.inst-card p{
    font-size: 13px;
    color: #777;
}

/* hover */

.inst-card:hover{
    background: cadetblue;
    color: #fff;
    transform: translateY(-5px);
}

.inst-card:hover p{
    color: #eee;
}

.inst-link{
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===== features ===== */
.why-features{
    display:flex;
    flex-direction:column;
    gap:20px;
}

/* ===== card ===== */

.why-item{
    display:flex;
    gap:15px;
    align-items:flex-start;
    padding:18px;
    border-radius:15px;
    cursor:pointer;
    position:relative;

    /* glass effect */
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border:1px solid rgba(255,255,255,0.4);

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);

    transition: all .35s ease;
}

/* subtle glow border */

.why-item::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:15px;
    padding:1px;
    background: linear-gradient(135deg, transparent, rgba(0,0,0,0.05));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    pointer-events:none;
}

/* ===== icon ===== */

.why-item .icon{
    min-width:55px;
    height:55px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;

    background: linear-gradient(135deg, #e3e9f0, #f8f9fa);

    font-size:22px;
    color:#444;

    transition: all .35s ease;
}

/* ===== text ===== */

.why-item h5{
    margin:0;
    font-size:17px;
    font-weight:600;
}

.why-item p{
    margin:6px 0 0;
    font-size:14px;
    color:#666;
    line-height:1.6;
    transition:.3s;
}

/* ===== hover 🔥 ===== */

.why-item:hover{
    transform: translateY(-8px) scale(1.02);

    background: linear-gradient(135deg, cadetblue, #5aa9a9);

    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.why-item:hover .icon{
    background:#fff;
    color:cadetblue;
    transform: rotate(8deg) scale(1.1);
}

.why-item:hover h5,
.why-item:hover p{
    color:#fff;
}

/* ===== responsive ===== */

@media(max-width:992px){

    .why-section{
        padding:30px 20px;
    }

    .why-item{
        padding:15px;
    }

    .why-item h5{
        font-size:15px;
    }

    .why-item p{
        font-size:13px;
    }

}

.why-item .text{
    text-align: justify;
}



/* ===== Steps Row Flex ===== */
.row.g-3{
    display:flex;
    flex-wrap: nowrap; /* keep all cards in one line */
    justify-content: space-between;
    gap:1rem;
}

/* ===== Each Column Flex ===== */
.row.g-3 > [class*="col-"]{
    display:flex;
}

.row.g-3 > [class*="col-"] .step-card{
    flex:1;
    display:flex;
    flex-direction:column;
}

/* ===== Step Card ===== */
.step-card{
    background:#fff;
    border-radius:15px;
    padding:20px 15px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    min-height:220px;
}

/* ===== Step Number ===== */
.step-number{
    font-size:18px; 
    font-weight:700;
    width:35px;
    height:35px;
    line-height:35px;
    border-radius:50%;
    background:#fff;  
    color:#000;       
    border:1px solid #ccc;
    margin-bottom:12px;
}

/* ===== Step Image ===== */
.step-img{
    width:174px;
    height:auto;
    display:block;
    margin:auto;
    transition: all 0.3s ease;
}

/* ===== Step Title ===== */
.step-title{
    font-size:16px;
    font-weight:700;
    margin: 10px 0px;
    color:cadetblue;
}

/* ===== Step Text ===== */
.step-text{
    font-size:13px;
    color:#555;
    line-height:1.5;
    word-wrap: break-word;
}

/* ===== Hover Effect ===== */
.step-card:hover{
    transform: translateY(-5px) scale(1.02);
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* ===== Responsive ===== */
@media(max-width:1200px){
    .row.g-3{
        flex-wrap: wrap; /* wrap cards on smaller screens */
    }
}

@media(max-width:992px){
    .step-card{
        padding:18px 12px;
        min-height:200px;
    }
    .step-number{
        width:30px;
        height:30px;
        line-height:30px;
        font-size:16px;
    }
    .step-img{
        width:140px;
    }
    .step-title{
        font-size:15px;
    }
    .step-text{
        font-size:12.5px;
    }
}

@media(max-width:576px){
    .step-card{
        padding:15px 8px;
        min-height:180px;
    }
    .step-number{
        width:28px;
        height:28px;
        line-height:28px;
        font-size:14px;
    }
    .step-img{
        width:120px;
    }
    .step-title{
        font-size:14px;
    }
    .step-text{
        font-size:12px;
    }
}

/* ===== Coming Soon Box ===== */
.coming-soon{
    background: linear-gradient(135deg, #f8f9fa, #eef2f3);
    border:2px dashed #dcdcdc;
    border-radius:15px;
    padding:40px 20px;
    text-align:center;
    position:relative;
    overflow:hidden;
    transition: all 0.3s ease;
}

/* subtle hover */
.coming-soon:hover{
    transform: translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* text */
.coming-soon p{
    font-size:16px;
    color:#666;
    font-weight:500;
}

/* optional animated glow */
.coming-soon::before{
    content:"";
    position:absolute;
    width:150%;
    height:150%;
    background: radial-gradient(circle, rgba(0,0,0,0.03), transparent);
    top:-50%;
    left:-50%;
    animation: rotateBg 8s linear infinite;
}

@keyframes rotateBg{
    from{ transform:rotate(0deg);}
    to{ transform:rotate(360deg);}
}

/* ===== FAQ text ===== */
.faq-text{
    font-size:16px;
    color:#444;
    font-weight:500;
}

/* ===== Responsive ===== */
@media(max-width:768px){
    .coming-soon{
        padding:30px 15px;
    }

    .coming-soon p{
        font-size:14px;
    }
}

/* ===== Wrapper ===== */
.reviews-wrapper{
    position:relative;
    max-width:500px;
    margin:auto;
}

/* ===== Center Card ===== */
.review-card{
    position:relative;
    z-index:2;
}

/* ===== Main Image ===== */
.main-student{
    width:140px;
    height:140px;
    border-radius:50%;
    object-fit:cover;
    border:6px solid #eef2f3;
    margin-bottom:15px;
}

/* ===== Text ===== */
.review-card p{
    font-size:15px;
    color:#444;
    line-height:1.7;
    margin:15px 0;
}

.review-name{
    color:cadetblue;
    font-weight:600;
}

/* ===== Avatars Container ===== */
.avatars{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

/* ===== Avatar ===== */
.avatar{
    width:60px;
    height:60px;
    border-radius:50%;
    object-fit:cover;
    position:absolute;
    cursor:pointer;
    transition:.3s;
    animation: float 4s ease-in-out infinite;
}

/* Hover */
.avatar:hover{
    transform: scale(1.2);
}

/* ===== Positions (circle style) ===== */
.a1{ top:-20px; right: 45em; }
.a2{ top:20%; right:55em; }
.a3{ top:65%; right:45em; }
.a4{ top:12em; right:55em; }
.a5{ top:25%; left:55em; }
.a6{ top:65%; left:45em; }
.a7{ bottom:-10px; left:55em; }
.a8{ top:-20px; left:45em; }
.a9{ top: 55px;right: 35em; }
.a10{ top: 190px;right: 35em; }
.a11{ top: 4em;left: 35em; }
.a12{ top: 11em;left: 35em; }

/* ===== Floating Animation ===== */
@keyframes float{
    0%{ transform: translateY(0px); }
    50%{ transform: translateY(-10px); }
    100%{ transform: translateY(0px); }
}

/* ===== Responsive ===== */
@media(max-width:768px){
    .avatar{
        width:45px;
        height:45px;
    }

    .main-student{
        width:110px;
        height:110px;
    }
}

/* افتراضي (Desktop) */
#review-container{
    display:block;
}

/* موبايل */
@media(max-width:768px){
    #review-container{
        display:none;
    }
}

/* ===== Counter Box ===== */
.counter-box{
    background:#fff;
    padding:25px 15px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
    transition:.3s;
}

/* Hover */
.counter-box:hover{
    transform: translateY(-5px);
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

/* ===== Numbers ===== */
.counter{
    font-size:28px;
    font-weight:700;
    color:cadetblue;
    margin-bottom:10px;
}

/* ===== Text ===== */
.counter-box p{
    font-size:14px;
    color:#555;
}

/* ===== Responsive ===== */
@media(max-width:768px){
    .counter{
        font-size:24px;
    }
}

/* ===== Download Section ===== */
.download-section {
    padding: 60px 0;
}

.download-section h1 span {
    color: #28a745;
}

.mobile-image {
    margin: 30px 0;
}

.mobile-image img {
    width: 260px;
    max-width: 100%;
    transition: transform 0.3s ease;
}

.mobile-image img:hover {
    transform: translateY(-8px);
}

/* Text */
.download-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.download-text span {
    color: #28a745;
    font-weight: bold;
}

/* ===== Store Buttons Wrapper ===== */
.store-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-top:20px;
}

/* ===== Button Style ===== */
.store-buttons a{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    min-width:180px;
    height:60px;

    border:2px solid cadetblue;
    border-radius:12px;

    color:cadetblue;
    text-decoration:none;

    font-size:16px;
    font-weight:600;

    transition: all .3s ease;
}

/* ===== Icons ===== */
.store-buttons a i{
    font-size:22px;
}

/* ===== Hover Effect 🔥 ===== */
.store-buttons a:hover{
    background:cadetblue;
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* ===== Active (click feel) ===== */
.store-buttons a:active{
    transform:scale(0.96);
}

/* ===== Mobile Responsive ===== */
@media(max-width:768px){

    .store-buttons a{
        width:100%;
        max-width:280px;
        height:55px;
        font-size:14px;
    }

}


/* ===== CTA Section ===== */
.cta-section {
    background: #f7f9fc;
    padding: 60px 20px;
    border-radius: 20px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

/* subtle pattern effect */
.cta-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 10px 10px;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.4;
    pointer-events: none;
}

/* ===== Title ===== */
.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #444;
}

/* colored words */
.cta-section .primary {
    color: #6f42c1; /* purple */
}

.cta-section .secondary {
    color: #20c997; /* green */
}

/* ===== Buttons Wrapper ===== */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== Join Primary Button ===== */
.join-btn-primary {
    background: #20c997;
    color: #fff;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(32, 201, 151, 0.3);
}

.join-btn-primary:hover {
    background: #17a589;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(32, 201, 151, 0.5);
}

/* ===== FQA Outline Button ===== */
.FQA-btn-outline {
    border: 2px solid #6f42c1;
    color: #6f42c1;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    background: transparent;
}

.FQA-btn-outline:hover {
    background: #6f42c1;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(111, 66, 193, 0.4);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {

    .cta-section h2 {
        font-size: 24px;
    }

    .join-btn-primary,
    .FQA-btn-outline {
        width: 100%;
        max-width: 280px;
    }
}

/* test */
.university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 60px; /* المسافة بين الكروت */
}

/* الكارت */
.university-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 25px 90px 25px 20px;
    min-height: 110px; /* زودنا الارتفاع */
    
    display: flex;
    align-items: center;

    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: visible;
}
.university-link{
    text-decoration: none;
}
/* الصورة */
.university-img {
    position: absolute;
    right: -35px;
    top: 50%;
    transform: translateY(-50%);

    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #f5f5f5;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.university-img img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* النص */
.university-card h4 {
    font-size: 15px;
    color: #333;
    margin: 0;
    line-height: 1.6;
    transition: 0.3s;
}

/* Hover */
.university-card:hover {
    background: linear-gradient(135deg, rgb(77, 135, 137), cadetblue);
}

.university-card:hover h4 {
    color: #fff;
}

/* Active */
.university-card.active {
    background: linear-gradient(135deg, rgb(77, 135, 137), cadetblue);
}

.university-card.active h4 {
    color: #fff;
}

@media (max-width: 768px) {

    .university-grid {
        grid-template-columns: 1fr; /* كارت واحد في الصف */
        gap: 20px; /* ثابتة زي ما طلبت */
        padding: 30px;
    }

    .university-card {
        padding: 20px 80px 20px 15px;
        min-height: 100px;
    }

    .university-img {
        width: 65px;
        height: 65px;
        right: -30px;
    }

    .university-img img {
        width: 40px;
        height: 40px;
    }

    .university-card h4 {
        font-size: 14px;
    }
}
.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns by default (desktop) */
    gap: 20px; /* spacing between cards */
}

/* Medium devices (tablets) */
@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
    }
}

/* Small devices (mobile) */
@media (max-width: 576px) {
    .courses-grid {
        grid-template-columns: 1fr; /* 1 card per row */
    }
}

.filters-section {
    padding: 30px 20px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

.filters-section h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.filters-section p {
    font-size: 16px;
    margin-bottom: 25px;
}

.filters-section .form-control,
.filters-section .form-select {
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
}

.filters-section .btn {
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .filters-section .row.g-2 {
        text-align: center;
    }
    .filters-section .btn {
        margin-top: 5px;
    }
}

/* Container and grid */
.teacher-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 per row on desktop */
    gap: 20px;
    margin-top: 20px;
}

/* Teacher card */
.teacher-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 15px;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Teacher image */
.teacher-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 10px;
}

.teacher-img img {
    width: 50%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.teacher-card:hover .teacher-img img {
    transform: scale(1.05);
}

/* Teacher name and info */
.teacher-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.teacher-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Link reset */
.teacher-link {
    text-decoration: none;
    color: inherit;
}

/* Responsive layout */
@media (max-width: 992px) {
    .teacher-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row */
    }
}

@media (max-width: 576px) {
    .teacher-grid {
        grid-template-columns: 1fr; /* 1 per row on mobile */
    }

    .teacher-card {
        padding: 12px;
    }

    .teacher-card h4 {
        font-size: 16px;
    }

    .teacher-card p {
        font-size: 13px;
    }

    .teacher-img {
        height: 150px;
    }
}

.course-hero {
    position: relative;
    height: 700px;
    border-radius: 12px;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 35px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 12px 18px;
    border-radius: 50%;
    cursor: pointer;
}

/* =========================================
   OVERLAY (DESKTOP)
========================================= */

.course-overlay {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;

    background: #fff;
    border-radius: 12px;
    padding: 15px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 2;
    height: 150px;
}

.overlay-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructor-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.overlay-center {
    display: flex;
    gap: 20px;
    color: #666;
    flex-wrap: wrap;
}

.overlay-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscribe-btn {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.library-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
}

.price {
    font-weight: bold;
}

/* =========================================
   CONTENT SECTION
========================================= */

.course-content-section {
    margin-top: 70px;
}

/* =========================================
   TABS
========================================= */

.tabs {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #eee;
}

.tab {
    border: none;
    background: none;
    padding: 10px;
    cursor: pointer;
    font-size: 15px;
}

.tab.active {
    border-bottom: 2px solid #007bff;
    font-weight: bold;
}

.course-stats {
    margin-left: auto;
    display: flex;
    gap: 15px;
    color: #777;
}

/* =========================================
   LESSONS
========================================= */

.lessons-list {
    margin-top: 20px;
}

.lesson-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    padding: 15px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.lesson-title {
    font-weight: 500;
}

.lesson-meta {
    color: #777;
}

.plus {
    font-size: 20px;
    cursor: pointer;
}

/* =========================================
   TABLET (<= 992px)
========================================= */

@media (max-width: 992px) {

    .course-overlay {
        flex-wrap: wrap;
        gap: 10px;
    }

    .overlay-center {
        width: 100%;
        justify-content: center;
    }

    .overlay-left {
        width: 100%;
        justify-content: space-between;
    }

    .lesson-row {
        grid-template-columns: 1.5fr 1fr 1fr auto;
    }
}

/* =========================================
   MOBILE (<= 768px)
========================================= */

@media (max-width: 768px) {

    /* HERO */
    .course-hero {
        height: 220px;
    }

    .play-btn {
        font-size: 24px;
        padding: 10px 14px;
    }

    /* OVERLAY → CARD */
    .course-overlay {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 10px;

        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .overlay-right {
        width: 100%;
    }

    .overlay-center {
        width: 100%;
        font-size: 14px;
        gap: 10px;
    }

    .overlay-left {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .subscribe-btn,
    .library-btn {
        width: 100%;
        text-align: center;
    }

    /* CONTENT */
    .course-content-section {
        margin-top: 20px;
    }

    /* TABS → SCROLL */
    .tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }

    .tab {
        flex: 0 0 auto;
        font-size: 14px;
    }

    .course-stats {
        display: none;
    }

    /* LESSONS → STACK */
    .lesson-row {
        grid-template-columns: 1fr;
        gap: 6px;
        text-align: right;
    }

    .lesson-meta {
        font-size: 13px;
    }

    .plus {
        align-self: flex-end;
    }
}

/* =========================================
   SMALL MOBILE (<= 480px)
========================================= */

@media (max-width: 480px) {

    .section {
        padding: 10px;
    }

    .tab {
        font-size: 13px;
        padding: 8px;
    }

    .lesson-title {
        font-size: 14px;
    }

    .lesson-meta {
        font-size: 12px;
    }

    .price {
        font-size: 14px;
    }
}

.course-content {
    direction: rtl;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
}

.course-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
    margin-bottom: 15px;
}

.course-content-links .tab {
    background: none;
    border: none;
    margin-left: 8px;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.course-content-links .tab.active {
    background: #007bff;
    color: #fff;
}

.unit {
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}

.unit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #fafafa;
    cursor: pointer;
    gap: 10px;
}

.unit-right {
    flex: 1;
    text-align: right;
    font-weight: 600;
}

.unit-left {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 13px;
    color: #666;
    min-width: 120px;
}

.toggle {
    font-size: 18px;
    margin-right: 10px;
    transition: 0.3s;
}

.unit-body {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.unit.active .toggle {
    transform: rotate(180deg);
}

.lesson {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-top: 1px solid #eee;
}

.lesson-right {
    flex: 1;
    text-align: right;
}

.lesson-left {
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 14px;
    color: #777;
    min-width: 85px;
}

.lesson-title{
    text-decoration: none;
}

/* HEADER */
.contact-header {
    text-align: center;
    margin-bottom: 30px;
}

.contact-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-header p {
    color: #777;
}

/* WRAPPER */
.contact-wrapper {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

/* FORM BOX */
.contact-form-box {
    flex: 2;
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
    width: 100%;
}

.contact-form-box h3 {
    margin-bottom: 20px;
}

/* FORM */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
}

/* BUTTON */
.send-btn {
    width: 100%;
    padding: 12px;
    background: #007bff;
    border: none;
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
}

/* INFO BOX */
.contact-info {
    flex: 1;
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
}

.info-text {
    color: #777;
    margin-bottom: 15px;
}

.info-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.contact-info h4 {
    margin-top: 20px;
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
    }
}
.payments-page {
    direction: rtl;
    padding: 40px 0;
    background: linear-gradient(135deg, #f6f8fc, #eef3ff);
}

/* HERO */
.payments-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.hero-text h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.hero-text p {
    color: #666;
}

.hero-image img {
    max-width: 260px;
}

/* SECTION */
.payment-section {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.highlight {
    border-right: 4px solid #007bff;
}

/* CARDS GRID */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* CARD */
.card {
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background: #f9fbff;
    border-radius: 16px;
    padding: 15px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-6px);
    border-color: #007bff;
}

/* IMAGE FIX */
.card img {
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* TEXT */
.card span {
    font-size: 14px;
    color: #333;
}

/* NOTE */
.note {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.note.success {
    background: #e8f8ee;
    color: #28a745;
}

/* BANKS */
.banks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* BANK CARD */
.bank-card {
    background: #f9fbff;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #eee;
}

.bank-card h4 {
    margin-bottom: 15px;
}

/* ITEMS */
.bank-item {
    margin-bottom: 12px;
}

.bank-item span {
    color: #777;
    font-size: 13px;
}

/* COPY BOX */
.copy-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 8px 10px;
    border-radius: 8px;
    margin-top: 5px;
    border: 1px solid #eee;
}

.copy-box strong {
    font-size: 13px;
}

/* BUTTON */
.copy-box button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

/* RESPONSIVE */
@media(max-width:992px){
    .payments-hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        max-width: 180px;
    }
}

@media(max-width:768px){
    .hero-text h2 {
        font-size: 24px;
    }

    .payment-section {
        padding: 18px;
    }
}

.terms-page {
    direction: rtl;
    padding: 40px 0;
    background: #f8f9fb;
}

/* HEADER */
.terms-header {
    text-align: center;
    margin-bottom: 30px;
}

.terms-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.terms-header p {
    color: #777;
}

/* CONTENT */
.terms-content {
    max-width: 900px;
    margin: auto;
}

/* BLOCK */
.term-block {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.term-block:hover {
    transform: translateY(-3px);
}

/* TITLE */
.term-block h3 {
    margin-bottom: 10px;
    color: #007bff;
}

/* TEXT */
.term-block p {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
}

/* LIST */
.term-block ul {
    padding-right: 18px;
}

.term-block ul li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.7;
}

/* RESPONSIVE */
@media(max-width:768px){
    .terms-header h1 {
        font-size: 24px;
    }

    .term-block {
        padding: 18px;
    }
}