/* Global Styles */
:root {
  --primary-color: #4F46E5;
  --secondary-color: #06B6D4;
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --border-color: #E5E7EB;
  --success-color: #10B981;
  --warning-color: #F59E0B;
}

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

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.pt-40 { padding-top: 40px; }
.pt-60 { padding-top: 60px; }
.pt-80 { padding-top: 80px; }
.pb-80 { padding-bottom: 80px; }
.pb-100 { padding-bottom: 100px; }
.py-80 { padding-top: 80px; padding-bottom: 80px; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-60 { margin-bottom: 60px; }
.pb-2 { padding-bottom: 0.5rem; }
.fw-500 { font-weight: 500; }
.text-muted { color: var(--text-light); }

/* Header Styles */
.header {
  background: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

.navbar-brand img {
  max-height: 50px;
}

.navbar-toggler {
  border: none;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
  display: none;
}

.toggler-icon {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-item a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  display: block;
}

.nav-item a:hover {
  color: var(--primary-color);
}

.nav-item-has-children {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 1rem 0;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 0;
}

.nav-item-has-children:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-item {
  padding: 0;
}

.submenu-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.submenu-link:hover {
  background: var(--bg-light);
  color: var(--primary-color);
  padding-left: 2rem;
}

.theme-btn, .sec-btn {
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.theme-btn:hover, .sec-btn:hover {
  background: var(--secondary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

/* Hero Section */
.hero-1 {
  padding: 80px 0;
  background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--primary-color);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Estimate Calculator */
.estimate-wrap {
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.estimate-inner {
  padding: 2rem;
}

.estimate-inner .title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.estimate-inner hr {
  border: none;
  border-top: 2px solid var(--border-color);
  margin: 1rem 0;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.input-group {
  display: flex;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.input-group:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.input-group-text {
  background: var(--bg-light);
  border: none;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: var(--text-light);
}

.input-group .form-control {
  border: none;
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 1rem;
}

.input-group .form-control:focus {
  outline: none;
}

/* Section Title */
.section-title span,
.section-title-1 span {
  color: var(--primary-color);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title h2,
.section-title-1 h3 {
  font-size: 2.25rem;
  line-height: 1.2;
  color: var(--text-dark);
}

.text-center {
  text-align: center;
}

/* Services Section */
.services-image-2 {
  text-align: center;
  margin-bottom: 2rem;
}

.services-image-2 img {
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.services-item-2 {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
}

.services-item-2:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15);
  transform: translateY(-5px);
}

.services-item-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.services-icon-2 {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.services-item-top .title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.services-content-2 p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

/* Work Section */
.work-area {
  background: var(--bg-white);
}

.work-item-wrap {
  position: relative;
}

.line-shape {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 0;
  text-align: center;
}

.line-shape img {
  max-width: 100%;
  opacity: 0.3;
}

.work-item {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.work-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(79, 70, 229, 0.15);
  transform: translateY(-10px);
}

.work-item .step {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--bg-white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.work-icon {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.work-item:hover .work-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.work-content h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.work-content p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Benefit Section */
.benefit-area {
  background: var(--bg-light);
}

.benefit-img {
  border-radius: 16px;
  overflow: hidden;
}

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

.benefit-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateX(10px);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.benefit-content .title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.benefit-content p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}

.section-divider {
  height: 2px;
  background: var(--border-color);
  margin: 3rem 0;
}

/* Testimonial Section */
.testimonial-area {
  background: var(--bg-white);
}

.testimonial-item {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.testimonial-content-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.testimonial-author .icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bg-white);
}

.testimonial-author .content .title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.testimonial-author .content span {
  color: var(--text-light);
  font-size: 0.875rem;
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  color: #F59E0B;
}

.testimonial-content p {
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
  margin: 0;
}

/* FAQ Section */
.faq-area {
  background: var(--bg-light);
}

.accordion {
  background: transparent;
}

.accordion-item {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: var(--bg-white);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1.5rem;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-button:hover {
  color: var(--primary-color);
}

.accordion-button::after {
  content: "▼";
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}

.accordion-button.collapsed::after {
  transform: rotate(-90deg);
}

.accordion-collapse {
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-body {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--bg-white);
  padding: 4rem 0 2rem;
}

.footer-widget .title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--bg-white);
}

.footer-widget p,
.footer-widget ul {
  color: #9CA3AF;
  line-height: 1.8;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: 0.75rem;
}

.footer-widget ul li a {
  color: #9CA3AF;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-widget ul li a:hover {
  color: var(--bg-white);
  padding-left: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: #9CA3AF;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--bg-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    display: none;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0;
    margin-top: 1rem;
  }

  .nav-item {
    border-bottom: 1px solid var(--border-color);
  }

  .nav-item a {
    padding: 1rem 0;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
    display: none;
  }

  .nav-item-has-children:hover .submenu {
    display: block;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .hero-title {
    font-size: 1.75rem;
  }

  .pt-80 { padding-top: 40px; }
  .pb-80 { padding-bottom: 40px; }
  .py-80 { padding-top: 40px; padding-bottom: 40px; }
}
