/**
* Air Cooling Group - Main CSS File
* 
* This file contains all the styling for the Air Cooling Group website,
* including layout, colors, animations, and responsive design.
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primary-color: #0088cc;
  --secondary-color: #0d2735;
  --accent-color: #00a0e9;
  --text-color: #444444;
  --light-text: #ffffff;
  --dark-text: #212529;
  --light-bg: #f8f9fa;
  --dark-bg: #0d2735;
  --border-color: #e9ecef;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  --transition: all 0.3s ease-in-out;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

:root {
  --bs-primary: #6366f1;
  --bs-primary-rgb: 99, 102, 241;
  --bs-success: #10b981;
  --bs-success-rgb: 16, 185, 129;
  --bs-warning: #f59e0b;
  --bs-warning-rgb: 245, 158, 11;
}

body {
  background-color: #f8f9fa;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.card {
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 6px 6px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.job-item {
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.job-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.status-indicator {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.status-active {
  background-color: var(--bs-success);
}

.status-pending {
  background-color: var(--bs-warning);
}

.status-completed {
  background-color: #9ca3af;
}

.blink {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bs-success);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

.badge-outline {
  background-color: transparent;
  border: 1px solid var(--bs-primary);
  color: var(--bs-primary);
}

.job-deadline {
  font-size: 0.875rem;
  color: #6b7280;
}

.job-company {
  color: #6b7280;
  font-size: 0.875rem;
}

.section-title {
  font-weight: 600;
  color: #111827;
}

.status-text {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Custom animation for the card appearance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .job-item {
    flex-direction: column;
  }
  
  .job-status {
    margin-top: 1rem;
    align-self: flex-start;
  }
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  background-color: #fff;
  overflow-x: hidden;
}

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

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

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

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

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

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

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

.section-title p {
  margin-bottom: 0;
  font-size: 18px;
  color: #777;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  margin: 0 auto 20px;
}

/*--------------------------------------------------------------
# Dark Theme
--------------------------------------------------------------*/
.dark-theme {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.dark-theme .section-bg {
  background-color: #0a1e2a;
}

.dark-theme .section-title h2 {
  color: var(--light-text);
}

.dark-theme .card, 
.dark-theme .service-box, 
.dark-theme .company-box, 
.dark-theme .reference-box,
.dark-theme .count-box,
.dark-theme .info-box,
.dark-theme .testimonial-item,
.dark-theme .modal-content {
  background-color: #0a1e2a;
  color: var(--light-text);
  border-color: #1a3a4a;
}

.dark-theme .navbar a,
.dark-theme .footer-links a,
.dark-theme h1, 
.dark-theme h2, 
.dark-theme h3, 
.dark-theme h4, 
.dark-theme h5, 
.dark-theme h6 {
  color: var(--light-text);
}

.dark-theme .form-control {
  background-color: #1a3a4a;
  border-color: #2a4a5a;
  color: var(--light-text);
}

.dark-theme .form-control::placeholder {
  color: #aaa;
}

/*--------------------------------------------------------------
# Theme Toggle
--------------------------------------------------------------*/
.theme-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.theme-toggle:hover {
  background-color: var(--accent-color);
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Custom Cursor
--------------------------------------------------------------*/
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s;
  display: none;
}

@media (min-width: 992px) {
  .custom-cursor {
    display: block;
  }
}

.custom-cursor.hover {
  width: 40px;
  height: 40px;
  border-color: var(--accent-color);
  background-color: rgba(0, 136, 204, 0.1);
}

.custom-cursor.click {
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
}

#preloader .loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--light-bg);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  animation: spin 1s infinite linear;
}

#preloader.loaded {
  visibility: hidden;
  opacity: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# 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: 50%;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.back-to-top:hover {
  background: var(--accent-color);
  transform: translateY(-5px);
}

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 120px;
  transition: all 0.5s;
  z-index: 997;
  background: rgba(13, 39, 53, 0.9);
}

#header .logo img {
  max-height: 120px;
  transition: var(--transition);
}

#header .logo img:hover {
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: var(--transition);
}

