/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.8rem;
}
h4 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.section-title {
  text-align: center;
  color: #1a365d;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #d69e2e, #f6ad55);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 54, 93, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  clip-path: inset(0% 0% 5% 5%);
}

.logo-text {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #f6ad55;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f6ad55;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(26, 54, 93, 0.7), rgba(26, 54, 93, 0.7)),
    url("background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #f6ad55;
  font-weight: 300;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #d69e2e, #f6ad55);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(214, 158, 46, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214, 158, 46, 0.4);
}

/* About Section */
.about {
  padding: 100px 0;
  background: #f8fafc;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-text h3 {
  color: #1a365d;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-text ul {
  list-style: none;
  margin: 1.5rem 0;
}

.about-text li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1rem;
  padding: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-text li i {
  color: #d69e2e;
  font-size: 1.2rem;
  min-width: 20px;
}

.trust-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.info-item:hover {
  transform: translateY(-2px);
}

.info-item i {
  color: #1a365d;
  font-size: 1.5rem;
  min-width: 25px;
}

/* Programs Section */
.programs {
  padding: 100px 0;
  background: #fff;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.program-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.program-card:hover {
  transform: translateY(-5px);
  border-color: #d69e2e;
  box-shadow: 0 10px 30px rgba(214, 158, 46, 0.2);
}

.program-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1a365d, #2d5a87);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.program-icon i {
  color: #fff;
  font-size: 2rem;
}

.program-card h3 {
  color: #1a365d;
  margin-bottom: 1rem;
}

.program-card p {
  color: #666;
  line-height: 1.6;
}

/* History Section */
.history {
  padding: 100px 0;
  background: #f8fafc;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #1a365d, #d69e2e);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-date {
  background: linear-gradient(135deg, #1a365d, #d69e2e);
  color: #fff;
  padding: 15px 25px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  min-width: 120px;
  text-align: center;
  z-index: 1;
}

.timeline-content {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin: 0 30px;
  flex: 1;
  max-width: 400px;
}

.timeline-content h3 {
  color: #1a365d;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: #666;
  line-height: 1.6;
}

/* Subscribe Section */
.subscribe {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a365d, #2d5a87);
  color: #fff;
}

.subscribe-description {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.2rem;
  opacity: 0.9;
}

.subscribe-form {
  max-width: 500px;
  margin: 0 auto;
}

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

.form-group input,
.form-group select {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-group select option {
  background: #1a365d;
  color: #fff;
}

.subscribe-button {
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(135deg, #d69e2e, #f6ad55);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.subscribe-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(214, 158, 46, 0.3);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: #fff;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 3rem;
}

.contact-info h3,
.contact-form h3 {
  color: #1a365d;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 10px;
}

.contact-item i {
  color: #d69e2e;
  font-size: 1.5rem;
  min-width: 25px;
  margin-top: 5px;
}

.contact-item h4 {
  color: #1a365d;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #666;
  margin-bottom: 0;
}

.contact-form form {
  background: #f8fafc;
  padding: 30px;
  border-radius: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  color: #333;
  transition: border-color 0.3s ease;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: #d69e2e;
}

.contact-button {
  width: 100%;
  padding: 15px 30px;
  background: linear-gradient(135deg, #1a365d, #2d5a87);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 54, 93, 0.3);
}

/* Footer */
.footer {
  background: #1a365d;
  color: #fff;
  padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
  color: #f6ad55;
  margin-bottom: 1.5rem;
}

.footer-section p {
  color: #cbd5e0;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #f6ad55;
}

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

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

.social-links a:hover {
  background: #f6ad55;
  transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: rgba(26, 54, 93, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 1rem;
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: row !important;
  }

  .timeline-date {
    min-width: 100px;
    font-size: 1rem;
  }

  .timeline-content {
    margin-left: 20px;
    margin-right: 0;
  }

  .trust-info {
    grid-template-columns: 1fr;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .about,
  .programs,
  .history,
  .subscribe,
  .contact {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-container {
    padding: 0 15px;
  }

  .logo-text {
    font-size: 1.2rem;
  }
}

/* Smooth scrolling and animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about,
.programs,
.history,
.subscribe,
.contact {
  animation: fadeInUp 0.8s ease-out;
}

/* Hover effects for interactive elements */
.nav-link,
.cta-button,
.subscribe-button,
.contact-button {
  transition: all 0.3s ease;
}

.program-card,
.info-item,
.contact-item {
  transition: all 0.3s ease;
}

/* Focus states for accessibility */
.nav-link:focus,
.cta-button:focus,
.subscribe-button:focus,
.contact-button:focus {
  outline: 2px solid #f6ad55;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .cta-button,
  .subscribe-button,
  .contact-button {
    display: none;
  }

  .hero {
    height: auto;
    padding: 50px 0;
  }

  .hero-background {
    display: none;
  }

  .hero-content {
    color: #333;
  }
}
