/* GENERAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f9f9f9, #e9f0ff, #fff, #f4f8ff);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
}

html {
  scroll-behavior: smooth;
}

/* HEADER */
header {
  background: #000;
  color: #fff;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  position: relative;
}

.brand {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  flex-grow: 1;
}

/* DROPDOWN MENU */
.menu-toggle {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  left: 0;
}

.bar {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: 0.3s;
}

nav {
  display: none;
  flex-direction: column;
  background: #111;
  position: absolute;
  top: 50px;
  left: 10px;
  padding: 10px;
  border-radius: 8px;
}

nav.active {
  display: flex;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  font-size: 15px;
  transition: 0.3s;
}

nav a:hover {
  background: #2575fc;
  border-radius: 4px;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  color: #fff;
}

.hero h1 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 20px;
}

.hero a {
  display: inline-block;
  background: #fff;
  color: #2575fc;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: bold;
  transition: 0.3s;
  text-decoration: none;
}

.hero a:hover {
  background: #f4f4f9;
  color: #1a1a2e;
}

/* SECTIONS */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 22px;
}

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

.service {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.service:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 8px 20px rgba(37,117,252,0.3);
  background: #f9fbff;
}

.service h3 {
  margin-bottom: 10px;
  color: #2575fc;
}

.service p {
  font-size: 14px;
  color: #555;
}

/* TESTIMONIALS */
#testimonials {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f9f9ff, #eef2ff, #dbe7ff);
  background-size: 300% 300%;
  animation: gradientMove 12s ease infinite;
  text-align: center;
}

#testimonials h2 {
  font-size: 22px;
  margin-bottom: 40px;
  color: #222;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.testimonial {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: 0.3s;
  text-align: center;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(37,117,252,0.3);
}

.testimonial img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
  border: 3px solid #2575fc;
}

.testimonial h3 {
  font-size: 18px;
  color: #2575fc;
  margin-bottom: 10px;
}

.testimonial p {
  font-size: 14px;
  color: #444;
  margin-bottom: 15px;
}

.stars {
  color: #f5b50a;
  font-size: 16px;
}

/* FAQ SECTION */
.faq-section {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto 60px auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 15px;
  cursor: pointer;
}

.faq-question {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding-left: 10px;
  font-size: 0.95rem;
  color: #444;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 10px;
}

/* HOW WE WORK */
.how-we-work {
  background: linear-gradient(135deg, #f1f8e9, #dcedc8);
  border-radius: 12px;
  max-width: 1100px;
  margin: 0 auto 60px auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  text-align: center;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 40px;
}

.step {
  flex: 1 1 220px;
  margin: 20px;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.step h3 {
  color: #2e7d32;
  margin-bottom: 15px;
}

.step p {
  font-size: 0.95rem;
  color: #555;
}

/* PORTFOLIO */
.portfolio-section {
  background: linear-gradient(135deg, #fff5e6, #ffe6f0);
  padding: 60px 20px;
  border-radius: 12px;
  max-width: 1100px;
  margin: auto;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  text-align: center;
}

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

.portfolio-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(37,117,252,0.3);
}

.portfolio-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.portfolio-item h3 {
  color: #2575fc;
  padding: 12px;
}

.portfolio-item p {
  font-size: 14px;
  padding: 0 12px 12px 12px;
  color: #444;
}

/* CONTACT FORM */
form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input, form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
}

form button {
  padding: 12px;
  background: #2575fc;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}

form button:hover {
  background: #6a11cb;
}

/* FOOTER */
footer {
  padding: 20px;
  background: #111;
  color: #fff;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
}

.footer-left {
  font-size: 14px;
}

.footer-right a {
  color: #fff;
  margin: 0 10px;
  font-size: 20px;
  transition: 0.3s;
}

.footer-right a:hover {
  color: #2575fc;
}

.footer-bottom {
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  color: #ccc;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
