/* ===== ACCURATE ENGINEERING - MAIN STYLESHEET ===== */
/* Mobile-first responsive design with comprehensive accessibility */

/* ===== CSS RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

body {
  font-family: 'Ubuntu', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  overflow-x: hidden;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
/* Focus indicators for keyboard navigation */
*:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #000;
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.8rem;
  color: #2c3e50;
}

h2 {
  font-size: 2.4rem;
  color: #34495e;
}

h3 {
  font-size: 2rem;
  color: #34495e;
}

h4 {
  font-size: 1.8rem;
}

h5 {
  font-size: 1.6rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border: none;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 12rem;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

.btn-danger:hover {
  background-color: #c82333;
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===== NAVIGATION ===== */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 2.4rem;
  font-weight: 700;
  color: #2c3e50;
  text-decoration: none;
}

.navbar-toggler {
  border: none;
  background: none;
  font-size: 1.8rem;
  color: #2c3e50;
  cursor: pointer;
}

.navbar-toggler:focus {
  outline: 2px solid #007bff;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.navbar-nav {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0.5rem 0;
}

.nav-link {
  color: #2c3e50;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 500;
  padding: 0.8rem 1.6rem;
  border-radius: 0.4rem;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link:focus {
  background-color: #f8f9fa;
  color: #007bff;
}

/* ===== MAIN CONTENT SECTIONS ===== */
main {
  margin-top: 8rem; /* Account for fixed navbar */
}

section {
  padding: 4rem 2rem;
  max-width: 120rem;
  margin: 0 auto;
}

/* ===== HERO SECTION ===== */
#title {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 8rem 2rem 6rem;
  margin-top: 0;
}

.hero-content {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.hero-images {
  position: relative;
  max-width: 60rem;
  margin: 0 auto;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.carousel-inner {
  position: relative;
  width: 100%;
}

.carousel-item {
  display: none;
  width: 100%;
}

.carousel-item.active {
  display: block;
}

.carousel-item img {
  width: 100%;
  height: auto;
  max-height: 40rem;
  object-fit: cover;
  border-radius: 1.2rem;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: 1rem;
}

.carousel-control-next {
  right: 1rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

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

.hero-text h1 {
  font-size: 3.2rem;
  margin-bottom: 2rem;
  color: white;
}

.hero-text p {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  text-align: center;
}

/* ===== ABOUT SECTION ===== */
#AboutUs {
  background-color: #f8f9fa;
}

.about-content {
  display: grid;
  gap: 3rem;
  text-align: center;
}

.about-title {
  font-size: 2.4rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.about-subtitle {
  font-size: 2rem;
  color: #007bff;
  font-weight: 600;
  margin-bottom: 2rem;
}

.about-text {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #555;
}

/* ===== SERVICES SECTION ===== */
#Services {
  background-color: white;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-title {
  font-size: 2.8rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.services-subtitle {
  font-size: 1.8rem;
  color: #007bff;
  font-weight: 600;
  text-align: center;
}

.services-grid {
  display: grid;
  gap: 3rem;
  margin-top: 4rem;
}

.service-card {
  background: white;
  border-radius: 1.2rem;
  padding: 3rem 2rem 7rem 2rem;
  text-align: center;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  min-height: 45rem;
  position: relative;
}

.service-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  max-width: 20rem;
  height: 15rem;
  object-fit: cover;
  border-radius: 0.8rem;
  margin-bottom: 2rem;
}

.service-card h3 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.service-card p {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 2rem;
  text-align: center;
}

.service-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 1rem;
  margin-top: auto;
  padding-bottom: 1rem;
}

.service-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 1.2rem 2.4rem;
  border: none;
  border-radius: 0.8rem;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  margin-top: auto;
}

.service-btn:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 123, 255, 0.3);
}

/* ===== TESTIMONIALS SECTION ===== */
#Testimonials {
  background-color: #f8f9fa;
}

