/* ===== GLOBAL ===== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, sans-serif;
    line-height: 1.6;
    overflow-x:hidden;
}
/* NAV BAR */
.nav-bar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 14vh;
     background: linear-gradient(135deg, #080622, #030216, #080113);
     position: fixed;
     width: 100%;
     z-index: 1000;
     border-bottom: 0.5px solid white;
      animation: slideDown 0.8s ease-out;
}
/* ANIMATION FOR NAV BAR */
@keyframes slideDown{
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.logo{
    width: 200px;
}
.nav-links{
    display: flex;
    gap: 30px;
    text-transform: capitalize;
}
.nav-links a{
    color: white;
     text-decoration: none;
     position: relative;
     font-size: 0.8rem;
     letter-spacing: 0.10em;
}
.nav-links a::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: rgb(239, 240, 244);
     transition: width 0.3s ease;
}
.nav-links a:hover::after{
    width: 100%;
}

/* DROPDOWN FOR COURSES */

.drop-down{
    position: relative;
}
.dropdown-li {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, #0f172a, #1e3a8a, #6b21a8);
  list-style: none;
  min-width: 180px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.dropdown-li a {
  padding: 8px;
  display: block;
}
.drop-down:hover .dropdown-li{
  display: block;
}
.dropdown-li a:hover {
    background: #2575fc;
    color: white;
}

.back{
    display: flex;
    gap: 30px;
    margin-right: 30px;
}
/* HAMBUGER BTN */
.mobile{
    display: none;
    font-size: 1.5rem;
    background-color: black;
    color: white;
    border: none;
    margin-right: 30px;
}
/* BACKGROUND CHANGER */

.mode{
    font-size: 1.2rem;
    padding: 10px;
    cursor: pointer;
    border: none;
    background: #38bdf8;
    color: black;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.4s ease-in-out;
    animation: fadeIn 1.4s ease-in;
}
/* .fa-moon{
    font-size: 1.2rem;
    padding: 10px;
    cursor: pointer;
    border: none;
    background: #38bdf8;
    color: black;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: 0.4s ease-in-out;
    animation: fadeIn 1.4s ease-in;
} */
/* APPLY BUTTON */
.apply{
  padding: 10px ;
  border: none;
  background: #38bdf8;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.4s ease-in-out;
  animation: fadeIn 1.4s ease-in;
  text-transform: capitalize;
  color: black;
}
.apply:hover{
    color: white;
    background: black;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3);
}
/* MOBILE MENU */
.mobileMenu{
     display: none;
    padding-top: 100px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px black;
    background: #084298;

}
/* TOGGLE */

.mobileMenu a{
    text-decoration: none;
    text-transform: capitalize;
    padding: 10px;
    color: white;
    margin-left: 40px;
    font-weight: 600;
    animation: fadeIn 1.4s ease-in;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    transition: color 0.2s;
    
}
.mobileMenu li{
    list-style: none;
    padding: 10px 30px;
    border-bottom: 0.05px solid rgb(0, 0, 0);
}

/* NAV BAR RESPONSIVENESS */

@media(max-width:768px){
    .nav-links{
        display: none;
    }
    .apply{
        display: none;
    }
    .mode{
        margin-left: 50px;
        background: none;
        color: white;
        font-size: 1.5rem;
    }
    .mobile{
        display: block;
        cursor: pointer;
    }
    .mobileMenu{
       margin-top: 20px;
    }
    .fa-moon{
        width: 100%;
        text-align: center;
    }
    .mobileMenu.open{
    display: block;
    }
}

img{
width:100%;
display:block;
}

section{
padding:80px 8%;
}

/* ================= HERO ================= */

.about-hero{
min-height:100vh;
background:
linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
url("./Images/_DON1614.jpg");
background-size:cover;
background-position:center;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
color:#fff;
}

.about-hero-content{
max-width:800px;
opacity:0;
animation:fadeUp 1.2s ease forwards;
}

.about-hero-content span{
color:#0d6efd;
font-weight:800;
font-size: 2.3rem;
}

.about-hero-content h1{
font-size:3.5rem;
margin:20px 0;
}

.about-hero-content p{
font-size:1.1rem;
}

/* ================= COMPANY SECTION ================= */

.about-company{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:60px;
align-items:center;
}

.about-company-image img{
border-radius:15px;
animation:float 4s ease-in-out infinite;
}

.about-company-content{
opacity:0;
animation:slideRight 1s ease forwards;
animation-delay:.3s;
}

.about-company-content span{
color:#0d6efd;
font-weight:600;
}

.about-company-content h2{
font-size:2.5rem;
margin:15px 0;
}

.about-company-content p{
color:#555;
margin-bottom:15px;
}

/* ================= MISSION & VISION ================= */

.mission-vision{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:30px;
background:#f8f9fa;
}

.mission-box,
.vision-box{
background:#fff;
padding:40px;
border-radius:15px;
transition:.4s;
opacity:0;
animation:fadeUp 1s ease forwards;
}

.mission-box:hover,
.vision-box:hover{
transform:translateY(-10px);
box-shadow:0 15px 30px rgba(0,0,0,.1);
}

.mission-box h2,
.vision-box h2{
color:#0d6efd;
margin-bottom:15px;
}

/* ================= SECTION TITLE ================= */

.section-title{
text-align:center;
margin-bottom:50px;
}

.section-title span{
color:#0d6efd;
font-weight:600;
}

.section-title h2{
font-size:2.5rem;
margin-top:10px;
}

/* ================= VALUES ================= */

.values-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

