/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-primary {
  color: #ffc107 !important;
}

.btn-primary {
  background-color: #4e57d4 !important;
  border-color: #4e57d4 !important;
}

.btn-outline-primary {
  color: #4e57d4 !important;
  border-color: #4e57d4 !important;
}

.btn-outline-primary:hover {
  background-color: #4e57d4 !important;
  color: #fff !important;
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-brand h2 {
  margin-bottom: 0;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #4e57d4 !important;
}

/* Media Queries */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  html {
    font-size: 18px;
  }
}

/* Medium devices (tablets, between 768px and 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  html {
    font-size: 16px;
  }

  .container {
    width: 95%;
  }
}

/* Small devices (landscape phones, between 576px and 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  html {
    font-size: 15px;
  }

  .container {
    width: 100%;
    padding: 0 10px;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  html {
    font-size: 14px;
  }

  .container {
    width: 100%;
    padding: 0 8px;
  }
}

/* Utility classes */
.hidden {
  display: none;
}

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

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

/* Sections */
section {
  padding: 80px 0;
}

/* Hero Section */
#home {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.hero-content .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Services Section */
.service-card {
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

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

.service-icon {
  height: 80px;
  width: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(78, 87, 212, 0.1);
}

/* About Section */
.icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Portfolio Section */
.portfolio-slider .slick-slide {
  padding: 10px;
}

.portfolio-item img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.portfolio-slider .slick-prev,
.portfolio-slider .slick-next,
.testimonial-slider .slick-prev,
.testimonial-slider .slick-next {
  width: 40px;
  height: 40px;
  background-color: #4e57d4;
  border-radius: 50%;
  z-index: 1;
}

.portfolio-slider .slick-prev:before,
.portfolio-slider .slick-next:before,
.testimonial-slider .slick-prev:before,
.testimonial-slider .slick-next:before {
  font-size: 20px;
  opacity: 1;
}

.portfolio-slider .slick-prev {
  left: -20px;
}

.portfolio-slider .slick-next {
  right: -20px;
}

.portfolio-slider .slick-dots,
.testimonial-slider .slick-dots {
  bottom: -40px;
}

.portfolio-slider .slick-dots li button:before,
.testimonial-slider .slick-dots li button:before {
  font-size: 12px;
  color: #4e57d4;
}

/* Testimonials Section */
.testimonial-slider .slick-slide {
  padding: 10px;
}

/* Contact Section */
.contact-info,
.contact-form {
  border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
  border-color: #4e57d4;
  box-shadow: 0 0 0 0.25rem rgba(78, 87, 212, 0.25);
}

/* Footer */
footer {
  background-color: #212529;
}

footer a:hover {
  color: #4e57d4 !important;
}

/* Animations */
.service-card,
.portfolio-item,
.testimonial-item {
  transition: transform 0.3s ease;
}

.service-card:hover,
.portfolio-item:hover,
.testimonial-item:hover {
  transform: translateY(-10px);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
}

.rounded-4 {
  border-radius: 10px;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.preloader .spinner-border {
  width: 3rem;
  height: 3rem;
  color: #4e57d4;
}
img {
  max-width: 100%;
  height: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Forms */
input,
textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}
