* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Updated color scheme to blue, white, red, yellow */
  --primary-blue: #0066ff;
  --primary-red: #ff3333;
  --primary-yellow: #ffd700;
  --primary-white: #ffffff;
  --secondary-blue: #004099;
  --accent-blue: #00ccff;
  --accent-yellow: #ffed4e;
  --dark-bg: #001a4d;
  --light-bg: #f0f4ff;
  --text-dark: #001a4d;
  --text-light: #666666;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Montserrat", sans-serif;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--primary-white) 50%, #fff9e6 100%);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  animation: backgroundShift 20s ease-in-out infinite;
}

/* Continuous background animation */
@keyframes backgroundShift {
  0%,
  100% {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--primary-white) 50%, #fff9e6 100%);
  }
  50% {
    background: linear-gradient(135deg, #e6f0ff 0%, var(--light-bg) 50%, #fffaf0 100%);
  }
}

/* Floating animated background elements */
::before,
::after {
  box-sizing: border-box;
}

/* Animated Background Particles */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle 600px at 10% 20%, rgba(0, 102, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle 800px at 90% 80%, rgba(255, 51, 51, 0.06) 0%, transparent 50%),
    radial-gradient(circle 700px at 50% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
  animation: particleFloat 30s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(-50px, -50px) scale(1.1);
  }
  50% {
    transform: translate(50px, 50px) scale(0.9);
  }
  75% {
    transform: translate(-30px, 80px) scale(1.05);
  }
}

/* Header with continuous animation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent-blue);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.15);
  animation: headerGlow 3s ease-in-out infinite;
}

@keyframes headerGlow {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.15);
  }
  50% {
    box-shadow: 0 6px 30px rgba(255, 51, 51, 0.2);
  }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  position: relative;
}

/* Logo with continuous rotation and glow */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  cursor: pointer;
  animation: logoBounce 2s ease-in-out infinite;
}

@keyframes logoBounce {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(5deg);
  }
}

.sun-logo {
  width: 50px;
  height: 50px;
  animation: sunSpin 4s linear infinite;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

@keyframes sunSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.brand-logo {
  max-height: 50px;
  animation: brandFade 3s ease-in-out infinite;
}

@keyframes brandFade {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    opacity: 0.8;
    filter: brightness(1.1);
  }
}

/* Navigation links with text animation */
.nav-links {
  display: none;
  list-style: none;
  gap: 40px;
  flex: 1;
  margin-left: 60px;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  animation: textHoverFloat 3s ease-in-out infinite;
}

.nav-links a:nth-child(1) {
  animation-delay: 0s;
}

.nav-links a:nth-child(2) {
  animation-delay: 0.3s;
}

.nav-links a:nth-child(3) {
  animation-delay: 0.6s;
}

.nav-links a:nth-child(4) {
  animation-delay: 0.9s;
}

.nav-links a:nth-child(5) {
  animation-delay: 1.2s;
}

.nav-links a:nth-child(6) {
  animation-delay: 1.5s;
}

.nav-links a:nth-child(7) {
  animation-delay: 1.8s;
}

.nav-links a:nth-child(8) {
  animation-delay: 2.1s;
}

@keyframes textHoverFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-yellow), var(--primary-red));
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary-blue);
  text-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
  animation: none;
  transform: translateY(-5px);
}

/* Hamburger menu with animation */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  animation: hamburgerPulse 2s ease-in-out infinite;
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

@keyframes hamburgerPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.bar {
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
  border-radius: 2px;
  transition: all 0.4s;
}

.hamburger:hover .bar {
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
  background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
}

/* Hero Section */
.hero {
  margin-top: 70px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
}

/* --- Sliding Background Animation (Desktop) --- */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover; /* full screen with no black borders */
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 2s ease-in-out, opacity 2s ease-in-out;
  z-index: 1;
}

/* Desktop Images */
.hero::before {
  background-image: url("img/sh 8.png");
  animation: slideShow1 20s infinite;
}

