@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f0f0f0;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #fffbe6 0%, #fff 100%);
}

/* Navbar Styles */
.navbar {
    background: linear-gradient(to right, #FFD700, #FFF5CC);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: #ff1a1a;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff1a1a;
}

.nav-links a.active {
    color: #ff1a1a;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #D40511 !important;
}

.logout-btn:hover {
    color: #ff1a1a !important;
}

.services-main {
  max-width: 1100px;
  margin: 40px auto 0 auto;
  padding: 0 20px 40px 20px;
}

.services-hero {
  text-align: center;
  margin-bottom: 40px;
}

.services-hero h1 {
  color: #D40511;
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
}

.services-hero hr {
  border: none;
  border-top: 3px solid #E60000;
  width: 60px;
  margin: 8px auto 18px auto;
}

.services-hero p {
  font-size: 1.18rem;
  color: #444;
  max-width: 600px;
  margin: 0 auto;
}

.services-list-section {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(212,5,17,0.07);
  padding: 32px 28px 28px 28px;
  min-width: 240px;
  max-width: 300px;
  flex: 1 1 240px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 2px solid #FFCC00;
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(212,5,17,0.13);
  transform: translateY(-4px) scale(1.03);
}

.service-card img {
  width: auto;
  height: auto;
  margin-bottom: 18px;
  background: #FFD700;
  border-radius: 8px;
  padding: 8px;
}

.service-card h3 {
  color: #D40511;
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-card p {
  color: #333;
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .services-list-section {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .service-card {
    max-width: 100%;
    width: 100%;
  }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .nav-container {
        padding: 1rem 2rem;
    }

    .services-main {
        padding: 0 40px 40px 40px;
    }
}

@media (max-width: 992px) {
    .services-hero h1 {
        font-size: 2rem;
    }

    .services-hero p {
        font-size: 1.1rem;
    }

    .service-card {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .services-main {
        margin-top: 120px;
        padding: 0 20px 40px 20px;
    }

    .services-hero {
        margin-bottom: 30px;
    }

    .services-hero h1 {
        font-size: 1.8rem;
    }

    .services-hero p {
        font-size: 1rem;
    }

    .services-list-section {
        gap: 20px;
    }

    .service-card {
        padding: 25px 20px 20px 20px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem;
    }

    .services-main {
        margin-top: 160px;
        padding: 0 15px 30px 15px;
    }

    .services-hero h1 {
        font-size: 1.5rem;
    }

    .services-hero p {
        font-size: 0.95rem;
    }

    .service-card {
        padding: 20px 15px 15px 15px;
    }

    .service-card img {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Print Styles */
@media print {
    .navbar {
        position: static;
    }

    .services-main {
        margin-top: 0;
    }

    .service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
