/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primary-color: #008DD2;
  --secondary-color: #00A0E3;
  --accent-color: #B0CB1F;
  --light-color: #f5f6fa;
  --dark-color: #2B2A29;
  --text-color: #333;
  --white: #fff;
  --gray: #6c757d;
  --light-gray: #f8f9fa;
  --border-color: #dee2e6;
  --box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease-in-out;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-color);
  scroll-behavior: smooth;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}

section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: var(--primary-color);
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: var(--transition);
}

.back-to-top i {
  font-size: 24px;
  color: var(--white);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--secondary-color);
  color: var(--white);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: var(--transition);
  z-index: 997;
  padding: 15px 0;
}

#header.header-scrolled {
  box-shadow: var(--box-shadow);
  padding: 10px 0;
  background: var(--white);
}

#header .logo {
  max-height: 60px;
}

.navbar {
  padding: 0;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.navbar-light .navbar-nav .nav-link {
  padding: 10px 15px;
  color: var(--dark-color);
  font-weight: 600;
  font-size: 16px;
}

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

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 75vh;
  background: linear-gradient(rgba(0, 141, 210, 0.8), rgba(0, 160, 227, 0.8)), url("../images/hero-bg.jpg") center center;
  background-size: cover;
  position: relative;
  padding: 120px 0 60px;
  margin-bottom: 0;
}

#hero:before {
  content: "";
  background: rgba(0, 141, 210, 0.6);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: var(--white);
}

#hero h2 {
  color: rgba(255, 255, 255, 0.8);
  margin: 10px 0 0 0;
  font-size: 24px;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: var(--dark-color);
  background: var(--accent-color);
  margin-top: 30px;
}

#hero .btn-get-started:hover {
  background: var(--white);
  color: var(--primary-color);
}

#hero .hero-img {
  text-align: right;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 991px) {
  #hero {
    height: 100vh;
    text-align: center;
  }
  #hero .hero-img {
    text-align: center;
    margin-top: 50px;
  }
  #hero .hero-img img {
    width: 50%;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
  }
  #hero .hero-img img {
    width: 70%;
  }
}

@media (max-width: 575px) {
  #hero .hero-img img {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# MSME Section
--------------------------------------------------------------*/
.msme .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-radius: 10px;
  z-index: 1;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.msme .icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 141, 210, 0.2);
}

.msme .icon {
  margin-bottom: 15px;
}

.msme .icon i {
  font-size: 48px;
  line-height: 1;
  color: var(--primary-color);
}

.msme .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
  color: var(--primary-color);
}

.msme .title a {
  color: var(--text-color);
  transition: var(--transition);
}

.msme .description {
  font-size: 15px;
  line-height: 24px;
  margin-bottom: 0;
}

.msme .btn-register {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: var(--dark-color);
  background: var(--accent-color);
}

.msme .btn-register:hover {
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .feature-item {
  padding: 30px;
  background: var(--white);
  box-shadow: var(--box-shadow);
  border-radius: 10px;
}

.features .feature-item h3 {
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.features .feature-item p {
  font-size: 15px;
  line-height: 24px;
  color: var(--text-color);
  margin-bottom: 0;
}

.features .btn-apply {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: var(--dark-color);
  background: var(--accent-color);
}

.features .btn-apply:hover {
  background: var(--primary-color);
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .client-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border-radius: 10px;
  z-index: 1;
  text-align: center;
  height: 100%;
}

.clients .client-box:hover {
  transform: translateY(-10px);
}

.clients .client-box i {
  font-size: 48px;
  line-height: 1;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

.clients .client-box h5 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info {
  border-top: 3px solid var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  padding: 30px;
  background: var(--white);
  width: 100%;
  box-shadow: var(--box-shadow);
}

.contact .info i {
  font-size: 20px;
  color: var(--primary-color);
  float: left;
  width: 44px;
  height: 44px;
  background: var(--light-gray);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: var(--transition);
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark-color);
}

.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-color);
}

.contact .info .email p {
  padding-top: 5px;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i, .contact .info .office-hours:hover i, .contact .info .registration:hover i {
  background: var(--primary-color);
  color: var(--white);
}

.contact .php-email-form {
  width: 100%;
  border-top: 3px solid var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
  padding: 30px;
  background: var(--white);
  box-shadow: var(--box-shadow);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: var(--primary-color);
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  color: var(--dark-color);
  transition: var(--transition);
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: var(--primary-color);
  color: var(--white);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--dark-color);
  padding: 0 0 30px 0;
  color: var(--white);
  font-size: 14px;
}

#footer .footer-top {
  background: var(--primary-color);
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 28px;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
  color: var(--white);
}

#footer .footer-top h4::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: var(--accent-color);
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: var(--white);
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: var(--transition);
}

#footer .footer-top .social-links a:hover {
  background: var(--accent-color);
  color: var(--white);
  text-decoration: none;
}

#footer .copyright {
  text-align: center;
  float: left;
  color: var(--white);
  padding-top: 30px;
}

#footer .credits {
  float: right;
  text-align: center;
  font-size: 13px;
  color: var(--white);
  padding-top: 30px;
}

#footer .credits a {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  #footer .copyright, #footer .credits {
    float: none;
    text-align: center;
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .section-title h2 {
    font-size: 28px;
  }
  
  .features .feature-item h3 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  
  .section-title {
    padding-bottom: 20px;
  }
  
  .section-title h2 {
    font-size: 24px;
    padding-bottom: 15px;
  }
  
  .contact .info h4 {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 22px;
  }
  
  .features .feature-item {
    padding: 20px;
  }
  
  .features .feature-item h3 {
    font-size: 18px;
  }
  
  .contact .info, .contact .php-email-form {
    padding: 20px;
  }
}
