/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background: #f9f9fb;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: #1e1e2f;
}

p {
  color: #555;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #0ABAB5;
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #8A2BE2;
}

/* Sections */
section {
  padding: 80px 10%;
  text-align: center;
}

/* ========== NAVBAR ========== */
header {
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 10%;
}

header .logo {
  font-size: 22px;
  font-weight: bold;
  color: #0ABAB5;
}

header .logo span {
  color: #8A2BE2;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li a {
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #0ABAB5;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 90vh;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.caption {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #fff;
  max-width: 500px;
  background: rgba(0,0,0,0.4);
  padding: 20px;
  border-radius: 10px;
}

.caption h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.caption p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.caption .btn {
  display: inline-block;
  background: #ff6600;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

/* Controls */
.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
}

.slider-controls span {
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

/* Dots navigation */
.slider-nav {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-nav .dot {
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
}

.slider-nav .dot.active {
  opacity: 1;
  background: #ff6600;
}


/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 60px;
  margin-bottom: 20px;
}

/* ========== PORTFOLIO ========== */
.portfolio-filters {
  margin-bottom: 30px;
}

.filter-btn {
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 20px;
  background: #eee;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #0ABAB5;
  color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.portfolio-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: #f3f6fc;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.testimonial {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-style: italic;
}

/* ========== CONTACT PAGE ========== */
.about-team .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.team-member img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 15px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.map-container {
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
}

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, #0ABAB5, #8A2BE2);
  color: #fff;
  padding: 60px 10%;
  border-radius: 10px;
  margin: 60px auto;
}

.cta h2 {
  margin-bottom: 15px;
}

/* ========== FOOTER ========== */
footer {
  background: #1e1e2f;
  color: #ccc;
  padding: 40px 10%;
  text-align: center;
}

.footer-logo {
  font-size: 22px;
  font-weight: bold;
  color: #0ABAB5;
  margin-bottom: 10px;
}

.footer-logo span {
  color: #8A2BE2;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-links img {
  width: 22px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s;
}

.social-links img:hover {
  transform: scale(1.2);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 10%;
    width: 200px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  nav ul.show {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    height: 60vh;
  }

  .slides img {
    height: 60vh;
  }
}
