/* Reset and Base Styles */
:root {
  --primary: #FF6B00;
  --primary-dark: #E65100;
  --secondary: #263238;
  --accent: #00B0FF;
  --light: #F5F5F5;
  --white: #FFFFFF;
  --gray: #78909C;
  --dark-gray: #37474F;
  --success: #4CAF50;
  --warning: #FFC107;
  --error: #F44336;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--secondary);
  overflow-x: hidden;
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

/* ==============================
   Section Titles with Animation
   ============================== */

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

/* Animated Gradient Heading */
.section-title h2 {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  background: linear-gradient(90deg, #ff6b00, #ff00c3, #00f0ff, #00ff6c);
  background-size: 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 6s linear infinite;
  position: relative;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* Animated underline under h2 */
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ff6b00, #ff00c3, #00f0ff, #00ff6c);
  background-size: 200%;
  animation: gradientFlow 6s linear infinite;
}

/* Animated gradient for paragraph text */
.section-title p {
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 700px;
  margin: 25px auto 0;
  line-height: 1.7;
  background: linear-gradient(90deg, #00f0ff, #ff00c3, #ff6b00, #00ff6c);
  background-size: 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 8s linear infinite;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

/* Glow pulse animation for both */
.section-title h2,
.section-title p {
  animation: gradientFlow 6s linear infinite, glowPulse 3s ease-in-out infinite;
}

/* Gradient movement animation */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Soft glowing pulse */
@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 8px rgba(0, 255, 255, 0.4); }
  50% { text-shadow: 0 0 16px rgba(255, 0, 255, 0.6); }
}


.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--secondary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.sun-loader {
  position: relative;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.sun-circle {
  width: 100%;
  height: 100%;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--primary);
  animation: pulse 1.5s infinite alternate;
}

.sun-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 4px solid var(--primary);
  opacity: 0.5;
  animation: rotate 10s linear infinite;
}

.loader p {
  color: var(--white);
  font-size: 1.2rem;
  margin-top: 20px;
  letter-spacing: 1px;
}

/* Cursor */
.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body:hover .cursor-dot,
body:hover .cursor-outline {
  opacity: 1;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
  transition: all 0.2s ease-out;
}

/* ==============================
   HEADER SECTION (ANIMATED)
   ============================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  transition: all 0.3s ease;
}


/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #ff6b00, #ff00c3, #00f0ff, #00ff6c);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 6s linear infinite;
  position: relative;
  padding: 5px 0;
  transition: all 0.3s ease;
}

/* Animated gradient flow across the text */
@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hover neon underline effect */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff6b00, #ff00c3, #00f0ff);
  transition: width 0.4s ease;
  border-radius: 2px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  transform: scale(1.1);
  text-shadow: 0 0 10px rgba(255,255,255,0.8);
}

/* Mobile Menu */
.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 28px;
  height: 3px;
  margin: 6px auto;
  background-color: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Responsive Navbar */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 80px;
    left: 0;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* Extra visual enhancement */
header:hover {
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}


/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(38, 50, 56, 0.9), rgba(38, 50, 56, 0.8)), url('../img/logogone1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

@keyframes fadeInUpZoom {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    letter-spacing: 2px;
  }
  60% {
    opacity: 1;
    transform: translateY(-5px) scale(1.02);
    letter-spacing: 1px;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: normal;
  }
}

.hero-content h2 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ffb300, #ff6f00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  line-height: 1.2;
}


.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUpZoom 2.8s ease-out forwards 0.8s;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  opacity: 0;
  animation: fadeInUpZoom 3s ease-out forwards 1.1s;
}


.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--white);
  border-radius: 15px;
  position: relative;
  margin: 0 auto 10px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

.arrows {
  display: flex;
  justify-content: center;
}

.arrows span {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  margin: 0 3px;
  animation: arrow 2s infinite;
}

.arrows span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrows span:nth-child(3) {
  animation-delay: 0.4s;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
  position: relative;
}

