@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --primary-color: #2563EB;
  --primary-hover: #1D4ED8;
  --secondary-color: #0F172A;
  --accent-color: #F59E0B;
  
  --bg-color: #F8FAFC;
  --bg-white: #FFFFFF;
  --text-main: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  
  --border-color: #E2E8F0;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 20px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.section-desc {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--text-muted);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: background var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 1);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 500;
  color: var(--secondary-color);
  padding: 10px 0;
  display: block;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
}

/* Hover underline */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--secondary-color);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: var(--header-height);
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80') center/cover;
  opacity: 0.15;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 60px 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-desc {
  font-size: 1.25rem;
  color: #CBD5E1;
  margin-bottom: 40px;
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

/* Cards */
.card {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-img-wrapper {
  overflow: hidden;
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.card-text {
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

/* Grids */
.grid {
  display: grid;
  gap: 30px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: #CBD5E1;
  padding: 80px 0 20px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--bg-white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: 600;
}

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

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

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

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

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Sidebar & Layout */
.page-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  padding-top: 40px;
}

.sidebar {
  background: var(--bg-white);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  height: fit-content;
}

.sidebar-title {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.sidebar-menu li {
  margin-bottom: 10px;
}

.sidebar-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--text-main);
}

.sidebar-menu a:hover, .sidebar-menu a.active {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--primary-color);
  color: white;
}

/* Map */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .page-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
    display: none;
    padding: 10px 0;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-item {
    padding: 0 20px;
  }
  
  .nav-link {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .header-actions .btn {
    display: none;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 50px 0;
  }
}

/* Additional Specific Styles */
.page-header {
  padding: 140px 0 60px;
  background: var(--secondary-color);
  color: white;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: white;
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

/* Search Bar */
.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.search-form input {
  flex: 1;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.page-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-item:hover, .page-item.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