.hero::after {
  background-image: url("img/sh 12.png");
  animation: slideShow2 20s infinite;
}

/* Sliding animations */
@keyframes slideShow1 {
  0%, 45% {
    transform: translateX(0);
    opacity: 1;
  }
  50%, 100% {
    transform: translateX(-100%);
    opacity: 0;
  }
}

@keyframes slideShow2 {
  0%, 45% {
    transform: translateX(100%);
    opacity: 0;
  }
  50%, 100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* --- Overlay for better text visibility --- */
.hero::after {
  z-index: 2;
}

/* Overlay shadow layer */
.hero-overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 3;
}

/* Particle background effect */
.hero-particles {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 500px at 20% 30%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle 400px at 80% 70%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle 600px at 50% 50%, rgba(255, 51, 51, 0.05) 0%, transparent 50%);
  animation: particleShift 25s ease-in-out infinite;
  z-index: 4;
}

/* Particle animation movement */
@keyframes particleShift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-100px, -100px); }
  50% { transform: translate(100px, 100px); }
  75% { transform: translate(-50px, 100px); }
}

/* Hero Content (text, buttons, etc.) */
.hero-content,
.scroll-indicator {
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 900px;
  text-align: center;
}

/* 📱 Mobile Version: Only One Static Image */
@media (max-width: 768px) {
  .hero::before,
  .hero::after {
    animation: none;
    background-image: url("img/sh\ logo3.png") !important;
    background-size: contain; /* keep image fully visible */
    background-color: #000;
  }

  /* Remove second image layer on mobile */
  .hero::after {
    display: none;
  }

  .hero {
    padding: 40px 15px;
    min-height: 90vh;
  }
}


/* Animated text with letter animation */
.animate-text {
  font-size: clamp(36px, 8vw, 80px);
  font-weight: 800;
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-yellow) 40%, var(--primary-red) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGlow 3s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(0, 102, 255, 0.2);
}

@keyframes textGlow {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(0, 102, 255, 0.2), 0 0 40px transparent;
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.4), 0 0 60px rgba(255, 51, 51, 0.2);
    transform: scale(1.02);
  }
}

.hero p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  line-height: 1.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Glowing animated buttons */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  animation: buttonBounce 3s ease-in-out infinite;
}

@keyframes buttonBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
  color: white;
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.4);
  animation: glowPulse 2s ease-in-out infinite, buttonBounce 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4), 0 0 40px transparent;
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.8), 0 0 80px rgba(0, 102, 255, 0.4);
  }
}

.btn-primary:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 50px rgba(0, 102, 255, 0.9), 0 0 100px rgba(0, 102, 255, 0.5);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, #ffed4e 100%);
  color: var(--text-dark);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
  animation: glowPulseYellow 2s ease-in-out infinite, buttonBounce 3s ease-in-out infinite;
}

@keyframes glowPulseYellow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), 0 0 40px transparent;
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 80px rgba(255, 215, 0, 0.4);
  }
}

.btn-secondary:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 50px rgba(255, 215, 0, 0.9), 0 0 100px rgba(255, 215, 0, 0.5);
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-blue) 100%);
  color: white;
}

/* Scroll indicator with animation */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--primary-blue);
  border-radius: 13px;
  position: relative;
  margin: 0 auto;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-blue);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: wheelScroll 1.5s ease-in-out infinite;
}

@keyframes wheelScroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
  }
}

.arrows span {
  display: block;
  width: 6px;
  height: 6px;
  background: var(--primary-red);
  margin: 0 auto;
  border-radius: 50%;
  margin-top: 5px;
  animation: dotsScroll 1.5s ease-in-out infinite;
}

.arrows span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrows span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotsScroll {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Section titles with animation */
.section-title {
  text-align: center;
  margin-bottom: 50px;
  animation: titleSlideIn 0.8s ease-out;
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title h2 {
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-yellow) 50%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
  }
}