.experience-badge {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.years {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.8rem;
  text-align: center;
  margin-top: 5px;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.stats-container {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

.about-image {
  flex: 1;
}

.image-container {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow);
  color: var(--primary);
  font-size: 1.2rem;
}

.element-1 {
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.element-2 {
  top: 60%;
  right: 15%;
  animation: float 7s ease-in-out infinite 1s;
}

.element-3 {
  bottom: 20%;
  left: 20%;
  animation: float 5s ease-in-out infinite 0.5s;
}

/* 🌟 Services Section - Animated & Designer Upgrade */
.services {
  background: linear-gradient(180deg, #f8f9fa, #ffffff);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 107, 0, 0.05), transparent 70%);
  animation: rotate-bg 15s linear infinite;
  z-index: 0;
}

@keyframes rotate-bg {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 35px 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
  z-index: 0;
}

.services {
  background: linear-gradient(180deg, #001f3f, #003366); /* navy blue gradient */
  padding: 80px 0;
  color: #ffffff;
}


.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fff, #f1f1f1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--primary);
  box-shadow: inset 0 0 8px rgba(255, 107, 0, 0.2);
  transition: all 0.5s ease;
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: rotate(10deg) scale(1.1);
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--secondary);
  font-weight: 700;
  transition: color 0.4s ease;
  position: relative;
  z-index: 1;
}

.service-content p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  transition: color 0.4s ease;
  position: relative;
  z-index: 1;
}

.service-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  transition: color 0.4s ease;
}

.service-link i {
  transition: transform 0.4s ease;
}

.service-link:hover i {
  transform: translateX(6px);
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-link {
  color: #fff;
}

/* Glow Animation */
@keyframes glowing-border {
  0% { box-shadow: 0 0 10px rgba(255, 107, 0, 0.3); }
  50% { box-shadow: 0 0 25px rgba(255, 107, 0, 0.7); }
  100% { box-shadow: 0 0 10px rgba(255, 107, 0, 0.3); }
}

.service-card:hover {
  animation: glowing-border 1.5s infinite alternate;
}


/* =========================
   Projects Section (Updated with Navy Blue Background)
========================= */

/* Section Background */
.projects-section {
  background-color: #001f3f; /* Navy Blue */
  padding: 80px 0;
}

/* Filter Buttons */
.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  gap: 12px;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid #00b0ff; /* Bright primary accent */
  color: #00b0ff;
  background: transparent;
  font-weight: 600;
  border-radius: 40px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: 0.5s;
}

.filter-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #001f3f, #003366);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  z-index: -1;
  border-radius: 40px;
}

.filter-btn:hover::after,
.filter-btn.active::after {
  transform: scaleX(1);
}

.filter-btn:hover,
.filter-btn.active {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

/* Project Card */
.project-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 280px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  background: linear-gradient(180deg, #001f3f 0%, #003366 100%);
}

.project-card:hover {
  transform: scale(1.05) rotateZ(0.5deg);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

/* Project Image */
.project-img {
  height: 100%;
  overflow: hidden;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.85);
}

.project-card:hover .project-img img {
  transform: scale(1.1) rotate(1deg);
  filter: brightness(1);
}

/* Overlay */
.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 31, 63, 0.85), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease forwards;
}

/* Overlay Text */
.project-overlay h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #00b0ff, #ff6b00, #00ffb3);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientFlow 6s infinite linear;
  font-weight: 700;
}

.project-overlay p {
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
}

/* Projects Section Background */
.projects {
  background-color: #001f3f; /* Navy Blue */
  padding: 80px 0;
}


/* =========================
   Animations
========================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



/* Call Button */
.call-btn {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(135deg, #00b0ff, #ff6b00);
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.4s;
}

.call-btn:hover {
  background: linear-gradient(135deg, #ff6b00, #00b0ff);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(255,107,0,0.5);
}

/* =========================
   Animations
========================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* ===========================
   OWNER SECTION (Premium Style)
   =========================== */
.owner-section {
  background: radial-gradient(circle at top left, #001f3f, #002a60, #000);
  padding: 100px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.owner-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.05), rgba(0,0,0,0.2));
  animation: shimmer 10s infinite linear;
  z-index: 0;
}

.owner-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.owner-card {
  text-align: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 40px 25px;
  border-radius: 20px;
  box-shadow: 0 0 25px rgba(0,255,255,0.25);
  backdrop-filter: blur(8px);
  transition: transform 0.5s, box-shadow 0.5s;
  animation: floaty 5s ease-in-out infinite;
}

.owner-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 0 40px rgba(0,255,255,0.4);
}

