@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ----------------------------------
   CSS Variables & Design Tokens
---------------------------------- */
:root {
  --primary: #ef4444;         /* Red safety accent */
  --primary-hover: #dc2626;
  --secondary: #2563eb;       /* Blue corporate accent */
  --accent-blue: #3b82f6;     /* Light blue details */
  --bg-dark: #000000;         /* Pure Black */
  --bg-dark-card: #0a0a0a;    /* Charcoal dark card */
  --bg-light: #f8fafc;        /* Main light body background */
  --bg-white: #ffffff;
  --text-dark: #0f172a;       /* Slate 900 */
  --text-light: #f8fafc;
  --text-muted: #64748b;      /* Slate 500 */
  --border-light: #e2e8f0;
  
  /* Glassmorphism Details */
  --glass-bg: rgba(10, 10, 10, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  --max-width: 1200px;
}

/* ----------------------------------
   Reset & Global Styles
---------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.section-padding {
  padding: 100px 0;
}

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

.text-primary {
  color: var(--primary);
}

/* ----------------------------------
   Button Component Style
---------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  font-family: 'Outfit', sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(255, 94, 20, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 94, 20, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--bg-dark);
  border-color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ----------------------------------
   Header & Navigation
---------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

header .top-bar {
  background-color: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

header .top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .top-bar .info-links {
  display: flex;
  gap: 20px;
}

header .top-bar .info-links a {
  display: flex;
  align-items: center;
  gap: 6px;
}

header .top-bar .info-links a:hover {
  color: var(--primary);
}

header .main-nav {
  padding: 15px 0;
  transition: var(--transition-normal);
}

header.scrolled .main-nav {
  padding: 10px 0;
}

header .main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-svg {
  width: 45px;
  height: 45px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 22px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 10px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: white;
}

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

/* Solutions Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: 250px;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
}

.dropdown-link i {
  color: var(--primary);
  width: 16px;
  text-align: center;
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  padding-left: 28px;
}

.nav-cta {
  display: block;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.2s ease, width 0.2s ease;
  transform-origin: center;
}

/* Animate bars → X when active */
.menu-toggle.active .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active .menu-toggle-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.menu-toggle.active .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Close button inside mobile drawer ─── */
.nav-close-btn-container {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

.nav-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 22px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-close-btn:hover {
  color: white;
  background: rgba(255,255,255,0.08);
}

/* Hide close-btn on desktop — only visible in mobile drawer */
.nav-close-btn-container {
  display: none;
}

/* ----------------------------------
   Hero Slider
---------------------------------- */
.hero-slider {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-dark);
}

.slider-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transform: scale(1.06);
  transition: opacity 1.2s ease-in-out, transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 2;
}

.slide.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}

.slide-content {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  color: white;
}

.slide-content h1 {
  font-size: 56px;
  font-weight: 800;
  max-width: 800px;
  margin-bottom: 20px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s ease 0.3s, opacity 0.8s ease 0.3s;
  letter-spacing: -1px;
}

.slide-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin-bottom: 35px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s ease 0.5s, opacity 0.8s ease 0.5s;
}

.slide-content .button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.8s ease 0.7s, opacity 0.8s ease 0.7s;
}

.slide.active .slide-content h1,
.slide.active .slide-content p,
.slide.active .slide-content .button-group {
  transform: translateY(0);
  opacity: 1;
}

/* Slider Controls */
.slider-arrows {
  position: absolute;
  bottom: 50px;
  right: 5%;
  display: flex;
  gap: 15px;
  z-index: 10;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

.slider-arrow:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
}

.slider-dots {
  position: absolute;
  bottom: 50px;
  left: 5%;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot:hover,
.slider-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* ----------------------------------
   Stats Showcase Section
---------------------------------- */
.stats-section {
  background-color: var(--bg-dark);
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ----------------------------------
   About Section
---------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-content .sub-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}

.about-content h2 {
  font-size: 42px;
  margin-bottom: 25px;
  color: var(--text-dark);
  font-weight: 800;
}

.about-content p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
  text-justify: inter-word;
}

.about-bullets {
  margin: 30px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.about-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
}

.about-bullet i {
  color: var(--primary);
  font-size: 18px;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border: 1px solid var(--border-light);
}

.about-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .about-image img {
    height: 320px;
  }
}

