/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide loader when page is loaded */
.loader.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
}

/* Body styles when loader is active */
body.loading {
  overflow: hidden;
}

:root {
  /* Light Theme Colors - Professional & Modern with New Gradient */
  --primary-color: #C3C5C7;
  --primary-dark: #A8ABAD;
  --primary-light: #D8DADB;
  --secondary-color: #374151;
  --accent-color: #F5CC63;
  --accent-dark: #8F9093;
  --accent-light: #B0B1B5;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --info-color: #06b6d4;
  --text-primary: #0f172a;
  --text-secondary: #1e293b;
  --text-light: #475569;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #e2e8f0;
  --bg-accent: #f0f9ff;
  --border-color: #e5e7eb;
  --shadow-light: 0 2px 4px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 8px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 10px 20px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --gradient-primary: linear-gradient(135deg, #B0B1B5 0%, #B0B1B5 20%, #f59e0b 80%, #f59e0b 100%);
  --gradient-secondary: linear-gradient(135deg, #B0B1B5 0%, #f59e0b 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(176, 177, 181, 0.95) 0%,
    rgba(245, 158, 11, 0.8) 50%,
    rgba(176, 177, 181, 0.7) 100%
  );
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --gradient-accent: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  --gradient-fire: linear-gradient(135deg, #B0B1B5 0%, #B0B1B5 20%, #f59e0b 80%, #f59e0b 100%);
  --gradient-ocean: linear-gradient(45deg, #f59e0b, #B0B1B5, #f59e0b);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  background: var(--gradient-fire);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-large);
  animation: fireGlow 4s ease-in-out infinite;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gradient-ocean);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 20px 40px rgba(52, 152, 219, 0.4);
  animation: none;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: none;
  z-index: 999;
  transition: all 0.3s ease;
  border-bottom: none;
  box-shadow: none;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .nav-link {
  color: #1e293b;
  text-shadow: none;
}

.navbar.scrolled .nav-link:hover {
  color: #F5CC63;
}

.navbar.scrolled .bar {
  background: #1e293b;
}

.navbar.at-top {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  border-bottom: none;
}

.navbar.at-top .nav-link {
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.navbar.at-top .nav-link:hover {
  color: #60a5fa;
}

.navbar.at-top .bar {
  background: white;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.nav-logo:hover {
  transform: translateY(-2px);
}

.logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  transition: all 0.4s ease;
  /* border-radius: 12px;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.2);
    background: rgba(255, 255, 255, 0.1); */
  padding: 8px;
  position: relative;
  overflow: hidden;
  animation: logoFloat 3s ease-in-out infinite;
}

.logo-img::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.logo-img:hover::before {
  animation: shimmer 0.8s ease-in-out;
  opacity: 1;
}

.logo-img:hover {
  transform: scale(1.15) rotate(8deg);
  /* box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    background: rgba(255, 255, 255, 0.2); */
}

.nav-logo h2 {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1.8rem;
  animation: gradientShift 5s ease-in-out infinite;
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #1e293b;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.nav-link:hover {
  color: #F5CC63;
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #B0B1B5 0%, #B0B1B5 20%, #f59e0b 80%, #f59e0b 100%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #1e293b;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  height: 100vh;
  /* width: 99.5vw; */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: -2;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 1;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 100%;
  padding: 20px 15px;
  margin: 0;
  width: 100%;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-shadow: 3px 3px 6px rgba(226, 163, 56, 0.7),
    0 0 20px rgba(212, 184, 150, 0.5);
  background: linear-gradient(45deg, #D4B896, #f59e0b, #D4B896, #f59e0b);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
  position: relative;
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 47%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-fire);
  border-radius: 2px;
  animation: pulse 2s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.95;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  color: #f8fafc;
}

.hero-description {
  font-size: 1.7rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  color: #f1f5f9;
}

.hero-buttons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  position: relative;
  overflow: hidden;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
  border-radius: 50px;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--gradient-fire);
  color: white;
  border-color: transparent;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  position: relative;
  overflow: hidden;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: white;
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-secondary:hover::before {
  width: 100%;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.4);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  opacity: 0.7;
}

/* Section Styles */
section {
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.title-underline {
  width: 80px;
  height: 4px;
  background: var(--gradient-fire);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
  animation: fireGlow 3s ease-in-out infinite;
}

.title-underline::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 2px;
  background: var(--gradient-ocean);
  border-radius: 1px;
  animation: gradientShift 2s ease-in-out infinite;
}

/* About Section */
.about {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
  /* margin-top: -150px; */
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="light-dots" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2.5" fill="rgba(30, 64, 175, 0.03)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23light-dots)"/></svg>');
  animation: backgroundFloat 25s ease-in-out infinite;
  opacity: 0.4;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 60vh;
}

.about-text p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  text-align: left;
  padding: 0 1rem;
  word-wrap: break-word;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  min-height: 350px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.4s ease;
  cursor: pointer;
  border-radius: 20px;
}