.owner-photo {
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid transparent;
  background: linear-gradient(90deg, #00ffff, #ff00c3, #00ff6c, #ff6b00);
  background-size: 400%;
  animation: gradientFlow 8s linear infinite, pulse-border 3s infinite;
}

.owner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.owner-card:hover .owner-photo img {
  transform: scale(1.1);
}

.owner-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
  background: linear-gradient(90deg, #00ffff, #ff00c3, #00ff6c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 6s linear infinite;
}

.owner-role {
  color: #00ffff;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0,255,255,0.5);
}

.animated-text-left, .animated-text-right {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.6;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ff00c3, #00ffff, #ff6b00, #00ff6c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 7s linear infinite;
}

/* ===========================
   Keyframes Animations
   =========================== */
@keyframes bgFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glowShift {
  from { opacity: 0.6; transform: scale(1); }
  to { opacity: 1; transform: scale(1.05); }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shimmer {
  from { background-position: -200px 0; }
  to { background-position: 200px 0; }
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 10px rgba(0,255,255,0.5); }
  50% { box-shadow: 0 0 20px rgba(255,0,255,0.8); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes fadeIn {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}


/* Testimonials */
.testimonials {
  background: var(--light);
  padding: 80px 0;
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - 20px);
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.testimonial-content {
  position: relative;
}

.quote-icon {
  position: absolute;
  top: -20px;
  left: -10px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-size: 1.2rem;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author h4 {
  color: var(--primary);
  margin-bottom: 5px;
}

.testimonial-author p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
  font-style: normal;
}

/* ================================
   Modern Contact Section v2
   ================================ */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #0d0d0d, #1a1a40, #002b36);
  color: #f5f5f5;
  position: relative;
  overflow: hidden;
}

/* Glowing aura background */
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0,176,255,0.15), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(255,107,0,0.15), transparent 60%);
  animation: pulseGlow 6s infinite alternate;
  z-index: 0;
}

/* Layout container */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.2s ease-in-out both;
}

/* Contact info section */
.contact-info {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0,176,255,0.1);
  transition: all 0.4s ease;
}

.contact-info:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(255,107,0,0.3);
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #00b0ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b00, #00b0ff);
  animation: glowLine 2s infinite alternate;
}



/* Contact details */
.contact-details {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-item i {
  font-size: 1.7rem;
  color: #ff6b00;
  animation: floatIcon 3s ease-in-out infinite;
}

.contact-item h4 {
  margin-bottom: 6px;
  color: #00b0ff;
}

.contact-item a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: #ff6b00;
}

/* Map section */
.map-container {
  height: 280px;
  background: rgba(255,255,255,0.08);
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  box-shadow: 0 0 15px rgba(0,176,255,0.2);
  transition: all 0.3s ease;
}

.map-container:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255,107,0,0.3);
}

.map-placeholder {
  text-align: center;
}

.map-placeholder i {
  font-size: 3rem;
  color: #00b0ff;
  margin-bottom: 10px;
  animation: floatIcon 3s ease-in-out infinite;
}

/* Contact form */
.contact-form {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(255,107,0,0.1);
  transition: all 0.4s ease;
}

.contact-form:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0,176,255,0.3);
}

/* Form fields */
.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 2px #00b0ff;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Submit button */
.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #00b0ff, #ff6b00);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0,176,255,0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #ff6b00, #00b0ff);
  box-shadow: 0 0 25px rgba(255,107,0,0.4);
  transform: translateY(-5px);
}

.submit-btn i {
  transition: all 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(6px);
}

/* ==========================
   Animations
   ========================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

@keyframes glowLine {
  0% { box-shadow: 0 0 5px #ff6b00; }
  100% { box-shadow: 0 0 20px #00b0ff; }
}

/* Responsive layout */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }
}

/* Floating Call Button */
.call-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.2rem;
  padding: 15px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 1.5s infinite;
}

.call-icon:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* ================================
   Futuristic Animated Footer v2
   ================================ */
footer {
  background: linear-gradient(135deg, #0d0d0d, #1a1a40, #002b36);
  color: #f5f5f5;
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

/* Glass glow effect behind footer */
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 176, 255, 0.15), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(255, 107, 0, 0.15), transparent 60%);
  z-index: 0;
  animation: pulse-glow 6s infinite alternate;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.2s ease-in-out both;
}

