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

:root {
  /* Light Mode Colors (Default) */
  --primary-color: #2563eb; /* Modern blue */
  --primary-color-rgb: 37, 99, 235; /* RGB values for primary color */
  --secondary-color: #0f172a; /* Dark blue/slate */
  --accent-color: #3b82f6; /* Lighter blue */
  --text-color: #1e293b; /* Slate for text */
  --light-text: #64748b; /* Light slate for secondary text */
  --background-color: #ffffff; /* White background */
  --light-bg: #f8fafc; /* Very light blue/gray for sections */
  --border-color: #e2e8f0; /* Light gray for borders */
  --card-bg: #ffffff; /* Card background */
  --navbar-bg: rgba(255, 255, 255, 0.98); /* Navbar background */
  --navbar-text: #1e293b; /* Navbar text */
  --hero-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)); /* Hero overlay */
  --heading-color: #0f172a; /* Dark slate for headings in light mode */
  --subheading-color: #2563eb; /* Blue for subheadings in light mode */
  --paragraph-color: #334155; /* Medium slate for paragraphs in light mode */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.5;
}

body {
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.8;
  font-size: 1rem;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Navbar */
.navbar {
  background-color: var(--navbar-bg);
  padding: 0; /* Removed padding to accommodate larger logo */
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0; /* Added padding to the content instead of the navbar */
  height: auto; /* Allows height to adjust to the logo size */
}

.logo {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links li a {
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
  font-size: 1.05rem;
}

.nav-links li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links li a:hover:after {
  width: 100%;
}

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

.nav-links li:hover {
  color: #007bff;
}

.nav-links li::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background: #007bff;
  transition: 0.3s;
}

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

.nav-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-controls select,
.phone-btn {
  padding: 0.4rem 0.6rem;
  border-radius: 5px;
  border: none;
}

/* Hero */
.hero {
  background: var(--secondary-color) url('/assets/BackgroundIndex.png') center/cover no-repeat;
  padding: 12rem 0 8rem; /* Increased top padding to account for larger navbar */
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  margin-top: 0; /* Removed margin to eliminate white space */
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--hero-overlay);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
  max-width: 700px;
  margin: auto;
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0.9;
  font-weight: 400;
}

.btn-primary {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  margin-right: 15px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  cursor: pointer;
}

.btn-primary:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-primary:hover:before {
  width: 100%;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.8);
  margin-left: 15px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* About Section */
.about {
  background: var(--light-bg);
  color: var(--text-color);
  padding: 10rem 0 6rem; /* Increased top padding to account for larger navbar */
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  transition: var(--transition);
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
  position: relative;
}

.about .text,
.about .image {
  flex: 1;
  min-width: 300px;
}

.about .text h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

.about .text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color, #212529);
}

.about .text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--paragraph-color, #495057);
}

.about .text .service-list {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  list-style-type: none;
}

.about .text .service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--paragraph-color, #495057);
}

.about .text .service-list li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.about .image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about .image img:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--card-bg, #fff);
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

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