.section-title p {
  font-size: 18px;
  color: var(--text-light);
  animation: subtitleFade 1s ease-out 0.3s both;
}

@keyframes subtitleFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About section with animations */
#about {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(255, 215, 0, 0.03) 100%);
  animation: sectionBg 20s ease-in-out infinite;
}

@keyframes sectionBg {
  0%,
  100% {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(255, 215, 0, 0.03) 100%);
  }
  50% {
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.05) 0%, rgba(0, 102, 255, 0.05) 100%);
  }
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
}

.about-text {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.experience-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  color: white;
  padding: 20px 30px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 102, 255, 0.6);
  }
}

.years {
  font-size: 32px;
  font-weight: 800;
  display: block;
}

.about-text h3 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textWave 3s ease-in-out infinite;
}

@keyframes textWave {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.about-text p {
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.stat {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 15px;
  border: 2px solid var(--accent-blue);
  animation: statBounce 2s ease-in-out infinite;
  transition: all 0.3s;
}

@keyframes statBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.stat:hover {
  border-color: var(--primary-red);
  box-shadow: 0 0 30px rgba(255, 51, 51, 0.3);
  background: linear-gradient(135deg, rgba(255, 51, 51, 0.05), rgba(0, 102, 255, 0.05));
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-blue);
  animation: counterUp 3s ease-out;
}

@keyframes counterUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 600;
  margin-top: 8px;
}

.explore-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  margin-top: 20px;
  transition: all 0.3s;
  box-shadow: 0 0 25px rgba(0, 102, 255, 0.3);
  animation: buttonFloat 2s ease-in-out infinite;
}

@keyframes buttonFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.explore-btn:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 0 50px rgba(0, 102, 255, 0.6);
  background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow));
}

.about-image {
  animation: slideInRight 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
  animation: imagePulse 3s ease-in-out infinite;
}

@keyframes imagePulse {
  0%,
  100% {
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
  }
  50% {
    box-shadow: 0 30px 80px rgba(255, 215, 0, 0.3);
  }
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  animation: imageZoom 4s ease-in-out infinite;
}

@keyframes imageZoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.floating-elements {
  position: absolute;
  inset: 0;
}

.floating-element {
  position: absolute;
  font-size: 48px;
  animation: floatAround 5s ease-in-out infinite;
  filter: drop-shadow(0 0 15px rgba(0, 102, 255, 0.4));
}

.element-1 {
  top: 20px;
  right: 20px;
  animation-delay: 0s;
}

.element-2 {
  bottom: 30px;
  left: 30px;
  animation-delay: 1.5s;
}

.element-3 {
  top: 50%;
  right: 10px;
  animation-delay: 3s;
}

@keyframes floatAround {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -20px) rotate(90deg);
  }
  50% {
    transform: translate(0, -40px) rotate(180deg);
  }
  75% {
    transform: translate(-20px, -20px) rotate(270deg);
  }
}

/* Services section with modern solar animations */
#services {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 51, 51, 0.03) 100%);
  animation: servicesBg 25s ease-in-out infinite alternate;
}

@keyframes servicesBg {
  0% {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 51, 51, 0.03));
  }
  50% {
    background: linear-gradient(135deg, rgba(255, 255, 100, 0.08), rgba(0, 150, 255, 0.08));
  }
  100% {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(255, 215, 0, 0.05));
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Service Card */
.service-card {
  padding: 40px 30px;
  background: #ffffffd0;
  border-radius: 20px;
  border: 2px solid var(--accent-blue);
  position: relative;
  overflow: hidden;
  animation: cardSlideUp 0.8s ease-out;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Soft glowing light */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255,215,0,0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  animation: subtleGlow 4s ease-in-out infinite;
}

@keyframes subtleGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.service-card:hover::before {
  opacity: 1;
}

/* NEW ICON ANIMATION — Floating + Pulse Shine */
.service-icon {
  font-size: 50px;
  margin-bottom: 20px;
  color: var(--primary-blue);
  position: relative;
  z-index: 2;
  animation: floatIcon 4s ease-in-out infinite, pulseGlow 3s ease-in-out infinite;
  transition: transform 0.3s ease, color 0.3s;
}

