/* FORCE OVERRIDE - Maximum specificity */
body .home-section,
html body .home-section,
#home.home-section {
  background: transparent !important;
  padding: 0 !important;
  min-height: 100vh !important;
  position: relative !important;
  margin: 0 !important;
  border-bottom: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}

body .home-slider-container,
html body .home-slider-container {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: transparent !important;
  left: 0 !important;
  height: 100vh !important;
}

body .home-slider,
html body .home-slider {
  width: 100vw !important;
  height: 100vh !important;
  position: relative !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .home-slide,
html body .home-slide {
  display: none;
  align-items: center;
  justify-content: flex-start;
  width: 100% !important;
  height: 100vh !important;
  position: absolute !important;
  top: 0 !important; 
  left: 0 !important;
  transition: opacity 0.8s ease;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
}

body .home-slide.active,
html body .home-slide.active {
  display: flex !important;
  opacity: 1 !important;
  z-index: 2 !important;
}

body .full-background-slide,
html body .full-background-slide {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
}

body .slide-background,
html body .slide-background {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-size: cover !important;
  background-position: center !important;
  z-index: 1 !important;
}

body .slide-content,
html body .slide-content {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  height: 100% !important;
  width: 100% !important;
  max-width: 800px !important;
  margin-left: 5% !important;
  padding-bottom: 0 !important;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  padding-top: 0 !important;
}

.slide-content.visible,
.slider-fade-in.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.hero-main-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 40px;
  margin-left: 3%;
  margin-top: 0;
}

.hero-subtitle {
  font-size: 50px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  line-height: 1;
  text-align: left;
}

.hero-title {
  font-size: 75px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
  padding: 0;
  color: #73DEFF;
  text-transform: uppercase;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  letter-spacing: 1px;
  text-align: left;
}

.hero-tagline {
  font-size: 40px;
  font-weight: 250;
  color: #ffffff;
  margin: 10px 0 20px 0;
  text-transform: uppercase;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.contact-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: #00264d;
  color: white;
  text-decoration: none;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 4px;
  margin-top: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-button:hover {
  background-color: #00264d;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero-description {
  color: #ffffff;
  max-width: 500px;
  line-height: 1.6;
  margin-left: 3%;
}

.hero-description p {
  margin: 0 0 5px 0;
  color: #ffffff;
  font-size: 15px;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  text-align: left;
}

body .slider-controls,
html body .slider-controls {
  position: absolute !important;
  bottom: 20px !important;
  left: 0 !important;
  right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  z-index: 10 !important;
}

.slider-dots {
  display: flex;
  gap: 12px;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.slider-dots .dot.active {
  background-color: #73DEFF;
  transform: scale(1.2);
}

/* FORCE: Remove bottom spacing completely */
.home-section + *,
body .home-section + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

/* FORCE: Ensure about section has no top spacing */
#aboutus,
.aboutus-section,
body #aboutus,
body .aboutus-section {
  margin-top: 0 !important;
  padding-top: 30px !important;
}

/* FORCE: Remove any potential header offset */
body,
html {
  margin: 0 !important;
  padding: 0 !important;
}

/* FORCE: Account for fixed header if present */
body.has-fixed-header .home-section,
html body.has-fixed-header .home-section,
body.has-fixed-header #home.home-section {
  height: calc(100vh - 73px) !important;
  min-height: calc(100vh - 73px) !important;
}

body.has-fixed-header .home-slider-container,
body.has-fixed-header .home-slider,
body.has-fixed-header .home-slide,
body.has-fixed-header .slide-background {
  height: calc(100vh - 73px) !important;
}

/* MOBILE OVERRIDES WITH MAXIMUM SPECIFICITY */
@media (max-width: 900px) {
  body .home-section,
  html body .home-section,
  #home.home-section {
    min-height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  body .home-slider-container,
  body .home-slider, 
  body .home-slide,
  html body .home-slider-container,
  html body .home-slider, 
  html body .home-slide {
    height: 100vh !important;
  }
  
  body .slide-background,
  html body .slide-background {
    height: 100vh !important;
  }
  
  body .slide-content,
  html body .slide-content {
    padding-top: 0 !important;
  }
  
  .hero-title { font-size: 60px; }
  .hero-subtitle { font-size: 40px; }
  .hero-tagline { font-size: 30px; }
  .hero-main-content { 
    margin-bottom: 30px;
  }
  .contact-button {
    padding: 10px 24px;
    font-size: 14px;
  }
  body .slider-controls,
  html body .slider-controls {
    bottom: 15px !important;
  }
  
  /* Mobile with fixed header */
  body.has-fixed-header .home-section,
  html body.has-fixed-header .home-section,
  body.has-fixed-header #home.home-section {
    height: calc(100vh - 115px) !important;
    min-height: calc(100vh - 115px) !important;
  }
  
  body.has-fixed-header .home-slider-container,
  body.has-fixed-header .home-slider, 
  body.has-fixed-header .home-slide,
  body.has-fixed-header .slide-background {
    height: calc(100vh - 115px) !important;
  }
  
  /* FORCE: Mobile about section spacing */
  #aboutus,
  .aboutus-section,
  body #aboutus,
  body .aboutus-section {
    padding-top: 20px !important;
  }
}

