@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #FFFFFF;
  --primary: #4F4C88;       /* Indigo */
  --primary-dark: #3d3a6e;
  --muted: #F5F5FA;
  --border: #E5E5EF;
  --text-light: #6d6aa3;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--primary);
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
}

a {
  text-decoration: none;
  color: var(--primary);
}

/* =========================
   SIDEBAR (NOW WHITE)
========================= */

.sidebar {
  position: fixed;
  width: 256px;
  height: 100vh;
  background: #ffffff;
  border-right: 1px solid var(--border);
  padding: 40px 25px;
  display: flex;
  flex-direction: column;
}

.logo h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.logo p {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

.nav-links {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-links a {
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 14px;
  transition: 0.3s ease;
}

.nav-links a:hover {
  background: var(--muted);
}

.nav-links a.active {
  background: var(--muted);
  font-weight: 600;
}

/* CTA BUTTON IN SIDEBAR */
.sidebar-cta {
  margin-top: auto;
}

.sidebar-cta a {
  display: block;
  text-align: center;
  padding: 12px;
  background: rgb(214, 207, 82);
  color: #4F4C88;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s ease;
}

.sidebar-cta a:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* =========================
   MAIN CONTENT
========================= */

main {
  margin-left: 256px;
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.95),
    rgba(255,255,255,0.8),
    rgba(255,255,255,0.3)
  );
  display: flex;
  align-items: center;
  padding-left: 80px;
}

.hero-content {
  max-width: 600px;
}

.hero-content h1 {
  font-size: 56px;
  line-height: 1.1;
}

.hero-content p {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-light);
}

.btn-group {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

/* PRIMARY BUTTON */
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* OUTLINE BUTTON */
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 22px;
  border-radius: 8px;
  transition: 0.3s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* =========================
   PAGE SECTION
========================= */

.page {
  padding: 80px;
  max-width: 900px;
}

.page h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.page p {
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* =========================
   ACCORDION
========================= */
/* ACCORDION LAYOUT */

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 14px;
  transition: 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 10px 30px rgba(79,76,136,0.07);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Playfair Display';
  font-size: 18px;
}

.service-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-left i {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.dropdown-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.accordion-item.active .dropdown-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  margin-top: 15px;
  color: var(--text-soft);
}
/* SIMPLE CONTACT PAGE */

.contact-simple {
  text-align: center;
  max-width: 600px;
}

.contact-info a{
    overflow-wrap: anywhere;
}

.contact-intro {
  margin: 20px 0 40px 0;
  font-size: 18px;
  color: #666;
  overflow-wrap: anywhere;
}

.contact-box {
  background: var(--muted);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.contact-link {
  display: block;
  font-size: 20px;
  color: var(--primary);
  text-decoration: none;
  margin-top: 8px;
  font-weight: 600;
  transition: 0.3s ease;
}

.contact-link:hover {
  opacity: 0.8;
}

.contact-spacing {
  margin-top: 30px;
}
/* ABOUT PAGE LAYOUT */

.about-layout {
  display: flex;
  gap: 60px;
  padding: 80px;
  align-items: flex-start;
}

.about-text {
  flex: 2;
}

.about-text h1 {
  margin-bottom: 25px;
}

.about-text p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #444;
}

/* DIRECTOR CARD */

.director-card {
  flex: 1;
  background: var(--muted);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  position: sticky;
  top: 80px;
}

.director-card img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 20px;
}

.director-card h2 {
  color: var(--primary);
  margin-bottom: 5px;
}

.director-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.director-qualifications {
  font-size: 14px;
  color: #666;
}

/* Responsive */

@media (max-width: 900px) {
  .about-layout {
    flex-direction: column;
    padding: 40px;
  }

  .director-card {
    position: static;
  }
}
/* CONSULTATION PAGE */

.consultation-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: white;
}

.consultation-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.consultation-sub {
  margin: 20px 0 40px 0;
  font-size: 18px;
  color: #666;
}

.consultation-form {
  background: var(--muted);
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  text-align: left;
}

.form-group {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--primary);
  font-weight: 600;
}

.form-group input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: 'Inter';
  transition: 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(79,76,136,0.1);
}

.btn-gold {
  background: #c9a227;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  width: 100%;
  transition: 0.3s ease;
}

.btn-gold:hover {
  opacity: 0.9;
}
/* ---------- MOBILE RESPONSIVE ---------- */

@media (max-width: 900px) {

.sidebar{
    position: relative;
    width: 100%;
    height: auto;
    padding: 20px;
}

main{
    margin-left: 0;
}

.nav-links{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero{
    height: 70vh;
}

.hero-content{
    padding: 20px;
}

.hero-content h1{
    font-size: 32px;
}

.btn-group{
    flex-direction: column;
}

}

/* PHONE */

@media (max-width: 600px){

.hero-content h1{
    font-size: 26px;
}

.hero-content p{
    font-size: 15px;
}

.btn-group a{
    width: 100%;
    text-align: center;
}

}