/* Custom CSS Variables for AQIL Tech Group Brand Colors */
:root {
  --aqil-blue: #1e3a8a;
  --aqil-teal: #14b8a6;
  --aqil-light-blue: #dbeafe;
  --aqil-light-teal: #f0fdfa;
  --aqil-dark-gray: #374151;
  --aqil-light-gray: #f9fafb;
  --aqil-red: #dc3545;
}

/* Custom Bootstrap Theme Overrides */
.btn-aqil-primary {
  background-color: var(--aqil-blue);
  border-color: var(--aqil-blue);
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-aqil-primary:hover {
  background-color: #1e40af;
  border-color: #1e40af;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-aqil-secondary {
  background-color: transparent;
  border: 2px solid var(--aqil-teal);
  color: var(--aqil-teal);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-aqil-secondary:hover {
  background-color: var(--aqil-teal);
  border-color: var(--aqil-teal);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.text-aqil-blue {
  color: var(--aqil-blue) !important;
}

.text-aqil-teal {
  color: var(--aqil-teal) !important;
}

.text-aqil-red {
  color: var(--aqil-red) !important;
}

.bg-aqil-blue {
  background-color: var(--aqil-blue) !important;
}

.bg-aqil-teal {
  background-color: var(--aqil-teal) !important;
}

.bg-aqil-light-blue {
  background-color: var(--aqil-light-blue) !important;
}

.bg-aqil-light-teal {
  background-color: var(--aqil-light-teal) !important;
}

.bg-gradient-aqil {
  background: linear-gradient(135deg, var(--aqil-blue) 0%, var(--aqil-teal) 100%);
}

/* Custom Navbar Styles */
.navbar-aqil {
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-aqil .navbar-brand {
  font-weight: bold;
  font-size: 1.8rem;
}

.navbar-aqil .nav-link {
  color: var(--aqil-dark-gray) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
  position: relative;
}

.navbar-aqil .nav-link:hover {
  color: var(--aqil-blue) !important;
}

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

.navbar-aqil .nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Hero Section Styles */
.hero-section {
  background: linear-gradient(135deg, var(--aqil-light-blue) 0%, var(--aqil-light-teal) 100%);
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.logo-hexagon {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, var(--aqil-blue) 0%, var(--aqil-teal) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
  transform: rotate(12deg);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
  animation: float 3s ease-in-out infinite;
}

.logo-hexagon::before {
  content: '⚡';
  font-size: 4rem;
  color: white;
  transform: rotate(-12deg);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes float {

  0%,
  100% {
    transform: rotate(12deg) translateY(0px);
  }

  50% {
    transform: rotate(12deg) translateY(-10px);
  }
}

/* Service Cards */
.service-card {
  transition: all 0.4s ease;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.service-card .card-body {
  padding: 1.5rem !important;
}

.service-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--aqil-blue) 0%, var(--aqil-teal) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 5px 15px rgba(30, 58, 138, 0.3);
}

.service-icon::before {
  content: '⚡';
  font-size: 2.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-header {
  background: linear-gradient(135deg, var(--aqil-blue) 0%, var(--aqil-teal) 100%);
  color: white;
  padding: 1.5rem 1rem;
  margin: 0;
  text-align: center;
  border-radius: 20px 20px 0 0;
  position: relative;
  overflow: hidden;
}

.service-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  pointer-events: none;
}

.service-header h4 {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Contact Form Styles */
.form-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--aqil-blue);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
  transform: translateY(-2px);
}

.form-select {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-select:focus {
  border-color: var(--aqil-blue);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

/* Contact Info Cards */
.contact-info-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border-left: 4px solid var(--aqil-teal);
}

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

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--aqil-blue) 0%, var(--aqil-teal) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* About Section Styles */
.about-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-icon {
  width: 70px;
  height: 70px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Section Spacing */
.section-padding {
  padding: 6rem 0;
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

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

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, var(--aqil-blue) 0%, var(--aqil-teal) 100%);
  color: white;
  padding: 3rem 0 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }

  .logo-hexagon {
    width: 120px;
    height: 120px;
  }

  .logo-hexagon::before {
    font-size: 3rem;
  }

  .navbar-aqil .navbar-brand {
    font-size: 1.5rem;
  }

  .service-card {
    margin-bottom: 2rem;
  }

  .section-padding {
    padding: 4rem 0;
  }
}

@media (max-width: 576px) {
  .hero-section {
    min-height: 60vh;
  }

  .logo-hexagon {
    width: 100px;
    height: 100px;
  }

  .logo-hexagon::before {
    font-size: 2.5rem;
  }
}