/* Animated Background Styles */
.gradient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background: linear-gradient(135deg,
      #87ceeb 0%,
      #1e90ff 25%,
      #0066cc 50%,
      #1e90ff 75%,
      #4169e1 100%);
}

/* Dotted Grid Background */
.dotted-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 0.3;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.8) 1px, transparent 0),
    radial-gradient(circle at 20px 20px, rgba(135, 206, 235, 0.6) 1px, transparent 0);
  background-size: 40px 40px, 80px 80px;
  background-position: 0 0, 0 0;
}

.blur-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.blur-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  will-change: transform;
}

.shape-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #87ceeb 0%, rgba(135, 206, 235, 0.3) 40%, transparent 70%);
  top: -150px;
  left: -150px;
  animation: float1 25s infinite ease-in-out;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #0066cc 0%, rgba(0, 102, 204, 0.4) 40%, transparent 70%);
  top: 40%;
  right: -200px;
  animation: float2 30s infinite ease-in-out;
  animation-delay: -8s;
}

.shape-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #4169e1 0%, rgba(65, 105, 225, 0.3) 40%, transparent 70%);
  bottom: -250px;
  left: 15%;
  animation: float3 35s infinite ease-in-out;
  animation-delay: -15s;
}

.shape-4 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #6495ed 0%, rgba(100, 149, 237, 0.4) 40%, transparent 70%);
  top: 15%;
  left: 45%;
  animation: float4 28s infinite ease-in-out;
  animation-delay: -5s;
}

.shape-5 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #b0e0e6 0%, rgba(176, 224, 230, 0.3) 40%, transparent 70%);
  bottom: 5%;
  right: 5%;
  animation: float5 32s infinite ease-in-out;
  animation-delay: -12s;
}

.shape-6 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #1e90ff 0%, rgba(30, 144, 255, 0.5) 40%, transparent 70%);
  top: 60%;
  left: 10%;
  animation: float6 26s infinite ease-in-out;
  animation-delay: -20s;
}

@keyframes float1 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  25% {
    transform: translate(40px, -50px) rotate(90deg) scale(1.1);
  }

  50% {
    transform: translate(-30px, 30px) rotate(180deg) scale(0.95);
  }

  75% {
    transform: translate(60px, -20px) rotate(270deg) scale(1.05);
  }
}

@keyframes float2 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  33% {
    transform: translate(-50px, 40px) rotate(120deg) scale(1.08);
  }

  66% {
    transform: translate(30px, -30px) rotate(240deg) scale(0.92);
  }
}

@keyframes float3 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  20% {
    transform: translate(30px, -40px) rotate(72deg) scale(1.06);
  }

  40% {
    transform: translate(-40px, 20px) rotate(144deg) scale(0.94);
  }

  60% {
    transform: translate(50px, 30px) rotate(216deg) scale(1.02);
  }

  80% {
    transform: translate(-20px, -50px) rotate(288deg) scale(0.98);
  }
}

@keyframes float4 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  30% {
    transform: translate(-35px, -45px) rotate(108deg) scale(1.04);
  }

  70% {
    transform: translate(45px, 25px) rotate(252deg) scale(0.96);
  }
}

@keyframes float5 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  25% {
    transform: translate(25px, 45px) rotate(90deg) scale(0.93);
  }

  50% {
    transform: translate(-45px, -25px) rotate(180deg) scale(1.07);
  }

  75% {
    transform: translate(35px, -35px) rotate(270deg) scale(1.01);
  }
}

@keyframes float6 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  40% {
    transform: translate(-30px, 35px) rotate(144deg) scale(1.03);
  }

  80% {
    transform: translate(40px, -40px) rotate(288deg) scale(0.97);
  }
}