.about-image:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 25px 50px rgba(30, 64, 175, 0.3);
}

.about-image:hover .about-img {
  transform: scale(1.1);
  border-radius: 20px;
}

/* Mission Section */
.mission {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(6, 182, 212, 0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
  animation: backgroundFloat 15s ease-in-out infinite;
  opacity: 0.8;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 60vh;
}

.mission-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
}

.mission-underline {
  width: 100px;
  height: 4px;
  background: var(--gradient-ocean);
  margin-bottom: 2rem;
  border-radius: 2px;
  animation: slideInLeft 1s ease-out, fireGlow 2s ease-in-out infinite;
}

.mission-text p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--text-primary);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mission-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mission-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  min-height: 350px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  transition: all 0.4s ease;
  animation: float 3s ease-in-out infinite;
  cursor: pointer;
}

.mission-visual:hover .mission-img {
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 25px 50px rgba(6, 182, 212, 0.3);
}

/* Vision Section */
.vision {
  background: linear-gradient(135deg, #f8fafc 0%, #f0fdf4 50%, #ecfdf5 100%);
  position: relative;
  overflow: hidden;
}

.vision::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0,20 Q10,0 20,20 T40,20" fill="none" stroke="rgba(5, 150, 105, 0.08)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23waves)"/></svg>');
  animation: backgroundWave 25s ease-in-out infinite;
  opacity: 0.7;
}

.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 60vh;
}

.vision-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.vision-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  min-height: 350px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-large);
  transition: all 0.4s ease;
  animation: float 3s ease-in-out infinite;
  cursor: pointer;
}

.vision-visual:hover .vision-img {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 25px 50px rgba(5, 150, 105, 0.3);
}

.vision-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
}

.vision-underline {
  width: 100px;
  height: 4px;
  background: var(--gradient-ocean);
  margin-bottom: 2rem;
  border-radius: 2px;
  animation: slideInRight 1s ease-out, fireGlow 2s ease-in-out infinite;
}

.vision-text p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--text-primary);
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Why Choose Us Section */
.why-choose-us {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.why-choose-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="25" height="25" patternUnits="userSpaceOnUse"><polygon points="12.5,2 20.5,7 20.5,17 12.5,22 4.5,17 4.5,7" fill="none" stroke="rgba(30, 64, 175, 0.06)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexagons)"/></svg>');
  animation: backgroundRotate 30s linear infinite;
  opacity: 0.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
  min-height: 50vh;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--gradient-card);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  cursor: pointer;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.25);
  border-color: var(--primary-color);
  background: var(--gradient-accent);
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: var(--gradient-fire);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  position: relative;
  animation: fireGlow 3s ease-in-out infinite;
}

.feature-icon::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 15px 35px rgba(255, 107, 53, 0.5);
  background: var(--gradient-ocean);
}