.value-card{
background:#fff;
padding:30px;
border-radius:15px;
text-align:center;
transition:.4s;
opacity:0;
animation:fadeUp .8s ease forwards;
}

.value-card:hover{
transform:translateY(-10px);
box-shadow:0 15px 30px rgba(0,0,0,.1);
}

.value-card h3{
margin-bottom:15px;
color:#0d6efd;
}

/* ================= WHY CHOOSE US ================= */

.why-choose-us{
background:#f8f9fa;
}

.choose-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:25px;
}

.choose-item{
background:#fff;
padding:30px;
border-radius:15px;
transition:.4s;
}

.choose-item:hover{
transform:translateY(-10px);
box-shadow:0 15px 30px rgba(0,0,0,.1);
}

.choose-item h3{
margin-bottom:10px;
color:#0d6efd;
}

/* ================= TEAM ================= */

.team-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

.team-card{
text-align:center;
background:#fff;
border-radius:15px;
overflow:hidden;
transition:.4s;
}

.team-card:hover{
transform:translateY(-10px);
box-shadow:0 15px 30px rgba(0,0,0,.1);
}

.team-card img{
height:600px;
object-fit:cover;
}

.team-card h3{
margin-top:20px;
font-family: 'Poppins';
}


/* ================= CTA ================= */

.about-cta{
background:#0d6efd;
color:white;
text-align:center;
}

.cta-content{
max-width:700px;
margin:auto;
opacity:0;
animation:fadeUp 1s ease forwards;
}

.cta-content h2{
font-size:2.5rem;
margin-bottom:20px;
}

.cta-content p{
margin-bottom:30px;
}

.about-btn{
display:inline-block;
padding:15px 35px;
background:white;
color:#0d6efd;
text-decoration:none;
border-radius:6px;
transition:.4s;
font-size: 1.2rem;
font-weight: 800;
}

.about-btn:hover{
transform:translateY(-5px);
}

/* ================= ANIMATIONS ================= */

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(50px);
}


to{
    opacity:1;
    transform:translateY(0);
}


}

@keyframes slideRight{
from{
opacity:0;
transform:translateX(-60px);
}


to{
    opacity:1;
    transform:translateX(0);
}


}

@keyframes float{
0%,100%{
transform:translateY(0);
}


50%{
    transform:translateY(-15px);
}


}

/* ================= TABLET ================= */

@media(max-width:992px){


.about-company{
    grid-template-columns:1fr;
    text-align:center;
}

.mission-vision{
    grid-template-columns:1fr;
}

.values-grid{
    grid-template-columns:repeat(2,1fr);
}

.team-grid{
    grid-template-columns:repeat(2,1fr);
}

.about-hero-content h1{
    font-size:2.8rem;
}


}

/* ================= MOBILE ================= */

@media(max-width:768px){


section{
    padding:60px 5%;
}

.about-hero-content h1{
    font-size:2.2rem;
}

.about-company-content h2,
.section-title h2,
.cta-content h2{
    font-size:2rem;
}

.values-grid,
.choose-grid,
.team-grid{
    grid-template-columns:1fr;
}

.team-card img{
    height:90%;
}

.about-btn{
    width:100%;
    max-width:250px;
}

}


.footer{
    background: #0f172a;
    color: #ffffff;
    padding: 80px 8% 20px;
}

/* =========================
   FOOTER GRID
========================= */

.footer-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* =========================
   BRAND SECTION
========================= */

.footer-brand img{
    width: 200px;
    animation: fadeUp 1s ease;
}

.footer-brand p{
    color: #cbd5e1;
    line-height: 1.8;
}

/* =========================
   LINKS
========================= */

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3{
    margin-bottom: 15px;
    font-size: 1.2rem;
    position: relative;
}

/* underline animation */
.footer-links h3::after,
.footer-contact h3::after,
.footer-newsletter h3::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 2px;
    background: #2563eb;
}

.footer-links ul{
    list-style: none;
}

.footer-links ul li{
    margin-bottom: 10px;
}

.footer-links ul li a{
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links ul li a:hover{
    color: #2563eb;
    padding-left: 5px;
}

/* =========================
   CONTACT
========================= */

.footer-contact p{
    color: #cbd5e1;
    margin-bottom: 10px;
}

/* =========================
   NEWSLETTER
========================= */

.footer-newsletter p{
    color: #cbd5e1;
    margin-bottom: 15px;
}

.footer-newsletter form{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-newsletter input{
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    outline: none;
}

.footer-newsletter button{
    padding: 10px 15px;
    border: none;
    background: #2563eb;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.footer-newsletter button:hover{
    transform: translateY(-3px);
    background: #1d4ed8;
}

/* =========================
   BOTTOM BAR
========================= */

.footer-bottom{
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    color: #94a3b8;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(30px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   TABLET
========================= */

@media(max-width:992px){
    .footer-container{
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){
    .footer{
        padding: 60px 5% 20px;
    }

    .footer-container{
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-newsletter form{
        flex-direction: column;
    }

    .footer-newsletter input,
    .footer-newsletter button{
        width: 100%;
    }
}


/* BACKGROUND CHANGER */
.dark-mode{
    background: black;
}
.dark-mode .about-company-content h2,
.dark-mode .about-company-content p,
.dark-mode .why-choose-us h2,
.dark-mode .team-section h2,
.dark-mode .team-card h3{
    color: white;
}
.dark-mode .mission-vision,
.dark-mode .why-choose-us,
.dark-mode .team-card,
.dark-mode .about-cta,
.dark-mode .footer{
    background: black;
}
