/* ===== GLOBAL ===== */
:root {
  --deep-blue: #0a2e4f;
  --blue-dark: #0b3a5d;
  --gold: #c5a35b;
  --cyan: #00b4d8;
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --mid-gray: #e2e8f0;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 10px;
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px -10px rgba(0,0,0,0.1);
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}

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

a {
  color: var(--deep-blue);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--gold);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--deep-blue);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--blue-dark);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: #b19145;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--deep-blue);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
}
.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
}



/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: background 0.3s;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--deep-blue);
  letter-spacing: -0.5px;
}

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

.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding; 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 5px 0;
}
.main-nav a.active,
.main-nav a:hover {
  color: var(--gold);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--deep-blue);
  border-radius: 3px;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  height: 90vh;
  min-height: 600px;
}
.hero-slider .swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-slider .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10, 46, 79, 0.65);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  max-width: 700px;
  padding: 0 20px;
  margin: 0 auto;
  text-align: center;
}
.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 30px;
}
.hero-buttons .btn {
  margin: 5px 10px;
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 0;
}

/* Welcome */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.welcome-text h2 {
  margin-bottom: 20px;
}
.welcome-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Mission / Vision cards */
.mission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--gold);
}

/* Stats counters */
.stats-section {
  background: var(--deep-blue);
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 20px;
}
.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
}

/* News preview on home */
.news-preview-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.news-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.news-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
}
.news-card-body {
  padding: 20px;
}
.news-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.news-card-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}
.gallery-item img {
  border-radius: var(--radius);
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.03);
}

/* Testimonials */
.testimonials-slider {
  background: var(--light-gray);
}
.testimonial-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 30px;
}
.testimonial-card p {
  font-style: italic;
  font-size: 1.2rem;
}
.testimonial-card h4 {
  margin-top: 15px;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid var(--mid-gray);
  border-radius: 5px;
  font-family: var(--font-body);
}
.contact-form textarea {
  height: 150px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}
.team-member {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.team-member:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 3px solid var(--gold);
}

/* Footer */
.site-footer {
  background: var(--deep-blue);
  color: var(--white);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer-col h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col a {
  color: #cbd5e1;
}
.footer-col a:hover {
  color: var(--gold);
}
.social-icons {
  display: flex;
  gap: 15px;
  font-size: 1.3rem;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Back to top */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gold);
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  display: none;
  z-index: 999;
}
#backToTop.show {
  display: block;
}

/* ===== NEWS PAGE ===== */
.news-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.search-form {
  display: flex;
}
.search-form input {
  padding: 10px 15px;
  border: 1px solid var(--mid-gray);
  border-radius: 5px 0 0 5px;
  outline: none;
}
.search-form button {
  background: var(--deep-blue);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}
.category-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.category-filters a {
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--light-gray);
  font-size: 0.9rem;
}
.category-filters a.active,
.category-filters a:hover {
  background: var(--deep-blue);
  color: var(--white);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.pagination a {
  padding: 8px 16px;
  border: 1px solid var(--mid-gray);
  border-radius: 5px;
}
.pagination a.active {
  background: var(--deep-blue);
  color: var(--white);
  border-color: var(--deep-blue);
}

/* Single news */
.single-article img {
  border-radius: var(--radius);
  margin-bottom: 30px;
}
.article-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 15px 0;
}
.share-buttons {
  display: flex;
  gap: 10px;
  margin: 30px 0;
}
.related-posts {
  margin-top: 60px;
}
.comments-section {
  margin-top: 60px;
}
.comment {
  background: var(--light-gray);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform 0.3s;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 15px; }
  .mobile-toggle { display: flex; }

  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
  .welcome-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}