* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0D0D0D;
    color: white;
    overflow-x: hidden;
}


/* NAVBAR */

nav {
    background: rgba(13,13,13,.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}


.logo {
    font-size: 30px;
    color: #D4AF37;
    font-weight: bold;
    letter-spacing: 2px;
    transition: .3s;
}

.logo:hover {
    transform: scale(1.05);
}


nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}


nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 17px;
    position: relative;
    transition: .3s;
}


nav ul li a:hover {
    color:#D4AF37;
}


nav ul li a::after {
    content:"";
    position:absolute;
    width:0;
    height:2px;
    background:#D4AF37;
    left:0;
    bottom:-8px;
    transition:.3s;
}


nav ul li a:hover::after {
    width:100%;
}



nav button {

    background:#D4AF37;
    color:#111;
    padding:12px 28px;
    border:none;
    border-radius:8px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;

}


nav button:hover {

    background:white;
    transform:scale(1.05);

}



/* HERO */

.hero {

    height:90vh;
    background-image:url("../images/hero.png");
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;

}


.hero-content {

    background:rgba(0,0,0,.7);
    padding:60px;
    border-radius:20px;
    animation:fadeIn 1s ease;

}


@keyframes fadeIn {

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}



.hero h1 {

    font-size:60px;
    margin-bottom:20px;

}


.hero p {

    font-size:22px;
    margin-bottom:35px;
    color:#ddd;

}



.btn {

    background:#D4AF37;
    color:black;
    padding:15px 40px;
    text-decoration:none;
    border-radius:10px;
    font-weight:bold;
    transition:.3s;

}


.btn:hover {

    background:white;
    transform:scale(1.05);

}



/* COURSES */

.courses {

    padding:100px 8%;
    text-align:center;

}



.courses h2 {

    font-size:45px;
    margin-bottom:60px;
    color:#D4AF37;

}



.course-container {

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}



.course-card {

    background:#1b1b1b;
    padding:35px;
    border-radius:15px;
    transition:.4s;
    border:1px solid #333;

}



.course-card:hover {

    transform:translateY(-12px);
    border-color:#D4AF37;
    box-shadow:0 10px 30px rgba(212,175,55,.2);

}



.course-card h3 {

    font-size:30px;
    color:#D4AF37;
    margin-bottom:20px;

}



.course-card p {

    color:#ddd;
    line-height:28px;
    margin-bottom:30px;

}



.course-card a {

    display:inline-block;
    text-decoration:none;
    background:#D4AF37;
    color:#000;
    padding:12px 28px;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;

}


.course-card a:hover {

    background:white;

}



/* MOBILE */

@media(max-width:900px){

    nav{
        flex-direction:column;
        gap:20px;
    }


    nav ul{
        flex-direction:column;
        text-align:center;
        gap:20px;
    }


    .hero h1{
        font-size:40px;
    }


    .hero-content{
        padding:35px;
    }


    .course-container{
        grid-template-columns:1fr;
    }

}
/* HERO BUTTONS */

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-top:25px;
}


.btn-dark{

    background:white;
    color:#000;

}


.btn-dark:hover{

    background:#D4AF37;

}




/* COURSE IMAGES */

.course-card img{

    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:20px;

}




/* ABOUT HOME */

.about-home{

    padding:80px 8%;
    text-align:center;
    background:#111;

}


.about-home h2{

    color:#D4AF37;
    font-size:40px;
    margin-bottom:25px;

}



.about-home p{

    max-width:800px;
    margin:auto;
    color:#ddd;
    font-size:20px;
    line-height:35px;

}





/* FOOTER */


footer{

    background:#050505;
    padding:40px 8%;
    text-align:center;
    border-top:1px solid #333;

}


footer h3{

    color:#D4AF37;
    font-size:30px;
    margin-bottom:15px;

}



footer p{

    color:#aaa;
    margin:10px;

}





/* RTL FIX */


body{

    direction:rtl;

}


nav ul{

    direction:rtl;

}



/* MOBILE */


@media(max-width:900px){


.hero-buttons{

    flex-direction:column;

}



.hero h1{

    font-size:35px;

}



.course-card img{

    height:160px;

}


}
/* COURSES HEADER */

/* COURSES HEADER */

.courses-header{

    height:60vh;

    background:
    linear-gradient(
        rgba(0,0,0,.75),
        rgba(0,0,0,.85)
    ),
    url("../images/hero.png");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

}



.header-content{

    max-width:900px;
    padding:20px;

}



/* COMPANY NAME */

.header-content h2{

    font-size:38px;
    color:white;
    letter-spacing:4px;
    margin-bottom:25px;
    font-weight:bold;

}



/* MAIN TITLE */

.header-content h1{

    font-size:55px;
    color:#D4AF37;
    margin-bottom:25px;
    line-height:1.4;

}



/* DESCRIPTION */

.header-content p{

    font-size:22px;
    color:#ddd;
    line-height:40px;
    margin-bottom:35px;

}



/* BUTTON */

.header-content .btn{

    display:inline-block;
    margin-top:10px;

}



/* MOBILE */

@media(max-width:900px){


.header-content h2{

    font-size:28px;

}


.header-content h1{

    font-size:35px;

}


.header-content p{

    font-size:18px;
    line-height:30px;

}


}
/* ================= VIEW ALL ================= */

.view-all{

    margin-top:70px;
    text-align:center;

}

.view-all h3{

    font-size:34px;
    color:#D4AF37;
    margin-bottom:15px;

}

.view-all p{

    color:#ccc;
    font-size:20px;
    margin-bottom:30px;

}

.view-all .btn{

    padding:15px 40px;
    font-size:18px;

}
/* ================= ABOUT ================= */

.about-container{

    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:50px;

}

.about-card{

    background:#1b1b1b;
    padding:35px;
    border-radius:15px;
    border:1px solid #333;
    transition:.3s;

}

.about-card:hover{

    transform:translateY(-10px);
    border-color:#D4AF37;
    box-shadow:0 10px 30px rgba(212,175,55,.2);

}

.about-card h3{

    color:#D4AF37;
    margin-bottom:15px;
    font-size:24px;

}

.about-card p{

    color:#ddd;
    line-height:28px;

}

@media(max-width:900px){

.about-container{

grid-template-columns:1fr;

}

}
/* ================= CONTACT ================= */

.contact{

    padding:100px 8%;

    display:grid;
    grid-template-columns:2fr 1fr;

    gap:40px;

}

.contact-form,
.contact-info{

    background:#1b1b1b;

    padding:35px;

    border-radius:15px;

    border:1px solid #333;

}

.contact h2{

    color:#D4AF37;

    margin-bottom:25px;

}

.contact form{

    display:flex;

    flex-direction:column;

    gap:20px;

}

.contact input,
.contact select,
.contact textarea{

    padding:15px;

    background:#111;

    color:white;

    border:1px solid #333;

    border-radius:8px;

    font-size:16px;

}

.contact textarea{

    min-height:150px;

    resize:vertical;

}

.contact-info p{

    margin-bottom:20px;

    color:#ddd;

    line-height:28px;

}

@media(max-width:900px){

.contact{

grid-template-columns:1fr;

}

}
.whatsapp{
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    text-decoration:none;
    z-index:1000;
    transition:.3s;
}

.whatsapp:hover{
    transform:scale(1.1);
}