:root {
  --primary: #1f2a44;
  --secondary: #3b5ccc;
  --accent: #c9a227;
  --light: #f6f7fb;
  --dark: #111827;
  --max-width: 1200px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.7;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  border-radius: 12px;
}

/* NAV */
header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand img {
  width: 100px;
  height: 50px;
  object-fit: contain;
}

.brand span {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--secondary);
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  padding: 1rem 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu a {
  padding: 0.8rem 0;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--secondary);
}

.mobile-menu.show {
  display: flex;
}

/* HERO */
.hero {
  background: linear-gradient(to right, rgba(31, 42, 68, 0.85), rgba(31, 42, 68, 0.85)),
    url("https://images.unsplash.com/photo-1529070538774-1843cb3265df") center/cover;
  color: white;
  padding: 6rem 2rem;
}

.hero-inner {
  max-width: var(--max-width);
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  background: var(--accent);
  color: black;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  background: #d4b028;
}

section {
  padding: 5rem 2rem;
}

.container {
  max-width: var(--max-width);
  margin: auto;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* TESTIMONIALS */
.testimonial-card {
  font-style: italic;
  position: relative;
  padding: 2.5rem 2rem;
}

.testimonial-card::before {
  content: "“";
  font-size: 4rem;
  color: var(--accent);
  position: absolute;
  top: 10px;
  left: 20px;
  opacity: 0.4;
}

.testimonial-author {
  margin-top: 1.5rem;
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
}

.testimonial-role {
  font-size: 0.85rem;
  color: #6b7280;
}

/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* FORM */
form {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  max-width: 600px;
  margin: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: inherit;
  transition: border 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

button {
  width: 100%;
  background: var(--secondary);
  color: white;
  padding: 0.9rem;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

button:hover {
  background: #2c4bb8;
  transform: translateY(-2px);
}

.success {
  display: none;
  background: #ecfdf5;
  color: #065f46;
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  text-align: center;
  animation: fadeSlide 0.6s ease forwards;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

/* FOOTER */
footer {
  background: var(--primary);
  color: white;
  padding: 3rem 2rem;
}

.footer-grid {
  max-width: var(--max-width);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-left p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0.4rem 0;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-end;
  align-items: center;
}

.social-icons svg {
  width: 26px;
  height: 26px;
  fill: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.social-icons svg:hover {
  transform: scale(1.1);
}

.powered {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner,
  .split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .nav ul {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  h2 {
    font-size: 2.3rem;
  }
  
  h3 {
    font-size: 1.8rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  section {
    padding: 3rem 1rem;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  form {
    padding: 1.5rem;
  }
}

/* Add these styles to your existing style.css file */

/* HERO SECTION SOCIAL ICONS */
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.social-icons-hero {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icons-hero a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-icons-hero a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.social-icons-hero svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* FOOTER SOCIAL LINKS */
.footer-left .contact-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links {
  text-align: center;
}

.social-links h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: white;
}

.social-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  border-color: var(--accent);
}

.social-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.social-icon span {
  font-size: 0.9rem;
  font-weight: 500;
}

.copyright {
  margin-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* NAV SOCIAL MEDIA (Optional - if you want them in navigation too) */
.nav-social {
  display: flex;
  gap: 1rem;
  margin-left: 2rem;
}

.nav-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light);
  transition: all 0.3s ease;
}

.nav-social a:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.nav-social svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

.nav-social a:hover svg {
  fill: white;
}

/* RESPONSIVE UPDATES */
@media (max-width: 900px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .social-icons {
    grid-template-columns: 1fr;
  }
  
  .social-icon {
    justify-content: center;
  }
}

/* Add to your style.css file */

#subjects .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  justify-items: center; /* Centers content horizontally in each grid cell */
}

#subjects .split > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

#subjects .split img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#subjects .split > div:last-child {
  text-align: center;
  padding: 2rem;
}

#subjects h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

#subjects p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}