/* ===============================
   Root Variables
=============================== */
:root {
  --primary-gradient: linear-gradient(135deg, #ff6b6b, #f06595);
  --secondary-color: #f9f9f9;
}

/* ===============================
   Base Reset & Typography
=============================== */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #ff6b6b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ===============================
   Header
=============================== */
header {
  background: #fff;
  padding: 10px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ddd;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

header .logo h1 {
  font-weight: 600;
  font-size: 1.5em;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  transition: background-position 0.4s ease;
}

header .logo h1:hover {
  animation: gradientShift 2s linear infinite;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

header nav a {
  color: #333;
  font-weight: 500;
}

header nav a:hover {
  /* Use solid color instead of gradient for hover state */
  color: #ff6b6b;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
}

.mobile-toggle i {
  font-size: 1.5em;
  color: #333;
}

/* ===============================
   Hero / Credibility Section
=============================== */
.credibility {
  background: var(--primary-gradient);
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.credibility h1 {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 30px;
}

.credibility .stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
}

.credibility .stats div {
  font-size: 1.5em;
  font-weight: 600;
}

.credibility .stats div span {
  display: block;
  font-size: 0.9em;
  margin-top: 5px;
  font-weight: 400;
}

.credibility .btn {
  background: #fff;
  color: #f06595;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  background-size: 200% 200%;
}

.credibility .btn:hover {
  background: #ffe6eb;
  color: #ff6b6b;
  animation: gradientShift 2s linear infinite;
}

/* ===============================
   Section Headings
=============================== */
section {
  padding: 60px 0;
}

section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
  font-weight: 600;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -15px;
  width: 60px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 5px;
}

/* ===============================
   About Section
=============================== */
#about p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.about-image {
  flex: 1 1 300px;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.about-content {
  flex: 2 1 500px;
}

.about-content .highlight {
  color: #f06595;
  font-weight: 600;
}

.about-content .gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }
  .about-content {
    padding-top: 10px;
  }
}

/* ===============================
   Services Section
=============================== */
/* Accordion Service Section */
.service-categories {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}

.service-category {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.service-category summary {
  background: var(--primary-gradient);
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
  padding: 15px 20px;
  cursor: pointer;
  list-style: none;
  outline: none;
}

.service-category[open] summary {
  border-bottom: 1px solid #eee;
}

.service-category summary::marker {
  display: none;
}

.service-category ul {
  padding: 20px;
  list-style: disc inside;
  background: #fdfdfd;
  animation: fadeIn 0.3s ease-in;
}

.service-category ul li {
  margin-bottom: 8px;
  color: #444;
  font-size: 0.95em;
}

/* Fade-in animation for content */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-category summary {
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-category .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #f06595;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  padding: 4px;
}

.service-category .icon svg {
  width: 20px;
  height: 20px;
}


/* ===============================
   Gallery
=============================== */

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.filter-btn {
  background: transparent;
  border: 2px solid #f06595;
  color: #f06595;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-gradient);
  color: #fff;
  border-color: transparent;
}

/* NEW: Scrollable wrapper with 2 rows */
.gallery-wrapper-scroll {
  position: relative;
  overflow: hidden;
}

.gallery-grid-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 20px;
}

.gallery-grid-scroll::-webkit-scrollbar {
  height: 6px;
}

.gallery-grid-scroll::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

/* Individual gallery image wrapper */
.gallery-wrapper {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

/* Zoom icon overlay */
.gallery-wrapper .zoom-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px;
  border-radius: 50%;
  font-size: 16px;
  color: #f06595;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.gallery-wrapper:hover .zoom-icon {
  opacity: 1;
}

/* Lightbox styles */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-in-out;
  overflow: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll arrows */
.scroll-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  font-size: 28px;
  background: rgba(255,255,255,0.6);
  border: none;
  color: #333;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.scroll-btn:hover {
  background: rgba(255,255,255,0.8);
}

