:root {
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --secondary: #6c757d;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --accent: #ffc107;
  --text-muted: #6c757d;
  --border-radius: 10px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
}

body {
  background: var(--light);
  color: var(--dark);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  margin: 0;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #0d6efd 0%, #0043a8 100%);
  color: white;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Decorative circle in background */
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero h1 span {
  display: block;
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 5px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 500px;
}

/* Search Bar */
.service-search {
  display: flex;
  margin-bottom: 30px;
  background: white;
  padding: 5px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  max-width: 500px;
}

.service-search input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 50px 0 0 50px;
  font-size: 1rem;
  outline: none;
}

.service-search button {
  background: var(--primary);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-search button:hover {
  background: var(--primary-dark);
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn.primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn.primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

.btn.outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  background: rgba(255,255,255,0.1);
}

.btn.outline:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

/* Stats Cards */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Changed to 2 columns for better fit */
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  padding: 25px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.15);
}

.stat-card h3 {
  font-size: 2rem;
  margin: 0;
  font-weight: 800;
  color: var(--accent);
}

.stat-card p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* DEPARTMENT FILTER */
.dept-filter {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.dept-filter button {
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  background: #f1f5f9;
  color: var(--gray);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.dept-filter button:hover {
  background: #e2e8f0;
  color: var(--dark);
}

.dept-filter button.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* SERVICES SECTION */
.services {
  padding: 60px 20px;
  min-height: 600px;
}

.dept-section {
  margin-bottom: 60px;
  animation: fadeIn 0.5s ease-in-out;
}

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

.dept-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
}

.dept-header i {
  font-size: 1.8rem;
  color: var(--primary);
  background: #e0f2fe;
  padding: 12px;
  border-radius: 12px;
}

.dept-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--dark);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
}

.service-card {
  background: white;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

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

.service-card .icon-box {
  width: 60px;
  height: 60px;
  background: #f8fafc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all 0.3s;
}

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

.service-card span {
  font-size: 0.95rem;
}

/* CEO MESSAGE */
.ceo-message {
  background: white;
  padding: 80px 0;
  border-top: 1px solid #eee;
}

.ceo-content {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.ceo-image {
  flex-shrink: 0;
}

.img-placeholder {
  width: 180px;
  height: 180px;
  background: #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #94a3b8;
  border: 5px solid white;
  box-shadow: var(--shadow-lg);
}

.ceo-text h2 {
  color: var(--primary);
  margin-top: 0;
}

.ceo-text blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gray);
  border-left: 4px solid var(--accent);
  padding-left: 20px;
  margin: 20px 0;
  line-height: 1.6;
}

.ceo-name {
  color: var(--dark);
  font-size: 0.9rem;
}

/* FOOTER */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 20px;
  font-size: 0.95rem;
}

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

.footer h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: white;
}

.footer-col p {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 40px;
  }

  .service-search {
    margin: 0 auto 30px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .ceo-content {
    flex-direction: column;
    text-align: center;
  }

  .ceo-text blockquote {
    border-left: none;
    border-top: 4px solid var(--accent);
    padding-top: 20px;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .dept-filter {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 15px 20px;
    -webkit-overflow-scrolling: touch;
  }

  .dept-filter button {
    white-space: nowrap;
  }
}