.testimonials-content {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.testimonials-carousel {
  position: relative;
  max-width: 60rem;
  margin: 0 auto;
}

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

.testimonials-text h2 {
  font-size: 2.4rem;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.testimonials-text p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
}

/* ===== CONTACT FORM SECTION ===== */
#BookNow {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.contact-content {
  display: grid;
  gap: 4rem;
  align-items: start;
}

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

.contact-image img {
  width: 100%;
  max-width: 40rem;
  height: auto;
  border-radius: 1.2rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
  margin-bottom: 1rem;
}

.contact-quotes {
  text-align: center;
  margin: 3rem 0;
  padding-top: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #ddd;
  border-radius: 0.8rem;
  padding: 2rem;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.quote-text {
  font-size: 1.8rem;
  font-style: italic;
  margin: 0;
  color: #333;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: center;
  line-height: 1.6;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
}

.contact-phone {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.contact-phone a {
  color: #ffd700;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 2.2rem;
}

.contact-phone a:hover {
  color: #ffed4e;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.booking-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem;
  border-radius: 1.2rem;
  color: #333;
}

.booking-form h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2c3e50;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 2px solid #e9ecef;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #007bff;
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 12rem;
}

.form-submit {
  text-align: center;
  margin-top: 3rem;
}

/* ===== SOCIAL MEDIA SECTION ===== */
.social-section {
  text-align: center;
  margin-top: 4rem;
}

.social-title {
  font-size: 2rem;
  color: white;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.1);
}

.social-links img {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.2);
}

/* ===== FLOATING CALL BUTTON ===== */
.float-call-button {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 0.4rem 1.2rem rgba(40, 167, 69, 0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0.6rem 2rem rgba(40, 167, 69, 0.6);
}

.floating-btn img {
  width: 3rem;
  height: 3rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 1rem rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

/* ===== FOOTER ===== */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 120rem;
  margin: 0 auto;
}

.footer-content p {
  margin-bottom: 1rem;
  text-align: center;
}

.footer-content a {
  color: #007bff;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Small tablets and large phones */
@media (min-width: 576px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  }
  
  .social-links {
    gap: 3rem;
  }
}

/* Tablets */
@media (min-width: 768px) {
  section {
    padding: 6rem 3rem;
  }
  
  .navbar-nav {
    flex-direction: row;
  }
  
  .nav-item {
    margin: 0 1rem;
  }
  
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
  
  .hero-text {
    text-align: left;
  }
  
  .hero-text h1 {
    font-size: 4rem;
  }
  
  .hero-text p {
    font-size: 2rem;
    text-align: left;
  }
  
  .about-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    text-align: left;
  }
  
  .testimonials-content {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small desktops */
@media (min-width: 992px) {
  html {
    font-size: 62.5%;
  }
  
  .hero-text h1 {
    font-size: 4.8rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .floating-btn {
    width: 7rem;
    height: 7rem;
  }
  
  .floating-btn img {
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* Large desktops */
@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-text h1 {
    font-size: 5.6rem;
  }
  
  .floating-btn {
    width: 8rem;
    height: 8rem;
  }
  
  .floating-btn img {
    width: 4rem;
    height: 4rem;
  }
}

/* Extra large screens */
@media (min-width: 1400px) {
  section {
    padding: 8rem 4rem;
  }
  
  .hero-text h1 {
    font-size: 6.4rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .float-call-button,
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }
  
  body {
    color: #000;
    background: white;
  }
  
  section {
    page-break-inside: avoid;
  }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --card-bg: #2d2d2d;
  }
  
  body {
    background-color: var(--bg-color);
    color: var(--text-color);
  }
  
  .service-card {
    background-color: var(--card-bg);
    color: var(--text-color);
  }
  
  .booking-form {
    background: rgba(45, 45, 45, 0.95);
    color: var(--text-color);
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-btn {
    animation: none;
  }
} 