/* Floating Motion */
@keyframes floatIcon {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* Solar Pulse Glow */
@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 8px rgba(255,215,0,0.4), 0 0 12px rgba(0,102,255,0.3); }
  50% { text-shadow: 0 0 18px rgba(255,215,0,0.7), 0 0 25px rgba(0,102,255,0.6); }
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(2deg);
  color: var(--primary-yellow);
}

/* Title shimmer animation */
.service-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-yellow), var(--primary-red));
  -webkit-background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shimmerText 4s linear infinite;
}

@keyframes shimmerText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* Paragraph */
.service-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Link underline animation */
.service-link {
  display: inline-block;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: all 0.3s;
}

.service-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-yellow), var(--primary-red));
  transition: width 0.4s ease;
}

.service-link:hover::after {
  width: 100%;
}

.service-link:hover {
  color: var(--primary-red);
}

/* Hover effect on card */
.service-card:hover {
  transform: translateY(-15px) scale(1.04);
  border-color: var(--primary-yellow);
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.25), 0 0 30px rgba(255, 215, 0, 0.3);
}


/* Projects Section */
#projects {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 51, 51, 0.05), rgba(0, 102, 255, 0.03));
  animation: projectsBg 30s ease-in-out infinite;
}

@keyframes projectsBg {
  0%, 100% {
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.05), rgba(0, 102, 255, 0.03));
  }
  50% {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 51, 51, 0.05));
  }
}

/* ---------- FILTER BUTTONS ---------- */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
}

.filter-btn {
  padding: 14px 36px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  background: linear-gradient(90deg, #ff3333, #ffd700, #0066ff);
  background-size: 300% 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  animation: gradientFlow 6s linear infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.filter-btn:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3);
  filter: brightness(1.2);
}

.filter-btn.active {
  border: 2px solid #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.6);
}

/* ---------- PROJECT CARDS ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.project-card {
  padding: 40px;
  background: white;
  border-radius: 20px;
  border: 2px solid var(--accent-blue);
  position: relative;
  overflow: hidden;
  animation: cardSlideUp 0.8s ease-out;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes cardSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 51, 51, 0.1));
  opacity: 0;
  animation: projectShine 4s ease-in-out infinite;
}

@keyframes projectShine {
  0%, 100% { opacity: 0; transform: translateX(-100%); }
  50% { opacity: 0.5; transform: translateX(100%); }
}

.project-card:hover::after { animation: none; }

.project-card:hover {
  transform: translateY(-15px) scale(1.05);
  border-color: var(--primary-red);
  box-shadow: 0 30px 70px rgba(255, 51, 51, 0.25);
}

/* Smooth Hide Animation for Filter */
.project-card.hide {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: all 0.5s ease;
}


/* Gallery section with hover animations */
#prayagraj-installation,
#gallery {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.02), rgba(255, 215, 0, 0.02));
}

.installation-gallery,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.installation-gallery a,
.gallery-grid a {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  display: block;
  animation: galleryFade 0.8s ease-out;
}

@keyframes galleryFade {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.installation-gallery img,
.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.4s;
  filter: brightness(0.9);
  animation: imgRotate 10s linear infinite;
}

@keyframes imgRotate {
  0%,
  100% {
    filter: brightness(0.9) contrast(1);
  }
  50% {
    filter: brightness(1) contrast(1.1);
  }
}

.installation-gallery a:hover img,
.gallery-grid a:hover img {
  transform: scale(1.15) rotate(5deg);
  filter: brightness(1.2) contrast(1.2);
}

.installation-gallery a::before,
.gallery-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.3), rgba(255, 215, 0, 0.3));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
}

.installation-gallery a:hover::before,
.gallery-grid a:hover::before {
  opacity: 1;
}

