@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;500;700&family=Merriweather+Sans:wght@400;700&display=swap');

:root {
  --primary-color: #32373c;
  --accent-color: #040079;
  --text-dark: #333333;
  --text-gray: #666666;
  --bg-light: #ffffff;
  --font-main: 'Karla', sans-serif;
  --font-heading: 'Merriweather Sans', sans-serif;
  --transition: all 0.3s ease;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  height: 75px;
  background-color: var(--bg-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  height: 100%;
}

.nav-link {
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-color);
  transition: var(--transition);
  display: flex;
  align-items: center;
  padding: 0 25px;
}

.nav-link.active {
  background-color: #0070AD;
  color: #fff;
}

.nav-link:hover:not(.active) {
  color: #0070AD;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Page Title Section */
.page-header {
  text-align: left;
  padding: 240px 50px 100px 50px;
  background-color: var(--primary-color);
  background-image: url('../assets/images/Untitled-design-3.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(1, 0, 5, 0.54);
  z-index: 1;
}

@media (max-width: 768px) {
  .page-header {
    padding: 120px 20px 60px 20px;
  }
}

.page-title {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
}

.page-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 70px;
  background: linear-gradient(180deg, #0070AD 0%, #0A9BEB 100%);
  margin-right: 25px;
}

.page-title span {
  background: linear-gradient(120deg, #0070AD 40%, #0A9BEB 60%);
  color: #fff;
  padding: 5px 25px;
  margin-left: 20px;
}

/* Services Section */
.services-section {
  padding: 80px 5%;
  max-width: 1440px;
  margin: 0 auto;
}

.section-intro {
  text-align: left;
  margin-bottom: 60px;
}

.section-intro h2 {
  font-size: 14px;
  color: #0070AD;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 600;
}

.section-intro h3 {
  font-family: var(--font-heading);
  font-size: 42px;
  color: #0070AD;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.section-intro h3::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 50px;
  background: linear-gradient(180deg, #0070AD 0%, #0A9BEB 100%);
  margin-right: 15px;
}

.section-intro h3 span {
  background: linear-gradient(120deg, #0070AD 40%, #0A9BEB 60%);
  color: #fff;
  padding: 5px 20px;
  margin-left: 10px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 20px;
  overflow: visible;
  transition: var(--transition);
  position: relative;
}

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

.service-image {
  width: 100%;
  height: 300px;
  border-radius: 20px;
  object-fit: cover;
}

.service-content {
  padding: 35px;
  text-align: left;
  background: linear-gradient(90deg, #0070AD 0%, #0A9BEB 100%);
  color: #fff;
  border-radius: 30px;
  width: 90%;
  margin: -20% 0 0 10%;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

.service-content:hover {
  background: linear-gradient(90deg, #0A9BEB 30%, #0070AD 100%);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
}

.service-desc {
  color: #e0e0e0;
  margin-bottom: 25px;
  font-size: 15px;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 25px;
  background-color: #fff;
  color: #0070AD;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  font-size: 14px;
}

.read-more-btn:hover {
  color: #0A9BEB;
}

/* Footer */
.footer {
  background-color: #03244d;
  color: #e0e0e0;
  padding: 60px 5% 20px;
}

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

.footer-col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-col p {
  margin-bottom: 15px;
  font-size: 14px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

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

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #fff;
  z-index: 2000;
  padding: 30px;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.mobile-nav-overlay.open {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  display: none;
}

.mobile-nav-backdrop.open {
  display: block;
}

/* Responsive */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: block;
  }
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 75px;
  left: 0;
  background-color: #fff;
  min-width: 250px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  z-index: 2000;
  border-top: 3px solid #0070AD;
  border-radius: 0 0 5px 5px;
}

.dropdown-content a {
  color: var(--text-dark);
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 15px;
  transition: background-color 0.2s, color 0.2s;
  border-bottom: 1px solid #f1f1f1;
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: #f9f9f9;
  color: #0070AD;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-dropdown-content {
  display: none;
  padding-left: 20px;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.dropdown.open .mobile-dropdown-content {
  display: flex;
}
