/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #e63946;
  --primary-dark: #d12a38;
  --primary-light: #f87b85;
  --secondary: #457b9d;
  --secondary-dark: #2c5c7c;
  --secondary-light: #6d9cbc;
  --dark-blue: #1d3557;
  --light-blue: #a8dadc;
  --bg-light: #f7f9fb;
  --text-dark: #1e293b;
  --text-light: #f1faee;
  --text-muted: #64748b;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --border-radius: 8px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.5;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.5s;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.btn:active::after {
  height: 300%;
  opacity: 1;
  transition: 0s;
}

.btn-secondary {
  background-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.section-title {
  position: relative;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

.text-danger {
  color: var(--primary) !important;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInLeft {
  from {
    transform: translate3d(-100%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInRight {
  from {
    transform: translate3d(100%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes floatUpRandom {
  0% {
    transform: translateY(100vh) translateX(var(--start-x, 0));
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(var(--random-x, 0));
    opacity: 0;
  }
}

@keyframes floatUpLeft {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
    left: 50px;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(var(--random-x, 0));
    opacity: 0;
    left: 50px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes glow {
  0% { box-shadow: 0 0 5px rgba(230, 57, 70, 0.5); }
  50% { box-shadow: 0 0 20px rgba(230, 57, 70, 0.8); }
  100% { box-shadow: 0 0 5px rgba(230, 57, 70, 0.5); }
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes sparkle-animation {
  0% {
    left: -40%;
  }
  50% {
    left: 130%;
  }
  100% {
    left: 130%;
  }
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ===== TOP BAR ===== */
.top-bar {
  background-color: var(--dark-blue);
  color: var(--text-light);
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1000;
}

.top-bar a {
  color: var(--text-light);
  opacity: 0.9;
}

.top-bar a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.top-bar .social-links a {
  margin: 0 8px;
  font-size: 1rem;
  transition: var(--transition);
}

.top-bar .social-links a:hover {
  transform: translateY(-2px);
}

.register-pulse {
  background-color: var(--primary);
  border-radius: 4px;
  animation: pulse 2s infinite;
  font-weight: 500;
  padding: 6px 12px;
  color: white !important;
  text-decoration: none;
}

.ieee-titles-dropdown {
  position: relative;
  z-index: 1001;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: white;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.navbar-brand {
  margin-left: 5.5rem;
  margin-right: auto;
  padding-right: 2rem;
  font-size: 2rem;
  font-weight: 1500;
  position: relative;
}

.navbar-brand span:first-child,
.navbar-brand span:last-child {
  color: var(--dark-blue);
}

.navbar-brand span.logo-red {
  color: var(--primary);
  animation: pulse 2s infinite;
}

.nav-item {
  margin: 0 15px;
}

.dropdown-item:hover {
  color: var(--primary);
  background-color: rgba(230, 57, 70, 0.05);
  padding-left: 2rem;
}

.dropdown-item:hover::before {
  width: 0.5rem;
  opacity: 1;
}

.dropdown-menu {
  z-index: 1100 !important;
}

.dropdown-menu a {
  color: #333 !important;
}

.dropdown-menu a:hover {
  color: #000 !important;
  filter: brightness(1.2);
}

/* ===== HERO SECTION ===== */
.hero-slider {
  position: relative;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
}

.slider-container {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
}

.slide-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 20px;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.8s ease-out;
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

.slide-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero-buttons .btn {
  padding: 12px 30px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
  background: var(--primary);
  border: none;
  animation: glow 3s infinite;
}

.hero-buttons .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.hero-buttons .btn-outline-light:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  z-index: 10;
}

.slider-button:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.1);
}

.slider-button.prev {
  left: 20px;
}

.slider-button.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* ===== PROJECT CATEGORIES ===== */
.project-categories {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.project-box {
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.project-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
  transform: translateZ(-1px);
}

.project-box:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: var(--shadow-lg);
}

.project-box:hover::before {
  opacity: 1;
}

.project-box:hover i,
.project-box:hover h5 {
  color: white;
}

.project-box:hover p {
  color: rgba(255, 255, 255, 0.9);
}

.project-box i {
  transition: var(--transition);
  font-size: 2.5rem;
}

.project-box h5 {
  font-size: 1.25rem;
  margin: 1rem 0;
  transition: var(--transition);
}

.project-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

/* ===== PROCESS TIMELINE ===== */
.process-timeline {
  padding: 5rem 0;
  background-color: #fff;
}

.process-carousel {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  gap: 1.5rem;
  padding: 1rem 0;
  margin: 0 3rem;
}

.process-carousel::-webkit-scrollbar {
  display: none;
}

.process-card {
  flex: 0 0 300px;
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  cursor: pointer;
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
  transition: var(--transition);
}

.process-card:hover {
  transform: translateY(-5px) translateZ(10px);
  box-shadow: var(--shadow-lg);
}

.process-card:hover::before {
  width: 100%;
  opacity: 0.05;
}

.process-card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  transition: var(--transition);
  position: relative;
}

.process-card h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  position: relative;
}

.process-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.scroll-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
}

.scroll-btn.left {
  left: 0;
}

.scroll-btn.right {
  right: 0;
}

/* ===== HAPPY CLIENTS ===== */
.happy-clients {
  padding: 5rem 0;
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.happy-clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="0" cy="0" r="20" fill="rgba(230,57,70,0.03)"/><circle cx="80" cy="90" r="40" fill="rgba(69,123,157,0.03)"/></svg>');
  background-size: cover;
  opacity: 0.5;
}

.stats-item {
  text-align: center;
  padding: 2rem;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stats-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.stats-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stats-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.stats-label {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 500;
}

.client-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  height: 100%;
  position: relative;
  transition: var(--transition);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.client-card:hover {
  transform: rotateY(5deg);
  box-shadow: var(--shadow-lg);
}

.client-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  margin-bottom: 1rem;
}

.client-quote {
  font-style: italic;
  position: relative;
  padding: 0 1rem;
}

.client-quote::before,
.client-quote::after {
  content: '"';
  font-size: 2rem;
  color: var(--primary);
  position: absolute;
  opacity: 0.3;
}

.client-quote::before {
  top: -1rem;
  left: 0;
}

.client-quote::after {
  bottom: -1.5rem;
  right: 0;
}

.rating-stars {
  position: relative;
  display: inline-block;
  font-size: 0;
  letter-spacing: -2px;
}

.rating-stars::before {
  content: '★★★★★';
  color: #ddd;
  font-size: 1.2rem;
  letter-spacing: normal;
}

.rating-stars span {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.rating-stars span::before {
  content: '★★★★★';
  color: #ffc107;
  font-size: 1.2rem;
  letter-spacing: normal;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  background: linear-gradient(135deg, var(--secondary), var(--dark-blue));
  color: var(--text-light);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="20" cy="20" r="20" fill="rgba(255,255,255,0.05)"/><circle cx="70" cy="70" r="30" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: cover;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.contact-info-item {
  display: flex;
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-info-icon {
  background-color: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  transition: var(--transition);
}

.contact-info-item:hover .contact-info-icon {
  background-color: var(--primary);
  transform: scale(1.1);
}

.contact-info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-info-item p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.contact-form {
  padding: 3rem;
}

.contact-form h3 {
  margin-bottom: 2rem;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.contact-form h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

.contact-form .form-control {
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  padding: 0.8rem 0.5rem;
  box-shadow: none;
  transition: var(--transition);
}

.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: none;
}

.contact-form .btn {
  background-color: var(--primary);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
}

.contact-form .btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

/* ===== FLOATING CONTACT ===== */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 998;
  display: flex;
  flex-direction: column;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: var(--transition);
  font-size: 1.5rem;
  color: white;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.floating-btn .tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #333;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  white-space: nowrap;
}

.floating-btn .tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #333;
}

.floating-btn:hover .tooltip {
  opacity: 1;
  right: 75px;
}

.whatsapp {
  background-color: #25d366;
}

.call {
  background-color: var(--primary);
}

.email {
  background-color: var(--secondary);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* ===== PARACHUTE ANIMATION ===== */
.parachute-container {
  position: fixed;
  bottom: -100px;
  z-index: 997;
  animation: floatUpRandom 20s linear infinite;
  pointer-events: none;
  left: var(--start-pos, 10%);
}

.parachute-container-alt {
  position: fixed;
  bottom: -100px;
  z-index: 996;
  animation: floatUpRandom 25s linear infinite 5s;
  pointer-events: none;
  left: var(--start-pos, 30%);
}

.parachute-container-right {
  position: fixed;
  bottom: -100px;
  z-index: 995;
  animation: floatUpRandom 22s linear infinite 3s;
  pointer-events: none;
  left: var(--start-pos, 70%);
}

.parachute-container-left {
  position: fixed;
  bottom: -100px;
  z-index: 995;
  animation: floatUpRandom 18s linear infinite 2s;
  pointer-events: none;
  left: var(--start-pos, 20%);
}

.canopy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50% 50% 0 0;
  overflow: hidden;
}

.canopy::before,
.canopy::after {
  content: '';
  position: absolute;
  top: 0;
  width: 20%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
}

.canopy::before {
  left: 15%;
}

.canopy::after {
  right: 15%;
}

.project-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  text-align: center;
  width: 100%;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  white-space: nowrap;
}

.suspension-lines {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 50px;
}

.suspension-lines::before,
.suspension-lines::after {
  content: '';
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.suspension-lines::before {
  left: 30%;
}

.suspension-lines::after {
  right: 30%;
}

.parachutist {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

/* ===== RUNNING MESSAGE ===== */
.running-message-container {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--dark-blue);
  color: white;
  padding: 8px 0;
  z-index: 900;
}

.running-message {
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-size: 0.9rem;
}

/* ===== MODAL STYLES ===== */
.modal-content {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.modal-header {
  border-bottom: none;
  padding: 1.5rem;
  background: var(--dark-blue);
  color: white;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: none;
  padding: 1.5rem;
}

.form-label {
  font-weight: 500;
  color: var(--text-dark);
}

.form-control, .form-select {
  padding: 0.6rem 1rem;
  border-radius: var(--border-radius);
  border: 1px solid #ddd;
  transition: var(--transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark-blue);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

footer h5 {
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

footer .text-center h5::after {
  left: 50%;
  transform: translateX(-50%);
}

footer a {
  color: var(--text-light);
  opacity: 0.8;
  transition: var(--transition);
}

footer a:hover {
  opacity: 1;
  color: var(--primary-light);
  transform: translateX(5px);
}

footer .social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  margin: 0 5px;
  transition: var(--transition);
}

footer .social-links a:hover {
  background-color: var(--primary);
  transform: translateY(-5px);
}

/* Enhanced About Section */
.about-section {
  background-color: #f8f9fb;
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(29,53,87,0.05)" points="0,100 100,0 100,100"/></svg>');
  background-size: cover;
  opacity: 0.5;
}

.about-section img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: var(--border-radius);
}

.about-section img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

.about-section .logo-blue {
  color: var(--dark-blue);
  font-weight: 700;
}

.about-section .logo-red {
  color: var(--primary);
  animation: pulse 2s infinite;
}

.about-section .d-flex {
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.about-section .d-flex:hover {
  transform: translateX(5px);
}

.about-section .d-flex i {
  transition: var(--transition);
}

.about-section .d-flex:hover i {
  transform: scale(1.2);
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 15px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

thead {
  background-color: #f0f0f0;
}

th, td {
  font-size: 18px;
  padding: 16px 20px;
  text-align: left;
}

tr {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

tr:hover {
  background-color: #f9f9f9;
  transform: scale(1.01);
}

.project-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.project-link:hover {
  text-decoration: underline;
}

.badge {
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 20px;
}

.bg-primary {
  background-color: #007bff;
  color: white;
}

.bg-success {
  background-color: #28a745;
  color: white;
}

.bg-warning {
  background-color: #ffc107;
  color: #000;
}

/* Loading Animation Styles */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.loader-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader {
  position: relative;
  width: 150px;
  height: 150px;
}

.loader-circle {
  position: absolute;
  border-radius: 50%;
  border: 8px solid transparent;
  animation: rotate 1.5s linear infinite;
}

.loader-circle-outer {
  width: 100%;
  height: 100%;
  border-top-color: #1d3557;
  border-bottom-color: #1d3557;
  animation-duration: 2s;
}

.loader-circle-middle {
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  border-top-color: #e63946;
  border-bottom-color: #e63946;
  animation-duration: 1.5s;
  animation-direction: reverse;
}

.loader-circle-inner {
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  border-top-color: #1d3557;
  border-bottom-color: #1d3557;
  animation-duration: 1s;
}

/* GMap */
.map-container {
  position: relative;
  overflow: visible;
  z-index: 1;
}

.map-container iframe {
  position: relative;
  pointer-events: auto;
  z-index: 10;
}

/* Download Button Styles */
.download-icon {
  display: inline-block;
  animation: pulse 2s infinite;
}

.ieee-button:hover .download-icon {
  animation: bounce 0.5s;
}

.btn-sm.sparkle {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  position: relative;
  overflow: hidden;
  display: inline-block;
  min-width: 100px;
  text-align: center;
}

.sparkle::after {
  content: '';
  position: absolute;
  top: 20%;
  left: -40%;
  width: 40%;
  height: 60%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-20deg);
  animation: sparkle-animation 1.5s infinite;
  pointer-events: none;
  border-radius: 50%;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1199px) {
  .hero-slider {
    height: 70vh;
    min-height: 500px;
  }
  
  .dropdown-megamenu {
    width: 90%;
  }
}

@media (max-width: 991px) {
  .navbar-nav {
    margin-top: 1rem;
    padding: 1rem 0;
  }
  
  .dropdown-megamenu {
    width: 100%;
    left: 0;
    transform: translateX(0) translateY(10px);
  }
  
  .hero-slider {
    height: 60vh;
    min-height: 400px;
  }
  
  .slide-content h1 {
    font-size: 2.5rem;
  }
  
  .slide-content p {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .process-card {
    flex: 0 0 250px;
  }
  
  .contact-info, .contact-form {
    padding: 2rem;
  }
  
  .contact-section {
    flex-direction: column;
  }
  
  .contact-info, .contact-form {
    width: 100%;
  }
  
  .parachute-container,
  .parachute-container-alt,
  .parachute-container-right,
  .parachute-container-left {
    display: none;
  }
}

@media (max-width: 767px) {
  .top-bar {
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
  }
  
  .top-bar > div {
    margin: 5px 0;
  }
  
  .hero-slider {
    height: 50vh;
    min-height: 350px;
  }
  
  .slide-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .slide-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .slider-button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .project-box {
    margin-bottom: 1.5rem;
  }
  
  .process-card {
    flex: 0 0 200px;
    padding: 1.5rem;
  }
  
  .stats-number {
    font-size: 2.5rem;
  }
  
  .client-card {
    margin-bottom: 1.5rem;
  }
  
  .floating-contact {
    right: 10px;
    bottom: 70px;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .modal-dialog {
    margin: 0.5rem auto;
  }
  
  .form-row .col-md-6 {
    width: 100%;
    margin-bottom: 15px;
  }
  
  footer .col-lg-4,
  footer .col-lg-3,
  footer .col-lg-2 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575px) {
  .hero-slider {
    height: 60vh;
    min-height: 300px;
  }
  
  .slide-content h1 {
    font-size: 1.8rem;
  }
  
  .slide-content p {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .process-card {
    flex: 0 0 180px;
    padding: 1rem;
  }
  
  .stats-number {
    font-size: 2rem;
  }
  
  .stats-label {
    font-size: 0.9rem;
  }
  
  .contact-info, .contact-form {
    padding: 1.5rem;
  }
  
 .navbar-brand {
  font-size: 4rem;
  font-weight: 900;
  text-shadow: 0.5px 0 black, 0 0.5px black, -0.5px 0 black, 0 -0.5px black;
}

  
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .row > [class^="col-"] {
    width: 100%;
    margin-bottom: 15px;
  }
  
  .floating-contact {
    bottom: 60px;
  }
  
  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .running-message {
    font-size: 0.7rem;
    white-space: normal;
    animation: none;
    padding: 5px;
  }
  
  .floating-btn .tooltip {
    display: none;
  }
}

@media (max-width: 320px) {
  .slide-content h1 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .floating-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-slider {
    height: 100vh;
    min-height: auto;
  }
  
  .slide-content {
    transform: none !important;
  }
  
  .navbar {
    position: static;
  }
  
  .floating-contact {
    bottom: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .hero-slider {
    height: 80vh;
  }
  
  .slide-content h1 {
    font-size: 2.2rem;
  }
  
  .process-carousel {
    margin: 0 1rem;
  }
}
/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1199px) {
  /* Large devices */
}

@media (max-width: 991px) {
  /* Medium devices */
}

@media (max-width: 767px) {
  /* Small devices */
}

@media (max-width: 575px) {
  /* Extra small devices */
}