.scroll-btn.left {
  left: 10px;
}

.scroll-btn.right {
  right: 10px;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


#testimonials {
  background: #fff;
  color: #333;
  padding: 60px 20px;
  text-align: center;
}

/* Scroll wrapper */
.testimonial-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 0;
}

/* Testimonial card */
.testimonial-item {
  flex: 0 0 100%; /* Default: show 1 item per view */
  scroll-snap-align: center;
  background: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Tablets and up: show 2 items */
@media (min-width: 768px) {
  .testimonial-item {
    flex: 0 0 calc(50% - 15px);
  }
}

/* Text styling */
.testimonial-item p {
  font-style: italic;
  font-size: 1em;
  color: #444;
}

.testimonial-item .stars {
  font-size: 1.2em;
  color: #f5b301; /* Soft gold */
  margin-top: 10px;
}

.testimonial-item h4 {
  margin-top: 10px;
  font-weight: 600;
  color: #666;
}

/* Scroll buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  background: rgba(0, 0, 0, 0.1);
  border: none;
  color: #333;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  transition: background 0.3s ease;
}

.scroll-btn:hover {
  background: rgba(0, 0, 0, 0.2);
}

.scroll-btn.left {
  left: -10px;
}

.scroll-btn.right {
  right: -10px;
}



/* ===============================
   Clients
=============================== */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.clients-grid img {
  max-height: 50px;
  width: auto;
  opacity: 0.8;
}

.clients-grid img:hover {
  opacity: 1;
}

/* ===============================
   Contact
=============================== */
#contact p {
  font-size: 1.1em;
}

#contact p i {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-right: 8px;
}

#contact .social {
  margin-right: 15px;
  display: inline-block;
  color: #fff;
}

#contact .social i {
  background: linear-gradient(135deg, #ff512f, #dd2476); /* Example gradient */
  padding: 12px;
  border-radius: 50%;
  font-size: 18px;
  color: #fff; /* Ensure icons are white */
}

#contact .social:hover i {
  filter: brightness(1.2);
}


.contact-form {
  max-width: 600px;
  margin: 20px auto 0;
}

.contact-form div {
  margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: 2px solid #ddd;
  border-radius: 5px;
}

.contact-form button.btn {
  width: 100%;
  padding: 12px;
  font-size: 1em;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  border-radius: 5px;
  background-size: 200% 200%;
  transition: background-position 0.4s ease;
}

.contact-form button.btn:hover {
  animation: gradientShift 2s linear infinite;
}

.contact-form select {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: 2px solid #ddd;
  border-radius: 5px;
  background-color: #fff;
}


/* ===============================
   Footer
=============================== */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

footer p {
  margin: 0;
  font-size: 0.9em;
}

/* ===============================
   Responsive Menu
=============================== */
@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    position: relative;
  }
  header nav {
    width: 100%;
  }
  header nav ul {
    flex-direction: column;
    background: #fff;
    width: 100%;
    display: none;
    padding: 10px 0;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  header nav ul.active {
    display: flex;
  }
  header nav li {
    margin: 10px 0;
    text-align: center;
  }
  .mobile-toggle {
    display: block;
  }
} 

/* ===============================
   Theme Switcher
=============================== */
.theme-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  outline: none;
  transition: transform 0.3s ease;
}

.theme-btn:hover {
  transform: scale(1.1);
}

.theme-btn:nth-child(1) { background: linear-gradient(135deg, #ff6b6b, #f06595); }
.theme-btn:nth-child(2) { background: linear-gradient(135deg, #43cea2, #185a9d); }
.theme-btn:nth-child(3) { background: linear-gradient(135deg, #ff9a9e, #fad0c4); }
.theme-btn:nth-child(4) { background: linear-gradient(135deg, #00c6ff, #0072ff); }
.theme-btn:nth-child(5) { background: linear-gradient(135deg, #f7971e, #ffd200); }

/* ===============================
   Gradient Animation
=============================== */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}
