/* Critical CSS for above-the-fold content */
@charset "UTF-8";

/* Import optimized Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap");

/* Reset and base styles */
* {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #f1f7fe;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
  font-family: 'Public Sans', sans-serif;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-inner {
  text-align: center;
}

.preloader-icon {
  display: inline-block;
}

.preloader-icon span {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #ff6b6b;
  border-radius: 50%;
  margin: 0 5px;
  animation: preloader 1.4s infinite ease-in-out both;
}

.preloader-icon span:nth-child(1) {
  animation-delay: -0.32s;
}

.preloader-icon span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes preloader {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
}

.header__bottom {
  padding: 15px 0;
}

.navbar-brand img {
  max-height: 40px;
}

/* Banner */
.banner {
  padding: 120px 0 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.banner__content {
  color: #fff;
}

.banner__title h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.banner__title p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Buttons */
.default-btn {
  display: inline-block;
  padding: 15px 30px;
  background: #ff6b6b;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.default-btn:hover {
  background: #ff5252;
  color: #fff;
  transform: translateY(-2px);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

.col-lg-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 15px;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

/* Animations */
.wow {
  visibility: hidden;
}

.fadeInLeft {
  animation-name: fadeInLeft;
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Images */
.banner__thumb img {
  max-width: 100%;
  height: auto;
}

/* Scroll to top */
.scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #ff6b6b;
  color: #fff;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  text-decoration: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scrollToTop.show {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 991px) {
  .banner__title h2 {
    font-size: 2.5rem;
  }
  .col-lg-4, .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .banner__title h2 {
    font-size: 2rem;
  }
  .banner {
    padding: 100px 0 60px;
  }
}
