:root {
  --primary-color: #14364f;
  /* Deep Navy text/bg */
  --secondary-color: #143c4f;
  /* Refined Blue */
  --accent-color: #415a77;
  /* Slate Blue */
  --text-light: #f0f4f8;
  --text-dark: #1b263b;
  --background-light: #ffffff;
  --background-off: #f8f9fa;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --footer-header-color: #ffffff;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background-light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary-color);
  color: #ffffff;
  font-weight: 600;
  border-radius: 5px;
  border: 2px solid var(--secondary-color);
}

.btn:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-outline:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

/* Header */
header {
  background-color: var(--background-light);
  color: var(--primary-color);
  padding: 2px 0;
  /* Reduced padding slightly to accommodate larger logo */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 105px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
}

@media (min-width: 769px) {
  .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.nav-links a {
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links .dropdown:hover>a::after {
  width: 100%;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--background-light);
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border-bottom: 3px solid var(--secondary-color);
  padding: 10px 0;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 0.95rem;
  color: var(--primary-color);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background-color: var(--background-off);
  color: var(--secondary-color);
  padding-left: 25px;
}

.dropdown-menu a::after {
  display: none;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(20, 54, 79, 0.8), rgba(20, 54, 79, 0.7));
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* News Section */
.news-section {
  background-color: var(--background-off);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  max-width: 420px;
  margin-bottom: 4px;
}

.section-eyebrow {
  display: block;
  color: var(--secondary-color);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 1100px;
  margin: 0 auto;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  min-width: 0;
  background-color: var(--background-light);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-card-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  min-height: 330px;
}

.news-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-image:first-child {
  grid-row: span 2;
}

.news-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.news-card time {
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 600;
}

.news-card h3 {
  color: var(--primary-color);
  font-size: 1.35rem;
  margin: 10px 0;
}

.news-card p {
  margin-bottom: 20px;
}

/* Card Styles */
.card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--footer-header-color);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    left: auto;
    transform: none;
    background-color: var(--background-light);
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    transition: var(--transition);
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* New Utility Classes replacing Inline Styles */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.read-more-link {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 20px;
  display: inline-block;
}

.about-img {
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.grid-auto-fit {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.licenses-list {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
}

.highlight-box {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--secondary-color);
}

/* Mobile & Tablet Optimization */
@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }

  .grid-2-col,
  .contact-container {
    grid-template-columns: 1fr !important;
    /* Force single column */
    gap: 30px;
  }

  .hero {
    height: 80vh;
    /* Reduce height on mobile */
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 15px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 180px 140px;
    min-height: 0;
  }

  .news-card-image:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .news-card-content {
    padding: 24px;
  }

  .btn {
    display: block;
    width: 100%;
    margin: 10px 0 0 0 !important;
    /* Reset margins */
    text-align: center;
  }

  /* Make buttons in hero stack */
  .hero .btn-outline {
    margin-left: 0 !important;
  }

  /* Adjust navigation for mobile */
  .nav-links {
    background-color: var(--background-light);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-links li {
    margin: 15px 0;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 10px 0 10px 20px;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown>a::after {
    content: ' \25BE';
    /* Small arrow */
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .card h3 {
    font-size: 2rem !important;
    /* Adjust icon size */
  }
}