:root {
  --primary-color: #378fc7;
  --secondary-color: #2c3e50;
  --accent-color: #f39c12;
  --text-color: #333;
  --light-text: #777;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --max-width: 1200px;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

p {
  margin-bottom: 15px;
  color: var(--light-text);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-secondary {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
}

.btn-secondary:hover {
  color: var(--secondary-color);
}

.btn-large {
  font-size: 1.1rem;
  padding: 15px 40px;
}

/* Navigation */
.navbar {
  background: var(--white);
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  color: var(--secondary-color);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: var(--header-height);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Sections */
.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* Services */
.service-card {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 10px;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.stars {
  color: var(--accent-color);
  margin-bottom: 15px;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 10px;
  object-fit: cover;
}

.client-info h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.client-info span {
  font-size: 0.9rem;
  color: var(--light-text);
}

/* CTA Section */
.cta-section {
  background-color: var(--bg-light);
  text-align: center;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  color: var(--white);
  display: inline-block;
  vertical-align: middle;
}

.footer-logo img {
  display: inline-block;
  height: 30px;
  vertical-align: middle;
  margin-right: 10px;
  background: white;
  padding: 2px;
  border-radius: 4px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 15px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  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;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-hidden {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}