.footer-col {
  flex: 1;
  min-width: 240px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 0 15px rgba(0, 176, 255, 0.1);
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.footer-col:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.3);
}

.footer-col h4 {
  font-size: 1.4rem;
  color: #00b0ff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #ff6b00, #00b0ff);
  border-radius: 2px;
  animation: glowLine 2s infinite alternate;
}

.footer-col p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.footer-col ul li a::before {
  content: "›";
  color: #ff6b00;
  margin-right: 8px;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #00b0ff;
  padding-left: 5px;
}

/* Floating & glowing social links */
.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 176, 255, 0.2);
  animation: float 3s ease-in-out infinite;
}

.social-links a:hover {
  background: linear-gradient(135deg, #ff6b00, #00b0ff);
  transform: scale(1.1) translateY(-6px);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
}

/* Newsletter */
.newsletter-form {
  display: flex;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.2);
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.newsletter-form input::placeholder {
  color: #bbb;
}

.newsletter-form button {
  padding: 12px 18px;
  border: none;
  background: linear-gradient(135deg, #00b0ff, #ff6b00);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, #ff6b00, #00b0ff);
}

/* Copyright */
.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  font-size: 0.95rem;
  color: #bbb;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.copyright a {
  color: #00b0ff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.copyright a:hover {
  color: #ff6b00;
}

/* ==========================
   Modern Animations
   ========================== */
@keyframes glowLine {
  0% { box-shadow: 0 0 5px #ff6b00; }
  100% { box-shadow: 0 0 20px #00b0ff; }
}

@keyframes pulse-glow {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-content h2 {
    font-size: 3rem;
  }
  
  .owner-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .owner-about, .owner-trust {
    grid-column: span 2;
    text-align: center;
    margin-bottom: 30px;
  }
}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .experience-badge {
    position: relative;
    top: 0;
    right: 0;
    margin: 0 auto 30px;
  }
  
  .stats-container {
    justify-content: center;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .equipment-item {
    flex: 0 0 100%;
  }
  
  .testimonial {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-links {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .hero-content h2 {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .stats-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial {
    flex: 0 0 100%;
  }
  
  .owner-container {
    grid-template-columns: 1fr;
  }
  
  .owner-about, .owner-trust {
    grid-column: span 1;
  }
}

@media (max-width: 576px) {
  .hero-content h2 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }
}

/* Office Banner Section */
.office-banner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f6f9fc, #e0f7fa);
}
.office-banner .banner-img {
  width: 30%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.office-banner .banner-img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

/* Floating WhatsApp Icon */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #25D366;
  color: #fff;
  font-size: 28px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 999;
  animation: pulse 1.5s infinite;
  transition: transform 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* 🌆 Gallery Section */
.gallery {
  padding: 80px 0;
  background-color: var(--light);
}

.gallery .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* 🖼️ Image container styles */
.gallery-grid a {
  display: block;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  opacity: 0; /* hidden by default */
  transform: translateY(40px); /* start slightly lower */
  animation: fadeUp 1.5s forwards;
}

/* ✨ Animate images when gallery section is visible */
.gallery.active .gallery-grid a {
  opacity: 1;
  transform: translateY(0);
}

/* 🔁 Animation Keyframes */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🪄 Animation delay for sequence */
.gallery.active .gallery-grid a:nth-child(1) { animation-delay: 0.1s; }
.gallery.active .gallery-grid a:nth-child(2) { animation-delay: 0.2s; }
.gallery.active .gallery-grid a:nth-child(3) { animation-delay: 0.3s; }
.gallery.active .gallery-grid a:nth-child(4) { animation-delay: 0.4s; }
.gallery.active .gallery-grid a:nth-child(5) { animation-delay: 0.5s; }
.gallery.active .gallery-grid a:nth-child(6) { animation-delay: 0.6s; }
.gallery.active .gallery-grid a:nth-child(7) { animation-delay: 0.7s; }
.gallery.active .gallery-grid a:nth-child(8) { animation-delay: 0.8s; }
.gallery.active .gallery-grid a:nth-child(9) { animation-delay: 0.9s; }
.gallery.active .gallery-grid a:nth-child(10) { animation-delay: 1s; }

/* 🧭 Hover effect (optional) */
.gallery-grid a:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

/* 🖼️ Image styling */
.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}




.prayagraj-installation {
  padding: 80px 0;
  background-color: var(--light);
}

.prayagraj-installation .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.installation-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.installation-gallery a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.installation-gallery a:hover {
  transform: scale(1.05);
}

.installation-gallery img {
  width: 100%;
  height: auto;
  display: block;
}


.logo {
  display: flex;
  align-items: center;
}

.brand-logo {
  max-height: 60px;  /* control height */
  width: auto;       /* keep proper ratio */
  object-fit: contain;
  display: block;
}

/* Ensure logo never stretches container */
.navbar .logo img {
  max-width: 100%;
  height: auto;
}

/* Optional - for mobile view */
@media (max-width: 768px) {
  .brand-logo {
    max-height: 45px;
  }
}


/* ==== Brand Text Animation ==== */
.brand-text {
  font-size: 2rem;
  font-weight: 800;
  position: relative;
  color: #ffffff; /* White text */
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #ffffff, #ffcccc, #ffffff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textFlow 4s linear infinite;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7); /* white glow instead of yellow */
}

/* Animated yellow border around red background */
.brand-text::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -10px;
  right: -10px;
  bottom: -6px;
  border: 2px solid transparent;
  border-image: linear-gradient(90deg, #ffeb3b, #ffd600, #ffeb3b);
  border-image-slice: 1;
  border-radius: 10px;
  background: linear-gradient(#ff0000, #ff0000) padding-box, /* changed black → red */
              linear-gradient(90deg, #ffeb3b, #ffd600, #ffeb3b) border-box;
  animation: borderGlow 3s linear infinite;
  z-index: -1;
}

/* ==== Keyframes ==== */
@keyframes textFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@keyframes borderGlow {
  0% {
    filter: drop-shadow(0 0 5px #ffeb3b);
  }
  50% {
    filter: drop-shadow(0 0 15px #ffff33);
  }
  100% {
    filter: drop-shadow(0 0 5px #ffeb3b);
  }
}



.brand-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}
.brand-sub {
  font-size: 1rem;
  color: #00b0ff;
  letter-spacing: 1px;
  font-weight: 400;
}


/* ================================
   FEATURES SECTION (AI ENHANCED)
   ================================ */
.features-section {
  padding: 100px 0;
  background: rgba(10, 10, 20, 0.8);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

/* Floating particles background effect */
.features-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0, 150, 255, 0.15), transparent 70%),
              radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08), transparent 80%);
  animation: pulseBg 10s infinite alternate ease-in-out;
  z-index: 0;
}

/* Animated gradient border and glowing text */
.section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 60px;
  background: linear-gradient(90deg, #00e0ff, #0078ff, #00e0ff);
  -webkit-background-clip: text;
  color: transparent;
  animation: gradientFlow 6s infinite linear;
  text-shadow: 0 0 10px rgba(0, 224, 255, 0.4);
  position: relative;
  z-index: 1;
}

/* Features grid */
.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  position: relative;
  z-index: 1;
}

/* Individual feature card */
.feature-card {
  perspective: 1200px;
  height: 320px;
  position: relative;
  transform-style: preserve-3d;
  animation: floatCard 6s ease-in-out infinite;
}

/* Inner card flipping layers */
.feature-front,
.feature-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  padding: 30px 25px;
  background: rgba(20, 20, 30, 0.85);
  border: 2px solid transparent;
  background-clip: padding-box;
  overflow: hidden;
  backface-visibility: hidden;
  transition: transform 0.8s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Neon border animation */
.feature-front::before,
.feature-back::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(90deg, #00e0ff, #0078ff, #00e0ff);
  background-size: 400% 400%;
  animation: gradientFlow 5s infinite linear;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Front card content */
.feature-front {
  transform: rotateY(0deg);
}

.feature-front .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #00d4ff;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.7);
}

.feature-front h3 {
  font-size: 1.3rem;
  color: transparent;
  background: linear-gradient(90deg, #00e0ff, #00a2ff);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 10px;
}

.feature-front p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Back card content */
.feature-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #001f3f, #003366);
  color: #fff;
}

.feature-back h3 {
  font-size: 1.3rem;
  background: linear-gradient(90deg, #00e0ff, #0078ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 15px;
}

.feature-back p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

/* Button with glow hover */
.contact-btn {
  margin-top: 15px;
  padding: 10px 22px;
  background: linear-gradient(90deg, #00e0ff, #0078ff);
  color: #000;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.5);
}

.contact-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.9);
}

/* Hover flip and glow effect */
.feature-card:hover .feature-front {
  transform: rotateY(180deg) scale(1.05);
  box-shadow: 0 0 30px rgba(0, 224, 255, 0.5);
}

.feature-card:hover .feature-back {
  transform: rotateY(360deg) scale(1.05);
  box-shadow: 0 0 30px rgba(0, 224, 255, 0.5);
}

/* Floating motion animation */
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Gradient motion animation */
@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* Soft glowing background pulse */
@keyframes pulseBg {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* Enhanced Divisions Section */
        .divisions-section {
            padding: 100px 0;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            position: relative;
            overflow: hidden;
        }

        .divisions-section::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
            animation: bgFloat 15s ease-in-out infinite;
        }

        @keyframes bgFloat {
            0%, 100% { transform: translate(0, 0) scale(1); }
            25% { transform: translate(-10px, 10px) scale(1.02); }
            50% { transform: translate(5px, -5px) scale(1.01); }
            75% { transform: translate(10px, 5px) scale(1.03); }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            position: relative;
            z-index: 2;
        }

        .section-title {
            font-size: clamp(2.5rem, 4vw, 3.5rem);
            margin-bottom: 60px;
            color: #fff;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 3px;
            text-align: center;
            position: relative;
            animation: titleGlow 3s ease-in-out infinite alternate;
        }

        @keyframes titleGlow {
            0% { 
                text-shadow: 0 0 20px rgba(255,255,255,0.5),
                           0 0 40px rgba(255,255,255,0.3),
                           0 0 60px rgba(255,255,255,0.1);
            }
            100% { 
                text-shadow: 0 0 30px rgba(255,255,255,0.8),
                           0 0 60px rgba(255,255,255,0.5),
                           0 0 90px rgba(255,255,255,0.3);
            }
        }

        .section-title::after {
            content: "";
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, transparent, #ff6b00, transparent);
            animation: linePulse 2s ease-in-out infinite;
        }

        @keyframes linePulse {
            0%, 100% { width: 100px; opacity: 1; }
            50% { width: 150px; opacity: 0.7; }
        }

        .divisions-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
            gap: 40px;
            margin: 0 auto;
        }

        .division-box {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border-radius: 25px;
            overflow: hidden;
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0;
            transform: translateY(50px) scale(0.9);
            animation: boxEntry 0.8s ease forwards;
        }

        @keyframes boxEntry {
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .division-box:nth-child(1) { animation-delay: 0.1s; }
        .division-box:nth-child(2) { animation-delay: 0.2s; }
        .division-box:nth-child(3) { animation-delay: 0.3s; }
        .division-box:nth-child(4) { animation-delay: 0.4s; }

        .division-box::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, 
                transparent, 
                rgba(255, 255, 255, 0.2), 
                transparent);
            transition: left 0.8s ease;
            z-index: 1;
        }

        .division-box:hover::before {
            left: 100%;
        }

        .division-box:hover {
            transform: 
                translateY(-15px) 
                scale(1.05) 
                rotate3d(1, 1, 0, 5deg);
            box-shadow: 
                0 25px 50px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.2),
                0 0 30px rgba(255, 107, 0, 0.4);
            background: rgba(255, 255, 255, 0.15);
        }

        .division-img-container {
            position: relative;
            height: 250px;
            overflow: hidden;
        }

        .division-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            filter: brightness(0.9);
        }

        .division-box:hover img {
            transform: scale(1.2) rotate(2deg);
            filter: brightness(1.1) contrast(1.1);
        }

        .division-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                45deg,
                rgba(255, 107, 0, 0.8),
                rgba(255, 107, 0, 0.4)
            );
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.6s ease;
        }

        .division-box:hover .division-overlay {
            opacity: 1;
        }

        .overlay-content {
            text-align: center;
            color: white;
            transform: translateY(20px);
            transition: transform 0.6s ease;
        }

        .division-box:hover .overlay-content {
            transform: translateY(0);
        }

        .overlay-content i {
            font-size: 3rem;
            margin-bottom: 15px;
            display: block;
            animation: iconFloat 3s ease-in-out infinite;
        }

        @keyframes iconFloat {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }

        .division-content {
            padding: 30px 25px;
            position: relative;
            z-index: 2;
        }

        .division-box h3 {
            margin: 0 0 15px 0;
            color: #fff;
            font-size: 1.8rem;
            font-weight: 700;
            position: relative;
            display: inline-block;
        }

        .division-box h3::after {
            content: "";
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, #ff6b00, #ff8c00);
            transition: width 0.6s ease;
        }

        .division-box:hover h3::after {
            width: 100%;
        }

        .division-box p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1.1rem;
            line-height: 1.6;
            margin-bottom: 20px;
            transition: color 0.3s ease;
        }

        .division-box:hover p {
            color: rgba(255, 255, 255, 0.95);
        }

        .division-features {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.6s ease 0.2s;
        }

        .division-box:hover .division-features {
            opacity: 1;
            transform: translateY(0);
        }

        .feature-tag {
            background: rgba(255, 255, 255, 0.1);
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
        }

        .feature-tag:hover {
            background: rgba(255, 107, 0, 0.3);
            color: white;
            transform: translateY(-2px);
        }

        .division-cta {
            margin-top: 25px;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.6s ease 0.3s;
        }

        .division-box:hover .division-cta {
            opacity: 1;
            transform: translateY(0);
        }

        .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 25px;
            background: linear-gradient(135deg, #ff6b00, #ff8c00);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 600;
            transition: all 0.4s ease;
            box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
        }

        .cta-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5);
            background: linear-gradient(135deg, #ff8c00, #ff6b00);
        }

        .cta-btn i {
            transition: transform 0.3s ease;
        }

        .cta-btn:hover i {
            transform: translateX(5px);
        }

        /* Floating particles */
        .floating-particle {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: floatParticle 20s linear infinite;
            z-index: 1;
        }

        .particle-1 { top: 10%; left: 5%; width: 8px; height: 8px; animation-delay: 0s; }
        .particle-2 { top: 20%; right: 10%; width: 12px; height: 12px; animation-delay: -5s; }
        .particle-3 { bottom: 30%; left: 15%; width: 6px; height: 6px; animation-delay: -10s; }
        .particle-4 { bottom: 20%; right: 5%; width: 10px; height: 10px; animation-delay: -15s; }

        @keyframes floatParticle {
            0% { transform: translate(0, 0) rotate(0deg); }
            25% { transform: translate(100px, 50px) rotate(90deg); }
            50% { transform: translate(50px, 100px) rotate(180deg); }
            75% { transform: translate(-50px, 50px) rotate(270deg); }
            100% { transform: translate(0, 0) rotate(360deg); }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .divisions-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .divisions-section {
                padding: 60px 0;
            }
            
            .division-img-container {
                height: 200px;
            }
            
            .division-content {
                padding: 25px 20px;
            }
        }

        @media (max-width: 480px) {
            .division-features {
                flex-wrap: wrap;
            }
            
            .feature-tag {
                font-size: 0.8rem;
                padding: 6px 12px;
            }
        }


       /* Reset basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Transparent background header */
header {
  background: transparent;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
}

/* Navbar styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
}

/* ================================
   HEADER & LOGO SECTION
================================ */

/* Header container */
header {
  width: 100%;
  background: #fff; /* You can change to transparent if header background should blend */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
}

/* Navbar layout */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================================
   LOGO SECTION
================================ */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Static company logo image */
.company-logo {
  width: 90px;
  height: auto;
  background: transparent;
  border: none;
  animation: none !important; /* disables rotation or pulse */
  transform: none !important;
  filter: drop-shadow(0 0 6px rgba(255, 200, 0, 0.6));
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Subtle hover effect */
.company-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255, 200, 0, 0.9));
}

/* Brand text */
.brand-text {
  font-size: 1.8rem;
  color: #000;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.brand-sub {
  color: #ff6600;
}

/* ================================
   NAVIGATION LINKS
================================ */
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* Hover underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #ff6600;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #ff6600;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ================================
   HAMBURGER MENU (MOBILE)
================================ */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  border-radius: 2px;
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}

/* Smooth scroll for in-page links */
html {
  scroll-behavior: smooth;
}

/* Contact button styling (optional) */
.contact-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #ff6600;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

.contact-btn:hover {
  background: #e65c00;
  transform: scale(1.05);
}

