@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@300;400;700&display=swap");

:root {
  --primary-color: #2c3e50;
  --secondary-color: #e67e22;
  --text-color: #333;
  --background-color: #ecf0f1;
  --hero-bg: #34495e;
  --highlight-color: #f39c12;
  --white: #ffffff;
  --light-gray: #f4f4f4;
  --dark-gray: #2c3e50;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  overflow-x:hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Loader Styles */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--hero-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--white);
  border-top-color: var(--highlight-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--highlight-color);
}

.call-now-btn {
  background-color: var(--highlight-color);
  color: var(--primary-color);
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border-radius: 5px;
}

.call-now-btn:hover {
  background-color: var(--secondary-color);
}

/* Side Menu Styles */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100%;
  background-color: var(--primary-color);
  padding: 2rem;
  z-index: 2000;
  transition: transform 0.3s ease-in-out;
}

.side-menu.active {
  transform: translateX(300px);
}

.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.close-menu {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.side-menu-links {
  list-style: none;
}

.side-menu-links li {
  margin: 1rem 0;
}

.side-menu-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.side-menu-links a:hover {
  color: var(--highlight-color);
}

/* Hero Section Styles */
.hero {
  padding-top: 80px;
  min-height: 100vh;
  background-color: var(--hero-bg);
  display: flex;
  align-items: center;
}

.hero-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hero-text {
  flex: 1;
  max-width: 500px;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-family: "Playfair Display", serif;
}

.hero-text .highlight {
  color: var(--highlight-color);
  display: block;
}

.hero-text .white {
  color: var(--white);
  display: block;
}

.hero-text p {
  color: var(--light-gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-slider {
  flex: 1;
  max-width: 500px;
  position: relative;
}

.slider-container {
  width: 100%;
  position: relative;
}

.main-image {
  width: 100%;
  height: 0;
  padding-bottom: 66.67%; /* 3:2 aspect ratio */
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.main-image img.active {
  opacity: 1;
}

.thumbnail-container {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 5px;
}

.thumbnails::-webkit-scrollbar {
  display: none;
}

.thumbnails img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.thumbnails img:hover {
  opacity: 0.8;
}

.thumbnails img.active {
  opacity: 1;
  border: 2px solid var(--highlight-color);
}

.slider-nav {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-nav:hover {
  background-color: var(--highlight-color);
}

.cta-button {
  display: inline-block;
  background-color: var(--highlight-color);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--secondary-color);
}

/* About Section Styles */
.about {
  padding: 5rem 0;
  background-color: var(--white);
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.about-content {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.experience-box {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-box .years {
  font-size: 3rem;
  font-weight: 700;
  color: var(--highlight-color);
  display: block;
  line-height: 1;
}

.experience-box .text {
  font-size: 1rem;
  color: var(--text-color);
}

.about-text {
  flex: 1;
}

.section-subtitle {
  color: var(--highlight-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-right: 4rem;
}

.section-subtitle::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 3rem;
  height: 1px;
  background-color: var(--highlight-color);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-family: "Playfair Display", serif;
  color: var(--primary-color);
}

.about-text p {
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.read-more-btn {
  display: inline-block;
  background: none;
  border: 2px solid var(--highlight-color);
  color: var(--primary-color);
  padding: 0.75rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.read-more-btn::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 10px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--highlight-color);
  z-index: -1;
}

.read-more-btn:hover {
  background-color: var(--highlight-color);
  color: var(--white);
}

/* Services Section Styles */
.services {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card i {
  font-size: 3rem;
  color: var(--highlight-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.service-cta {
  display: inline-block;
  background-color: var(--highlight-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.service-cta:hover {
  background-color: var(--secondary-color);
}

/* Testimonials Section Styles */
.testimonials {
  padding: 5rem 0;
  background-color: var(--white);
}

.testimonials-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.testimonial-slider {
  margin-top: 3rem;
  position: relative;
}

.testimonial-slide {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.testimonial-slide h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.testimonial-slide span {
  color: var(--dark-gray);
}

/* Contact Section Styles */
.contact {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.contact-info,
.contact-form {
  flex: 1;
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.contact-info i {
  margin-right: 1rem;
  color: var(--highlight-color);
}

.social-icons {
  margin-top: 2rem;
}

.social-icons a {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--highlight-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.contact-form textarea {
  height: 150px;
}

.submit-btn {
  background-color: var(--highlight-color);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px;
}

.submit-btn:hover {
  background-color: var(--secondary-color);
}

.form-message {
  margin-top: 1rem;
  font-weight: bold;
}

/* Footer Styles */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--highlight-color);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

/* Animation Classes */
.animate-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-section.animate {
  opacity: 1;
  transform: translateY(0);
}
@media(max-width:320px) {
  .hero-slider img{
    width: auto;
  }
  .thumbnail img{
    width: 20px;
  }
}
/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .hero-content,
  .about-content,
  .contact-container {
    flex-direction: column;
  }

  .hero-slider,
  .about-image {
    margin-top: 2rem;
  }

  .experience-box {
    bottom: 1rem;
    left: 1rem;
    padding: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }

  .menu-btn {
    display: block;
    order: -1;
  }

  .nav-links {
    display: none;
  }

  .logo {
    text-align: center;
    flex: 1;
    margin: 0 1rem;
  }

  .call-now-btn {
    padding: 0.5rem;
  }

  .call-now-btn span {
    display: none;
  }

  .hero-text,
  .about-text {
    text-align: center;
  }

  .section-subtitle::after {
    display: none;
  }

  .read-more-btn {
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .main-image {
    padding-bottom: 75%; /* 4:3 aspect ratio for smaller screens */
  }

  .thumbnails img {
    width: 60px;
    height: 45px;
  }
}

@media screen and (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .experience-box {
    position: static;
    margin-top: 1rem;
  }

  .contact-form,
  .contact-info {
    width: 100%;
  }

  .main-image {
    padding-bottom: 100%; /* 1:1 aspect ratio for mobile */
  }

  .thumbnails img {
    width: 50px;
    height: 50px;
  }
}

/* Form Validation Styles */
.contact-form input.error,
.contact-form textarea.error {
  border-color: #ff0000;
}

.error-message {
  color: #ff0000;
  font-size: 0.9rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