/* Equipment section with animations */
#equipment {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(0, 102, 255, 0.05) 100%);
  animation: equipmentBg 35s ease-in-out infinite;
}

@keyframes equipmentBg {
  0%,
  100% {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(0, 102, 255, 0.05) 100%);
  }
  50% {
    background: linear-gradient(135deg, rgba(255, 51, 51, 0.05) 0%, rgba(255, 215, 0, 0.08) 100%);
  }
}

.equipment-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.equipment-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  padding: 40px;
  background: white;
  border-radius: 20px;
  border: 2px solid var(--accent-blue);
  animation: cardSlideUp 0.8s ease-out;
  transition: all 0.3s;
}

.equipment-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-yellow);
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.2);
}

.equipment-img img {
  width: 100%;
  height: auto;
  animation: imageFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
}

@keyframes imageFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.equipment-content h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGlow 3s ease-in-out infinite;
}

.equipment-content p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.equipment-list {
  list-style: none;
  margin-bottom: 25px;
}

.equipment-list li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 600;
  animation: listItemSlide 0.8s ease-out;
  transition: all 0.3s;
  padding-left: 30px;
  position: relative;
}

@keyframes listItemSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.equipment-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: 800;
  animation: checkBounce 2s ease-in-out infinite;
}

@keyframes checkBounce {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
}

.equipment-list li:hover {
  color: var(--primary-blue);
  transform: translateX(10px);
}

.call-btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.3s;
  box-shadow: 0 0 25px rgba(255, 51, 51, 0.3);
  animation: buttonFloat 2s ease-in-out infinite;
}

.call-btn:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 0 50px rgba(255, 51, 51, 0.6);
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
}

/* Features section with flip animation */
#features {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 51, 51, 0.05) 100%);
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card {
  height: 300px;
  perspective: 1000px;
  cursor: pointer;
  animation: cardSlideUp 0.8s ease-out;
}

.feature-front,
.feature-back {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  border-radius: 20px;
  border: 2px solid var(--accent-blue);
  background: white;
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  backface-visibility: hidden;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
}

.feature-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  color: white;
  border-color: var(--primary-yellow);
}

.feature-card:hover .feature-front {
  transform: rotateY(-180deg);
}

.feature-card:hover .feature-back {
  transform: rotateY(0);
}

.feature-card:hover {
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

.icon {
  font-size: 60px;
  margin-bottom: 20px;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.feature-front h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-front p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
}

.feature-back p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
  font-weight: 600;
}

.contact-btn {
  padding: 10px 25px;
  background: var(--primary-yellow);
  color: var(--text-dark);
  border: none;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.contact-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  background: var(--primary-red);
  color: white;
}

/* Subsidy section with table animations */
#subsidy {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(255, 51, 51, 0.03) 100%);
}

.subsidy-box {
  background: white;
  padding: 50px;
  border-radius: 20px;
  border: 2px solid var(--accent-blue);
  max-width: 1280px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.15);
  animation: cardSlideUp 0.8s ease-out;
}

.subsidy-box h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-yellow), var(--primary-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleGlow 3s ease-in-out infinite;
}

.table-container {
  overflow-x: auto;
  animation: tableSlide 0.8s ease-out 0.2s both;
}

@keyframes tableSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

table {
  width: 100%;
  border-collapse: collapse;
}

table thead {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  color: white;
}

table th,
table td {
  padding: 15px;
  text-align: left;
  border-bottom: 2px solid var(--accent-blue);
  transition: all 0.3s;
}

table tbody tr {
  animation: rowSlide 0.6s ease-out;
}