/* ----------------------------------
   Vision, Mission, Values Section
---------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 25px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pillar-img-wrapper {
  border-radius: 16px;
  overflow: hidden;
}

.pillar-img-wrapper img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.pillar-card:hover .pillar-img-wrapper img {
  transform: scale(1.05);
}

.pillar-info h3 {
  font-size: 22px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.pillar-info p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ----------------------------------
   Solutions Section
---------------------------------- */
.solutions-section {
  background-color: var(--bg-dark);
  color: white;
}

.section-header {
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header .sub-title {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  display: inline-block;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
}

.section-header p {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 15px;
  font-size: 16px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.solution-card {
  background-color: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.solution-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 94, 20, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.solution-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 94, 20, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 25px;
}

.solution-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 700;
}

.solution-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.solution-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.solution-list li i {
  color: var(--primary);
  font-size: 14px;
}

.solution-card .learn-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.solution-card .learn-more:hover {
  gap: 12px;
}

/* ----------------------------------
   Projects Showcase
---------------------------------- */
.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 45px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  background-color: white;
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(255, 94, 20, 0.2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
  border-color: rgba(255, 94, 20, 0.15);
}

.project-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}

.project-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.project-details {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-details h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.project-details p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 15px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.project-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-meta i {
  color: var(--primary);
}

/* ----------------------------------
   Contact / Enquiry Area
---------------------------------- */
.contact-section {
  position: relative;
  background-color: var(--bg-dark);
  color: white;
  overflow: hidden;
}

.contact-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 94, 20, 0.08) 0%, rgba(9, 13, 22, 0) 70%);
  bottom: -100px;
  right: -100px;
  z-index: 1;
}

.contact-section .container {
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  font-size: 16px;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-card {
  display: flex;
  gap: 20px;
}

.info-card-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 20, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 20px;
  flex-shrink: 0;
}

.info-card-details h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.info-card-details p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.info-card-details a {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

.info-card-details a:hover {
  text-decoration: underline;
}

/* Glassmorphic Contact Form Box */
.form-box {
  background-color: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 45px;
  box-shadow: var(--glass-shadow);
}

.form-box h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-box .form-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.form-control {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px 18px;
  color: white;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(255, 94, 20, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

select.form-control option {
  background-color: var(--bg-dark-card);
  color: white;
}

.form-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 5px;
  display: none;
}

.form-group.has-error .form-control {
  border-color: #ef4444;
}

.form-group.has-error .form-error {
  display: block;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.form-success-msg {
  display: none;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background-color: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

/* ----------------------------------
   Footer
---------------------------------- */
footer {
  background-color: #05070a;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo-container {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-nav-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-address-col h4 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-address-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-address-item {
  display: flex;
  gap: 15px;
  font-size: 14px;
}

.footer-address-item i {
  color: var(--primary);
  margin-top: 3px;
  font-size: 16px;
}

.footer-address-item strong {
  color: white;
  display: block;
  margin-bottom: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* Back to Top Arrow Button */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(255, 94, 20, 0.4);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-5px);
}

/* ----------------------------------
   Media Queries & Responsiveness
---------------------------------- */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .solutions-grid,
  .projects-grid,
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  /* Navigation mobile behavior */
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-dark-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 20px;
    transition: var(--transition-slow);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  /* Mobile Navigation Backdrop */
  .nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 998;
  }
  
  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu.active {
    right: 0;
  }

  .nav-close-btn-container {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 12px 0;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    padding: 5px 0;
    display: none; /* toggled by click */
  }
  
  .nav-dropdown.active {
    display: block;
  }
  
  .dropdown-link {
    padding: 8px 20px;
  }
  
  .nav-cta {
    margin-top: 20px;
    width: 100%;
  }
  
  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Hero typography */
  .slide-content h1 {
    font-size: 32px;
    line-height: 1.25;
  }
  
  .slide-content p {
    font-size: 15px;
  }

  .slide-content .button-group {
    justify-content: center;
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 20px;
  }
  
  .stat-card:nth-child(even) {
    border-left: none;
  }
  
  .stat-card:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .solutions-grid,
  .projects-grid,
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-box {
    padding: 30px 20px;
  }

  .about-badge-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .about-bullets {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .map-tabs {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 15px !important;
  }
  .logo-subtitle {
    font-size: 8px !important;
    letter-spacing: 1px !important;
  }
  .logo-svg {
    width: 32px !important;
    height: 32px !important;
  }
  .menu-toggle {
    font-size: 20px !important;
  }
}

/* ----------------------------------
   Scroll Reveal Animations
---------------------------------- */
.reveal,
.fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal.visible,
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.fade-in.visible {
  opacity: 1;
}

.fade-left {
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

.fade-right {
  opacity: 0;
  transform: translateX(-45px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ----------------------------------
   Our Clients Section
---------------------------------- */
.clients-section {
  background-color: var(--bg-white);
  position: relative;
}

.clients-slider-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 40px;
  gap: 20px;
}

.clients-slider-container {
  flex-grow: 1;
  overflow: hidden;
}

.clients-slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.client-logo-item {
  flex-shrink: 0;
  padding: 0 10px;
  box-sizing: border-box;
  width: 20%; /* 5 visible by default on desktop */
}

.client-logo-card {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: var(--transition-normal);
}

.client-logo-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: var(--transition-normal);
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.clients-arrow {
  background-color: white;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
  font-size: 14px;
  flex-shrink: 0;
}

.clients-arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(255, 94, 20, 0.15);
}

.clients-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.clients-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-light);
  cursor: pointer;
  transition: var(--transition-normal);
}

.clients-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

/* Responsive client slider rules */
@media (max-width: 1024px) {
  .client-logo-item {
    width: 33.333%; /* 3 visible on tablet */
  }
}

@media (max-width: 768px) {
  .client-logo-item {
    width: 50%; /* 2 visible on small tablet */
  }
  .client-logo-card {
    height: 95px;
  }
}

@media (max-width: 480px) {
  .client-logo-item {
    width: 100% !important; /* 1 visible on mobile! */
  }
  .clients-slider-wrapper {
    gap: 10px;
  }
  .clients-arrow {
    width: 36px;
    height: 36px;
  }
}

/* ----------------------------------
   Floating Contact Widget (WhatsApp & Call)
---------------------------------- */
.floating-contact-widget {
  position: fixed;
  bottom: 40px;
  left: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
  background-color: #25D366;
}

.whatsapp-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: pulse-whatsapp 2s infinite;
  pointer-events: none;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.call-btn {
  background-color: var(--primary); /* Safety Red */
}

.call-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  animation: pulse-call 2s infinite 1s;
  pointer-events: none;
}

