/* Custom CSS for GULF Group FZE - 2025 UI Enhancement */

:root {
  --primary-color: #e63946;
  --secondary-color: #1d3557;
  --accent-color: #457b9d;
  --light-color: #f1faee;
  --dark-color: #1d3557;
  --transition: all 0.3s ease-in-out;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

/* General Enhancements */
body {
  font-family: "Open Sans", sans-serif;
  color: #333;
  line-height: 1.6;
}

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

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

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

.section-title {
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 16px;
  letter-spacing: 3px;
  font-weight: 600;
}

.section-title h2::after {
  background: var(--primary-color);
  width: 60px;
  height: 2px;
  margin: 4px 10px;
}

.section-title p {
  font-size: 38px;
  margin-top: 10px;
  color: var(--dark-color);
}

/* Header Enhancements */
#header {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

#header.header-scrolled {
  background: rgba(29, 53, 87, 0.95);
  padding: 10px 0;
}

#header .logo {
  font-weight: 800;
}

#header .logo a span {
  color: var(--primary-color);
}

.navbar a {
  font-weight: 600;
  font-size: 14px;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 4px;
  transition: var(--transition);
}

.navbar a:hover, .navbar .active {
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section Enhancements */
#hero {
  height: 100vh;
}

#hero .slide-overlay {
  background: rgba(29, 53, 87, 0.7);
}

#hero h1 {
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#hero h2 {
  font-size: 28px;
  margin-top: 0;
  font-weight: 400;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

#hero .hero-btn-container {
  margin-top: 30px;
}

#hero .btn-get-started {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  background: var(--primary-color);
  color: #fff;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

#hero .btn-get-started:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#hero .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 0.8;
  background: #fff;
}

#hero .swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* About Section Enhancements */
.about {
  padding: 80px 0;
}

.about .content h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.about .content p {
  font-size: 16px;
  line-height: 1.8;
}

.about img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Clients Section Enhancements */
.clients {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.clients .swiper-slide {
  padding: 20px;
  transition: var(--transition);
}

.clients .swiper-slide img {
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
  max-height: 60px;
  width: auto;
}

.clients .swiper-slide:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* Features Section Enhancements */
.features {
  padding: 80px 0;
}

.features .icon-box {
  padding: 30px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.features .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.features .icon-box i {
  color: var(--primary-color);
  font-size: 40px;
  margin-bottom: 20px;
}

.features .icon-box h4 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-color);
}

.features .icon-box p {
  color: #666;
  line-height: 1.7;
}

.features .image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Services Section Enhancements */
.services {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.services .section-description p {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.services .icon-box {
  padding: 40px 30px;
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  border: none;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.services .icon-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow);
}

.services .icon-box:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 5px;
  bottom: 0;
  left: 0;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s;
}

.services .icon-box:hover:after {
  transform: scaleX(1);
  transform-origin: left;
}

.services .icon-box .icon {
  background: var(--primary-color);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.services .icon-box:hover .icon {
  background: var(--secondary-color);
}

.services .icon-box .icon i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.services .icon-box h4 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-color);
  font-weight: 600;
}

.services .icon-box p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  flex-grow: 1;
}

.services .service-link {
  margin-top: 20px;
}

.services .learn-more {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.services .learn-more i {
  margin-left: 5px;
  font-size: 14px;
  transition: var(--transition);
}

.services .learn-more:hover {
  color: var(--secondary-color);
}

.services .learn-more:hover i {
  transform: translateX(5px);
}

/* CTA Section Enhancements */
.cta {
  background: linear-gradient(rgba(29, 53, 87, 0.9), rgba(29, 53, 87, 0.9)), url("../img/cta-bg.jpg") fixed center center;
  background-size: cover;
  padding: 80px 0;
}

.cta h3 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Counts Section Enhancements */
.counts {
  padding: 80px 0;
}

.counts .content h3 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.counts .content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.counts .count-box {
  background: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  margin-bottom: 30px;
}

.counts .count-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.counts .count-box i {
  font-size: 42px;
  color: var(--primary-color);
  float: left;
  line-height: 0;
}

.counts .count-box span {
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  color: var(--dark-color);
  margin-left: 60px;
}

.counts .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-size: 15px;
  color: #666;
}

.counts .image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

/* Industries Section Enhancements */
#industries.services {
  background-color: #fff;
}

#industries .icon-box {
  background-color: #f8f9fa;
}

/* Contact Section Enhancements */
.contact {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.contact .section-description p {
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.contact .info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.contact .info > div {
  background: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  margin: 15px;
  text-align: center;
}

.contact .info > div:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.contact .info i {
  font-size: 24px;
  background: var(--primary-color);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 15px;
  float: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

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

.contact .info p {
  font-size: 16px;
  color: #666;
  padding: 0;
  margin: 0;
}

.contact .info p a {
  color: var(--primary-color);
  transition: var(--transition);
}

.contact .info p a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.contact .cta-contact {
  background: #fff;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

.contact .cta-contact h3 {
  font-size: 28px;
  margin-bottom: 25px;
  color: var(--dark-color);
}

.contact .btn-contact {
  display: inline-block;
  padding: 12px 32px;
  background: var(--primary-color);
  color: #fff;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact .btn-contact:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

#footer .copyright {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

#footer .copyright strong {
  font-weight: 600;
}

/* Back to top button */
.back-to-top {
  background: var(--primary-color);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  right: 20px;
  bottom: 20px;
  transition: var(--transition);
}

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

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

/* Responsive Enhancements */
@media (max-width: 992px) {
  #header {
    padding: 10px 0;
  }
  
  #hero h1 {
    font-size: 48px;
  }
  
  #hero h2 {
    font-size: 24px;
  }
  
  .section-title p {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 36px;
  }
  
  #hero h2 {
    font-size: 20px;
  }
  
  .section-title p {
    font-size: 28px;
  }
  
  .about .content h3 {
    font-size: 28px;
  }
  
  .cta h3 {
    font-size: 30px;
  }
  
  .counts .content h3 {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  #hero h1 {
    font-size: 30px;
  }
  
  #hero h2 {
    font-size: 18px;
  }
  
  .section-title p {
    font-size: 24px;
  }
  
  .contact .info > div {
    flex: 0 0 100%;
  }
}

/* Animation Enhancements */
.navbar a {
  position: relative;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.navbar a:hover::after,
.navbar .active::after {
  width: 80%;
  left: 10%;
}

/* Preloader Enhancement */
#preloader:before {
  border-color: var(--primary-color);
  border-top-color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}