/* Base Styles */
:root {
  --bg-color: #0F172A;
  --accent-color: #F59E0B;
  --button-color: #EA580C;
  --heading-color: #34D399;
  --text-color: #F9FAFB;
  --gradient-bg: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.85) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Fix for header overlap with section anchors */
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--heading-color);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: var(--button-color);
  color: var(--text-color);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(234, 88, 12, 0.4);
}

/* Header Styles */
header {
  background-color: var(--bg-color);
  padding: 1.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-spacer {
  margin-top: 80px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
}

.logo svg {
  height: 100%;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
}

nav ul li a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

nav ul li a:hover:after {
  width: 100%;
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: var(--gradient-bg), url('./img/grf3Y7.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center; /* Center text on main page */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(53, 211, 153, 0.1) 0%, transparent 70%);
  animation: pulse 3s infinite alternate;
}

@keyframes pulse {
  0% {
    opacity: 0.5;
    transform: scale(0.95);
  }
  100% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto; /* Center content */
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center; /* Center buttons */
}

/* About Section */
.about {
  background: var(--bg-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-values {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.value-icon {
  font-size: 2rem;
  color: var(--accent-color);
}

/* Services Section */
.services {
  background: var(--gradient-bg), url('./img/XlYZSW.jpg');
  background-size: cover;
  background-position: center;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: 2.5rem;
}

.section-heading p {
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(53, 211, 153, 0.2);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-color);
}

.service-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 1rem 0;
}

.service-card .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

/* Process Section */
.process {
  background-color: var(--bg-color);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  background-color: var(--accent-color);
  color: var(--bg-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 30px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
  z-index: -1;
}

/* Testimonials Section */
.testimonials {
  background: var(--gradient-bg), url('./img/Uz4Xh4.jpg');
  background-size: cover;
  background-position: center;
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 300px;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.testimonial-slide:target,
.testimonial-slide:first-child {
  opacity: 1;
  z-index: 1;
}

.testimonial-content {
  max-width: 700px;
  padding: 2rem;
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: 8px;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 5rem;
  color: var(--accent-color);
  position: absolute;
  top: -20px;
  left: 10px;
  opacity: 0.3;
}

.testimonial-author {
  margin-top: 1.5rem;
  font-weight: 600;
}

.carousel-navigation {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(249, 250, 251, 0.3);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.carousel-dot:hover,
.testimonial-slide:target ~ .carousel-navigation .carousel-dot[href$="#testimonial-1"],
.testimonial-slide#testimonial-1:not(:target) ~ .carousel-navigation .carousel-dot[href$="#testimonial-1"] {
  background-color: var(--accent-color);
}

/* FAQ Section */
.faq {
  background-color: var(--bg-color);
}

.accordion {
  margin-bottom: 1rem;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-header {
  background-color: rgba(15, 23, 42, 0.7);
  padding: 1rem;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(53, 211, 153, 0.2);
}

.accordion-header h3 {
  margin: 0;
  color: var(--text-color);
}

.accordion-content {
  background-color: rgba(30, 58, 138, 0.3);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item input[type="checkbox"] {
  display: none;
}

.accordion-item input[type="checkbox"]:checked ~ .accordion-content {
  padding: 1rem;
  max-height: 500px;
}

.accordion-header::after {
  content: '+';
  font-size: 1.5rem;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color);
}

.accordion-item input[type="checkbox"]:checked ~ .accordion-header::after {
  content: '-';
}

/* Contact Section - Improved Design */
.contact {
  background: var(--gradient-bg), url('./img/ySYGuO.jpg');
  background-size: cover;
  background-position: center;
  padding: 5rem 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background-color: rgba(15, 23, 42, 0.8);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(53, 211, 153, 0.2);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: rgba(30, 58, 138, 0.3);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-color: rgba(30, 58, 138, 0.5);
}

.contact-icon {
  font-size: 2rem;
  color: var(--accent-color);
  background: rgba(245, 158, 11, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
  grid-column: span 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(53, 211, 153, 0.2);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Form Section */
.form-section {
  background-color: var(--bg-color);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(30, 58, 138, 0.3);
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid rgba(53, 211, 153, 0.2);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background-color: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(53, 211, 153, 0.2);
  border-radius: 4px;
  color: var(--text-color);
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.form-control::placeholder {
  color: rgba(249, 250, 251, 0.5);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

/* Footer Styles - Fixed Logo Issue */
footer {
  background-color: rgba(15, 23, 42, 0.95);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 1.5rem;
  height: 40px;
  width: 200px;
  display: block;
}

.footer-logo svg {
  height: 100%;
  width: 100%;
}

.footer-info-text {
  margin-top: 0.5rem;
}

.footer-info-text p {
  margin-bottom: 1rem;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(53, 211, 153, 0.2);
  text-align: center;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(15, 23, 42, 0.95);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.5s ease;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-content {
  flex: 1;
  padding-right: 2rem;
}

.cookie-content p {
  margin-bottom: 0.5rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

/* Media Queries for Responsiveness */
/* Extra Small Mobile Devices (<= 350px) */
@media (max-width: 350px) {
  body {
    line-height: 1.5;
  }
  
  p {
    margin-bottom: 0.75rem;
  }
  
  h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.75rem;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  header {
    padding: 0.75rem 0;
  }
  
  .header-spacer {
    margin-top: 65px;
  }
  
  .logo {
    height: 30px;
  }
  
  .mobile-menu {
    font-size: 1.2rem;
    padding: 3px 5px;
  }
  
  nav.active {
    max-height: 250px;
  }
  
  nav ul {
    padding: 0.75rem 0;
  }
  
  nav ul li {
    margin: 0.3rem 0;
  }
  
  div[style="margin-top: 80px;"] {
    margin-top: 65px !important;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .section-heading h2 {
    font-size: 2rem;
  }
  
  .section-heading p {
    font-size: 0.95rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .value-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .value-icon {
    margin-bottom: 0.5rem;
  }
  
  .service-card {
    padding: 1.5rem 1rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  
  .service-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .service-price {
    font-size: 1.3rem;
    margin: 0.75rem 0;
  }
  
  .service-card .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .process-steps {
    gap: 1.5rem;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  
  .testimonial-content {
    padding: 1.25rem 1rem;
  }
  
  .testimonial-content::before {
    font-size: 4rem;
    top: -15px;
    left: 5px;
  }
  
  .testimonial-content p {
    font-size: 0.95rem;
  }
  
  .testimonial-author {
    margin-top: 1rem;
    font-size: 0.9rem;
  }
  
  .carousel-navigation {
    margin-top: 1.5rem;
  }
  
  .carousel-dot {
    width: 8px;
    height: 8px;
  }
  
  .contact-card {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .form-grid {
    gap: 1rem;
  }
  
  .form-control {
    padding: 0.7rem;
  }
  
  .footer-container {
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }
  
  .footer-logo {
    height: 30px;
    width: 150px;
    margin-bottom: 1rem;
  }
  
  .footer-logo svg {
    width: 100%;
    height: auto;
  }
  
  .cookie-banner {
    padding: 0.75rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .cookie-buttons .btn {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  
  /* Additional fixes for 350px width */
  .about-values {
    grid-template-columns: 1fr;
  }
  
  .testimonial-carousel {
    height: 340px;
  }
  
  /* Form section improvements */
  .form-container {
    padding: 1.25rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact section improvements */
  .map-container {
    height: 200px;
  }
  
  /* Mobile footer optimizations */
  .footer-info, .footer-links {
    text-align: center;
  }
  
  .footer-logo {
    margin: 0 auto 1rem;
    width: 130px;
    height: 26px;
  }
  
  .footer-info-text p {
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
  }
  
  .footer-links ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
  }
  
  .footer-heading {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
  }
  
  .footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1rem;
    font-size: 0.9rem;
  }
  
  footer {
    padding: 2.5rem 0 1.5rem;
  }
  
  /* Height-specific optimizations for 616px height */
  @media (max-height: 650px) {
    html {
      scroll-padding-top: 70px;
    }
    
    header {
      padding: 0.5rem 0;
    }
    
    .hero {
      height: 550px;
    }
    
    .hero h1 {
      font-size: 1.6rem;
      margin-bottom: 1rem;
    }
    
    .hero p {
      font-size: 0.9rem;
      margin-bottom: 1.5rem;
    }
    
    section {
      padding: 2.5rem 0;
    }
    
    .section-heading {
      margin-bottom: 2rem;
    }
    
    .section-heading h2 {
      font-size: 1.8rem;
    }
    
    .about-values {
      margin-top: 1.5rem;
    }
    
    .accordion-header {
      padding: 0.75rem;
    }
    
    .accordion-content {
      max-height: 0;
    }
    
    .accordion-item input[type="checkbox"]:checked ~ .accordion-content {
      padding: 0.75rem;
      max-height: 300px;
    }
  }
}

/* Mobile Devices (<480px) */
@media (max-width: 480px) {
  header {
    padding: 1rem 0;
  }
  
  .mobile-menu {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  nav.active {
    max-height: 300px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  nav ul li {
    margin: 0.5rem 0;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .about-content,
  .services-grid,
  .process-steps,
  .contact-container,
  .footer-container,
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .cookie-banner {
    flex-direction: column;
    padding: 1rem;
  }
  
  .cookie-content {
    padding-right: 0;
    margin-bottom: 1rem;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    grid-column: span 1;
  }

  .footer-info {
    flex-direction: column;
  }
}

/* Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .mobile-menu {
    display: block;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  nav.active {
    max-height: 300px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav ul {
    flex-direction: column;
    padding: 1rem 0;
  }
  
  nav ul li {
    margin: 0.5rem 0;
    text-align: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    grid-column: span 1;
  }
}

/* Small Desktops (769px - 1280px) */
@media (min-width: 769px) and (max-width: 1280px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
  }
  
  .process-step:not(:last-child)::after {
    right: -30%;
    width: 60%;
  }
}

/* Large Screens (>1281px) */
@media (min-width: 1281px) {
  .container {
    max-width: 1400px;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
} 