@keyframes rowSlide {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

table tbody tr:hover {
  background: rgba(0, 102, 255, 0.1);
  transform: scale(1.01);
  box-shadow: inset 0 0 20px rgba(0, 102, 255, 0.1);
}

table th {
  font-weight: 800;
  font-size: 15px;
}

table td {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 600;
}

.note {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: var(--text-light);
  font-style: italic;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Owner section with animations */
#owner {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(0, 102, 255, 0.05) 100%);
}

.owner-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.owner-about,
.owner-trust {
  text-align: center;
  animation: slideInLeft 0.8s ease-out;
}

.animated-text-left,
.animated-text-right {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.8;
  color: var(--text-dark);
}

.animated-text-left span,
.animated-text-right span {
  display: inline-block;
  animation: textRotate 6s ease-in-out infinite;
  margin: 0 5px;
}

.animated-text-left span:nth-child(1),
.animated-text-right span:nth-child(1) {
  animation-delay: 0s;
  color: var(--primary-blue);
}

.animated-text-left span:nth-child(2),
.animated-text-right span:nth-child(2) {
  animation-delay: 0.3s;
  color: var(--primary-yellow);
}

.animated-text-left span:nth-child(3),
.animated-text-right span:nth-child(3) {
  animation-delay: 0.6s;
  color: var(--primary-red);
}

.animated-text-right span:nth-child(4) {
  animation-delay: 0.9s;
  color: var(--accent-blue);
}

@keyframes textRotate {
  0%,
  100% {
    transform: rotateX(0deg) scale(1);
  }
  50% {
    transform: rotateX(180deg) scale(1.1);
  }
}

.owner-card {
  text-align: center;
  padding: 50px;
  background: white;
  border-radius: 20px;
  border: 2px solid var(--accent-blue);
  box-shadow: 0 20px 60px rgba(0, 102, 255, 0.15);
  animation: cardSlideUp 0.8s ease-out;
}

.owner-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.owner-photo {
  margin: 30px 0;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
  animation: photoFloat 4s ease-in-out infinite;
}

@keyframes photoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.owner-photo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  animation: photoRotate 6s linear infinite;
  box-shadow: 0 0 40px rgba(0, 102, 255, 0.4);
}

@keyframes photoRotate {
  0% {
    filter: brightness(1) contrast(1);
  }
  50% {
    filter: brightness(1.2) contrast(1.1);
  }
  100% {
    filter: brightness(1) contrast(1);
  }
}

.owner-name {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 20px 0 10px;
  animation: textGlow 3s ease-in-out infinite;
}

.owner-role {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
  animation: roleShine 2s ease-in-out infinite;
}

@keyframes roleShine {
  0%,
  100% {
    color: var(--primary-blue);
  }
  50% {
    color: var(--primary-yellow);
  }
}

/* Testimonials section with carousel animations */
.testimonials {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(255, 51, 51, 0.05) 0%, rgba(255, 215, 0, 0.03) 100%);
}

.testimonial-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1280px;
  margin: 0 auto;
}

.testimonial {
  padding: 40px;
  background: white;
  border-radius: 20px;
  border: 2px solid var(--accent-blue);
  animation: cardSlideUp 0.8s ease-out;
  transition: all 0.3s;
}

.testimonial:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--primary-yellow);
  box-shadow: 0 30px 70px rgba(0, 102, 255, 0.2);
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.quote-icon {
  font-size: 40px;
  color: var(--primary-blue);
  margin-bottom: 15px;
  animation: quoteFloat 2s ease-in-out infinite;
}

@keyframes quoteFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.testimonial p {
  font-size: 16px;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out;
}

.testimonial-author {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid var(--accent-blue);
}

.testimonial-author h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 5px;
  animation: authorGlow 3s ease-in-out infinite;
}

@keyframes authorGlow {
  0%,
  100% {
    color: var(--text-dark);
  }
  50% {
    color: var(--primary-blue);
  }
}

.testimonial-author p {
  font-size: 14px;
  color: var(--text-light);
  font-style: normal;
  margin: 0;
}

/* Contact section with form animations */
#contact {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.08) 0%, rgba(255, 51, 51, 0.05) 100%);
}

.contact-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 60px;
}

.contact-info {
  animation: slideInLeft 0.8s ease-out;
}

.contact-info h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 40px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: white;
  border-radius: 15px;
  border-left: 4px solid var(--primary-blue);
  transition: all 0.3s;
  animation: itemSlide 0.8s ease-out;
}

