:root{
  --accent:#0b6efd;
  --bg:#f7f7f9;
  --text:#222;
  --muted:#666;
  --max-width:2100px;
  --gap:20px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

*{
  box-sizing:border-box;
}
body{
  margin:0;
  color:var(--text);
  background: var(--bg);
  line-height:1.5;
}
.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:18px;
}

/* ========================= */
/* Navbar Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
}

/* Header Section */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #ffd60a, #a30b0b);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Navbar Layout */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 25px;
  max-width: 1200px;
  margin: auto;
}

/* Logo */
.logo img {
  height: 80px;
  width: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Menu Links */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 18px;
}

.main-nav a.nav-btn {
  text-decoration: none;
  font-weight: 1000;
  color: white;
  background: rgba(0,0,0,0.2);
  padding: 10px 18px;
  border-radius: 10px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.main-nav a.nav-btn:hover {
  background: white;
  color: #a30b0b;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Mobile menu icon */
.menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  transition: 0.3s ease;
}

.menu-icon:hover {
  transform: scale(1.1);
}

/* ========================= */
/* Responsive Design */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.show {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #ffd60a, #a30b0b);
    animation: fadeDown 0.3s ease;
  }

  @keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
  }

  .main-nav a.nav-btn {
    display: inline-block;
    width: 80%;
  }

  .menu-icon {
    display: block;
  }
}

/* ========================= */
/* Hero section */
.hero{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:80px 40px;
  height:550px;
  color:#fff;
  background: url('images/banner.jpg') center/cover no-repeat;
  border-radius:8px;
  position: relative;
  overflow: hidden;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.hero-text {
  max-width:600px;
  z-index:2;
}

.hero-text h1{
  margin:0 0 16px;
  font-size:36px;
  line-height:1.2;
  font-weight:bold;
}

.hero-text p{
  font-size:18px;
  margin-bottom:20px;
  line-height:1.5;
}

.btn{
  display:inline-block;
  padding:12px 24px;
  background:var(--accent);
  color:#fff;
  border-radius:8px;
  text-decoration:none;
  font-weight:bold;
  transition:all 0.3s ease;
  box-shadow:0 4px 8px rgba(0,0,0,0.3);
}
.btn:hover{
  background:#094bcf;
  transform:translateY(-2px);
  box-shadow:0 6px 12px rgba(0,0,0,0.4);
}

/* ========================= */
/* About Section */
.about{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
  padding:40px 18px;
  background:maroon;
  border-radius:8px;
  margin-top:18px;
  flex-wrap:wrap;
}

.about-text{
  flex:1;
  min-width:280px;
}

.about-img{
  flex:1;
  min-width:280px;
}

.about-img img{
  width:100%;
  border-radius:8px;
}

.about-text h2{
  margin-top:0;
}

/* ✅ Paragraph as separate bar */
.about-text p{
  font-size:18px;
  line-height:1.6;
  background:#f1f5f9;
  padding:15px 20px;
  border-left:5px solid var(--accent);
  border-radius:6px;
  box-shadow:0 2px 6px rgba(0,0,0,0.1);
  margin-top:12px;
}

/* ========================= */
/* Advertisement Slider */
.slider {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  display: none;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  border-radius: 8px;
}

/* Navigation arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  margin-top: -22px;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  user-select: none;
  transition: 0.3s;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Dots */
.dots {
  text-align: center;
  position: absolute;
  bottom: 12px;
  width: 100%;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 3px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s;
}

.dot.active {
  background: var(--accent);
}

/* ========================= */
/* Philosophy / Courses grid */
.philosophy{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
  margin-top:18px;
}
.philosophy-item{
  background:lightblue;
  padding:14px;
  border-radius:8px;
  text-align:center
}
.philosophy-item img{
  max-width:100%;
  height:140px;
  object-fit:cover;
  border-radius:6px;
}

/* ========================= */
/* Footer */
.site-footer{
  margin-top:28px;
  background:linear-gradient(135deg, #2c003e, maroon);
  color:#fff;
  padding:40px 0 20px;
}

.footer-content{
  display:flex;
  gap:24px;
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 18px;
  justify-content:space-between;
  flex-wrap:wrap;
  align-items:center;
  text-align:center;
}

.footer-col{
  flex:1;
  min-width:220px;
}

.footer-col h3{
  margin-top:0;
  color:#f4d03f;
}

.footer-col a{
  color:#cfe4ff;
  text-decoration:none;
}

.footer-col a:hover{
  text-decoration:underline;
}

/* ✅ Logo Center */
.footer-logo {
  text-align: center;
}

.school-logo {
  width: 200px;
  margin-bottom: 15px;
}

/* ✅ Social Icons */
.social-icons a {
  margin: 0 8px;
  font-size: 22px;
  color: #fff;
  transition: 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.social-icons a:nth-child(1):hover { color: #3b5998; }
.social-icons a:nth-child(2):hover { color: #e4405f; }
.social-icons a:nth-child(3):hover { color: #ff0000; }
.social-icons a:nth-child(4):hover { color: #25d366; }

/* ✅ Contact Button */
.contact-btn {
  margin-top: 10px;
  background: var(--accent);
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-btn a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.contact-btn:hover {
  background:#094bcf;
  transform:translateY(-2px);
  box-shadow:0 4px 8px rgba(0,0,0,0.3);
}

/* ✅ Copy Section */
.copy{
  background:yellow;
  padding:10px 18px;
  text-align:center;
  color:#222;
  margin-top:20px;
  font-weight:bold;
  border-top: 2px solid #fff;
}

/* ========================= */
/* Responsive */
@media (max-width:1000px){
  .hero{
    flex-direction:column;
    text-align:center;
    height:450px;
    padding:60px 20px;
  }
  .hero-text h1{
    font-size:28px;
  }
  .hero-text p{
    font-size:16px;
  }
  .btn{
    padding:10px 20px;
  }
}

@media (max-width:800px){
  .navbar{
    flex-direction:column;
    align-items:flex-start;
  }
  .main-nav{
    justify-content:flex-start;
    width:100%;
  }
  .main-nav ul{
    flex-wrap:wrap;
  }
  .about{
    flex-direction:column;
    text-align:center;
  }
  .about-img, .about-text{
    width:100%;
  }
}
