@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --primary-color: #1b2a47; /* Deep Navy Blue */
  --secondary-color: #c5a059; /* Elegant Gold */
  --accent-color: #4b6b5d; /* Soft Sage Green */
  --bg-color: #f7f3ee; /* Warm Cream */
  --card-bg: rgba(255, 255, 255, 0.7);
  --text-dark: #2c3e50;
  --text-light: #f7f3ee;
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow: 0 8px 32px rgba(27, 42, 71, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  scroll-behavior: smooth;
}

/* Background Gradients */
.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  filter: blur(100px);
  opacity: 0.5;
  border-radius: 50%;
  animation: float 20s infinite alternate ease-in-out;
}
.blob-1 {
  top: -10%; left: -10%; width: 50vw; height: 50vw;
  background: rgba(197, 160, 89, 0.3); /* Gold */
}
.blob-2 {
  bottom: -10%; right: -10%; width: 60vw; height: 60vw;
  background: rgba(75, 107, 93, 0.2); /* Sage */
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, 10%) scale(1.1); }
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Glassmorphism Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(247, 243, 238, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--secondary-color);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

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

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

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

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  background: var(--card-bg);
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--primary-color);
  color: var(--text-light);
}

/* Views */
.view {
  display: none;
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
  padding-top: 100px;
}
.view.active {
  display: block;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5% 8%;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-subtitle {
  color: var(--secondary-color);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #4a5568;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.btn:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(27, 42, 71, 0.15);
}

.hero-image-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-width: 450px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
  border: 4px solid white;
}

.hero-image-backdrop {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background: var(--secondary-color);
  border-radius: 20px;
  z-index: 1;
  opacity: 0.5;
}

/* Cards Section */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.services {
  padding: 5% 8%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(27, 42, 71, 0.1);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Info Section (CBT & Booking) */
.info-section {
  padding: 5% 8%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
}

.info-container {
  max-width: 900px;
  margin: 0 auto;
}

.info-block {
  margin-bottom: 4rem;
  padding: 3rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.info-block h2 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.info-list {
  list-style: none;
  margin: 1.5rem 0;
}

.info-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
}

.info-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Diploma Image */
.diploma-wrapper {
  text-align: center;
  margin: 3rem 0;
}
.diploma-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--glass-border);
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--text-light);
  padding: 4rem 8% 2rem;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col {
  text-align: left;
}

.footer-col h4 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.footer-col p, .footer-col a {
  color: #ccd6e0;
  text-decoration: none;
  margin-bottom: 0.5rem;
  display: block;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  font-size: 0.9rem;
  color: #a0aec0;
}

/* Legal View */
.legal-content {
  max-width: 900px;
  margin: 0 auto 4rem;
  background: #fff;
  padding: 4rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.legal-content h3 {
  margin-top: 2rem;
  color: var(--primary-color);
}
.legal-content p {
  margin-bottom: 1rem;
  color: #4a5568;
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 150px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-image-wrapper {
    margin-top: 2rem;
  }
  .info-block {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(247, 243, 238, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  nav.menu-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
  }
  header {
    padding: 1rem 5%;
  }
  .legal-content {
    padding: 2rem;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}
