:root {
  --primary: #0d6efd;
  --dark: #0b1b2b;
  --muted: #6c757d;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: #1f2a3d;
  background-color: #f8f9fb;
  overflow-x: hidden;
}

.logo {
  height: 48px;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff;
}

.navbar.navbar-solid {
  background-color: rgba(11, 27, 43, 0.95) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero {
  position: relative;
  min-height: 95vh;
  background: linear-gradient(120deg, rgba(13, 110, 253, 0.72), rgba(11, 27, 43, 0.85)),
    url("../images/WhatsApp Image 2025-12-07 at 12.51.37.jpeg") center/cover no-repeat;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.45));
}

.hero-logo {
  height: 120px;
  max-width: 100%;
  object-fit: contain;
}

.hero-card {
  border: none;
  border-radius: 16px;
}

.hero-card .form-control,
.hero-card .form-select {
  border-radius: 10px;
}

.experience-badges {
  flex-wrap: wrap;
}

.experience-badges > div {
  background: rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.letter-spaced {
  letter-spacing: 0.12em;
}

.section-header h2 {
  font-size: 2.2rem;
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.icon-circle.sm {
  width: 44px;
  height: 44px;
  font-size: 1rem;
}

.service-card {
  border: 1px solid rgba(13, 110, 253, 0.08);
  border-left: 4px solid transparent;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
  border-left-color: #0d6efd;
}

.feature-tile {
  background: #fff;
  border: 1px solid #e7ecf2;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #233044;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.feature-tile:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  border-color: #0d6efd;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.4));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.gallery-card:hover::after {
  opacity: 1;
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border: 1px solid #e7ecf2;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.review-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1) !important;
}

.review-card .stars {
  font-size: 1rem;
}

.review-card .card-body {
  padding: 1.75rem;
}

.contact-section .card {
  border-radius: 16px;
}

.btn {
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13, 110, 253, 0.35);
}

.btn-outline-light:hover {
  transform: translateY(-2px);
}

.list-group-item {
  border: 1px solid #e7ecf2;
  transition: all 0.2s ease;
}

.list-group-item:hover {
  background-color: #f8f9fb;
}

.stat-item {
  padding: 1rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.cta-banner {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05));
  pointer-events: none;
}