@media (max-width: 650px) {
  body .slide-background,
  html body .slide-background {
    background-position: 50% 50% !important;
  }
  body .slide-content,
  html body .slide-content {
    margin-left: 3% !important;
    padding-top: 0 !important;
    width: 94% !important;
  }
  .hero-main-content {
    margin-bottom: 20px;
    margin-left: 0;
    width: 100%;
  }
  .hero-description {
    margin-left: 0;
    width: 100%;
  }
  .hero-title { font-size: 45px; }
  .hero-subtitle { font-size: 30px; }
  .hero-tagline { 
    font-size: 25px; 
    white-space: normal;
  }
  .hero-description p {
    font-size: 14px;
  }
  .contact-button {
    padding: 8px 20px;
    font-size: 12px;
  }
  body .slider-controls,
  html body .slider-controls {
    bottom: 10px !important;
  }
  .slider-dots .dot {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 450px) {
  body .home-section,
  html body .home-section,
  #home.home-section {
    padding: 0 !important;
    min-height: 100vh !important;
  }
  
  body .home-slider-container,
  body .home-slider, 
  body .home-slide,
  html body .home-slider-container,
  html body .home-slider, 
  html body .home-slide {
    height: 100vh !important;
  }
  
  body .slide-background,
  html body .slide-background {
    background-position: 50% 50% !important;
    background-size: cover !important;
    height: 100vh !important;
  }
  body .slide-content,
  html body .slide-content {
    margin-left: 15px !important;
    margin-right: 15px !important;
    padding-top: 0 !important;
    width: calc(100% - 30px) !important;
  }
  .hero-main-content {
    width: 100%;
  }
  .hero-title { font-size: 36px; }
  .hero-subtitle { font-size: 24px; }
  .hero-tagline { 
    font-size: 18px; 
    white-space: normal;
  }
  .hero-description p {
    font-size: 12px;
  }
  .contact-button {
    padding: 6px 16px;
    font-size: 11px;
  }
  body .slider-controls,
  html body .slider-controls {
    bottom: 10px !important;
  }
  .slider-dots .dot {
    width: 8px;
    height: 8px;
  }
  
  /* Mobile with fixed header */
  body.has-fixed-header .home-section,
  html body.has-fixed-header .home-section,
  body.has-fixed-header #home.home-section {
    height: calc(100vh - 113px) !important;
    min-height: calc(100vh - 113px) !important;
  }
  
  body.has-fixed-header .home-slider-container,
  body.has-fixed-header .home-slider, 
  body.has-fixed-header .home-slide,
  body.has-fixed-header .slide-background {
    height: calc(100vh - 113px) !important;
  }
  
  /* FORCE: Small screen about section spacing */
  #aboutus,
  .aboutus-section,
  body #aboutus,
  body .aboutus-section {
    padding-top: 15px !important;
  }
}

@media (max-width: 667px) {
  body .slide-background,
  html body .slide-background {
    background-position: center center !important;
    background-size: cover !important;
    width: 100vw !important;
    height: 100vh !important;
    left: 0 !important;
    top: 0 !important;
    position: absolute !important;
    min-height: 100vh !important;
    min-width: 100vw !important;
  }

  body .home-slide,
  html body .home-slide {
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    overflow: hidden !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }
  body .home-slider-container, 
  body .home-slider,
  html body .home-slider-container, 
  html body .home-slider {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    overflow: hidden !important;
  }
  
  /* Mobile with fixed header */
  body.has-fixed-header .slide-background,
  html body.has-fixed-header .slide-background {
    height: calc(100vh - 115px) !important;
    min-height: calc(100vh - 115px) !important;
  }

  body.has-fixed-header .home-slide,
  html body.has-fixed-header .home-slide {
    height: calc(100vh - 115px) !important;
    min-height: calc(100vh - 115px) !important;
  }
  
  body.has-fixed-header .home-slider-container, 
  body.has-fixed-header .home-slider,
  html body.has-fixed-header .home-slider-container, 
  html body.has-fixed-header .home-slider {
    height: calc(100vh - 115px) !important;
    min-height: calc(100vh - 115px) !important;
  }
}

@media screen and (max-width: 375px) and (max-height: 667px) {
  body .home-section,
  html body .home-section,
  #home.home-section {
    padding: 0 !important;
    min-height: 100vh !important;
  }
  
  body .home-slider-container,
  body .home-slider, 
  body .home-slide,
  html body .home-slider-container,
  html body .home-slider, 
  html body .home-slide {
    height: 100vh !important;
  }
  
  body .slide-background,
  html body .slide-background {
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    transform: scale(1.2) !important;
    height: 100vh !important;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .hero-title {
    font-size: 30px;
  }
  
  .hero-tagline {
    font-size: 16px;
    white-space: normal;
  }
  
  .hero-description p {
    font-size: 11px;
  }
  
  body .slide-content,
  html body .slide-content {
    padding-top: 2px !important;
  }
  
  .hero-main-content {
    margin-top: 0 !important;
  }
  
  /* Mobile with fixed header */
  body.has-fixed-header .home-section,
  html body.has-fixed-header .home-section,
  body.has-fixed-header #home.home-section {
    height: calc(100vh - 112px) !important;
    min-height: calc(100vh - 112px) !important;
  }
  
  body.has-fixed-header .home-slider-container,
  body.has-fixed-header .home-slider, 
  body.has-fixed-header .home-slide,
  body.has-fixed-header .slide-background {
    height: calc(100vh - 112px) !important;
  }
}