.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: var(--primary-color);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: var(--transition);
  border-radius: var(--border-radius);
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: var(--text-color);
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: var(--primary-color);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
  color: #fff;
  display: none;
}

.mobile-nav-toggle.fa-times {
  color: #fff;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(13, 39, 53, 0.95);
    padding: 80px 0 0 0;
    transition: 0.3s;
    z-index: 9997;
    overflow-y: auto;
  }
  
  .navbar-mobile {
    right: 0;
  }
  
  .navbar ul {
    display: block;
    padding: 0 20px;
  }
  
  .navbar a, .navbar a:focus {
    padding: 10px 0;
    font-size: 16px;
  }
  
  .navbar .dropdown ul {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    background: none;
    box-shadow: none;
    padding-left: 20px;
  }
  
  .navbar .dropdown ul a {
    color: #fff;
  }
  
  .navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
    color: var(--primary-color);
  }
  
  .navbar .dropdown.dropdown-active > .dropdown-toggle::after {
    transform: rotate(-180deg);
  }
  
  .navbar .dropdown-active > ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: var(--secondary-color);
  position: relative;
  padding: 0;
  overflow: hidden;
}

#hero:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(13, 39, 53, 0) 0%, rgba(13, 39, 53, 0.8) 100%);
}

#hero .container {
  position: relative;
  z-index: 2;
  padding-top: 280px;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

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

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

#hero .btn-get-started:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#hero .btn-watch-video {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  padding: 10px 30px;
  border-radius: 50px;
  transition: var(--transition);
  margin: 10px 0 0 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

#hero .btn-watch-video i {
  margin-right: 10px;
  font-size: 20px;
  transition: var(--transition);
}

#hero .btn-watch-video:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

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

#hero .hero-img img {
  max-width: 80%;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Hero Slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Hero Waves Animation */
.hero-waves {
  display: block;
  width: 100%;
  height: 60px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
}

.wave1 use {
  animation: move-forever1 10s linear infinite;
  animation-delay: -2s;
}

.wave2 use {
  animation: move-forever2 8s linear infinite;
  animation-delay: -2s;
}

.wave3 use {
  animation: move-forever3 6s linear infinite;
  animation-delay: -2s;
}

@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }
  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate(-90px, 0%);
  }
  100% {
    transform: translate(85px, 0%);
  }
}

@media (max-width: 991px) {
  #hero {
    height: auto;
    padding: 120px 0 60px 0;
  }
  
  #hero .hero-img {
    text-align: center;
    margin-top: 50px;
  }
  
  #hero .hero-img img {
    max-width: 70%;
  }
  
  #hero h1 {
    font-size: 32px;
    line-height: 36px;
  }
  
  #hero h2 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

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

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

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}

.about .content p {
  margin-bottom: 0;
}

.about-img-container {
  position: relative;
  overflow: hidden;
}

.tilt-image {
  transition: var(--transition);
  transform-style: preserve-3d;
}

/* Progress Bars */
.progress-container {
  margin-bottom: 20px;
}

.progress-container h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.progress {
  height: 10px;
  background-color: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  background-color: var(--primary-color);
  transition: width 1.5s ease;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: white;
  border: 4px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid var(--primary-color);
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent var(--primary-color);
}

.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid var(--primary-color);
  border-width: 10px 10px 10px 0;
  border-color: transparent var(--primary-color) transparent transparent;
}

.right::after {
  left: -13px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-content h4 {
  margin-top: 0;
  color: var(--primary-color);
}

@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item::before {
    left: 60px;
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--primary-color) transparent transparent;
  }
  
  .left::after, .right::after {
    left: 18px;
  }
  
  .right {
    left: 0%;
  }
}

/* Counters */
.counters {
  padding: 30px 0;
}