.cta-banner .btn-light {
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.cta-banner .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.cta-banner .btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

footer {
  font-size: 0.95rem;
}

/* Tablet Responsiveness */
@media (max-width: 991.98px) {
  body {
    padding-top: 70px;
  }

  .hero {
    min-height: 80vh;
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: 2.5rem !important;
  }

  .section-header h2 {
    font-size: 1.9rem;
  }

  .icon-circle {
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
  }
}

/* Mobile Responsiveness */
@media (max-width: 767.98px) {
  body {
    padding-top: 65px;
  }

  /* Hero Section Mobile */
  .hero {
    min-height: auto;
    padding: 2.5rem 0 2rem;
    background-position: 70% center;
  }

  .hero-logo {
    height: 80px;
  }

  .hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.3;
    margin-bottom: 1rem !important;
  }

  .hero .lead {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .hero .letter-spaced {
    font-size: 0.7rem;
    margin-bottom: 0.75rem !important;
  }

  .hero .btn {
    font-size: 0.95rem;
    padding: 0.7rem 1.5rem;
    width: 100%;
  }

  .experience-badges {
    justify-content: center;
    margin-bottom: 1.25rem !important;
  }

  .experience-badges > div {
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
  }

  .experience-badges i {
    font-size: 1rem;
  }

  .hero-card {
    margin-top: 2rem !important;
  }

  /* Logo */
  .logo {
    height: 40px;
  }

  /* Navigation Mobile */
  .navbar-brand {
    font-size: 0.95rem;
  }

  .navbar-brand .fw-semibold {
    font-size: 0.9rem;
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(11, 27, 43, 0.98);
    border-radius: 8px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .navbar .nav-item {
    margin: 0.25rem 0;
  }

  .navbar .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 1rem;
  }

  .navbar .nav-link:hover,
  .navbar .nav-link:focus {
    background: rgba(255,255,255,0.1);
  }

  .navbar .btn-primary {
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem;
    font-size: 1rem;
  }

  .navbar-toggler {
    padding: 0.5rem 0.75rem;
    font-size: 1.1rem;
  }

  /* Stats Section Mobile */
  .stat-item {
    padding: 0.75rem 0.5rem;
  }

  .stat-item h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
  }

  .stat-item p {
    font-size: 0.8rem;
  }

  /* Section Headers Mobile */
  .section-header {
    margin-bottom: 2rem !important;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .section-header .letter-spaced {
    font-size: 0.7rem;
  }

  /* Service Cards Mobile */
  .service-card {
    margin-bottom: 1rem;
  }

  .service-card:hover {
    transform: translateY(-4px);
  }

  .service-card .card-title {
    font-size: 1.15rem;
  }

  .service-card .card-text {
    font-size: 0.9rem;
  }

  .service-card ul li {
    font-size: 0.85rem;
  }

  /* Why Section Mobile */
  .feature-tile {
    padding: 10px 12px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .feature-tile:hover {
    transform: translateX(3px);
  }

  /* Gallery Mobile */
  .gallery-card img {
    height: 200px;
  }

  /* Reviews Mobile */
  .review-card {
    margin-bottom: 1rem;
  }

  .review-card:hover {
    transform: translateY(-3px);
  }

  .review-card .card-body {
    padding: 1.25rem;
  }

  .review-card p {
    font-size: 0.9rem;
  }

  .review-card .stars {
    font-size: 0.9rem;
  }

  .review-card h6 {
    font-size: 0.95rem;
  }

  .review-card small {
    font-size: 0.75rem;
  }

  /* Contact Section Mobile */
  .contact-section h2 {
    font-size: 1.5rem;
  }

  .contact-section .icon-circle.sm {
    width: 38px;
    height: 38px;
    font-size: 0.9rem;
  }

  .contact-section .card {
    margin-top: 1.5rem;
  }

  /* CTA Banner Mobile */
  .cta-banner {
    padding: 2.5rem 0 !important;
  }

  .cta-banner h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem !important;
  }

  .cta-banner .lead {
    font-size: 0.95rem;
    margin-bottom: 1.5rem !important;
  }

  .cta-banner .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  /* Forms Mobile */
  .form-control,
  .form-select {
    font-size: 1rem;
    padding: 0.65rem 0.75rem;
    min-height: 44px;
  }

  textarea.form-control {
    min-height: 120px;
  }

  .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }

  .btn {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .btn-lg {
    font-size: 1rem;
    padding: 0.65rem 1.5rem;
  }

  /* Icon Circles Mobile */
  .icon-circle {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  /* Spacing Mobile */
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  .py-4 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .mb-5 {
    margin-bottom: 2rem !important;
  }

  .gap-3 {
    gap: 0.75rem !important;
  }

  /* List Groups Mobile */
  .list-group-numbered .list-group-item {
    font-size: 0.9rem;
    padding: 1rem;
  }

  .list-group-numbered h6 {
    font-size: 0.95rem;
  }

  .list-group-numbered p {
    font-size: 0.85rem;
  }

  /* Footer Mobile */
  footer {
    font-size: 0.85rem;
    text-align: center;
    padding: 2rem 0 !important;
  }

  footer .d-flex {
    flex-direction: column !important;
    gap: 1rem;
  }

  footer .logo {
    height: 36px;
  }
}

/* Landscape Mobile Optimization */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }
  
  body {
    padding-top: 60px;
  }
}

/* Small Mobile Devices */
@media (max-width: 575.98px) {
  .hero h1 {
    font-size: 1.5rem !important;
  }

  .stat-item h3 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.35rem;
  }

  .gallery-card img {
    height: 180px;
  }

  .cta-banner h2 {
    font-size: 1.25rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Disable hover effects on touch devices */
  .service-card:hover,
  .review-card:hover,
  .gallery-card:hover,
  .feature-tile:hover,
  .btn-primary:hover,
  .btn-outline-light:hover {
    transform: none;
    box-shadow: initial;
  }

  .service-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
  }

  .review-card:hover {
    box-shadow: 0 12px 28px rgba(0,0,0,0.1) !important;
  }

  /* Active states for touch feedback */
  .btn:active {
    transform: scale(0.97);
    opacity: 0.9;
  }

  a:active,
  .card:active {
    opacity: 0.85;
  }

  /* Ensure all clickable items are touch-friendly */
  .btn,
  .nav-link,
  a[href^="tel"],
  a[href^="mailto"] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Form Messages */
.form-message {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 64px;
  height: 64px;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #20BA5A;
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
  transform: translateY(-2px) scale(1.02);
}

/* WhatsApp pulse animation */
@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  animation: none;
}

/* WhatsApp Button Mobile Optimization */
@media (max-width: 767.98px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 28px;
    bottom: 20px;
    right: 20px;
  }
}

