/* Base styles */
:root {
  --color-primary: #808080;
  --color-accent: #2e4da7;
  --color-text: #ffffff;
  --color-background: #000000;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: 0.3s ease-in-out;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  margin-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo a {
  color: var(--color-text);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}
							
/* Phone WA link */

.phone {
  font-size: 1rem;
  font-weight: bold;
  color: #2ecc71;
  text-decoration: none;
  transition: var(--transition);
}
								  
.nav-links a:hover {
  color: var(--color-accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-text);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: auto;
  margin-top: -80px;
}

.hero-slider {
  height: 100%;
  width: 100%;
}

.hero-slide {
  position: relative;
  height: 100%;
  width: 100%;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Services Section */
.services {
  padding: 6rem 0;
  background-color: rgba(128, 128, 128, 0.1);
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 8px;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.service-card h3 {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
  padding: 2rem 0; /* Further reduced padding */
  background-color: var(--color-background);
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem; /* Further reduced margin */
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem; /* Further reduced padding */
  border-radius: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 0.25rem; /* Reduced margin between cards */
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 0.75rem; /* Further reduced margin */
  flex-grow: 1;
  font-size: 1.2rem; /* Slightly reduced font size */
  line-height: 1.4;
}

.testimonial-author {
  margin-top: 0.25rem; /* Further reduced margin */
}

.author-name {
  font-weight: 600;
  color: var(--color-accent);
  font-size: 0.95rem;
}

.author-info {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('../images/bg-main.png') center/cover;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--color-accent);
  color: var(--color-text);
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition);
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #243c8a;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: rgba(0, 0, 0, 0.9);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3, .footer h4 {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--color-text);
  font-size: 1.5rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
  color: var(--color-text) !important;
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: var(--color-text) !important;
  opacity: 0.5 !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--color-accent) !important;
  opacity: 1 !important;
  transform: scale(1.2);
}

/* Fixed height for sliders */
.hero-slider, .hero-slide {
  height: 600px; /* Increased height for desktop */
}

.testimonials-slider {
  height: 200px; /* Further reduced height for testimonials slider */
  margin: 0 auto;
  max-width: 1200px;
}

/* Contact Form Styles */
.contact-hero {
  padding: 4rem 0;
  text-align: center;
  background: rgba(128, 128, 128, 0.05);
}

.contact-form {
  padding: 4rem 0;
}

.quote-form {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(128, 128, 128, 0.1);
  padding: 2rem;
  border-radius: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid rgba(128, 128, 128, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(46, 77, 167, 0.2);
}

.form-group small {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

.form-submit {
  margin-top: 2rem;
  text-align: center;
}

/* Thank you and Error Pages */
.thank-you-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-page {
  background: rgba(255, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-slider, .hero-slide {
    height: 450px; /* Reduced height for tablets */
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    margin: 0 0.25rem;
  }
  
  .testimonials-slider {
    height: 250px; /* Adjusted height for testimonials on mobile */
  }
}

@media (max-width: 480px) {
  .hero-slider, .hero-slide {
    height: 350px; /* Further reduced height for mobile phones */
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr; /* Single column for small screens */
  }
  
  .form-group {
    grid-column: span 1 !important;
  }
  
  .testimonials-slider {
    height: 300px; /* More height for testimonials on small screens */
  }
}