.feature-card:hover .feature-icon::before {
  opacity: 0.3;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
  transform: scale(1.1);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-card p {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Products Section */
.products {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 50%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.products::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circles" width="35" height="35" patternUnits="userSpaceOnUse"><circle cx="17.5" cy="17.5" r="2" fill="rgba(6, 182, 212, 0.08)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23circles)"/></svg>');
  animation: backgroundPulse 18s ease-in-out infinite;
  opacity: 0.7;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  min-height: 60vh;
  align-items: center;
}

.product-card {
  background: var(--gradient-card);
  padding: 2.5rem;
  border-radius: 25px;
  text-align: center;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  justify-content: space-between;
}

.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.product-card:hover::after {
  opacity: 0.05;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 50px rgba(30, 64, 175, 0.3);
  border-color: var(--primary-color);
  background: var(--gradient-accent);
}

.product-image {
  width: 150px;
  height: 150px;
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
  position: relative;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover .product-image {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(30, 64, 175, 0.4);
}

.product-card:hover .product-img {
  transform: scale(1.1);
}

.product-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.product-card p {
  font-size: 1.2rem;
  /* text-align: left; */
  color: var(--text-primary);
  line-height: 1.7;
  flex-grow: 1;
  font-weight: 500;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="squares" width="30" height="30" patternUnits="userSpaceOnUse"><rect x="5" y="5" width="20" height="20" fill="none" stroke="rgba(30, 64, 175, 0.05)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23squares)"/></svg>');
  animation: backgroundSlide 22s linear infinite;
  opacity: 0.6;
}

.contact-content {
  display: flex;
  gap: 2rem;
  min-height: auto;
  width: 100% !important;
  margin: 0 auto;
  box-sizing: border-box;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  padding: 0 1rem;
  max-width: 1200px;
  min-width: 1000px;
  overflow-x: auto;
}
.contact-info,
.contact-form {
  height: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--gradient-card);
  border-radius: 20px;
  box-shadow: var(--shadow-medium);
  height: auto;
  min-height: 400px;
  justify-content: flex-start;
  width: 100%;
  flex: 1;
  min-width: 520px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gradient-card);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.contact-item:hover::before {
  left: 100%;
}

.contact-item:hover {
  transform: translateX(15px) scale(1.02);
  box-shadow: var(--shadow-large);
  border-color: var(--primary-color);
  background: var(--gradient-accent);
}

.contact-item i {
  font-size: 1.5rem;
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-item:hover i {
  background: var(--gradient-ocean);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: scale(1.2);
}

.contact-item h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-item p {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-form {
  background: var(--gradient-card);
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
  height: auto;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  flex: 1;
  min-width: 520px;
}

.contact-form button {
  margin-top: auto;
  flex-shrink: 0;
  align-self: flex-start;
  width: auto;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-fire);
  animation: fireGlow 3s ease-in-out infinite;
}

.form-group {
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1.1rem;
  font-family: inherit;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.2);
  transform: scale(1.02);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  flex-grow: 1;
}

/* Footer */
.footer {
  background: var(--bg-tertiary);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.1) rotate(5deg);
}

.footer-info h3 {
  background: var(--gradient-fire);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  animation: gradientShift 6s ease-in-out infinite;
}

.footer-info p {
  color: var(--text-primary);
  font-weight: 500;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: var(--gradient-fire);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  background: var(--gradient-ocean);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-primary);
  font-weight: 500;
}

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

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.7),
      0 0 60px rgba(243, 156, 18, 0.5);
  }
}

@keyframes fireGlow {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3),
      0 0 30px rgba(243, 156, 18, 0.2);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 107, 53, 0.6),
      0 0 50px rgba(243, 156, 18, 0.4), 0 0 75px rgba(231, 76, 60, 0.3);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes backgroundMove {
  0% {
    transform: translateX(0) translateY(0);
  }
  100% {
    transform: translateX(-20px) translateY(-20px);
  }
}

@keyframes backgroundFloat {
  0%,
  100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.02);
  }
}

@keyframes backgroundWave {
  0% {
    transform: translateX(0) scale(1);
  }
  50% {
    transform: translateX(-10px) scale(1.05);
  }
  100% {
    transform: translateX(0) scale(1);
  }
}

@keyframes backgroundRotate {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes backgroundPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

@keyframes backgroundSlide {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(-15px) translateY(-5px);
  }
  50% {
    transform: translateX(-30px) translateY(-10px);
  }
  75% {
    transform: translateX(-15px) translateY(-5px);
  }
  100% {
    transform: translateX(0) translateY(0);
  }
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}


