/* ========== CSS VARIABLES ========== */
:root {
  /* Brand Colors - ACOTS */
  --primary-blue: #1e3a8a;
  --deep-blue: #1e3a8a;
  --dark-blue: #1e293b;
  --light-blue: #3b82f6;
  --brand-red: #dc2626;
  --accent-red: #ef4444;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
  --dark-gray: #343a40;

  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  --gradient-accent: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
  --gradient-overlay: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.95) 0%,
    rgba(59, 130, 246, 0.9) 100%
  );

  --shadow-sm: 0 2px 8px rgba(30, 58, 138, 0.1);
  --shadow-md: 0 4px 16px rgba(30, 58, 138, 0.15);
  --shadow-lg: 0 8px 32px rgba(30, 58, 138, 0.2);
  --shadow-xl: 0 16px 48px rgba(30, 58, 138, 0.25);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Cairo", sans-serif;
  color: var(--text-primary);
  background-color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== UTILITY CLASSES ========== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color: var(--deep-blue);
  position: relative;
  padding-bottom: 24px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--gradient-accent);
  border-radius: 3px;
}

.section-subtitle {
  text-align: center;
  color: var(--medium-gray);
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.8;
  font-weight: 400;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== HEADER & NAVIGATION ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 2rem;
  font-weight: 900;
  color: var(--deep-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.5px;
}

.logo_footer img,
.logo img {
  height: 50px;
  display: block;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon iconify-icon {
  font-size: 2rem;
  color: var(--white);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 48px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-accent);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-red);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--deep-blue);
  cursor: pointer;
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
      135deg,
      rgba(30, 58, 138, 0.85) 0%,
      rgba(59, 130, 246, 0.75) 100%
    ),
    url("../imgs/banner-01.jpg") center/cover no-repeat;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(220, 38, 38, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(239, 68, 68, 0.12) 0%,
      transparent 50%
    );
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 900px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 28px;
  line-height: 1.1;
  animation: slideInUp 0.8s ease;
  letter-spacing: -1px;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  font-weight: 400;
  animation: slideInUp 0.8s ease 0.2s backwards;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 48px;
  background: var(--gradient-accent);
  color: var(--white);
  text-decoration: none;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.4);
  transition: all var(--transition-normal);
  animation: slideInUp 0.8s ease 0.4s backwards;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(220, 38, 38, 0.5);
}

.cta-button iconify-icon {
  font-size: 1.5rem;
  transition: transform var(--transition-fast);
}

.cta-button:hover iconify-icon {
  transform: translateX(6px);
}

.hero-decoration {
  position: absolute;
  right: -150px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.08;
  font-size: 700px;
  color: var(--white);
  pointer-events: none;
}

/* ========== ABOUT SECTION ========== */
.about {
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.about-text h3 {
  font-size: 2rem;
  color: var(--deep-blue);
  margin-bottom: 24px;
  font-weight: 700;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--medium-gray);
  line-height: 1.9;
  margin-bottom: 20px;
}

.about-stats {
  background: linear-gradient(
      135deg,
      rgba(30, 58, 138, 0.95) 0%,
      rgba(59, 130, 246, 0.92) 100%
    ),
    url("../imgs/banner-01.jpg") center/cover no-repeat;
  padding: 60px;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.about-stats::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(220, 38, 38, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.stat-item {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  line-height: 1.6;
}

/* ========== TECHNOLOGIES SECTION ========== */
.technologies {
  background: var(--light-gray);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 60px;
}

.tech-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  border: 2px solid transparent;
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
  z-index: 2;
}

.tech-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-red);
}

.tech-card:hover::before {
  transform: scaleX(1);
}

.tech-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.tech-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.tech-card:hover .tech-image img {
  transform: scale(1.1);
}

.tech-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(30, 58, 138, 0.8), transparent);
}

.tech-content {
  padding: 20px;
}

.tech-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-accent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -60px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
}

.tech-card:hover .tech-icon {
  transform: scale(1.15) rotate(-5deg);
}

.tech-icon iconify-icon {
  font-size: 3rem;
  color: var(--white);
}

.tech-content h3 {
  font-size: 1.5rem;
  color: var(--deep-blue);
  margin-bottom: 18px;
  font-weight: 700;
}

.tech-content p {
  color: var(--medium-gray);
  line-height: 1.8;
  font-size: 1rem;
}