.section-header {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Headings: Poppins 600 */
h1,
h2,
h3,
.logo {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #0A1F33;
}

/* Paragraphs & body: Lato 400 */
body,
p,
a,
li,
input,
textarea,
button {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #222;
  background-color: transparent;
}

.hero {
  background-color: #1e90ff;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

/* Navbar */
nav {
  position: fixed;
  top: 35px;
  left: 50%;
  width: 100%;
  max-width: 1050px;
  height: 85px;
  transform: translateX(-50%);
  background: #003566;
  border-radius: 40px;
  padding: 0 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navbar Logo */
.logo {
  height: 200px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Nav links container */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  margin-left: -200px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  transition: 0.3s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #1e90ff;
}

.home {
  background-color: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  min-height: 100vh;
}

/* Content box behind text */
.content-box {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 30px 50px;
  max-width: 1050px;
  width: 100%;
  position: relative;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(30, 144, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* Hero Section Headings */
.home h1 {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 1200;
  font-size: 3.5rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.home .slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 2.5rem;
}

.slogan-img {
  width: 40px;
  height: auto;
}

/* Paragraphs inside hero */
.home p {
  font-family: "Lato", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto 10px auto;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #ddd;
  color: #003566;
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

/* Bottom container */
.home-bottom {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

/* Example object */
.custom-object {
  text-align: center;
  margin-bottom: 0px;
}

.custom-object a {
  text-align: center;
  text-decoration: none;
  margin: 0;
  margin-bottom: 8px;
  white-space: nowrap;
  background: #003566;
  border-radius: 20px;
  padding: 8px 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  display: inline-block;
}

/* Arrow */
.arrow-down {
  align-items: center;
  display: inline-block;
  font-size: 48px;
  color: #fff;
  text-decoration: none;
  animation: bounce 1.5s infinite;
  margin-bottom: 0px;
}

/* Bounce animation */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(6px);
  }

  60% {
    transform: translateY(3px);
  }
}

/* Section backgrounds */
.about,
.services,
.contact {
  justify-content: flex-start;
  padding-top: 200px;
  background-color: transparent;
}

/* Sections */
section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  gap: 20px;
}

section .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 800px;
}

/* Subtle line between sections */
section:not(:last-of-type)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

/* Header with title centered and logo offset */
.about-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 50px;
}

.about-header .section-header {
  grid-column: 2;
  font-size: 2.5rem;
  margin: 0;
}

.company-logo {
  grid-column: 3;
  justify-self: start;
  margin-left: 50px;
  width: 180px;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  filter: drop-shadow(0 8px 20px rgba(10, 31, 51, 0.2));
  transition: transform 0.3s ease;
}

.company-logo:hover {
  transform: scale(1.05);
}

/* Content layout */
.about-content {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto 80px auto;
  flex-wrap: wrap;
  position: relative;
  font-weight: 400;
}

/* Text section */
.about-text {
  flex: none;
  width: 50%;
  max-width: none;
  min-width: 300px;
  text-align: left;
  opacity: 0;
  transform: translateX(-80px);
  transition: all 0.8s ease-out;
  margin-right: auto;
  padding-right: 30px;
}

.about-text.show {
  opacity: 1;
  transform: translateX(0);
}

.about-text p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #0A1F33;
  font-weight: 800;
  margin-bottom: 18px;
}

/* Team Images Container */
.about-images {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 600px;
}

/* Filip's image */
.person:first-child {
  position: absolute;
  top: 0;
  left: calc(50% + 40px);
  width: 280px;
  text-align: center;
}

/* Stepan's image */
.person:last-child {
  position: absolute;
  top: 0;
  left: calc(50% + 360px);
  width: 280px;
  text-align: center;
}

/* Image styling */
.person-img {
  width: 250px;
  height: 250px;
  border-radius: 18px;
  object-fit: cover;
  filter: drop-shadow(0 8px 20px rgba(10, 31, 51, 0.2));
  transition: transform 0.3s ease;
  display: block;
  margin: 0 auto;
}

.person-img:hover {
  transform: scale(1.05);
}

.person-name {
  margin-top: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #0A1F33;
  line-height: 1.4;
  text-align: center;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.person-name:first-of-type {
  font-weight: 600;
  margin-bottom: 8px;
}

.person-name:not(:first-of-type) {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.8;
}

.about .why-us {
  width: 100%;
  max-width: 1200px;
}

.reasons-boxes {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: nowrap;
  align-items: stretch;
}

.reason-box {
  background: linear-gradient(145deg, #ffffff, #f1f9fb);
  border: 2px solid #e9ecef;
  border-radius: 25px;
  padding: 40px 30px;
  flex: 1;
  max-width: 350px;
  min-height: 320px;
  text-align: center;
  color: #0A1F33;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.reason-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(30, 144, 255, 0.3);
  border-color: #00C4CC;
}

.reason-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.reason-box:hover::before {
  opacity: 1;
  transform: rotate(45deg) translate(50%, 50%);
}

.box-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.reason-box:hover .box-icon {
  transform: scale(1.05);
}

.reason-box h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #0A1F33;
  margin-bottom: 15px;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.reason-box p {
  font-family: "Lato", sans-serif;
  color: #6c757d;
  line-height: 1.6;
  font-size: 1rem;
}

/* Services */
.services-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.service h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.service-box {
  background: linear-gradient(145deg, #ffffff, #f9f9ff);
  border: 2px solid #e9ecef;
  border-radius: 20px;
  padding: 30px;
  width: 450px;
  min-height: 180px;
  text-align: left;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  cursor: pointer;
}

.service-box:hover {
  width: 800px;
  min-height: 320px;
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(30, 144, 255, 0.25);
  border-color: #1e90ff;
  z-index: 10;
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1e90ff, #00C4CC);
  transform: scaleX(0);
  transition: transform 0.5s ease;
  transform-origin: left;
}

.service-box:hover::before {
  transform: scaleX(1);
}

.service-icon-container {
  flex-shrink: 0;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-header {
  margin-bottom: 15px;
}

.service-box .brief-description {
  font-family: "Lato", sans-serif;
  color: #6c757d;
  line-height: 1.5;
  font-size: 1rem;
}

.expanded-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 0;
}

.service-box:hover .expanded-content {
  opacity: 1;
  max-height: 400px;
  margin-top: 20px;
}

.expanded-content h5 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #0A1F33;
  font-size: 1.1rem;
  margin-bottom: 12px;
  border-left: 3px solid #1e90ff;
  padding-left: 12px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.benefits-list li {
  font-family: "Lato", sans-serif;
  color: #495057;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.benefits-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #1e90ff;
  font-weight: bold;
}

.cta-text {
  font-family: "Lato", sans-serif;
  color: #0A1F33;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

.service-box svg {
  width: 80px !important;
  height: 80px !important;
  margin: 0 auto 20px auto;
  display: block;
}

.service-box:hover .service-icon {
  transform: scale(1.1);
}

.service-box h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: #0A1F33;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.service-box p {
  font-family: "Lato", sans-serif;
  color: #6c757d;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* Contact */
.contact {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: transparent;
  position: relative;
}

.contact {
  font-size: 1.2rem;
  font-weight: 400;
}

.contact h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact form {
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.contact input,
.contact textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact button {
  background: #0A1F33;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.contact button:hover {
  background: beige;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #003566;
  color: #fff;
  margin-top: 40px;
}

.footer p {
  color: #fff;
  font-size: 2.3rem;
  font-weight: 800;
}

/* Active navbar link */
.nav-links a.active {
  color: #00C4CC;
  font-weight: bold;
  border-bottom: 2px solid #1e90ff;
}

/* Book HTML */
.back-header {
  position: absolute;
  top: 40px;
  left: 40px;
}

.back-btn {
  position: fixed;
  background: #0A1F33;
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #003566;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 20 20px 26px rgba(#003566);
  font-size: 1.3rem;
  transition: 0.5s;
}

.booking-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 160px;
}

.booking-form {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.15);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  border: 2px solid rgba(30, 144, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  font-family: "Lato", sans-serif;
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  transition: box-shadow 0.3s ease;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.4);
}

.booking-form .cta-btn {
  align-self: center;
  background: #0A1F33;
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.booking-form .cta-btn:hover {
  background: #003566;
}

.form-footer {
  display: flex;
  align-items: center;
}

/* IMPROVED MOBILE RESPONSIVENESS */

/* Tablets (1024px and below) */
@media (max-width: 1024px) {
  nav {
    width: 95%;
    max-width: 95%;
    padding: 0 15px;
    height: auto;
    min-height: 70px;
  }

  .logo {
    height: 150px;
    /* Smaller logo for tablets */
  }

  .nav-links {
    gap: 20px;
    margin-left: -150px;
    /* Adjust for smaller logo */
  }

  .nav-links a {
    font-size: 18px;
  }

  .home h1 {
    font-size: 2.8rem;
  }

  .home .slogan {
    font-size: 2rem;
  }

  .content-box {
    padding: 25px 35px;
  }

  .section-header {
    font-size: 2.2rem;
  }

  .about-content {
    gap: 40px;
  }

  .about-text {
    width: 45%;
    padding-right: 20px;
  }

  .person:first-child {
    left: calc(50% + 20px);
    width: 250px;
  }

  .person:last-child {
    left: calc(50% + 290px);
    width: 250px;
  }

  .person-img {
    width: 220px;
    height: 220px;
  }

  .reasons-boxes {
    gap: 20px;
  }

  .reason-box {
    padding: 30px 25px;
    min-height: 280px;
  }

  .service-box {
    width: 100%;
    max-width: 400px;
  }

  .service-box:hover {
    width: 100%;
    max-width: 700px;
  }
}

/* Phones and small tablets (768px and below) */
@media (max-width: 768px) {
  nav {
    top: 15px;
    width: auto;
    height: auto;
    min-height: 60px;
    max-height: 60px;
    border-radius: 20px;
    padding: 10px 20px;
    justify-content: center;
  }

  .logo {
    height: calc(100% - 10px);
    /* Takes full navbar height minus small padding */
    max-height: 180px;
    /* Prevents it from getting too large */
    min-height: 90px;
    /* Ensures it doesn't get too small */
  }

  .nav-links {
    display: none;
  }

  /* Home section mobile fixes */
  .home {
    padding: 150px 15px 80px 15px;
    /* More top padding for mobile nav */
    min-height: 100vh;
  }

  .content-box {
    padding: 20px 25px;
    border-radius: 15px;
  }

  .home h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .home .slogan {
    font-size: 1.6rem;
    flex-wrap: wrap;
    white-space: normal;
    gap: 10px;
  }

  .slogan-img {
    width: 30px;
  }

  .home p {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .cta-btn {
    font-size: 1.1rem;
    padding: 10px 20px;
  }

  /* Hide bottom elements on mobile - they cause issues */
  .home-bottom {
    display: none;
  }

  /* Section headers */
  .section-header {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  /* About section mobile layout */
  .about-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
  }

  .company-logo {
    width: 120px;
    margin-left: 0;
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .about-text {
    width: 100%;
    padding-right: 0;
    text-align: center;
    position: relative;
    transform: none !important;
    opacity: 1 !important;
  }

  .about-text p {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 15px;
  }

  /* Team images - stack vertically on mobile */
  .about-images {
    position: relative !important;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .person {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100%;
    max-width: 300px;
  }

  .person-img {
    width: 200px;
    height: 200px;
  }

  .person-name {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .person-name:not(:first-of-type) {
    font-size: 1rem;
  }

  /* Why Us section */
  .reasons-boxes {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .reason-box {
    width: 100%;
    max-width: 350px;
    padding: 25px 20px;
    min-height: 250px;
  }

  .box-icon {
    max-width: 150px;
  }

  .reason-box h4 {
    font-size: 1.2rem;
  }

  /* Services section */
  .services-grid {
    padding: 0 15px;
    gap: 20px;
  }

  .service-box {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    min-height: auto;
    cursor: pointer;
    transition: all 0.4s ease;
  }

  /* DISABLE all hover effects on mobile */
  .service-box:hover {
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    min-height: auto !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
    border-color: #e9ecef !important;
    z-index: 1 !important;
  }

  .service-box:hover .expanded-content {
    opacity: 0 !important;
    max-height: 0 !important;
    margin-top: 0 !important;
    overflow: hidden !important;
  }

  .service-box:hover::before {
    transform: scaleX(0) !important;
  }

  /* Mobile click-based expansion styles */
  .mobile-device .service-box.expanded {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 40px rgba(30, 144, 255, 0.25) !important;
    border-color: #1e90ff !important;
    z-index: 10 !important;
    padding-bottom: 30px !important;
    min-height: auto !important;
    transition: all 0.4s ease !important;
  }

  .mobile-device .service-box.expanded .expanded-content {
    opacity: 1 !important;
    max-height: 800px !important;
    /* Increased for full content */
    overflow: visible !important;
    margin-top: 20px !important;
    transition: all 0.5s ease !important;
    padding-top: 10px !important;
  }

  .mobile-device .service-box.expanded::before {
    transform: scaleX(1) !important;
  }

  /* Icon and header adjustments */
  .service-icon-container {
    width: 60px;
    margin-bottom: 15px;
  }

  .service-box svg {
    width: 60px !important;
    height: 60px !important;
  }

  .service-header {
    text-align: center;
    margin-bottom: 0;
  }

  .service-box h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .service-box .brief-description {
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  /* Expanded content styling for mobile */
  .expanded-content {
    text-align: left;
    margin-top: 0;
    font-size: 0.9rem;
    transition: all 0.5s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    width: 100%;
  }

  .expanded-content h5 {
    font-size: 1rem;
    margin-bottom: 10px;
    text-align: center;
    border-left: none;
    padding-left: 0;
    border-bottom: 2px solid #1e90ff;
    padding-bottom: 8px;
  }

  .expanded-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
    text-align: left;
  }

  .benefits-list {
    margin: 12px 0;
    padding-left: 0;
  }

  .benefits-list li {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 8px;
    padding-left: 20px;
    text-align: left;
  }

  .benefits-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1e90ff;
    font-weight: bold;
  }

  .cta-text {
    font-size: 0.9rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    font-weight: 600;
    text-align: center;
  }

  /* Visual indicator that boxes are clickable on mobile */
  .mobile-device .service-box::after {
    content: '▼';
    position: absolute;
    top: 20px;
    right: 20px;
    color: #1e90ff;
    font-size: 1rem;
    transition: transform 0.3s ease;
  }

  .mobile-device .service-box.expanded::after {
    transform: rotate(180deg);
  }

  /*STOPPPPP*/

  /* Contact section */
  .contact {
    padding: 40px 15px;
    min-height: auto;
  }

  .contact h1 {
    font-size: 1.8rem;
  }

  .booking-container {
    margin-top: 120px;
    padding: 0 15px;
  }

  .booking-form {
    padding: 25px 20px;
    gap: 15px;
  }

  .form-footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Footer */
  footer {
    padding: 15px;
    font-size: 0.9rem;
  }
}

/* Extra small phones (480px and below) */
@media (max-width: 480px) {
  nav {
    width: 90%;
    padding: 8px 10px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 4px 8px;
  }

  .home {
    padding: 140px 10px 60px 10px;
  }

  .content-box {
    padding: 15px 20px;
  }

  .home h1 {
    font-size: 1.8rem;
  }

  .home .slogan {
    font-size: 1.4rem;
  }

  .home p {
    font-size: 1rem;
  }

  .section-header {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .person-img {
    width: 180px;
    height: 180px;
  }

  .reason-box {
    padding: 20px 15px;
    min-height: 220px;
  }

  .reason-box h4 {
    font-size: 1.1rem;
  }

  .service-box {
    padding: 15px;
  }

  .service-box svg {
    width: 50px !important;
    height: 50px !important;
  }

  .booking-form {
    padding: 20px 15px;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 8px 16px;
  }
}