:root {
  /* Blue to Green Gradient Palette */
  --gradient-blue-green: linear-gradient(135deg, #1c4487 0%, #2a6f8e 25%, #2c8c94 50%, #369b94 75%, #3db090 100%);
  
  /* Alternative Direction Variations */
  --gradient-blue-green-horizontal: linear-gradient(90deg, #1c4487 0%, #2a6f8e 25%, #2c8c94 50%, #369b94 75%, #3db090 100%);
  --gradient-blue-green-radial: radial-gradient(circle, #1c4487 0%, #2a6f8e 33%, #2c8c94 66%, #369b94 100%);
  
  /* Subtle Version */
  --gradient-blue-green-subtle: linear-gradient(135deg, #23548b 0%, #0d585c 50%, #369b94 100%);
  
  /* Gradient Stops (individual colors) */
  --deep-ocean: #1c4487;       /* Dark blue */
  --marine-blue: #2a6f8e;      /* Medium blue */
  --teal-transition: #2c8c94;  /* Blue-green */
  --fresh-teal: #369b94;       /* Green-blue */
  --aqua-green: #3db090;       /* Green with blue undertone */
}

:root {
  --primary-color: #6acdff;
  --accent-color: linear-gradient(90deg, #08204b 0%, #215184 25%, #218089 50%, #369b94 75%, #3db090 100%);
  --text-color: linear-gradient(90deg, #1c4487 0%, #2a6f8e 25%, #2c8c94 50%, #369b94 75%, #3db090 100%);
  --light-gray: #eae5e5;
  --dark-gray: #949494;
  --shadow: 0 10px 30px linear-gradient(135deg, #23548b 0%, #0d585c 50%, #369b94 100%);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   --gradient-blue-dark: #0c2d64;
            --gradient-blue-medium: #1d526b;
            --gradient-teal-dark: #2c8c94;
            --gradient-teal-medium: #369b94;
            --gradient-teal-light: #3db090;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Preloader Styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader-content {
  position: relative;
  width: 100%;
  max-width: 300px;
  text-align: center;
}

.logo-spinner-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 30px;
}

.preloader-logo {
  width: 220px;
  height: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  animation: pulse 2s infinite ease-in-out;
}

.spinner-track {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.spinner-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transform-origin: 50% 50%;
  animation: spin 2s infinite linear;
}

.dot-1 {
  top: 0;
  left: 50%;
  background: #3db090;
  animation-delay: 0s;
}
.dot-2 {
  top: 50%;
  left: 100%;
  background: #2c8c94;
  animation-delay: -0.5s;
}
.dot-3 {
  top: 100%;
  left: 50%;
  background: #1d526b;
  animation-delay: -1s;
}
.dot-4 {
  top: 50%;
  left: 0;
  background: #0c2d64;
  animation-delay: -1.5s;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateX(60px) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateX(60px) rotate(-360deg);
  }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

.preloader-text {
  color: black;
  font-size: 1.2rem;
  margin: 20px 0;
}

.loading-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0c2d64, #3db090);
  transition: width 0.3s ease;
}

.preloader.fade-out {
  opacity: 0;
}

/* Ensure no scrolling during preloader */
body.has-preloader {
  overflow: hidden;
  height: 100vh;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: black;
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px black;
}

/* Dark Gradient Footer */
.gil-footer-dark {
  position: relative;
  background:linear-gradient(135deg, var(--gradient-blue-dark) 0%, var(--gradient-blue-medium) 100%);
  color: rgba(255,255,255,0.9);
  margin-top: 120px;
}


/* Content Styling */
.footer-content {
  padding: 80px 0 50px;
  position: relative;
  z-index: 1;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 25px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.footer-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: rgba(61,176,144,0.5); /* Using the end gradient color */
}

/* Links & Social */
.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
  display: inline-block;
  line-height: 1.6;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #3db090;
  transform: translateY(-3px);
}

/* Contact Items */
.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  margin-right: 20px;
  color: #3db090;
  margin-top: 3px;
}

/* Bottom Bar */
.footer-bottom {
  background: linear-gradient(90deg, 
    rgba(9,16,27,0.7) 0%, 
    rgba(5,43,60,0.7) 50%, 
    rgba(9,16,27,0.7) 100%);
  padding: 25px 0;
  border-top: 1px solid rgba(61,176,144,0.15);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: white;
}

/* Grid Layout */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .gil-footer-dark {
    background:
   linear-gradient(135deg, var(--gradient-blue-dark) 0%, var(--gradient-blue-medium) 100%);
  }
  
  .footer-wave-dark {
    top: -80px;
    height: 80px;
  }
}

@media (max-width: 768px) {
  .footer-wave-dark {
    top: -60px;
    height: 60px;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
