@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --primary: #0284c7;
  --accent: #38bdf8;
  --bg: #ffffff;
  --text: #111111;
  --text-soft: #222222;
  --card-bg: #ffffff;
  --card-border: #ddd;
  --header-bg: #0369a1;
  --btn-primary-bg: #0284c7;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: #ffffff;
  --btn-secondary-text: #0284c7;
}

/* === DARK THEME === */
body.dark {
  --primary: #38bdf8;
  --accent: #7dd3fc;
  --bg: #121212;
  --text: #f4f4f4;
  --text-soft: #cccccc;
  --card-bg: #1e1e1e;
  --card-border: #333;
  --header-bg: #1a1a1a;
  --btn-primary-bg: #38bdf8;
  --btn-primary-text: #1a1a1a;
  --btn-secondary-bg: #333;
  --btn-secondary-text: #38bdf8;
}

/* === GLOBAL === */
body {
  font-family: 'Roboto', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background 0.4s ease, color 0.4s ease;
  line-height: 1.8;
  font-size: 1.1rem;
}

.container {
  max-width: 1200px;
  padding: 1rem 2rem;
  margin: auto;
}

/* === HEADER === */
header {
  background: var(--header-bg);
  color: #fff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* === HEADER === */
.logo {
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}
.logo img {
  height: 150px;
  max-height: 150px;
  object-fit: contain;
  vertical-align: middle;
  filter: brightness(0.9) drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
  transition: filter 0.3s ease;
}
.logo img:hover {
  filter: brightness(0.9) drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}



.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--accent);
}
.theme-toggle {
  font-size: 1.4rem;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: 1rem;
  color: white;
}

/* === HERO SECTION === */
.hero {
  height: 100vh;
  background: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  padding: 2rem;
  position: relative;
}
.hero-text {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  animation: fadeUp 1.2s ease-out;
}
.hero h5 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.4);
}
.hero h6 {
  font-size: 1.5rem;
  color: #eee;
  opacity: 0.95;
  font-weight: 600;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}
.hero .btn {
  margin: 1rem 0.5rem;
}

/* === BUTTONS === */
.btn {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}
.btn.primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: none;
}
.btn.secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border: 2px solid var(--btn-secondary-text);
}
.btn:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

/* === ABOUT SECTION === */
.about-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}
.about-grid .box {
  flex: 1 1 500px;
  padding: 2rem;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 0 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
  transition: transform 0.4s, box-shadow 0.4s;
  animation: fadeInUp 0.8s ease forwards;
}
.about-grid .box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.about-grid h2 {
  color: var(--primary);
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.about-grid p {
  font-size: 1.15rem;
  color: var(--text-soft);
}

/* === SERVICES CARDS === */
.cards {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
}
.card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: 10px;
  padding: 1.5rem;
  transition: 0.3s ease;
  text-align: left;
  animation: fadeInUp 1s ease forwards;
}
.card h3 {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.card p {
  color: var(--text-soft);
  font-size: 1.05rem;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

/* === STATS SECTION === */
.stats {
  background: var(--bg);
  text-align: center;
  padding: 4rem 1rem;
  animation: fadeInUp 1.2s ease forwards;
}
.stat-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stat span {
  font-size: 3.2rem;
  color: var(--primary);
  display: block;
  font-weight: 700;
}
.stat p {
  color: var(--text-soft);
  font-size: 1.2rem;
  font-weight: 500;
}

/* === TESTIMONIALS === */
.testimonials {
  background: #ecfeff;
  padding: 4rem 1rem;
  text-align: center;
}
.testimonial-slider {
  position: relative;
}
.testimonial {
  display: none;
  transition: opacity 0.5s ease;
}
.testimonial.active {
  display: block;
  animation: fadeInUp 1s ease forwards;
}
.testimonial p {
  font-size: 1.2rem;
  color: var(--text-soft);
}
.testimonial h4 {
  margin-top: 1rem;
  color: var(--primary);
  font-weight: bold;
}

/* === CONTACT FORM === */
.contact-form {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeInUp 1s ease forwards;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid var(--card-border);
  font-size: 1.1rem;
  background-color: #fff;
  color: #111;
  font-weight: 500;
}
body.dark .contact-form input,
body.dark .contact-form textarea,
body.dark .contact-form select {
  background-color: #1a1a1a;
  color: #f4f4f4;
  border-color: #333;
}

/* === FOOTER === */
footer {
  background: #0f172a;
  color: #ccc;
  padding: 2rem 1rem;
  text-align: center;
}
footer a {
  color: var(--accent);
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  .cards {
    flex-direction: column;
  }
  .about-grid {
    flex-direction: column;
  }
  .stat-grid {
    flex-direction: column;
    gap: 2rem;
  }
}


/* === FOOTER LOGO (add this to match the header size and glow) === */
footer .logo {
  display: inline-block;
  margin-bottom: 1rem;
}
footer .logo img {
  height: 120px;
  filter: brightness(1.2) drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
  transition: filter 0.3s ease;
}
footer .logo img:hover {
  filter: brightness(1.3) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}