@keyframes pulse-call {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@media (max-width: 768px) {
  .floating-contact-widget {
    bottom: 25px;
    left: 25px;
    gap: 12px;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* ==========================================
   Newsletter Subscription Modal Styles
   ========================================== */
.newsletter-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.newsletter-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.newsletter-modal-card {
  background-color: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  max-width: 550px;
  width: 90%;
  padding: 45px 40px;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7);
  transform: translateY(40px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.newsletter-modal-overlay.active .newsletter-modal-card {
  transform: translateY(0) scale(1);
}

.newsletter-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 36px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.newsletter-modal-close:hover {
  color: var(--primary);
}

.newsletter-modal-body {
  text-align: center;
  color: white;
}

.newsletter-modal-icon {
  font-size: 56px;
  color: var(--primary);
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 15px rgba(239, 68, 68, 0.3));
}

.newsletter-modal-body h3 {
  font-size: 28px;
  margin-bottom: 12px;
  color: white;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.newsletter-modal-body p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
  line-height: 1.6;
}

.newsletter-form-group {
  display: flex;
  gap: 12px;
}

.newsletter-form-group input {
  flex-grow: 1;
  padding: 14px 22px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.newsletter-form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form-group .btn {
  white-space: nowrap;
}

.newsletter-status-msg {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  display: none;
  animation: fadeIn 0.3s ease;
}

.newsletter-status-msg.success {
  color: #10b981;
  display: block;
}

.newsletter-status-msg.error {
  color: #ef4444;
  display: block;
}

.newsletter-status-msg.info {
  color: #3b82f6;
  display: block;
}

@media (max-width: 576px) {
  .newsletter-modal-card {
    padding: 35px 25px;
  }
  .newsletter-form-group {
    flex-direction: column;
  }
  .newsletter-form-group input {
    width: 100%;
  }
  .newsletter-form-group .btn {
    width: 100%;
    justify-content: center;
  }
}


