/* ---------------- Reset & Base ---------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Calibri','Verdana','Arial',sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Buttons ---------------- */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg,#007bff,#0056b3);
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg,#0056b3,#004085);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.btn-secondary {
  background: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}
.btn-secondary:hover {
  background: #007bff;
  color: #fff;
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

/* ---------------- Header ---------------- */
.header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 50px;
}
.logo h1 {
  font-size: 24px;
  color: #007bff;
}
.logo span {
  font-size: 14px;
  color: #666;
}

.nav {
  display: flex;
}
.nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav a {
  position: relative;
  font-weight: 500;
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}
.nav a:hover {
  color: #007bff;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 2px;
  background: #007bff;
  transition: width 0.3s;
}
.nav a:hover::after {
  width: 100%;
}

/* ---------------- Hero ---------------- */
.hero {
  background: linear-gradient(135deg,#007bff,#0056b3,#004085);
  color: #fff;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,1000 0,0 1000,500"/></svg>');
  background-size: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,123,255,0.1);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 22px;
  margin-bottom: 40px;
  opacity: 0.9;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------------- Services ---------------- */
.services {
  padding: 80px 0;
  background: #f8f9fa;
}
.section-title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 60px;
  color: #333;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 3px;
  background: #007bff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
}
.service-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  border-top: 4px solid #007bff;
  box-shadow: 0 5px 25px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.service-icon {
  font-size: 48px;
  color: #007bff;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}
.service-card p {
  color: #666;
}
.service-image {
  max-width: 150px;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 10px;
  transition: transform 0.3s;
}
.service-image:hover {
  transform: scale(1.05);
}

/* ---------------- About ---------------- */
.about {
  padding: 80px 0;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #666;
}
.about-features {
  list-style: none;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 16px;
}
.about-features i {
  color: #28a745;
}
.placeholder-image img {
  max-width: 100%;
  border-radius: 10px;
}

/* ---------------- Testimonials ---------------- */
.testimonials {
  padding: 80px 0;
  background: #f8f9fa;
}
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}
.testimonial-card {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.testimonial-card.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.testimonial-content p {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #333;
}
.testimonial-author h4 {
  color: #007bff;
}
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.nav-btn {
  background: #007bff;
  color: #fff;
  border: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.nav-btn:hover {
  background: #0056b3;
  transform: scale(1.1);
}

/* ---------------- Quote ---------------- */
.quote-section {
  padding: 80px 0;
  background: linear-gradient(135deg,#007bff,#0056b3);
  color: #fff;
}
.quote-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.quote-form {
  margin-top: 40px;
  padding: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
}
.form-group {
  margin-bottom: 20px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border-radius: 5px;
  border: none;
  background: rgba(255,255,255,0.9);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: #fff;
  outline: none;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* ---------------- Contact ---------------- */
.contact {
  padding: 80px 0;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h2 {
  font-size: 36px;
  margin-bottom: 40px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.contact-item i {
  font-size: 24px;
  color: #007bff;
}
.contact-cta {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
}

/* ---------------- Footer ---------------- */
.footer {
  background: #333;
  color: #fff;
  padding: 60px 0 30px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 40px;
}
.footer-brand h3 {
  color: #007bff;
}
.footer-links h4 {
  color: #007bff;
  margin-bottom: 20px;
}
.footer-links ul {
  list-style: none;
}
.footer-links a {
  color: #fff;
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.3s;
}
.footer-links a:hover {
  opacity: 1;
}
.footer-legal {
  text-align: right;
  opacity: 0.8;
}

/* ---------------- Custom Checkbox ---------------- */
/* ---------------- Custom Checkbox ---------------- */
.checkbox-group .form-check {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  position: relative; /* Added for positioning */
}

.checkbox-group .form-check-label {
  margin-left: 12px;
  font-size: 18px;
  cursor: pointer;
}

.custom-checkbox {
  width: 30px; 
  height: 30px;
  border: 2px solid #dbdbdb;
  border-radius: 5px;
  cursor: pointer;
  appearance: none;
  position: relative; /* Added - this is key! */
  transition: background 0.3s, border 0.3s;
  flex-shrink: 0; /* Prevents checkbox from shrinking */
}

.custom-checkbox:hover {
  border-color: #28a745;
}

.custom-checkbox:checked {
  background: #28a745;
  border-color: #28a745;
}

.custom-checkbox:checked::after {
  content: '✔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centers the checkmark */
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
  }
  .nav {
    display: none; /* hide menu initially */
    flex-direction: column;
    gap: 15px;
    background: #fff;
    padding: 20px;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .nav.active {
    display: flex;
  }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 18px; }
  .about-content,
  .contact-content,
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-legal {
    text-align: center;
  }
  .quote-form {
    padding: 20px;
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