@keyframes itemSlide {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-item:hover {
  transform: translateX(10px);
  border-left-color: var(--primary-yellow);
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
}

.contact-item i {
  font-size: 28px;
  color: var(--primary-blue);
  animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.contact-item h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.contact-item p {
  font-size: 15px;
  color: var(--text-light);
  margin: 0;
}

.contact-item a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s;
}

.contact-item a:hover {
  color: var(--primary-red);
  text-decoration: underline;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  margin-top: 30px;
  box-shadow: 0 15px 40px rgba(0, 102, 255, 0.15);
  animation: mapScale 0.8s ease-out 0.3s both;
}

@keyframes mapScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.contact-form {
  animation: slideInRight 0.8s ease-out;
}

#contactForm {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: labelSlide 0.6s ease-out;
}

@keyframes labelSlide {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-group input,
.form-group textarea {
  padding: 15px;
  background: white;
  border: 2px solid var(--accent-blue);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  transition: all 0.3s;
  animation: inputFade 0.6s ease-out;
}

@keyframes inputFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.2);
  background: rgba(0, 102, 255, 0.02);
  transform: scale(1.02);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.3);
  animation: buttonFloat 2s ease-in-out infinite;
}

.submit-btn:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 0 50px rgba(0, 102, 255, 0.6);
  background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow));
}

/* Floating action buttons with continuous animation */
.call-icon,
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  animation: buttonFloat 3s ease-in-out infinite;
  border: 2px solid white;
}

.call-icon {
  bottom: 100px;
  right: 30px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow));
  color: white;
}

.whatsapp-float {
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
}

.call-icon:hover,
.whatsapp-float:hover {
  transform: scale(1.2);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Footer with animations */
footer {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(0, 102, 255, 0.05));
  border-top: 2px solid var(--accent-blue);
  padding: 80px 20px 30px;
  animation: footerGlow 4s ease-in-out infinite;
}

@keyframes footerGlow {
  0%,
  100% {
    border-top-color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.08), rgba(0, 102, 255, 0.05));
  }
  50% {
    border-top-color: var(--primary-yellow);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(0, 0, 0, 0.08));
  }
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto 40px;
}

.footer-col {
  animation: fadeInUp 0.8s ease-out;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
  0%,
  100% {
    color: var(--text-dark);
  }
  50% {
    color: var(--primary-blue);
  }
}

.footer-col p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: socialFloat 3s ease-in-out infinite;
  font-size: 20px;
  line-height: 0;
  vertical-align: middle;
  box-sizing: border-box;
}

.social-links a i {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(10px); /* 👈 move icon slightly downward */
}

@keyframes socialFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.social-links a:hover {
  transform: translateY(-12px) scale(1.1) rotate(10deg);
  background: linear-gradient(135deg, var(--primary-red), var(--primary-yellow));
  box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  display: inline-block;
}

.footer-col a::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-yellow));
  transition: width 0.3s;
}

.footer-col a:hover::before {
  width: 100%;
}

.footer-col a:hover {
  color: var(--primary-blue);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  background: white;
  border: 2px solid var(--accent-blue);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-dark);
  font-family: inherit;
  transition: all 0.3s;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
}

.newsletter-form button {
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
}

.copyright {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 2px solid var(--accent-blue);
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  animation: fadeInUp 1s ease-out;
}

.copyright a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 700;
}

.copyright a:hover {
  color: var(--primary-red);
  text-decoration: underline;
}

/* Responsive design with animations */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .equipment-item {
    grid-template-columns: 1fr;
  }

  .owner-container {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .animate-text {
    font-size: 36px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .call-icon,
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .stat {
    animation: none;
  }

  .stat:hover {
    transform: scale(1.05);
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    animation: none;
  }

  .btn:hover {
    transform: translateY(-3px) scale(1.02);
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .service-card,
  .project-card,
  .scheme-card {
    animation: none;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}
