/* CSS RESET & ROOT VARIABLES */
:root {
  --primary: #0056b3;
  --secondary: #007bff;
  --accent: #00bcd4;
  --text-color: #333333;
  --bg-light: #f8f9fa;
  --bg-dark: #1c1e21;
  --white: #ffffff;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  color: var(--text-color);
  background: url('../images/web4.jpg') no-repeat center center fixed;
  background-size: cover;
}
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
  background-image: none;
}

header {
  padding: 0;
}

.hero {
  background: url('../images/web1.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 80px 20px;
  text-align: center;
  backdrop-filter: blur(5px);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: #eaeaea;
}

    /* Navbar */
    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #0a0a23;
      padding: 1rem 2rem;
      color: #fff;
      position: relative;
    }
    .navbar .logo {
      font-size: 1.5rem;
      font-weight: bold;
    }
    .nav-links a {
      color: white;
      text-decoration: none;
      margin-left: 20px;
      padding: 8px 0;
      display: inline-block;
    }
    .menu-toggle {
      cursor: pointer;
      font-size: 28px;
      color: white;
      display: none;
      user-select: none;
    }

/* SECTION GENERAL */
section {
  padding: 60px 20px;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.services h2,
.testimonials h2,
.about-section h1,
.appointment h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 30px;
}

.card {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 20px;
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.slider {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 15px;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.about-section {
  background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(240, 240, 240, 0.9));
  width: 100%;
  overflow-x: hidden;
}

.about-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.about-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-text ul {
  padding-left: 20px;
  margin-bottom: 1rem;
  text-align: left;
}

.about-text li {
  margin-bottom: 8px;
}
.about-text img {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  font-size: 0.95rem;
}

.cta-button:hover {
  background-color: #004494;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  object-fit: contain;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FORM */
.form-container {
  max-width: 600px;
  margin: auto;
  background: var(--white);
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-container button {
  background: var(--accent);
  color: var(--white);
  padding: 12px;
  border: none;
  border-radius: 6px;
  width: 100%;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.form-container button:hover {
  background: #0097a7;
}

/* FOOTER */
footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 20px;
  text-align: center;
}

footer a {
  color: #ccc;
  margin: 0 10px;
  text-decoration: none;
}
/* ===== TOGGLE THEME BUTTON ===== */
.toggle-theme {
  padding: 8px 12px;
  background: #444;
  color: white;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}
.toggle-theme:hover {
  background: #666;
}

/* ===== NAVBAR BASE STYLE ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: #0a0a23;
  color: white;
  position: relative;
}
.nav-logo img {
  height: 70px;
}

/* ===== NAV LINKS ===== */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  text-decoration: none;
  color: white;
  padding: 8px 12px;
  transition: background 0.3s;
}
.nav-links li a:hover {
  background: #1a1a40;
  border-radius: 5px;
}

/* ===== MENU TOGGLE (HAMBURGER) ===== */
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

/* ===== RESPONSIVE NAVBAR ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    background: #0a0a23;
    position: absolute;
    top: 60px;
    right: 25px;
    width: 180px;
    border-radius: 10px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 100;
  }

  .nav-links.active {
    max-height: 400px;
    padding: 10px 0;
  }

  .nav-links li {
    margin: 10px 0;
    text-align: center;
  }

  .nav-links li a {
    width: 100%;
    display: block;
  }
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    padding: 0 10px;
  }

  .about-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .card {
    max-width: 100%;
  }

  .form-container {
    padding: 20px 15px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 430px) {/*
  .nav-container {
    flex-direction: column;
    align-items: center;
  }

  .nav-logo img {
    height: 50px;
  }

  .nav-button {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 10px 16px;
  }*/

  .form-container h2 {
    font-size: 1.5rem;
  }
}
/* NEWSLETTER */
.newsletter-section {
  background: rgba(255, 255, 255, 0.95);
  padding: 60px 20px;
  text-align: center;
}

.newsletter-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.newsletter-form input[type="email"] {
  padding: 12px;
  width: 280px;
  max-width: 90%;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-right: 10px;
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color var(--transition);
}

.newsletter-form button:hover {
  background-color: #004494;
}

/* WHATSAPP BUTTON */
.whatsapp-btn {
  position: fixed;
  bottom: 65px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 12px 16px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 1000;
}
/* Dark-Mode*/
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
  background-image: none;
}
body.dark-mode .about-section {
  background: linear-gradient(to right, rgba(18,18,18,0.95), rgba(28,28,28,0.95));
  color: #e0e0e0;
}
body.dark-mode .navbar {
  background-color: #1e1e1e;
  box-shadow: 0 2px 8px rgba(255,255,255,0.05);
}
body.dark-mode .nav-button {
  background-color: #00acc1;
  border-radius: 8px;
  color: #fff;
}

body.dark-mode .nav-button:hover {
  background-color: #008a99;
}
/* Headings */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode p,
body.dark-mode li {
  color: #e0e0e0;
}

/* Buttons */
body.dark-mode .btn-primary {
  background: #333;
  color: #fff;
}
body.dark-mode .btn-primary:hover {
  background: #555;
}

/* Cards and sections */
body.dark-mode .card,
body.dark-mode .form-container,
body.dark-mode .about-section,
body.dark-mode .newsletter-section {
  background-color: #1e1e1e;
  color: #e0e0e0;
}

