/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* ===== HEADER ===== */
.header{
    background: #3B2F2F;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    
    top: 0;
}

.logo{
    font-size: 20px;
    font-weight: bold;
}

.nav-menu{
    list-style: none;
    display: flex;
}

.nav-menu li{
    margin-left: 20px;
}

.nav-menu li a{
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-menu li a:hover{
    text-decoration: underline;
}

/* ===== BURGER ===== */
.burger{
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ===== HERO ===== */
.hero{
    background: white;
    color: black;
    text-align: center;
    padding: 30px 20px;
}

.hero h1{
    font-size: 36px;
}

.hero p{
    margin: 15px 0;
    font-size: 18px;
}

.btn{
    display: inline-block;
    background: #3B2F2F;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* ===== SECTIONS ===== */
.section{
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.section h2{
    margin-bottom: 15px;
    color: black;
}

.gray{
    background: #f4f4f4;
    padding: 40px 20px;
}

/* ===== COURSES ===== */
.courses{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.course{
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: #3B2F2F;
}

/* ===== FAQ ===== */
details{
    background: #f0f0f0;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}

summary{
    cursor: pointer;
    font-weight: bold;
}

/* ===== FOOTER ===== */
.footer{
    background: #3B2F2F;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 5px;
}

/* ===== MOBILE ===== */
@media (max-width: 768px){

    .burger{
        display: block;
    }

    .nav-menu{
        display: none;
        flex-direction: column;
        width: 100%;
        background: #3B2F2F;
        position: absolute;
        top: 60px;
        left: 0;
    }

    .nav-menu.show{
        display: flex;
    }

    .nav-menu li{
        margin: 15px 0;
        text-align: center;
    }

    .courses{
        grid-template-columns: 1fr;
    }

    .hero h1{
        font-size: 28px;
    }

.courses-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.course-card {
    background: white;
    color: black;
    padding: 20px;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease-in-out;
}
}

/* Animation on scroll */
.course-card.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .course-card {
        width: 90%;
    }
}


/* Wrapper stays the same */
.form-wrapper {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #0a3cff, #0d6efd);
}

/* Centered professional form */
.admission-form {
    background-color: #000;
    color: #fff;
    width: 100%;
    max-width: 800px;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    line-height: 1.5;
}

/* Force ALL fields to stack vertically */
.admission-form .row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Field spacing */
.admission-form .field {
    width: 100%;
    margin-bottom: 15px;
}

/* Labels */
.admission-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* Inputs */
.admission-form input,
.admission-form select {
    width: 100%;
    padding: 10px 12px;
    background-color: transparent;
    border: 1px solid #ccc;
    color: #fff;
    font-size: 14px;
}

.admission-form input:focus,
.admission-form select:focus {
    outline: none;
    border-color: #0d6efd;
}

/* Section headings */
.admission-form h3 {
    margin: 30px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #444;
    font-size: 16px;
}

/* Submit button */
.submit-btn {
    display: block;
    margin: 40px auto 0;
    padding: 12px 50px;
    font-size: 15px;
    background-color: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #0b5ed7;
}

/* Confirmation message */
.confirmation-message {
    display: none;
    margin-top: 25px;
    padding: 14px;
    text-align: center;
    border-radius: 4px;
    background: rgba(13, 110, 253, 0.15);
    border: 1px solid #0d6efd;
}

.view-courses-link {
    display: inline-block;
    margin-top: 2px;
    padding: 12px 30px;
    background-color: #3B2F2F;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.view-courses-link:hover {
    background-color: #3B2F2F;
    transform: translateY(-2px);
}
.view-courses-wrapper {
    text-align: center;
    margin-top: 2px;
}

.get-started-section {
    padding: 2px 20px !important;
    display: flex !important;
    justify-content: center !important;
    background: linear-gradient(180deg, #f4f6f9, #ffffff) !important;
}

.get-started-section .get-started-content {
    max-width: 900px !important;
    background: #ffffff !important;
    padding: 55px !important;
    border-radius: 10px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    line-height: 1.6 !important;
    animation: fadeUp 0.9s ease forwards;
}

.get-started-section h1 {
    color: #3B2F2F !important;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   ACADEMY SECTION STYLES
   ========================= */

.academy-section {
    padding: 60px 15px;
    max-width: 1100px;
    margin: auto;
    font-family: Arial, sans-serif;
    line-height: 1.7;
}

.academy-hero {
    text-align: center;
    margin-bottom: 50px;
}

.academy-hero h1 {
    font-size: 32px;
    color: #3B2F2F;
}

.subtitle {
    font-size: 18px;
    color: #3B2F2F;
}

.academy-card {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.academy-card h2 {
    color: black;
    margin-bottom: 10px;
}

.academy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.academy-box {
    background: #f4f7ff;
    padding: 20px;
    border-radius: 10px;
}

.academy-box h3 {
    color: #3B2F2F;
    margin-bottom: 10px;
}

.academy-highlight {
    background: #6F4E37
    color: white;
    padding: 30px;
    border-radius: 12px;
}

.academy-highlight h2 {
    margin-bottom: 15px;
}

/* =========================
   SCROLL ANIMATIONS
   ========================= */

.animate {
    opacity: 0;
    transform: translateY(40px);
    animation: reveal 1s ease forwards;
    animation-timeline: view();
    animation-range: entry 20% cover 40%;
}

.fade-left {
    transform: translateX(-60px);
}

.fade-right {
    transform: translateX(60px);
}

.zoom-in {
    transform: scale(0.85);
}

.delay {
    animation-delay: 0.2s;
}

@keyframes reveal {
    to {
        opacity: 1;
        transform: none;
    }
}

/* =========================
   MOBILE ADJUSTMENTS
   ========================= */

@media (max-width: 768px) {
    .academy-hero h1 {
        font-size: 26px;
    }
}

/* ==========================
   TESTIMONIAL SLIDER
   ========================== */
	
.testimonial-slider {
    max-width: 800px;
    margin: 70px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.slider-title {
    border: 3px solid #0b3c91;
    padding: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.slider-title h2 {
    color: #3B2F2F;
    margin: 0;
}

.slider-container {
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    animation: fade 0.6s ease-in-out;
}

.slide.active {
    display: block;
}

.student-name {
    background: #3B2F2F;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    font-size: 16px;
    line-height: 1.6;
}

.course {
    margin-top: 10px;
    color: #3B2F2F;
}

.slider-controls {
    text-align: center;
    margin-top: 20px;
}

.slider-controls button {
    background: #0b3c91;
    color: #3B2F2F;
    border: none;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    margin: 0 5px;
}

.slider-controls button:hover {
    background: #3B2F2F;
}

/* Animation */
@keyframes fade {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile */
@media (max-width: 768px) {
    .testimonial-text {
        font-size: 15px;
    }
}

/* ===== ACADEMY CONTENT SECTION ===== */
.academy-section {
    background: #ffffff;
    padding: 70px 20px;
}

.academy-container {
    max-width: 900px;
    margin: auto;
}

.academy-block {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.9s ease forwards;
}

.academy-block:nth-child(1) { animation-delay: 0.1s; }
.academy-block:nth-child(2) { animation-delay: 0.2s; }
.academy-block:nth-child(3) { animation-delay: 0.3s; }
.academy-block:nth-child(4) { animation-delay: 0.4s; }
.academy-block:nth-child(5) { animation-delay: 0.5s; }
.academy-block:nth-child(6) { animation-delay: 0.6s; }

.academy-block h3 {
    font-weight: bold;
    font-size: 22px;
    color:#3B2F2F;
    margin-bottom: 10px;
}

.academy-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #3B2F2F;
}

/* ===== SIMPLE ANIMATION ===== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== MOBILE FRIENDLY ===== */
@media (max-width: 768px) {
    .academy-block h3 {
        font-size: 18px;
    }

    .academy-block p {
        font-size: 15px;
    }
}

.contact-section {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #f5f5f5;
}

.contact-card {
  background: #ffffff;
  max-width: 420px;
  width: 100%;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  animation: slideIn 1s ease forwards;
}

.contact-card h1 {
  color: #c40000;
  margin-bottom: 10px;
  font-weight: bold;
}	

.contact-card p {
  color: #444;
  margin-bottom: 25px;
  line-height: 1.6;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
  padding: 15px 18px;
  border-radius: 14px;
  margin-bottom: 15px;
}

.contact-item span {
  font-weight: bold;
  color: #333;
}

.contact-item a {
  color: #c40000;
  font-weight: bold;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile friendly */
@media (max-width: 480px) {
  .contact-card {
    padding: 25px;
  }
}

/* ===== SLIDESHOW SECTION ===== */
.slideshow-container {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    position: relative;
}

.slides {
    display: flex;
    width: 500%;
    height: 200%;
    
}

.slides img {
    width: 200%;
    height: 200%;
    object-fit: cover;
}

.gallery{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
padding:40px;
}

/* Card style */

.card{
position:relative;
overflow:hidden;
border-radius:17px;
box-shadow:0 6px 15px rgba(0,0,0,0.2);
cursor:pointer;
}

/* Image */

.card img{
width:100%;
height:300px;
object-fit:cover;

}

/* Hover Zoom */

.card:hover img{
transform:scale(1.1);
}


}

.card-text p{
font-size:14px;
}

/* Mobile Responsive */

@media(max-width:900px){

.gallery{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:1000px){

.gallery{
grid-template-columns:1fr;
}

}

<script>
const btn = document.getElementById("menu-btn");
const menu = document.getElementById("menu");

btn.addEventListener("click", () => {
btn.classList.toggle("active");
menu.classList.toggle("show");
});
</script>


header{
display:flex;
justify-content:space-between;
align-items:center;
background:#222;
padding:15px;
color:white;
position:relative;
}

.menu-btn{
width:30px;
cursor:pointer;
display:none;
}

.menu-btn span{
display:block;
height:3px;
background:white;
margin:6px 0;
transition:0.4s;
}

/* Menu styling */

.menu{
display:flex;
gap:20px;
list-style:none;
margin:0;
padding:0;
}

.menu li a{
color:white;
text-decoration:none;
padding:8px 12px;
display:block;
}

/* Mobile */

@media(max-width:768px){
.menu-btn{display:block;}

.menu{
display:none;
flex-direction:column;
background:#222;
position:absolute;
top:60px;
left:0;
width:100%;
}

.menu.show{
display:flex;
}

/* Burger animation */
.menu-btn.active span:nth-child(1){
transform:rotate(45deg) translate(5px,5px);
}

.menu-btn.active span:nth-child(2){
opacity:0;
}

.menu-btn.active span:nth-child(3){
transform:rotate(-45deg) translate(6px,-6px);
}
}
.menu.show{
 display.flex;
 flex-direction: column;/*make the list vertical*/
}



/* HEADER */

.header{
position:fixed;
top:0;
left:0;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 30px;
background:#111;
color:white;
z-index:1000;
transition:transform 0.4s ease;
}

.header.hide{
transform:translateY(-100%);
}

.logo{
font-size:20px;
font-weight:bold;
}


/* BURGER */

.burger{
width:30px;
height:22px;
display:flex;
flex-direction:column;
justify-content:space-between;
cursor:pointer;
z-index:1100;
}

.burger span{
display:block;
height:3px;
background:white;
border-radius:3px;
transition:0.4s;
}


/* BURGER ANIMATION */

.burger.active span:nth-child(1){
transform:rotate(45deg) translate(5px,5px);
}

.burger.active span:nth-child(2){
opacity:0;
}

.burger.active span:nth-child(3){
transform:rotate(-45deg) translate(6px,-6px);
}



/* NAV MENU */

.navbar{
position:fixed;
top:0;
left:0;
width:100%;
height:100vh;
background:#111;

display:flex;
flex-direction:column;
justify-content:center;
align-items:center;

gap:35px;

transform:translateY(-100%);
transition:0.5s ease;
}

.navbar.active{
transform:translateY(0);
}

.navbar a{
color:white;
text-decoration:none;
font-size:24px;
transition:0.3s;
}

.navbar a:hover{
color:#f4b400;
}


/* DESKTOP */

@media(min-width:768px){

.burger{
display:none;
}

.navbar{
position:static;
height:auto;
flex-direction:row;
transform:none;
background:none;
gap:25px;
}

.navbar a{
font-size:16px;
}

}



<script>

const burger = document.getElementById("burger");
const navbar = document.getElementById("navbar");

burger.addEventListener("click", ()=>{
burger.classList.toggle("active");
navbar.classList.toggle("active");
});



/* HEADER HIDE ON SCROLL */

let lastScroll = 0;
const header = document.getElementById("header");

window.addEventListener("scroll", ()=>{

let currentScroll = window.pageYOffset;

if(currentScroll > lastScroll){
header.classList.add("hide");
}else{
header.classList.remove("hide");
}

lastScroll = currentScroll;

});

</script>
/* LOADING SCREEN */

#loader{
position:fixed;
top:0;
left:0;
width:100%;
height:100vh;
background:#3B2F2F;
display:flex;
justify-content:center;
align-items:center;
z-index:9999;
}

.loading-text{
color:#00ff00;
font-family:monospace;
font-size:28px;
animation:blink 1s infinite;
}

@keyframes blink{
0%{opacity:1;}
50%{opacity:0.3;}
100%{opacity:1;}
}


/* HERO */

.hero{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
background:#000;
color:white;
font-family:monospace;
text-align:center;
}

#typing{
font-size:32px;
border-right:5px solid white;
padding-right:5px;
}

/* HERO BACKGROUND WRAPPER */
.hero{
position:relative;
height:auto;           /* auto height now */
min-height:400px;      /* sets smaller background height for desktop */
display:flex;
justify-content:center;
align-items:center;
background:#000;
color:white;
font-family:monospace;
text-align:center;
padding:40px 20px;    /* space around button/text */
}

/* MOBILE VIEW: keep taller background for mobile */
@media(max-width:768px){
.hero{
min-height:100vh;   /* full screen on mobile */
padding:20px;
}
}
/* Modern Four Columns with Gradient Dividers and Hover Effect */
.four-columns {
  display: flex;
  flex-wrap: wrap;   
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
	
.column {
  flex: 1;
  padding: 20px;
  position: relative;
  transition: background 0.3s, transform 0.3s; /* smooth transition */
  border-radius: 5px; /* subtle rounding for modern look */
}

/* Hover effect */
.column:hover {
  background: rgba(0, 123, 255, 0.05); /* light blue highlight */
  transform: translateY(-3px); /* slight lift */
}

/* Gradient vertical divider */
.column:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 2px;
  height: 80%;
  background:#3B2F2F;
}

.column h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.column ul li {
  margin-bottom: 10px;
}

.column ul li a {
  text-decoration: none;
  color:#3B2F2F;;
  transition: color 0.3s;
}

.column ul li a:hover {
  color:  #3B2F2F;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .four-columns {
    flex-direction: column;
  }
  .column::after {
    display: none; /* remove gradient lines on mobile */
  }
}

.faq{
width:80%;
margin:auto;
font-family:Arial;
}

.faq-title{
text-align:center;
margin-bottom:40px;
}

.faq-item{
border-bottom:1px solid #ddd;
margin-bottom:10px;
}

.faq-question{
width:100%;
padding:15px;
background:none;
border:none;
font-size:18px;
font-weight:bold;
text-align:left;
cursor:pointer;
display:flex;
justify-content:space-between;
align-items:center;
}

.faq-answer{
max-height:0;
overflow:hidden;
transition:max-height 0.4s ease;
padding:0 15px;
}

.faq-answer p{
margin:15px 0;
color:#555;
}

.icon{
font-size:22px;
transition:transform 0.3s;
}

.faq-item.active .faq-answer{
max-height:150px;
}

.faq-item.active .icon{
transform:rotate(45deg);
}
.courses-section{
padding:70px 20px;
background:linear-gradient(135deg,#0f172a,#1e293b);
font-family:Arial;
}

.course-title{
text-align:center;
color:white;
font-size:34px;
margin-bottom:30px;
}

/* SEARCH BAR */

#courseSearch{
display:block;
margin:0 auto 40px auto;
padding:12px;
width:300px;
border-radius:30px;
border:none;
outline:none;
font-size:15px;
}

/* COURSE GRID */

.course-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
max-width:1200px;
margin:auto;
}

/* GLASSMORPHISM CARD */

.course-card{
background:rgba(255,255,255,0.1);
backdrop-filter:blur(12px);
border:1px solid rgba(255,255,255,0.2);
padding:30px;
border-radius:20px;
text-align:center;
color:white;
position:relative;
transition:0.4s;
}

/* 3D HOVER */

.course-card:hover{
transform:translateY(-10px) scale(1.05);
box-shadow:0 20px 40px rgba(0,0,0,0.5);
}

/* BADGE */

.badge{
position:absolute;
top:15px;
left:15px;
background:#ff4757;
padding:6px 12px;
border-radius:20px;
font-size:12px;
font-weight:bold;
}

/* PRICE */

.price{
position:absolute;
top:15px;
right:15px;
background:#ffa502;
padding:6px 12px;
border-radius:20px;
font-size:12px;
font-weight:bold;
}

.icon{
font-size:45px;
margin-bottom:10px;
}

.duration{
margin:8px 0;
font-weight:bold;
}

.students{
font-size:14px;
margin:8px 0;
}

.rating{
margin:10px 0;
font-size:18px;
}

.enroll{
display:inline-block;
margin-top:10px;
padding:10px 20px;
background:white;
color:#222;
border-radius:25px;
text-decoration:none;
font-weight:bold;
transition:0.3s;
}

.enroll:hover{
background:black;
color:white;
}

/* MOBILE */

@media(max-width:600px){

#courseSearch{
width:90%;
}

.course-title{
font-size:26px;
}

}


