:root {
  --primary-color: #0047AB; /* Deep Blue from logo */
  --secondary-color: #FFD700; /* Yellow from logo */
  --accent-color: #E67E22; /* Orange accent */
  --text-color: #333333;
  --bg-color: #F8F9FA;
  --white: #FFFFFF;
  --transition: all 0.3s ease;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header & Nav */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 5%;
  display: flex;
  justify-content: flex-end;
  font-size: 0.9rem;
}

.top-bar-links a, .top-bar-links span {
  margin-left: 15px;
  color: var(--white);
  cursor: pointer;
}

/* Brand Header */
.brand-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 5%;
  background-color: var(--white);
  gap: 30px;
}

@media (max-width: 768px) {
  .brand-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 10px;
  }
  
  .responsive-logo {
    height: auto;
    max-height: 80px;
    width: 100%;
  }
}

.responsive-logo {
  height: 140px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.brand-header .school-details h1 {
  font-size: 2.2rem;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 5px;
}

.brand-header .school-details p {
  color: #555;
  font-size: 1rem;
}

.brand-header .header-contact {
  color: var(--primary-color);
  font-weight: bold;
  margin-top: 5px;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 5%;
  background-color: var(--white);
  border-top: 1px solid #eee;
}

.logo-container {
  display: none; /* Hide old container */
}

.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  color: var(--text-color);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 70vh;
  background: linear-gradient(rgba(0, 30, 80, 0.7), rgba(0, 30, 80, 0.7)), url('../images/DSCN1720.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: #000;
  font-weight: bold;
  border-radius: 30px;
  transition: var(--transition);
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* General Sections */
.section-padding {
  padding: 80px 5%;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Highlights */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.highlight-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.highlight-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid var(--secondary-color);
}

.highlight-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.highlight-card h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

/* Courses/Classes */
.course-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-img {
  height: 200px;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}

.course-content {
  padding: 25px;
}

.course-content h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Forms */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-main);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-info-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  border: none;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 5% 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  margin-bottom: 20px;
  color: var(--secondary-color);
  font-size: 1.3rem;
}

.footer-col p, .footer-col ul li a {
  color: #ddd;
  margin-bottom: 10px;
  display: block;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #ddd;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px 5%;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    gap: 15px;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .top-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
