/* ===== GLOBAL ===== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, sans-serif;
    line-height: 1.6;
}


/* 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 */
/* .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;
} */
 .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;
}
/* 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: white;
}
/* 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:767px){
    .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{
        background: #084298;
        margin-top: 20px;
        transition: right 0.3s ease;
    }
    .mobileMenu.open{
    display: block;
    }
}


.gallery-grid img{
width: 100%;
display: block;
}

section{
padding: 80px 8%;
}

/* ================= HERO ================= */

.workspace-hero{
min-height: 120vh;
background:
linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
url("./Images/IMG-20260316-WA0051.jpg");
background-size: cover;
background-position: center;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: #fff;
}

.workspace-hero-content{
max-width: 800px;
opacity: 0;
animation: fadeUp 1.2s ease forwards;
}

.workspace-hero-content span{
display: inline-block;
color: #0d6efd;
font-weight: 800;
margin-bottom: 15px;
font-size: 1.2rem;
}

.workspace-hero-content h1{
font-size: 3.5rem;
margin-bottom: 20px;
}

.workspace-hero-content p{
margin-bottom: 30px;
font-size: 1.1rem;
}

.workspace-btn{
display: inline-block;
padding: 14px 35px;
background: #0d6efd;
color: #fff;
text-decoration: none;
border-radius: 6px;
transition: .4s;
font-size: 1.3rem;
font-weight: 800;
}

.workspace-btn:hover{
background: #084298;
transform: translateY(-5px);
}

/* ================= ABOUT ================= */

.workspace-about{
display: grid;
grid-template-columns: repeat(2,1fr);
gap: 60px;
align-items: center;
}

.workspace-about-image img{
border-radius: 12px;
animation: float 4s ease-in-out infinite;
}

.workspace-about-content{
opacity: 0;
animation: slideRight 1s ease forwards;
animation-delay: .3s;
}

.workspace-about-content span{
color: #0d6efd;
font-weight: 600;
}

.workspace-about-content h2{
margin: 15px 0;
font-size: 2.2rem;
}

.workspace-about-content p{
margin-bottom: 15px;
color: #555;
}

/* ================= FEATURES ================= */

.workspace-features{
background: #f8f9fa;
}

.section-title{
text-align: center;
margin-bottom: 50px;
}

.section-title span{
color: #0d6efd;
font-weight: 600;
}

.section-title h2{
margin-top: 10px;
font-size: 2.5rem;
}

.features-grid{
display: grid;
grid-template-columns: repeat(3,1fr);
gap: 30px;
}

.feature-box{
background: #fff;
padding: 30px;
border-radius: 12px;
text-align: center;
transition: .4s;
opacity: 0;
animation: fadeUp .8s ease forwards;
}

.feature-box:nth-child(1){animation-delay:.2s;}
.feature-box:nth-child(2){animation-delay:.4s;}
.feature-box:nth-child(3){animation-delay:.6s;}
.feature-box:nth-child(4){animation-delay:.8s;}
.feature-box:nth-child(5){animation-delay:1s;}
.feature-box:nth-child(6){animation-delay:1.2s;}

.feature-box:hover{
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0,0,0,.12);
}

.feature-box h3{
margin-bottom: 10px;
}

.feature-box p{
color: #666;
}

/* ================= GALLERY ================= */

.workspace-gallery{
text-align: center;
}

.gallery-grid{
display: grid;
grid-template-columns: repeat(3,1fr);
gap: 20px;
margin-top: 40px;
}

.gallery-grid img{
border-radius: 12px;
transition: .5s;
}

.gallery-grid img:hover{
transform: scale(1.08);
}

/* ================= CTA ================= */

.workspace-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;
}

.workspace-cta .workspace-btn{
background: white;
color: #0d6efd;
font-size: 1.2rem;
font-weight: 800;
}



/* ================= 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){


.workspace-about{
    grid-template-columns: 1fr;
    text-align: center;
}

.features-grid{
    grid-template-columns: repeat(2,1fr);
}

.gallery-grid{
    grid-template-columns: repeat(2,1fr);
}

.workspace-hero-content h1{
    font-size: 2.8rem;
}


}

/* ================= MOBILE ================= */

@media(max-width: 768px){


section{
    padding: 60px 5%;
}
.workspace-about-image{
    overflow: hidden;
}

.workspace-hero-content h1{
    font-size: 2.2rem;
}

.workspace-hero-content p{
    font-size: .95rem;
}

.features-grid,
.gallery-grid{
    grid-template-columns: 1fr;
}

.section-title h2{
    font-size: 2rem;
}

.workspace-about-content h2{
    font-size: 1.8rem;
}

.cta-content h2{
    font-size: 2rem;
}
.workspace-about-content{
    max-width: 500px;
}
.workspace-about-image img{
    max-width: 500px;
}

}



.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 .workspace-about-content h2,
.dark-mode .workspace-about-content p,
.dark-mode .section-title h2{
    color: white;
}
.dark-mode .workspace-features,
.dark-mode .workspace-cta,
.dark-mode .footer{
    background: black;
}
