* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem;
    position: sticky;
    background: #6b3cea;
    
   
}

.logo {
    font-size: 2rem;
    color: rgb(255, 255, 255);

}

.nav-parts{
    display: flex;
    gap: 2rem;
    list-style: none;
}

#current{
    color: black;
}

.nav-parts a{
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
    transition: transform  0.3s;
}

.nav-parts a:hover{
    color: rgb(0, 0, 0);
    transform: translate(-10px);
}

@media (max-width:768px){
    .nav-parts{display: none;}
}



.hero {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0a0a0f;
  color: #fff;
  gap: 1rem;
  padding-top: 5rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
}

.hero h1 span {
  color: #7c5cfc;
}

.hero p {
  color: #7a7a9a;
}

.btn {
  background: #7c5cfc;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.3s ;  
}

.btn:hover{
    color: #4daccc;
    transform: translateY(-10px);
}

.courses {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 4rem 2rem;
  background: #0a0a0f;
}

.card {
  background: #13131a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card img:hover{
    transform: scale(1.2);
}

.card-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-info h3 {
  color: #fff;
  font-size: 1rem;
}

.card-info p {
  color: #7a7a9a;
  font-size: 0.85rem;
}

.card-info a {
  color: #7c5cfc;
  text-decoration: none;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .courses { grid-template-columns: repeat(2, 1fr); }
}


footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 2rem;
  background: #0a0a0f;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: #7a7a9a;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.copy {
  color: #7a7a9a;
  font-size: 0.8rem;
}
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #0d0d0d;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Navbar ── */


.navbar .logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}


/* ── Page Header ── */
.page-header {
    text-align: center;
    padding: 50px 20px 40px;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

.page-header h1 span {
    color: #8b5cf6;
}

.page-header p {
    color: #aaa;
    margin-top: 8px;
    font-size: 0.95rem;
}

/* ── Contact Wrapper ── */
.contact-wrapper {
    display: flex;
    max-width: 1000px;
    margin: 0 auto 60px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(108, 63, 197, 0.35);
    flex: 1;
}

/* ── Left Side (Info) ── */
.contact-info {
    background: linear-gradient(150deg, #6c3fc5, #4a2a9a);
    padding: 50px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-box i {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    margin-bottom: 3px;
}

.info-text p {
    font-size: 0.95rem;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ── Right Side (Form) ── */
.contact-form {
    background: #1a1a2e;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form label{
    color: white;
}



.developers{
    display: flex;
    justify-content: center;

}

.dev-container{
    display: flex;
    justify-content: center;
    gap: 15rem;
    padding: 7rem;
}

.dev-card{
    flex: 1 1 150rem;
    max-width: 200rem;
    text-align: center;
    color: rgb(255, 255, 255);

}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');




.container{
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 100%;
    min-height: 480px;
}

.container p{
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.3px;
    margin: 20px 0;
}

.container span{
    font-size: 12px;
}

.container a{
    color: #333;
    font-size: 13px;
    text-decoration: none;
    margin: 15px 0 10px;
}

.container button{
    background-color: #512da8;
    color: #fff;
    font-size: 12px;
    padding: 10px 45px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
}

.container button.hidden{
    background-color: transparent;
    border-color: #fff;
}

.container form{
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    height: 100%;
}

.container input{
    background-color: #eee;
    border: none;
    margin: 8px 0;
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 8px;
    width: 100%;
    outline: none;
}

.form-container{
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.6s ease-in-out;
}

.sign-in{
    left: 0;
    width: 50%;
    z-index: 2;
}

.container.active .sign-in{
    transform: translateX(100%);
}

.sign-up{
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
}

.container.active .sign-up{
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    animation: move 0.6s;
}

@keyframes move{
    0%, 49.99%{
        opacity: 0;
        z-index: 1;
    }
    50%, 100%{
        opacity: 1;
        z-index: 5;
    }
}

.social-icons{
    margin: 20px 0;
}

.social-icons a{
    border: 1px solid #ccc;
    border-radius: 20%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 3px;
    width: 40px;
    height: 40px;
}

.toggle-container{
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    border-radius: 150px 0 0 100px;
    z-index: 1000;
}

.container.active .toggle-container{
    transform: translateX(-100%);
    border-radius: 0 150px 100px 0;
}

.toggle{
    background-color: #512da8;
    height: 100%;
    background: linear-gradient(to right, #5c6bc0, #512da8);
    color: #fff;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.container.active .toggle{
    transform: translateX(50%);
}

.toggle-panel{
    position: absolute;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 30px;
    text-align: center;
    top: 0;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
}

.toggle-left{
    transform: translateX(-200%);
}

.container.active .toggle-left{
    transform: translateX(0);
}

.toggle-right{
    right: 0;
    transform: translateX(0);
}

.container.active .toggle-right{
    transform: translateX(200%);
}




.team-section {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 40px 20px;
}

.team-img {
    width: 70%;
    max-width: 900px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(124, 92, 252, 0.3);
    border: 3px solid #7c5cfc;
    transition: transform 0.4s ease;
     cursor: pointer;
}


.team-img:hover {
    transform: scale(1.05); 
   
}



.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}


.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {

   
    .hamburger {
        display: flex;
    }

   
    .navbar {
        flex-wrap: wrap;
        padding: 0.9rem 1.2rem;
        align-items: center;
    }


    .nav-parts {
        display: none !important;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: #5a2dbf;
        margin: 0.5rem -1.2rem -0.9rem;
        padding: 0;
        list-style: none;
    }

     
    .nav-parts.open {
        display: flex !important;
    }

    .nav-parts li {
        border-bottom: 1px solid rgba(255,255,255,0.12);
    }

    .nav-parts li:last-child {
        border-bottom: none;
    }

    .nav-parts a {
        display: block;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        color: #fff;
        transform: none !important; 
    }

    .nav-parts a:hover {
        background: rgba(255,255,255,0.1);
        color: #fff;
        transform: none !important;
    }
}