:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --background-color: #ecf0f1;
  --text-color: #2c3e50;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.btn {
  text-align: center;
}
/* Header Styles */
header {
  background-color: var(--primary-color);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo img {
  width: 50px;
}

h3.logo-text{
    color: white !important;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.nav-links a.active {
  color: var(--accent-color);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background-image: url("../img/Image.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-bottom: 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

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

.section-subtitle {
  text-align: center;
  margin: -2rem 0 3rem;
  color: var(--text-color);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Button Styles */
.btn,
.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button {
  background-color: var(--accent-color);
}

.cta-button:hover {
  background-color: #c0392b;
}

.btn--center {
  display: block;
  margin: auto;
  max-width: max-content;
}

/* Focus Areas Section */
.focus-areas {
  padding: 6rem 2rem;
  background-color: white;
}

.focus-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.focus-card {
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
  border-radius: 10px;
  background: var(--background-color);
}

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

.focus-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Lead Learn Section */
.lead-learn {
  padding: 6rem 2rem;
  background-color: var(--primary-color);
  color: white;
}

.lead-learn .section-title {
  color: white;
}

.lead-learn-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.lead-learn-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

/* Core Values Section */
.core-values {
  padding: 6rem 2rem;
  background-color: var(--background-color);
}

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

.value-card {
  background: white;
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.value-card i {
  font-size: 2rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-section {
  padding: 6rem 2rem;
  background-color: white;
}

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

.gallery-item {
  position: relative;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item p {
  padding: 10px 10px 0 10px;
}

/* Social Media Section */
.social-section {
  padding: 6rem 2rem;
  background-color: var(--background-color);
  text-align: center;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
}

.social-icons a {
  color: var(--secondary-color);
  font-size: 2.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--primary-color);
}

/* Mission & Vision Section */
.mission-vision {
  padding: 6rem 2rem;
  background-color: white;
}

.mission-vision-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  align-content: center;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mission-card,
.vision-card,
.account-details {
  padding: 2rem;
  border-radius: 10px;
  background-color: var(--background-color);
}

.account-details {
  color: white;
  background: var(--secondary-color);
}

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

/* Contact Form Section */
.contact-form {
  padding: 1rem 2rem 6rem;
  background-color: white;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2980b9; /* Darker shade of secondary color */
}

/* Gallery Section */
.gallery-section {
  padding: 6rem 2rem;
  background-color: white;
  min-height: 80dvh;
}

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

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.lightbox:target {
  display: flex;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.pagination {
  text-align: center;
  margin: 2rem 0;
}

.pagination a {
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.pagination a:hover {
  background-color: #2980b9; /* Darker shade of secondary color */
}

/* Blog Section  */
.blog-section {
  padding: 6rem 2rem;
  background-color: var(--background-color);
  min-width: 80dvh;
  max-width: 100%;
  padding: 6rem 2rem;
  background-color: white;
}

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

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  padding: 1rem;
}

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

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 0.5rem 0;
}

.blog-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.blog-section {
  padding: 6rem 2rem;
  background-color: white;
  min-height: 80dvh;
  max-width: 100%;
}

.single-post {
  margin-bottom: 3rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2rem;
  margin: auto;
}

.single-post img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.single-post h2 {
  margin: 1rem 0;
  color: var(--primary-color);
}

.blog-content {
  margin: 1rem 0;
  font-size: 1rem;
  line-height: 1.6;
}

.comments {
  margin-top: 1.5rem;
}

.comment {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.comment img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 1rem;
}

.comment-content {
  background-color: #f9f9f9;
  padding: 1rem;
  border-radius: 5px;
  flex: 1;
}

.comment-date {
  font-size: 0.8rem;
  color: #777;
}

.comment-form {
  margin-top: 2rem;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.pagination {
  text-align: center;
  margin: 2rem 0;
}

.pagination a {
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.pagination a:hover {
  background-color: #2980b9; /* Darker shade of secondary color */
}

.page-indicator {
  margin: 1rem 0;
}

.search-form {
  text-align: center;
  margin-bottom: 4rem !important;
}

.search-form input {
  padding: 0.5rem;
  width: 200px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.search-form button {
  padding: 0.5rem 1rem;
  background-color: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-form button:hover {
  background-color: #2980b9; /* Darker shade of secondary color */
}

/* Recent Blog Posts Grid */
.recent-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.recent-post {
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  padding: 1rem;
}

.recent-post img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.recent-post h3 {
  margin: 0.5rem 0;
  color: var(--primary-color);
}
.recent-post p {
  font-size: 0.9rem;
  color: #555;
}

/* Account Details Section */
.account-details {
  text-align: center;
  margin-top: 1em;
}

.account-details h4 {
  font-weight: 500;
  font-size: 1.2rem;
}

.account-details p {
  font-weight: 600;
  font-size: x-large;
  margin-top: 0.3em;
  margin-bottom: 1em;
}

/* Alert section */
.alert {
  background: rgba(12, 12, 12, 0.856);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  padding: 1em;
  position: absolute;
  z-index: 10000;
  top: -10dvh;
  opacity: 0;
  left: 50%;
  margin: auto;
  transform: translateX(-50%);
  width: max-content;
  max-width: 90%;
  border-radius: 5px;
  text-align: center;
  transition: all ease 0.5s;
}

.alert p {
  padding: 1em;
  color: white;
  font-weight: 500;
}

.alert.show {
  top: 2dvh;
  opacity: 1;
}

.alert--error {
  color: rgb(219, 60, 60);
}

.alert--success {
  color: rgb(19, 107, 19);
}

/* Table */
table {
  border: 1px solid var(--primary-color);
  border-collapse: collapse;
  width: 100%;
}

td,
th {
  border: 1px solid var(--primary-color);
  padding: 0.5em;
}

/* Footer Styles */
.main-footer {
  background-color: var(--primary-color);
  color: white;
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

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

.footer-section h3 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.footer-section a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

address {
  font-style: normal;
  line-height: 1.8;
}

.quick-links {
  width: 100% !important;
}

.quick-links a {
  display: block !important;
  width: 100% !important;
  font-size: 1.2rem !important;
  padding: 0.5em 0 !important;
}

/* Mobile Menu */

.menu-toggle {
  display: none;
  cursor: pointer;
}

.mobile-menu {
  position: absolute;
  padding-top: 10dvh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 0;
  height: 100dvh;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.8);
  z-index: -10;
  transition: all 0.5s;
}

.mobile-menu.active {
  width: 100%;
}

.mobile-menu .mobile-menu-links {
  display: flex;
  flex-direction: column;
  background: var(--primary-color);
  height: 100%;
  width: 70%;
}

.mobile-menu a {
  padding: 1rem;
  border-bottom: 1px solid #ccc;
  color: white;
  font-weight: 500;
}

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

@media (max-width: 768px) {
  .menu-toggle > button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6em 1em;
  }

  .btn--md-full {
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
    margin-top: 1.6em;
  }

  section > h2 {
    font-size: 1.7rem !important;
  }

  .social-icons {
    gap: 2em;
  }

  .social-icons a {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

@media screen and (min-width: 768px) {
  .contact-form form {
    width: 600px;
    margin: auto;
  }

  .blog-section > div,
  .single-post {
    width: min(80%, 1200px);
    margin: auto;
  }

  .comments,
  .comment-form {
    width: 70%;
  }
}

@media screen and (min-width: 1000px) {
  .single-post {
    width: min(80%, 1000px) !important;
  }
}
