:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --bg-light: #f8fafc;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.banner {
  background-image: linear-gradient(135deg, rgba(99, 102, 241, 0.75), rgba(139, 92, 246, 0.7)), url(../img/hero-bg.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
}

* {
  font-family: 'Inter', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  line-height: 1.7;
  color: var(--text-dark);
}

p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-light);
  font-weight: 400;
}

.primary-button a {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

.primary-button a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.secondary-button a {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
}

.secondary-button a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.border-button a {
  border: 2px solid #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.border-button a:hover {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.section-heading h4 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-heading p {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.8;
}

#menu-wrapper {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  background-color: rgba(255, 255, 255, 0.98);
  margin: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.main-header {
  top: 20px !important;
}

.navbar-brand {
  color: var(--text-dark) !important;
  font-weight: 700;
  transition: all 0.3s ease;
  font-size: 20px;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand img {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
}

.navbar-brand:hover {
  color: var(--primary-color) !important;
}

.menu-first li a {
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  color: var(--text-light);
  letter-spacing: 0.3px;
  position: relative;
}

.menu-first li a:hover {
  color: var(--text-dark) !important;
}

.menu-first li a::after {
  content: '';
  position: absolute;
  bottom: 25px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.menu-first li a:hover::after {
  transform: scaleX(1);
}

.menu-first ul li.active a {
  background: transparent;
  color: var(--primary-color) !important;
  font-weight: 600;
  border-radius: 0;
  padding: 0px 20px;
  line-height: 80px;
  margin-top: 0;
}

.menu-first ul li.active a::after {
  transform: scaleX(1);
  height: 3px;
}

.navbar-inverse .navbar-nav>.active>a, 
.navbar-inverse .navbar-nav>.active>a:hover, 
.navbar-inverse .navbar-nav>.active>a:focus {
  background: transparent;
  color: var(--primary-color) !important;
}

.navbar-inverse .navbar-toggle {
  border: 2px solid var(--primary-color);
  background-color: transparent;
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 18px;
  margin-right: 10px;
}

.navbar-inverse .navbar-toggle .icon-bar {
  background-color: var(--primary-color);
  height: 2px;
  border-radius: 2px;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
  background-color: var(--primary-color);
}

.navbar-inverse .navbar-toggle:hover .icon-bar,
.navbar-inverse .navbar-toggle:focus .icon-bar {
  background-color: #fff;
}

@media (max-width: 767px) {
  #menu-wrapper {
    margin: 0 10px;
    border-radius: 10px;
  }
  
  .menu-first li a::after {
    display: none;
  }
  
  .menu-first ul li.active a {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff !important;
  }
}

.banner {
  position: relative;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.7) 0%, rgba(139, 92, 246, 0.7) 100%);
}

.banner-content {
  position: relative;
  z-index: 1;
  padding: 300px 0px 220px 0px;
}

.banner-content h2 {
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.banner-content h6 {
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.95;
}

.intro {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  padding: 100px 0px;
  position: relative;
  overflow: hidden;
}

.intro::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.intro h4 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.intro h6 {
  font-size: 18px;
  letter-spacing: 2px;
  opacity: 0.95;
}

#about .first-service {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#about .first-service:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

#about .second-service {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#about .second-service:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

#about .third-service {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#about .third-service:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

#about .service-item {
  padding: 140px 50px;
}

#about .service-item h4 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

#about .service-item p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.95;
}

#about .service-item .icon {
  width: 80px;
  height: 80px;
  line-height: 84px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  transition: all 0.3s ease;
}

#about .service-item:hover .icon {
  transform: scale(1.1) rotate(5deg);
  background-color: rgba(255, 255, 255, 0.25);
}

.what-we-do .list-item {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 50px 20px;
  margin: 15px 5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.what-we-do .list-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.what-we-do .tabs .active .list-item {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl) !important;
}

.what-we-do .list-item .icon {
  width: 100px;
  height: 100px;
  line-height: 100px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.what-we-do .tabs .active .list-item .icon {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.what-we-do .list-item h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.what-we-do .tab-content-services .left-text h4 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.what-we-do .tab-content-services .left-text p {
  font-size: 17px;
  line-height: 1.8;
}

.what-we-do .tab-content-services .right-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.what-we-do .tab-content-services .right-image img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

#contact input,
#contact textarea {
  border-radius: 12px;
  background-color: var(--bg-light);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  font-size: 16px;
}

#contact input:focus,
#contact textarea:focus {
  background-color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

#contact button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 8px;
  padding: 15px 32px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  border: none;
}

#contact button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  padding: 60px 0 0 0;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