.count-box {
  padding: 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

.count-box i {
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  padding: 12px;
  color: var(--primary-color);
  border-radius: 50px;
  line-height: 0;
}

.count-box span {
  font-size: 36px;
  display: block;
  font-weight: 700;
  color: var(--secondary-color);
  margin-top: 10px;
}

.count-box p {
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
}

.count-box .progress-bar-container {
  width: 100%;
  height: 4px;
  background: #e9ecef;
  margin-top: 10px;
  border-radius: 2px;
  overflow: hidden;
}

.count-box .progress-bar {
  height: 5px;
  background: var(--primary-color);
}

/*--------------------------------------------------------------
# Companies Section
--------------------------------------------------------------*/
.companies .card-grid {
  margin-top: 30px;
}

.company-box {
  padding: 0;
  width: 100%;
  position: relative;
  text-align: center;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-bottom: 30px;
  height: 300px;
}

/* Flip Card Effect */
.flip-card {
  perspective: 1000px;
  height: 300px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: var(--border-radius);
}

.flip-card-front {
  background-color: #fff;
  color: var(--text-color);
}

.flip-card-back {
  background-color: var(--primary-color);
  color: white;
  transform: rotateY(180deg);
}

.company-img {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-img img {
  max-height: 100%;
  transition: var(--transition);
}

.company-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.company-box p {
  font-size: 14px;
  margin-bottom: 20px;
}

.btn-learn-more {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.btn-learn-more:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .card-grid {
  margin-top: 30px;
}

.service-box {
  padding: 40px 20px;
  width: 100%;
  position: relative;
  text-align: center;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  margin-bottom: 30px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

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

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

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

.service-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.service-box p {
  font-size: 14px;
  margin-bottom: 20px;
}

.btn-service {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  color: #fff;
  background: var(--primary-color);
  border: none;
  transition: var(--transition);
}

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

/* Service Modals */
.modal-content {
  border-radius: var(--border-radius);
}

.modal-header {
  background: var(--primary-color);
  color: #fff;
  border-top-left-radius: var(--border-radius);
  border-top-right-radius: var(--border-radius);
}

.modal-header .btn-close {
  color: #fff;
  opacity: 1;
}

.modal-body ul {
  padding-left: 20px;
}

.modal-body ul li {
  margin-bottom: 10px;
}

/*--------------------------------------------------------------
# References Section
--------------------------------------------------------------*/
.referenciak .portfolio-container {
  margin-top: 30px;
}

#portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

#portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-color);
  margin-bottom: 10px;
  transition: var(--transition);
}

#portfolio-filters li:hover, #portfolio-filters li.filter-active {
  color: var(--primary-color);
}

.reference-box {
  padding: 20px;
  width: 100%;
  position: relative;
  text-align: center;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  margin-bottom: 30px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.reference-box:hover {
  transform: translateY(-5px);
}

.reference-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.reference-img img {
  max-height: 100%;
  transition: var(--transition);
}

.reference-box h4 {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 16px;
}

.reference-box h4 a {
  color: var(--secondary-color);
}

.reference-box h4 a:hover {
  color: var(--primary-color);
}

.reference-box p {
  font-size: 14px;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.8) 0%, rgba(13, 39, 53, 0.8) 100%), url("../img/testimonials-bg.jpg") center center;
  background-size: cover;
  padding: 80px 0;
  position: relative;
  color: #fff;
}

.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(13, 39, 53, 0.7);
}

.testimonials .section-title h2,
.testimonials .section-title p {
  color: #fff;
}

.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
  color: #fff;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 30px auto;
  font-size: 16px;
  color: #eee;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  position: relative;
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid rgba(255, 255, 255, 0.1);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .testimonial-item .profile {
  text-align: center;
  margin-bottom: 15px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #fff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 10px 0;
}

.testimonials .testimonial-item .stars {
  color: #ffc107;
  margin-bottom: 15px;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #fff;
  opacity: 1;
}

/*--------------------------------------------------------------
# FAQ Section
--------------------------------------------------------------*/
.faq .faq-list {
  padding: 0;
}

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

