:root {
  --primary-color: #3985db;
  --secondary-color: #d4af37;
  --accent-color: #3985db;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --text-muted: #888888;
  --bg-light: #fafafa;
  --bg-white: #ffffff;
  --border-light: #e5e5e5;
  --success-color: #28a745;
  --gradient-primary: linear-gradient(135deg, #3985db 0%, #3985db 100%);
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.3;
}

/* Header */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.header-top {
  background: var(--gradient-primary);
  color: white;
  padding: 10px 0;
  font-size: 0.85rem;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact span {
  margin-right: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.header-social a {
  color: white;
  margin-left: 1rem;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.header-social a:hover {
  color: var(--secondary-color);
}

.header-main {
  padding: 1rem 0;
}

/* Logo styling */
.navbar-brand {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  color: var(--secondary-color);
}

.brand-logo {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.brand-text {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: inherit;
}

.navbar-nav {
  gap: 1.5rem;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary-color);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.cta-button {
  background: var(--gradient-gold);
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  box-shadow: var(--shadow-sm);
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  max-width: 200px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

body {
  padding-top: 120px;
}

@media (max-width: 991px) {
  body {
    padding-top: 90px;
  }
}

/* Hero Section */
.hero {
  background:
    linear-gradient(rgba(0, 87, 184, 0.9), rgba(0, 61, 130, 0.9)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%23003d82" width="1920" height="1080"/><polygon fill="%230057B8" points="0,1080 600,800 1200,900 1920,700 1920,1080"/><circle fill="%23d4af37" cx="1600" cy="200" r="80" opacity="0.1"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 200px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.6rem 1.8rem;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.5s;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.7s;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.9s;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 1.1s;
}

.btn-hero-primary,
.btn-hero-outline {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}

.btn-hero-primary {
  background: var(--gradient-gold);
  color: white;
  border: 2px solid var(--secondary-color);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-hero-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-hero-outline:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.hero-services span {
  font-size: 0.95rem;
  font-weight: 400;
}

@media (max-width: 768px) {
  .hero {
    padding-top: 140px;
    padding-bottom: 70px;
    background-attachment: scroll;
  }

  .hero-content {
    padding: 0 1rem;
  }
}

/* Stats Section */
.stats {
  background: var(--bg-light);
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.stats-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.stats-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.stats-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.stats-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}

.stats-label {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
}

/* Section Common Styles */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-block;
  background: var(--gradient-gold);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* About Section */
.about {
  padding: 6rem 0;
}

.about-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.about-image-float {
  float: left;
  width: 40%; /* reduced from 45% */
  margin: 0 3rem 2rem 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-float img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-float:hover img {
  transform: scale(1.05);
}

.about-text {
  overflow: auto;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: justify;
}

.about-text h4.about-subheading {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: #1a237e;
  font-size: 1.4rem;
  clear: none;
}

.about-text ul.about-list {
  margin: 1.5rem 0 1.5rem 1.5rem;
  list-style-position: outside;
}

.about-text ul.about-list li {
  margin-bottom: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
  padding-left: 0.5rem;
}

.about-features {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  clear: both;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

/* Mobile Responsiveness for About Section */
@media (max-width: 768px) {
  .about-image-float {
    float: none;
    width: 100%;
    margin: 0 0 2rem 0;
  }

  .about-text p {
    text-align: left;
  }
}

.about-image-caption {
  margin-top: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1rem;
  text-align: center;
}

@media (max-width: 992px) {
  .about-image-float {
    float: none;
    width: 100%;
    margin: 0 0 2rem 0;
  }

  .about-text {
    overflow: visible;
  }
}

/* Services Section */
.services {
  background: var(--bg-light);
  padding: 6rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: white;
  font-size: 2.5rem;
}

.service-card h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.service-list {
  list-style: none;
  margin-bottom: 2rem;
}

.service-list li {
  padding: 1rem 0 1rem 2.5rem;
  position: relative;
  color: var(--text-light);
  line-height: 1.7;
  border-bottom: 1px solid var(--border-light);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 25px;
  height: 25px;
  background: var(--gradient-gold);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.service-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Partners Section */
.partners {
  padding: 6rem 0;
  background: white;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.partner-card {
  background: white;
  border: 2px solid var(--border-light);
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.partner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.partner-card:hover::before {
  transform: scaleX(1);
}

.partner-card h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.partner-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* News Section */
.news {
  background: var(--bg-light);
  padding: 6rem 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1000px;
  margin: 0 auto;
}

.news-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.news-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 3rem;
}

.news-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.news-category {
  background: var(--gradient-gold);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-date {
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.news-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-weight: 700;
}

.news-content > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
}

.news-content > p strong {
  color: var(--text-dark);
  font-weight: 700;
}

.news-features {
  list-style: none;
  margin: 2rem 0;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 15px;
}

.news-features li {
  padding: 0.8rem 0 0.8rem 2rem;
  position: relative;
  color: var(--text-light);
  line-height: 1.7;
  border-bottom: 1px solid var(--border-light);
}

.news-features li:last-child {
  border-bottom: none;
}

.news-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 22px;
  height: 22px;
  background: var(--gradient-gold);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
}

/* News Banners */
.news-banner {
  width: 100%;
  margin: 3rem 0;
  border-radius: 20px;
  overflow: hidden;
}

.news-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: all 0.3s ease;
}

/* Responsive for tablets and mobile Fix */
/* News Banners – force true responsiveness */
.news-banner img {
  width: 100%;
  height: auto; /* allow natural scaling */
  max-width: 100%;
  object-fit: contain; /* prevent cropping */
}

/* remove forced heights on smaller screens */
@media (max-width: 1024px), (max-width: 768px), (max-width: 480px) {
  .news-banner img {
    height: auto;
  }
}

/* Contact Section */
.contact {
  background: var(--gradient-primary);
  padding: 6rem 0;
  color: white;
}

.contact .section-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.contact .section-title {
  color: white;
}

.contact .section-description {
  color: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
  font-size: 1.05rem;
}

.contact .section-description strong {
  color: var(--secondary-color);
  font-weight: 700;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-top: 4rem;
  align-items: start;
}

.contact-info h3 {
  color: white;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item h4 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-item p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}

.contact-form-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

.contact-form h4 {
  color: white;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 500;
  display: block;
}

.form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-control:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
  height: 150px;
  resize: vertical;
  font-family: "Inter", sans-serif;
}

.btn-submit {
  background: var(--gradient-gold);
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
  background: #0a0a0a;
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.footer-brand p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  color: white;
}

.footer-section h5 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 2rem;
  text-align: center;
  color: #888;
}

.footer-bottom a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.animate-slide-left.animated {
  opacity: 1;
  transform: translateX(0);
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.animate-slide-right.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .navbar-nav {
    gap: 1rem;
  }
  .cta-button {
    margin-top: 1rem;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 160px 0 80px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero .subtitle {
    font-size: 1.1rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-hero-primary,
  .btn-hero-outline {
    white-space: normal;
  }
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .services-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .section-title {
    font-size: 2.5rem;
  }
  .navbar-nav {
    gap: 1rem;
  }
  .header-contact span {
    margin-right: 1rem;
    font-size: 0.8rem;
  }
  .header-social a {
    margin-left: 0.5rem;
    font-size: 0.9rem;
  }
  .partners-grid {
    grid-template-columns: 1fr;
  }
  .social-links {
    justify-content: center;
  }
}
@media (max-width: 576px) {
  .hero {
    padding: 140px 0 60px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .service-card,
  .contact-form-container {
    padding: 2rem;
  }
  .news-content {
    padding: 2rem;
  }
  .about-image img {
    height: 300px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .header-top .container {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .header-contact span {
    margin-right: 0;
    margin-bottom: 0.25rem;
  }
  .brand-logo {
    height: 40px;
  }
  .news-image {
    height: 250px;
  }
}
@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
}

/* Hamburger Menu Side Drawer */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%; /* hidden by default */
  width: 280px; /* partial width */
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95); /* semi-dark background */
  backdrop-filter: blur(8px);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Show menu when active */
.mobile-menu.active {
  right: 0; /* slide in from right */
}

/* Mobile menu close button */
.mobile-menu .close-menu {
  align-self: flex-end;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

/* Menu links inside drawer */
.mobile-menu a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: var(--primary-color);
}

/* Optional: semi-transparent overlay behind menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 280px); /* remaining screen */
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 9998;
  display: none;
}

.mobile-menu-overlay.active {
  display: block;
}

/* ===============================
   GLOBAL RESPONSIVE FIXES
================================ */

/* prevent horizontal overflow universally */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* fluid typography for better scaling */
h1 {
  font-size: clamp(1.75rem, 4vw, 3.5rem);
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 3rem);
}
h3 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}
p {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
}

/* tighten section padding on smaller devices */
@media (max-width: 1024px) {
  section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ===============================
   MOBILE MENU IMPROVEMENTS
================================ */

.mobile-menu {
  max-height: 100vh;
  overflow-y: auto;
  width: 260px;
}

.mobile-menu a {
  padding: 0.6rem 0;
}

/* overlay should cover entire background */
.mobile-menu-overlay {
  width: 100%;
} /* Justify all main text content */
p,
li,
.about-text p,
.news-content > p,
.service-list li,
.contact-item p,
.stats-label,
.footer p {
  text-align: justify;
}

/* Optional: add better word spacing for justified text */
p,
li,
.about-text p,
.news-content > p,
.service-list li,
.contact-item p {
  text-justify: inter-word; /* ensures proper spacing */
}