footer .footer-content {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer .footer-brand {
  text-align: left;
}

footer .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

footer .footer-logo img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

footer .footer-logo span {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

footer .footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

footer .footer-links h5,
footer .footer-contact h5 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

footer .footer-links ul li {
  margin-bottom: 12px;
}

footer .footer-links ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
  text-decoration: none;
}

footer .footer-links ul li a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

footer .footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 10px;
}

footer .footer-contact p i {
  color: var(--primary-light);
  margin-right: 10px;
  width: 16px;
}

footer .back-to-top {
  margin-top: 20px;
}

footer .back-to-top a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  transition: all 0.3s ease;
  padding: 0;
}

footer .back-to-top a i {
  font-size: 20px;
  color: #fff;
}

footer .back-to-top a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

footer .footer-bottom {
  padding: 25px 0;
  text-align: center;
}

footer .footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin: 0;
  padding: 0;
  text-transform: none;
}

@media (max-width: 991px) {
  footer .footer-brand,
  footer .footer-links,
  footer .footer-contact {
    text-align: center;
    margin-bottom: 30px;
  }
  
  footer .footer-logo {
    justify-content: center;
  }
  
  footer .back-to-top {
    display: flex;
    justify-content: center;
  }
}

footer .social-icons a:hover {
  color: var(--primary-light);
}

.portfolio-section {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.owl-page span {
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.owl-page.active span {
  background: var(--accent-color);
  transform: scale(1.3);
}

@media (max-width: 991px) {
  .banner-content h2 {
    font-size: 52px;
  }
  
  .section-heading h4 {
    font-size: 32px;
  }
  
  .intro h4 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .banner-content h2 {
    font-size: 42px;
  }
  
  .banner-content {
    padding: 220px 0px 160px 0px;
  }
  
  .section-heading h4 {
    font-size: 28px;
  }
  
  .section-heading p {
    padding: 0px 5%;
  }
  
  .intro h4 {
    font-size: 32px;
  }
  
  #about .service-item {
    padding: 80px 30px;
  }
}

.hero-description {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin: 25px 0 40px 0;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.banner .buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.banner .buttons li {
  list-style: none;
}

.banner .secondary-button a {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff !important;
}

.banner .secondary-button a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.services-section {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-title p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  margin-bottom: 30px;
}

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

.service-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(255,255,255,1), transparent);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-content {
  padding: 30px;
  position: relative;
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -65px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 28px;
  color: #fff;
}

.service-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
  letter-spacing: -0.3px;
}

.service-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-link:hover {
  gap: 12px;
  color: var(--primary-dark);
}

.service-link i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.service-link:hover i {
  transform: translateX(4px);
}

.what-we-do {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.what-we-do .section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.what-we-do .section-heading h4 {
  font-size: 38px;
  font-weight: 800;
}

.tabs li a {
  background: #fff !important;
  border-radius: 16px !important;
  transition: all 0.3s ease;
  border: 2px solid transparent !important;
}

.tabs li a:hover,
.tabs li a.active {
  border-color: var(--primary-color) !important;
  box-shadow: var(--shadow-md);
}

.tabs li a.active {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
}

.tabs li a.active .list-item h4 {
  color: #fff !important;
}

.list-item {
  padding: 25px 20px;
}

.list-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 12px;
}

.list-item .icon img {
  width: 50px;
  height: 50px;
  opacity: 0.8;
}

.tab-content-services {
  background: #fff;
  border-radius: 20px;
  padding: 50px;
  box-shadow: var(--shadow-lg);
  margin-top: 30px;
}

.tab-content-services h4 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.tab-content-services ol {
  padding-left: 20px;
}

.tab-content-services ol li {
  padding: 8px 0;
  color: var(--text-light);
  font-size: 16px;
}

#contact-us {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  padding: 100px 0;
}

#contact-us .section-heading {
  text-align: center;
  margin-bottom: 50px;
}

#contact-us input,
#contact-us textarea {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 15px 20px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fff;
}

#contact-us input:focus,
#contact-us textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  outline: none;
}

#contact-us .primary-button button,
#contact-us .primary-button input[type="submit"] {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border: none;
  padding: 16px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

#contact-us .primary-button button:hover,
#contact-us .primary-button input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

@media (max-width: 991px) {
  .service-card {
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    font-size: 34px;
  }
  
  .hero-description {
    font-size: 17px;
    padding: 0 20px;
  }
}

@media (max-width: 767px) {
  .services-section {
    padding: 60px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .tab-content-services {
    padding: 30px 20px;
  }
  
  .banner .buttons {
    flex-direction: column;
    align-items: center;
  }
}