/* Inputs */
body.dark-mode input,
body.dark-mode textarea {
  background-color: #2a2a2a;
  color: #fff;
  border-color: #444;
}

/* Footer */
body.dark-mode footer {
  background-color: #000;
  color: #ccc;
}
/* SCROLL ANIMATION */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].animate {
  opacity: 1;
  transform: translateY(0);
}

/* WHY CHOOSE US SECTION */
.why-choose {
  background: rgba(255,255,255,0.9);
  padding: 60px 20px;
  text-align: center;
}

.why-choose h2 {
  color: var(--primary);
  margin-bottom: 30px;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-box {
  max-width: 300px;
  background: var(--white);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.feature-box h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

/* FAQ */


.faq-section {
  background: #f4f4f4;
  padding: 60px 20px;
  text-align: center;
}

.faq-section h2 {
  color: var(--primary);
  margin-bottom: 30px;
}

.faq-item {
  max-width: 800px;
  margin: 10px auto;
  text-align: left;
}

.faq-question {
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 10px;
}

.faq-answer {
  display: none;
  padding-left: 10px;
  margin-bottom: 20px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* NEWSLETTER SUCCESS MESSAGE */
.newsletter-form .success-message {
  color: green;
  margin-top: 10px;
  display: none;
  font-weight: bold;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 20;
  background: #000;
  color: #fff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  font-size: 0.9rem;
}

.cookie-banner button {
  background: var(--accent);
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

body.dark-mode .why-choose,
body.dark-mode .feature-box,
body.dark-mode .faq-section {
  background-color: #1e1e1e;
  color: #e0e0e0;
}

body.dark-mode .feature-box h3,
body.dark-mode .faq-question {
  color: var(--accent);
}
body.dark-mode {
  background: #121212;
  color: white;
}
body.dark-mode .navbar {
  background: #222;
}
body.dark-mode .nav-links li a {
  color: white;
}
body.dark-mode .nav-links li a:hover {
  background: #333;
}


/* Toggle button*/

.toggle-theme {
  background: #444;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.toggle-theme:hover {
  background: #666;
}

/* Show desktop toggle only on desktop */
.desktop-toggle {
  display: block;
}
.mobile-toggle {
  display: none;
}

/* On smaller screens, hide desktop toggle, show mobile toggle */
@media (max-width: 768px) {
  .desktop-toggle {
    display: none;
  }
  .mobile-toggle {
    display: block;
    margin-top: 10px;
    text-align: center;
  }
}


/*8 SECTION ABOUT OUR SERVICES*/

body.dark-mode .linkedin-style-section {
  background: #0a0a23;
  color: #e6f0ff;
}
body.dark-mode .about-text,
body.dark-mode .timeline-content p {
  color: #ccc;
}
body.dark-mode .skill-card {
  background: #1e1e38;
  border-color: #2e2e4d;
}
body.dark-mode .timeline-content h4 {
  color: #4ea7ff;
}
body.dark-mode .timeline {
  border-left-color: #4ea7ff;
}
body.dark-mode .timeline-dot {
  background: #4ea7ff;
}

.timeline-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.download-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 25px;
  background: #007acc;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.download-btn:hover {
  background: #005f99;
}
body.dark-mode .download-btn {
  background: #4ea7ff;
  color: #0a0a23;
}
body.dark-mode .download-btn:hover {
  background: #75c4ff;
}

.linkedin-style-section {
  padding: 60px 20px;
  background: #f8fbff;
  text-align: center;
}
.linkedin-style-section h2 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: #0a0a23;
}
.linkedin-style-section .about-text {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  color: #444;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}
.skill-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #ddd;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.skill-card:hover {
  transform: translateY(-5px);
}
.skill-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}
.skill-card h3 {
  color: #007acc;
  margin-bottom: 10px;
}
.timeline-title {
  margin-bottom: 25px;
  font-size: 1.6rem;
  color: #0a0a23;
}
.timeline {
  position: relative;
  max-width: 700px;
  margin: auto;
  padding-left: 20px;
  border-left: 3px solid #007acc;
}
.timeline-item {
  margin-bottom: 30px;
  position: relative;
}
.timeline-dot {
  width: 14px;
  height: 14px;
  background: #007acc;
  border-radius: 50%;
  position: absolute;
  left: -9px;
  top: 6px;
}
.timeline-content h4 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #007acc;
}
.timeline-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
}
/*appointment*/
body.dark-mode .appointment-section {
  background: #1a1a1a !important;
  color: #eee;
}

body.dark-mode .appointment {
  background: url('../images/dark-theme.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #eee;
}

body.dark-mode .appointment-container {
  background: #2b2b2b;
  color: #ddd;
}

body.dark-mode .appointment-container input,
body.dark-mode .appointment-container select,
body.dark-mode .appointment-container textarea {
  background-color: #444;
  color: #eee;
  border-color: #666;
}

body.dark-mode .appointment-section {
  background-color: #1a1a1a;
  color: #eee;
}

* {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/*new updates */


.pricing-section {
  padding: 40px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.pricing-slider-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  display: flex;
  gap: 20px;
  padding: 20px;
  scroll-behavior: smooth;
}

.pricing-slider {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.pricing-card {
  flex: 0 0 300px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  scroll-snap-align: start;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.price, .deposit {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}

.book-btn {
  margin-top: 15px;
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 5px;
}