/* ========== SERVICES SECTION ========== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.service-item {
  background: var(--light-gray);
  padding: 36px 40px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all var(--transition-normal);
  border-left: 5px solid transparent;
  cursor: pointer;
}

.service-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--brand-red);
  transform: translateX(12px);
}

.service-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.service-item:hover .service-icon {
  background: var(--gradient-accent);
  transform: rotate(360deg) scale(1.1);
}

.service-icon svg {
  width: 50px;
  color: var(--white);
}

.service-text h4 {
  font-size: 1.15rem;
  color: var(--deep-blue);
  font-weight: 700;
  line-height: 1.5;
}

/* ========== PRODUCTS SUPPLY SECTION ========== */
/* ========== PRODUCTS SUPPLY SECTION ========== */
.products-supply {
  background: var(--light-gray);
  position: relative;
}

.products-text-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.product-text-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05); /* Subtle border */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-text-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(220, 38, 38, 0.1);
}

.product-text-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0); /* Hidden by default */
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.product-text-card:hover::before {
  transform: scaleX(1); /* Slide in on hover */
}

.card-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: #e2e8f0; /* Light gray number */
  line-height: 1;
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  transition: color var(--transition-normal);
  display: block;
}

.product-text-card:hover .card-number {
  color: var(--light-blue); /* Subtle color change on hover */
  /* Optional: Gradient text on hover */
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-text-card h3 {
  font-size: 1.35rem;
  color: var(--deep-blue);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.product-text-card p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: auto; /* Push to bottom if needed, or consistent spacing */
}

/* Featured Card Style (Infinity/Custom) */
.product-text-card-featured {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e293b 100%);
  border: none;
}

.product-text-card-featured .card-number {
  color: rgba(255,255,255,0.15);
}

.product-text-card-featured h3 {
  color: var(--white);
}

.product-text-card-featured p {
  color: rgba(255,255,255,0.8);
}

.product-text-card-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 138, 0.4);
}

.product-text-card-featured::before {
  background: var(--gradient-accent);
}

.product-text-card-featured:hover .card-number {
    background: none;
    -webkit-text-fill-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
  .products-text-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }
  
  .product-text-card {
      padding: 30px 24px;
  }
}

/* ========== GALLERY SECTION (BEFORE & AFTER) ========== */
.gallery {
}

.gallery .section-title {
  color: var(--deep-blue);
}

.gallery .section-subtitle {
  color: var(--medium-gray);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.comparison-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--white);
  transition: transform var(--transition-normal), opacity 0.3s ease,
    transform 0.3s ease;
}

.comparison-card:hover {
  transform: translateY(-8px);
}

.comparison-container {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.comparison-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all var(--transition-slow);
}

.before-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
}

.after-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
  background-position: center;
}

.comparison-slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--white);
  z-index: 3;
  cursor: ew-resize;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.comparison-slider::before {
  content: "⟷";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--deep-blue);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.comparison-labels {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  z-index: 4;
  pointer-events: none;
}

.label {
  padding: 10px 24px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.label.before-label {
  background: linear-gradient(
    135deg,
    rgba(220, 20, 60, 0.9),
    rgba(139, 0, 0, 0.9)
  );
  color: #fff;
}

.label.after-label {
  background: linear-gradient(
    135deg,
    rgba(50, 205, 50, 0.9),
    rgba(34, 139, 34, 0.9)
  );
  color: #fff;
}

.category-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

@media screen and (max-width: 1199px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }
}
@media screen and (max-width: 767px) {
  .comparison-container {
    height: 250px;
  }
  .comparison-labels {
    left: 5px;
    right: 5px;
  }
  .label {
    padding: 4px 10px;
    font-size: 0.7rem;
    letter-spacing: 1px;
  }
}
@media screen and (max-width: 580px) {
  .comparison-container {
    height: 180px;
  }
}

/* ========== FOOTER ========== */
footer {
  background: var(--dark-blue);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 700;
  display: none;
}

/* ========== CONTACT PAGE ========== */
/* Contact Hero Section */
.contact-hero {
  background: linear-gradient(
      135deg,
      rgba(30, 58, 138, 0.95) 0%,
      rgba(59, 130, 246, 0.92) 100%
    ),
    url("../imgs/banner-01.jpg") center/cover no-repeat;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(220, 38, 38, 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(220, 38, 38, 0.1) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.contact-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.contact-hero p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Section */
.contact-section {
  background: var(--light-gray);
  padding: 80px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

/* Contact Information */
.contact-info {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 100px;
}

.contact-info h2 {
  font-size: 2rem;
  color: var(--deep-blue);
  margin-bottom: 16px;
  font-weight: 800;
}

.contact-intro {
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.info-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: var(--light-gray);
  transition: all var(--transition-normal);
}

.info-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  background: var(--white);
}

.info-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.info-item:hover .info-icon {
  background: var(--gradient-accent);
  transform: scale(1.1);
}

.info-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.info-content h4 {
  font-size: 1.1rem;
  color: var(--deep-blue);
  font-weight: 700;
  margin-bottom: 6px;
}

.info-content p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.support-highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--gradient-primary);
  border-radius: 16px;
  color: var(--white);
  font-weight: 600;
}