/* Responsive Design */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }

  .product-card {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  section {
    min-height: 80vh;
    padding: 60px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .nav-menu .nav-link {
    color: #1e293b !important;
    text-shadow: none !important;
  }

  .nav-menu .nav-link:hover {
    color: #F5CC63 !important;
  }

  /* Ensure mobile menu text color is not affected by navbar scroll states */
  .navbar.scrolled .nav-menu .nav-link,
  .navbar.at-top .nav-menu .nav-link {
    color: #1e293b !important;
    text-shadow: none !important;
  }

  .navbar.scrolled .nav-menu .nav-link:hover,
  .navbar.at-top .nav-menu .nav-link:hover {
    color: #F5CC63 !important;
  }

  .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);
  }

  .hero-content {
    padding: 30px 20px;
    margin: 0;
    width: 100%;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-content,
  .mission-content,
  .vision-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
    min-height: 25vh;
  }

  .vision-content {
    flex-direction: column-reverse;
  }

  .vision-content .vision-text {
    order: 1;
  }

  .vision-content .vision-visual {
    order: 2;
  }

  .vision-underline,
  .mission-underline {
    margin: 0 auto 2rem;
  }

  .vision-title {
    text-align: center;
  }

  .vision-text p {
    text-align: center;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .contact-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 35vh;
    width: 100%;
    padding: 0 1rem;
    max-width: 100%;
    min-width: auto;
    overflow-x: visible;
  }

  .contact-info,
  .contact-form {
    width: 100%;
    min-width: auto;
    flex: 1;
  }

  .contact-form button {
    align-self: center;
    margin: 0 auto;
  }

  .about-image {
    max-width: 400px;
    min-height: 280px;
    object-fit: cover;
    border-radius: 15px;
    width: 100%;
  }

  .mission-img,
  .vision-img {
    max-width: 400px;
    min-height: 280px;
    object-fit: cover;
    border-radius: 15px;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo-img {
    width: 35px;
    height: 35px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    min-height: 25vh;
    max-width: 100%;
    width: 100%;
    padding: 0 1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    min-height: 35vh;
  }

  .product-card {
    min-height: 300px;
    padding: 2rem;
  }

  .product-image {
    width: 120px;
    height: 120px;
    margin-bottom: 1.5rem;
  }

  .product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .product-card p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .mission-title,
  .vision-title {
    font-size: 2.2rem;
  }

  .about-text p,
  .mission-text p,
  .vision-text p {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
  }

  .feature-card h3,
  .product-card h3 {
    font-size: 1.3rem;
    text-align: center;
  }

  .feature-card p,
  .product-card p {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
  }

  .contact-item h4 {
    font-size: 1.2rem;
    text-align: center;
  }

  .contact-item p {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
  }

  .logo-img {
    width: 70px;
    height: 70px;
    padding: 6px;
  }

  .nav-logo {
    gap: 1rem;
  }

  .nav-logo h2 {
    font-size: 1.3rem;
  }

  .nav-link {
    font-size: 0.95rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  section {
    min-height: 70vh;
    padding: 40px 0;
  }

  .container {
    padding: 0 15px;
  }

  .hero-content {
    padding: 25px 15px;
    margin: 0;
    width: 100%;
  }

  .hero-title {
    font-size: 1.8rem;
    /* margin-bottom: 0.6rem; */
  }
  .hero-title::after {
    left: 35%;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .hero-description {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .mission-title,
  .vision-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    text-align: center;
  }

  .about-text p,
  .mission-text p,
  .vision-text p {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
  }

  .feature-card h3,
  .product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    text-align: center;
  }

  .feature-card {
    width: 100%;
    margin: 0 auto;
    max-width: none;
    padding: 1.5rem;
    box-sizing: border-box;
  }

  .feature-card p,
  .product-card p {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
  }

  .contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .contact-item p {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 0.3rem;
  }

  .logo-img {
    width: 70px;
    height: 70px;
    padding: 4px;
  }

  .nav-logo {
    gap: 0.8rem;
  }

  .nav-logo h2 {
    font-size: 1.3rem;
  }

  .nav-link {
    font-size: 0.95rem;
  }

  .feature-card,
  .product-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .contact-content {
    padding: 0 0.5rem;
    gap: 1.5rem;
  }

  .contact-info,
  .contact-form {
    width: 100%;
    /* min-width: 85%; */
    /* margin: auto; */
    padding: 1.5rem;
    flex: 1;
  }
  .contact-item {
    width: 100%;
    padding: 0.5rem;
  }
  .contact-item div{
    width: 100%;
  }

  .contact-form button {
    align-self: center;
    margin: 0 auto;
  }

  .about-image {
    max-width: 350px;
    min-height: 250px;
    object-fit: cover;
    border-radius: 15px;
  }

  .mission-img,
  .vision-img {
    max-width: 350px;
    min-height: 250px;
    object-fit: cover;
    border-radius: 15px;
  }

  .product-image {
    width: 100px;
    height: 100px;
  }
}

/* Print Styles */
@media print {
  .back-to-top,
  .navbar,
  .scroll-indicator {
    display: none;
  }

  .hero {
    height: 100vh;
    width: 100vw;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  section {
    padding: 1.5rem 0;
  }
}
