:root {
  --primary-color: #0f3054;
  --secondary-color: #f2a41d;
  --accent-color: #1e88e5;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --text-color: #333;
  --border-radius: 8px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
  padding-top: 110px;
}

/* Top Bar Styles */
.topbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
  z-index: 1030;
}

.topbar.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 40px;
  transition: all 0.3s ease;
}

.topbar.scrolled .logo {
  height: 30px;
}

.navbar-nav .nav-link {
  color: var(--dark-color);
  font-weight: 500;
  padding: 8px 15px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.btn-secondary-custom {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary-custom:hover {
  background-color: #e09515;
  border-color: #e09515;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 164, 29, 0.3);
  color: white;
}

/* Hero Slider */
.hero-slider {
  position: relative;
}

.hero-slider .carousel-item {
  height: 80vh;
  min-height: 500px;
}

.hero-slider .carousel-item img {
  object-fit: cover;
  height: 100%;
}

.hero-slider .carousel-caption {
  bottom: 30%;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
  left: 10%;
  right: 10%;
}

.hero-slider h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  margin-bottom: 20px;
}

.hero-slider p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 15px;
  position: relative;
}

.section-subtitle {
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* Product Cards */
.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-body {
  padding: 20px;
}

.product-body h5 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 10px;
}

.product-body p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Services Section */
.service-card {
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  border: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background: var(--secondary-color);
}

.service-card h4 {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* Project Cards */
.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 250px;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  color: #fff;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-overlay h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.project-overlay p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Video Section */
.video-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 0 15px;
  text-align: center;
}

.testimonial-content {
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
}

.testimonial-content:before,
.testimonial-content:after {
  content: '"';
  font-size: 3rem;
  color: rgba(44, 123, 229, 0.1);
  position: absolute;
}

.testimonial-content:before {
  top: -20px;
  left: -10px;
}

.testimonial-content:after {
  bottom: -40px;
  right: -10px;
}

.testimonial-author img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 3px solid var(--primary-color);
}

.testimonial-author h5 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: var(--text-color);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(rgba(15, 48, 84, 0.92), rgba(15, 48, 84, 0.92)),
    url("../images/contact-bg.jpg");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: white;
}

.contact-section .section-title {
  color: white;
}

.contact-section .section-title:after {
  background: var(--secondary-color);
}

.contact-info .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-info .contact-item i {
  background: var(--secondary-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-info .contact-item h5 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-info .contact-item p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.contact-form .form-control {
  padding: 12px 15px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
}

.contact-form .form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(242, 164, 29, 0.25);
  background: rgba(255, 255, 255, 0.15);
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-select {
  padding: 12px 15px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.contact-form .form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(242, 164, 29, 0.25);
}

.contact-form .form-select option {
  background: var(--primary-color);
  color: white;
}

/* Footer */
.footer-section {
  background: var(--dark-color);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-section h3,
.footer-section h4 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.copyright-text {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Parallax Effect 

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f3054;
}

.parallax .container {
    position: relative;
    z-index: 1;
    color: #fff;
}

.parallax .section-title,
.parallax .section-subtitle {
    color: #fff;
}

.parallax .section-title:after {
    background: #f2a41d;
}
*/

/* Responsive Styles */
@media (max-width: 1199.98px) {
  .hero-slider h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 991.98px) {
  body {
    padding-top: 90px;
  }

  .topbar {
    padding: 5px 0;
  }

  .logo {
    height: 30px;
    margin-left: 5px;
    margin-bottom: 10px;
  }

  .hero-slider .carousel-item {
    height: 70vh;
  }

  .hero-slider h1 {
    font-size: 2.2rem;
  }

  .hero-slider p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 767.98px) {
  .hero-slider .carousel-caption {
    bottom: 20%;
  }

  .hero-slider h1 {
    font-size: 1.8rem;
  }

  .project-card .project-overlay {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 575.98px) {
  body {
    padding-top: 60px;
  }

  .hero-slider .carousel-item {
    height: 60vh;
    min-height: 400px;
  }

  .hero-slider .carousel-caption {
    bottom: 10%;
  }

  .hero-slider h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .hero-slider p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}
