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

:root {
  --primary-color: #1a4d8f;
  --secondary-color: #2980b9;
  --accent-color: #e74c3c;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

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

.nav-links > li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.25rem 0.5rem;
  display: inline-block;
}

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

/* Dropdown Menu for About Us */
.dropdown {
  position: relative;
}

.dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.dropdown > a:after {
  content: "▼";
  font-size: 0.7rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 180px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1000;
  margin-top: 0.5rem;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  padding: 0.75rem 1.5rem;
  display: block;
  color: var(--text-dark);
  transition: all 0.3s;
}

.dropdown-menu a:after {
  display: none !important;
}

.dropdown-menu a:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Hero Section */
.hero {
  background: linear-gradient(
      135deg,
      rgba(26, 77, 143, 0.8) 0%,
      rgba(41, 128, 185, 0.8) 100%
    ),
    url("images/banner1.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 6rem 2rem;
  text-align: center;
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Services Section */
.services {
  background: var(--bg-light);
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

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

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

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.8;
}

/* About Section */
.about {
  background: var(--white);
  padding: 4rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-features {
  list-style: none;
}

.about-features li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
}

.about-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Contact Section */
.contact {
  background: var(--bg-light);
}

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

.contact-info-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-info-box h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.info-section {
  margin-bottom: 2rem;
}

.info-section h3 {
  color: var(--text-dark);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.info-section p {
  color: var(--text-gray);
  line-height: 1.6;
}

.contact-form-wrapper {
  display: flex;
  flex-direction: column;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.submit-button {
  background: var(--primary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}

.submit-button:hover {
  background: var(--secondary-color);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.info-item p {
  color: var(--text-light);
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 1rem 2rem;
  text-align: center;
}

footer .container {
  padding: 0;
}

footer p {
  opacity: 0.8;
}

/* Page-specific Styles */
.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 5rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  pointer-events: none;
}

.page-header h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

.section {
  padding: 3rem 0;
  border-bottom: 1px solid #eee;
}

.section:last-child {
  border-bottom: none;
}

.highlight-box {
  background: var(--primary-color);
  color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
}

.cta-section {
  background: var(--bg-light);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
  align-items: stretch;
}

.timeline-year {
  background: var(--primary-color);
  color: var(--white);
  padding: 1.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  min-width: 140px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-content {
  padding: 1.5rem 2rem;
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-left: 1rem;
  flex: 1;
  display: flex;
  align-items: center;
}

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

.value-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s;
  height: fit-content;
}

.value-card:hover {
  transform: translateY(-3px);
}

.value-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* Additional Page Styles */
.breadcrumb {
  background: var(--bg-light);
  padding: 0.75rem 2rem;
  margin: 0;
  border-bottom: 1px solid #ddd;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.intro {
  background: var(--bg-light);
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--primary-color);
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.feature-card,
.activity-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
  text-align: center;
}

.feature-card:hover,
.activity-card:hover {
  transform: translateY(-5px);
}

.features-grid,
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-icon,
.activity-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 1.5rem;
}

.service-list {
  list-style: none;
  margin: 2rem 0;
}

.service-list li {
  padding: 1rem;
  margin: 0.5rem 0;
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  border-radius: 5px;
}

.content-section {
  padding: 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

.main-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-box,
.info-box,
.qualification-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.qualification-box {
  margin: 2rem 0;
  border-left: 4px solid var(--primary-color);
}

.qualification-box h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.qualification-box h4 {
  color: var(--secondary-color);
  margin: 1.5rem 0 0.5rem;
}

.qualification-box ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.qualification-box li {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  border-bottom: 1px solid #eee;
}

.sidebar-links a {
  display: block;
  padding: 1rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.sidebar-links a:hover {
  color: var(--primary-color);
}

.cta-box {
  background: var(--primary-color);
  color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  margin: 2rem 0;
}

.highlight-section {
  background: var(--bg-light);
  padding: 4rem 2rem;
}

.highlight-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.highlight-content h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.highlight-content > p {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.activities-section {
  padding: 4rem 0;
}

.activities-intro {
  text-align: center;
  margin-bottom: 3rem;
}

/* Partners Page Styles */
.partners-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.partner-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 3rem;
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  align-items: flex-start;
}

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

.partner-content {
  padding: 2rem;
  flex: 1;
}

.partner-title {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.partner-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-right: 3px solid var(--primary-color);
  flex-shrink: 0;
}

.partner-image-placeholder {
  width: 200px;
  height: 200px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: bold;
  border-right: 3px solid var(--accent-color);
  flex-shrink: 0;
}

.credentials {
  margin: 2rem 0;
}

.credential-badge {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0.25rem;
}

.expertise-section {
  margin: 2rem 0;
}

.expertise-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.expertise-item {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 5px;
  border-left: 4px solid var(--primary-color);
  transition: background 0.3s;
}

.expertise-item:hover {
  background: #e8f4fd;
}

.about-nav {
  background: var(--white);
  border-bottom: 2px solid var(--bg-light);
  margin: 0;
  position: sticky;
  top: 80px;
  z-index: 999;
}

.about-nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-links {
  display: flex;
  gap: 0;
  list-style: none;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.about-links a {
  color: var(--text-dark);
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 0;
  transition: all 0.3s;
  font-weight: 500;
  border-bottom: 3px solid transparent;
}

.about-links a:hover,
.about-links a.active {
  background: transparent;
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

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

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin-top: 0.5rem;
    margin-left: 1rem;
    background: var(--bg-light);
  }

  .dropdown > a:after {
    display: none;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
  }

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

  .page-header h1 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .timeline-item {
    flex-direction: column;
  }

  .timeline-content {
    margin-left: 0;
    margin-top: 1rem;
  }

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

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

  .features-grid,
  .activities-grid {
    grid-template-columns: 1fr;
  }

  .about-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .expertise-list {
    grid-template-columns: 1fr;
  }

  .partners-container {
    padding: 1rem;
  }

  .partner-card {
    flex-direction: column;
  }

  .partner-image {
    width: 100%;
    height: 200px;
    border-right: none;
    border-bottom: 3px solid var(--primary-color);
  }

  .partner-image-placeholder {
    width: 100%;
    border-right: none;
    border-bottom: 3px solid var(--accent-color);
  }
}

/* Thank You Page Styles */
.thank-you-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: var(--bg-light);
}

.thank-you-card {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  width: 100%;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease-out;
}

.success-icon svg {
  width: 50px;
  height: 50px;
  stroke: var(--white);
  stroke-width: 4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: checkmark 0.8s ease-out 0.3s;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes checkmark {
  to {
    stroke-dashoffset: 0;
  }
}

.thank-you-card h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.thank-you-card .message {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.thank-you-card .info-box {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem 0;
  text-align: left;
}

.thank-you-card .info-box h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
}

.thank-you-card .info-item {
  display: flex;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--white);
  border-radius: 5px;
  align-items: center;
}

.thank-you-card .info-item:last-child {
  margin-bottom: 0;
}

.thank-you-card .info-item strong {
  color: var(--text-dark);
  min-width: 140px;
  font-weight: 600;
}

.thank-you-card .info-item span {
  color: var(--text-light);
  flex: 1;
}

.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .thank-you-container {
    padding: 2rem 1rem;
  }

  .thank-you-card {
    padding: 2rem 1.5rem;
  }

  .thank-you-card h1 {
    font-size: 2rem;
  }

  .thank-you-card .info-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .thank-you-card .info-item strong {
    margin-bottom: 0.25rem;
  }

  .button-group {
    flex-direction: column;
    width: 100%;
  }

  .button-group .btn {
    width: 100%;
  }
}