.faq .faq-list li {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq .faq-item {
  border: 0;
  border-radius: 0;
  padding: 20px;
  background: #fff;
  box-shadow: var(--box-shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .icon-help {
  font-size: 24px;
  color: var(--primary-color);
  margin-right: 15px;
}

.faq .icon-show, .faq .icon-close {
  font-size: 24px;
  color: var(--primary-color);
  margin-left: auto;
  transition: var(--transition);
}

.faq .icon-show {
  display: none;
}

.faq .collapsed .icon-show {
  display: inline-block;
}

.faq .collapsed .icon-close {
  display: none;
}

.faq .collapsed {
  color: var(--text-color);
}

.faq a {
  display: block;
  position: relative;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding-right: 30px;
  outline: none;
  cursor: pointer;
  color: var(--secondary-color);
}

.faq .collapsed:hover {
  color: var(--primary-color);
}

.faq .collapse {
  display: none;
}

.faq .collapse.show {
  display: block;
}

.faq .collapse p {
  margin-bottom: 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-box {
  color: var(--text-color);
  text-align: center;
  box-shadow: var(--box-shadow);
  padding: 20px 0 30px 0;
  border-radius: 20px;
  background: #fff;
  transition: var(--transition);
}

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

.contact .info-box i {
  font-size: 32px;
  color: var(--primary-color);
  border-radius: 50%;
  padding: 8px;
  margin-bottom: 20px;
}

.contact .info-box h3 {
  font-size: 20px;
  color: var(--secondary-color);
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .info-box a {
  color: var(--text-color);
}

.contact .info-box a:hover {
  color: var(--primary-color);
}

.contact .map-container {
  margin-top: 20px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.contact .interactive-map {
  width: 100%;
  height: 300px;
}

.contact .contact-form {
  box-shadow: var(--box-shadow);
  padding: 30px;
  border-radius: var(--border-radius);
  background: #fff;
}

.contact .form-group {
  margin-bottom: 20px;
}

.contact .form-control {
  height: 44px;
  border-radius: var(--border-radius);
  box-shadow: none;
  font-size: 14px;
  border: 1px solid #ddd;
}

.contact .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 136, 204, 0.25);
}

.contact textarea.form-control {
  height: auto;
}

.contact .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .error-message {
  display: none;
  color: #fff;
  background: var(--danger-color);
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: var(--border-radius);
}

.contact .sent-message {
  display: none;
  color: #fff;
  background: var(--success-color);
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: var(--border-radius);
}

.contact .btn-submit {
  background: var(--primary-color);
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: var(--transition);
  border-radius: 50px;
}

.contact .btn-submit:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

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

#footer .footer-top {
  background: #0d2735;
  padding: 60px 0 30px 0;
}

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

#footer .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-info h3 span {
  color: var(--primary-color);
}

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

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

#footer .social-links a:hover {
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
}

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

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

#footer .footer-links ul i {
  padding-right: 5px;
  color: var(--primary-color);
  font-size: 12px;
  line-height: 1;
}

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

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

#footer .footer-links ul a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

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

#footer .footer-logo img {
  max-height: 80px;
  margin-bottom: 20px;
}

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

#footer .newsletter h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

#footer .newsletter form {
  margin-top: 10px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
}

#footer .newsletter form input[type="email"] {
  border: 0;
  padding: 4px;
  width: calc(100% - 100px);
  background: transparent;
  outline: none;
}

#footer .newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 14px;
  padding: 0 20px;
  background: var(--primary-color);
  color: #fff;
  transition: var(--transition);
  border-radius: 50px;
}

#footer .newsletter form input[type="submit"]:hover {
  background: var(--accent-color);
}

#footer .copyright {
  padding-top: 30px;
  text-align: center;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

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

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

/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 1199px) {
  .card-wrapper {
    margin-bottom: 30px;
  }
}

@media (max-width: 991px) {
  section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
  
  .section-title p {
    font-size: 16px;
  }
}

@media (max-width: 575px) {
  .contact .info-box {
    margin-bottom: 20px;
  }
}

/* Animations */
@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: floating 4s ease-in-out infinite;
}

/* Fade In Animations */
.fade-in-left {
  animation: fadeInLeft 1s ease-in-out;
}

.fade-in-right {
  animation: fadeInRight 1s ease-in-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}