.feature .icon {
  font-size: 1.5rem;
  color: var(--primary-color, #007bff);
}

.feature span:last-child {
  font-weight: 600;
  color: var(--text-color, #343a40);
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about .text,
  .about .image {
    width: 100%;
    text-align: center;
  }

  .about .image img {
    margin-top: 2rem;
  }
}

/* Services Section */
.services {
  background-color: var(--light-bg);
  color: var(--text-color);
  padding: 6rem 0;
  position: relative;
  border-top: 1px solid var(--border-color);
}

.section-subtitle {
  color: var(--subheading-color, #007bff);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 0;
  position: relative;
}

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

.service-card {
  background: var(--card-bg, #f8f9fa);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: white;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color, #007bff);
  margin-bottom: 25px;
  background-color: rgba(var(--primary-color-rgb, 0, 123, 255), 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  transition: var(--transition);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--heading-color, #212529);
  position: relative;
  padding-bottom: 15px;
}

.service-card h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.service-card p {
  color: var(--paragraph-color, #6c757d);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Offerings Section */
.offerings {
  background-color: #f8f9fa;
  padding: 6rem 0;
  position: relative;
}

.offerings-list {
  max-width: 800px;
  margin: 0 auto;
}

.offering-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.offering-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #007bff;
  opacity: 0.2;
  margin-right: 20px;
  line-height: 1;
  min-width: 60px;
}

.offering-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: #212529;
}

.offering-content p {
  color: #6c757d;
  line-height: 1.6;
}

/* Footer */
.footer {
  background-color: #111;
  color: #ccc;
  padding: 4rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #007bff;
}

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

.footer-section ul li {
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}

.footer-section ul li:hover {
  transform: translateX(5px);
}

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

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

.company-info, .company-details {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #aaa;
}

.contact-icon {
  display: inline-block;
  width: 20px;
  margin-right: 10px;
  color: #007bff;
}

.service-note {
  margin-top: 20px;
  font-weight: 600;
  color: #007bff;
  font-size: 0.9rem;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
  background-color: #007bff;
  transform: translateY(-5px);
}

.footer .logo {
  color: #00bfff;
  font-weight: 800;
  font-size: 1.2rem;
}

.footer .copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-img {
  height: 200px; /* Increased to 4x the original size (50px) */
  object-fit: contain;
  transition: transform 0.3s ease;
  margin: 8px 0; /* Added margin for better spacing */
  max-width: none; /* Ensures the logo maintains its aspect ratio */
}

.logo:hover .logo-img {
  transform: scale(1.05); /* Subtle hover effect */
}

/* Animation */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease-out forwards;
  animation-delay: 0.3s;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

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

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

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

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

  .btn-primary, .btn-secondary {
    margin: 5px 0;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
/* Sticky Header */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #000;
}

/* Burger Menu */
.burger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--navbar-text, #1e293b); /* Dynamic color for light/dark mode */
  cursor: pointer;
  transition: color 0.3s ease;
}


.nav-menu {
  display: flex;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--navbar-bg, #000);
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    z-index: 1001;
  }

  .nav-menu.active {
    display: flex;
  }

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


/* Dark Mode Toggle Button */
.dark-mode-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--navbar-text);
  padding: 0.5rem;
  border-radius: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-mode-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
  transform: rotate(15deg);
}

/* Dark Mode Styling */
body.dark-mode {
  --primary-color: #38bdf8; /* Bright sky blue for dark mode - high contrast */
  --primary-color-rgb: 56, 189, 248; /* RGB values for primary color in dark mode */
  --secondary-color: #1e293b; /* Lighter slate for dark mode */
  --accent-color: #93c5fd; /* Even lighter blue for dark mode */
  --text-color: #f1f5f9; /* Brighter white for better readability */
  --light-text: #cbd5e1; /* Lighter gray for secondary text for better readability */
  --background-color: #0f172a; /* Dark blue/slate background */
  --light-bg: #1e293b; /* Slightly lighter blue/slate for sections */
  --border-color: #334155; /* Medium slate for borders */
  --card-bg: #1e293b; /* Card background in dark mode */
  --navbar-bg: rgba(15, 23, 42, 0.98); /* Dark navbar background */
  --navbar-text: #f1f5f9; /* Brighter text for navbar */
  --hero-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)); /* Darker hero overlay */
  --heading-color: #f8fafc; /* Very bright color for headings */
  --subheading-color: #93c5fd; /* Light blue for subheadings */
  --paragraph-color: #e2e8f0; /* Light gray for paragraphs */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

/* Apply dark mode styles using CSS variables */
.navbar {
  background-color: var(--navbar-bg);
  border-bottom: 1px solid var(--border-color);
}

.nav-links li a {
  color: var(--navbar-text);
}

.nav-links li a:after {
  background-color: var(--primary-color);
}

.hero .overlay {
  background: var(--hero-overlay);
}

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

.btn-primary:hover {
  background: var(--accent-color);
  color: var(--secondary-color);
}

/* Partners Page */
.partners-section {
  background-color: #f8f9fa;
  padding: 6rem 0;
  position: relative;
}

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

.partner-card {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.partner-logo {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
  }

  .partner-card {
    height: 120px;
    padding: 20px;
  }

  .partner-logo {
    max-height: 80px;
  }
}

/* Contact Page */
.contact-section {
  background-color: #f8f9fa;
  padding: 6rem 0;
  position: relative;
}

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

.contact-info {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #212529;
  font-weight: 700;
}

.contact-detail {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #495057;
}

.contact-detail strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #212529;
}

.contact-email {
  display: block;
  color: #007bff;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}

.contact-email:hover {
  color: #0056b3;
  text-decoration: underline;
}

.contact-departments {
  margin-top: 2rem;
}

.department {
  margin-bottom: 1.5rem;
}

.department-name {
  font-weight: 600;
  color: #212529;
  margin-bottom: 0.5rem;
}

.map-container {
  height: 100%;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    min-height: 300px;
    margin-top: 2rem;
  }
}