.support-highlight svg {
  width: 24px;
  height: 24px;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: 50px 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  color: var(--deep-blue);
  margin-bottom: 16px;
  font-weight: 800;
}

.form-intro {
  color: var(--medium-gray);
  line-height: 1.7;
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-weight: 600;
  color: var(--deep-blue);
  font-size: 0.95rem;
}

.required {
  color: var(--brand-red);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 16px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: all var(--transition-normal);
  background: var(--light-gray);
  color: var(--dark-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23334155' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 24px;
  padding-right: 48px;
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
  line-height: 1.6;
}

.submit-button {
  padding: 18px 48px;
  background: var(--gradient-accent);
  color: var(--white);
  border: none;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: flex-start;
  margin-top: 12px;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.4);
}

.submit-button svg {
  width: 20px;
  height: 20px;
}

/* ========== FOOTER ========== */
footer {
  background: var(--dark-blue);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-section p {
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--brand-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.95rem;
}

.support-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-accent);
  padding: 12px 24px;
  border-radius: 30px;
  margin-top: 20px;
  font-weight: 600;
  color: #fff;
}

.support-badge iconify-icon {
  font-size: 1.3rem;
}

/* ========== SCROLL TO TOP BUTTON ========== */
.scroll-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(220, 38, 38, 0.4);
}

.scroll-top iconify-icon {
  font-size: 2rem;
  color: var(--white);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .about-content,
  .footer-content,
  .products-supply-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .products-supply-text .section-title {
    text-align: center;
  }

  .products-supply-text .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 991px) {
  .logo img {
    height: 50px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 88px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 88px);
    background: var(--white);
    flex-direction: column;
    padding: 40px 0;
    gap: 0;
    box-shadow: var(--shadow-lg);
    transition: left var(--transition-normal);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--light-gray);
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.15rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .tech-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-filters {
    gap: 12px;
  }

  .filter-btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .about-stats {
    padding: 40px 28px;
  }

  .stat-number {
    font-size: 3rem;
  }

  /* Contact Page Responsive */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    position: static;
  }

  .contact-hero h1 {
    font-size: 2.5rem;
  }

  .contact-hero p {
    font-size: 1.1rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info,
  .contact-form-wrapper {
    padding: 40px 28px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 16px 36px;
    font-size: 1rem;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }

  .about-text h3 {
    font-size: 1.5rem;
  }
  .about-text p {
    font-size: 0.87rem;
    line-height: 1.2;
  }
}

/* Whatsapp Button */
#wa_button {
  bottom: 50px;
  left: 10px;
  position: fixed;
  z-index: 999;
}
@media (max-width: 767px) {
  #wa_button {
    bottom: 20px;
    left: 10px;
  }
}
.img-circle {
  background-color: #25d366;
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
}
.circlephone {
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  border: 2px solid #25d366;
  width: 150px;
  height: 150px;
  bottom: -25px;
  left: 10px;
  position: absolute;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  opacity: 0.5;
  -webkit-animation: circle-anim 2.4s infinite ease-in-out !important;
  -moz-animation: circle-anim 2.4s infinite ease-in-out !important;
  -ms-animation: circle-anim 2.4s infinite ease-in-out !important;
  -o-animation: circle-anim 2.4s infinite ease-in-out !important;
  animation: circle-anim 2.4s infinite ease-in-out !important;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.circle-fill {
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  background-color: #25d366;
  width: 100px;
  height: 100px;
  bottom: 0px;
  left: 35px;
  position: absolute;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  border: 2px solid transparent;
  -webkit-animation: circle-fill-anim 2.3s infinite ease-in-out;
  -moz-animation: circle-fill-anim 2.3s infinite ease-in-out;
  -ms-animation: circle-fill-anim 2.3s infinite ease-in-out;
  -o-animation: circle-fill-anim 2.3s infinite ease-in-out;
  animation: circle-fill-anim 2.3s infinite ease-in-out;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.img-circle {
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  width: 72px;
  height: 72px;
  bottom: 14px;
  left: 49px;
  position: absolute;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  border: 2px solid transparent;
  opacity: 0.9;
}
.img-circleblock {
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  width: 72px;
  height: 72px;
  background-image: url("../imgs/whats-icon.png");
  background-position: center center;
  background-repeat: no-repeat;
  animation-name: tossing;
  -webkit-animation-name: tossing;
  animation-duration: 1.5s;
  -webkit-animation-duration: 1.5s;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
}

/* Media query for mobile devices */
@media (max-width: 767px) {
  .circlephone {
    width: 100px;
    height: 100px;
    bottom: -15px;
    left: 10px;
  }

  .circle-fill {
    width: 70px;
    height: 70px;
    bottom: 0px;
    left: 25px;
  }

  .img-circle {
    width: 50px;
    height: 50px;
    bottom: 10px;
    left: 35px;
  }

  .img-circleblock {
    width: 50px;
    height: 50px;
    background-size: 60%;
  }
}
.img-circle:hover {
  opacity: 1;
}
@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 1;
  }
}
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(0.95);
    opacity: 1;
  }
  50% {
    -webkit-transform: scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.95);
    opacity: 1;
  }
}
@keyframes tossing {
  0% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(8deg);
  }
  100% {
    transform: rotate(-8deg);
  }
}
@-webkit-keyframes tossing {
  0% {
    -webkit-transform: rotate(-8deg);
  }
  50% {
    -webkit-transform: rotate(8deg);
  }
  100% {
    -webkit-transform: rotate(-8deg);
  }
}
@-moz-keyframes circle-anim {
  0% {
    -moz-transform: rotate(0deg) scale(0.5) skew(1deg);
    opacity: 0.1;
    -moz-opacity: 0.1;
    -webkit-opacity: 0.1;
    -o-opacity: 0.1;
  }
  30% {
    -moz-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.5;
    -moz-opacity: 0.5;
    -webkit-opacity: 0.5;
    -o-opacity: 0.5;
  }
  100% {
    -moz-transform: rotate(0deg) scale(1) skew(1deg);
    opacity: 0.6;
    -moz-opacity: 0.6;
    -webkit-opacity: 0.6;
    -o-opacity: 0.1;
  }
}
@-webkit-keyframes circle-anim {
  0% {
    -webkit-transform: rotate(0deg) scale(0.5) skew(1deg);
    -webkit-opacity: 0.1;
  }
  30% {
    -webkit-transform: rotate(0deg) scale(0.7) skew(1deg);
    -webkit-opacity: 0.5;
  }
  100% {
    -webkit-transform: rotate(0deg) scale(1) skew(1deg);
    -webkit-opacity: 0.1;
  }
}
@-o-keyframes circle-anim {
  0% {
    -o-transform: rotate(0deg) kscale(0.5) skew(1deg);
    -o-opacity: 0.1;
  }
  30% {
    -o-transform: rotate(0deg) scale(0.7) skew(1deg);
    -o-opacity: 0.5;
  }
  100% {
    -o-transform: rotate(0deg) scale(1) skew(1deg);
    -o-opacity: 0.1;
  }
}
@keyframes circle-anim {
  0% {
    transform: rotate(0deg) scale(0.5) skew(1deg);
    opacity: 0.1;
  }
  30% {
    transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.5;
  }
  100% {
    transform: rotate(0deg) scale(1) skew(1deg);
    opacity: 0.1;
  }
}
@-moz-keyframes circle-fill-anim {
  0% {
    -moz-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
  50% {
    -moz-transform: rotate(0deg) -moz-scale(1) skew(1deg);
    opacity: 0.2;
  }
  100% {
    -moz-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
}
@-webkit-keyframes circle-fill-anim {
  0% {
    -webkit-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
  50% {
    -webkit-transform: rotate(0deg) scale(1) skew(1deg);
    opacity: 0.2;
  }
  100% {
    -webkit-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
}
@-o-keyframes circle-fill-anim {
  0% {
    -o-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
  50% {
    -o-transform: rotate(0deg) scale(1) skew(1deg);
    opacity: 0.2;
  }
  100% {
    -o-transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
}
@keyframes circle-fill-anim {
  0% {
    transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
  50% {
    transform: rotate(0deg) scale(1) skew(1deg);
    opacity: 0.2;
  }
  100% {
    transform: rotate(0deg) scale(0.7) skew(1deg);
    opacity: 0.2;
  }
}
