/* ===========================================
   UNIFIED FONT SYSTEM & 60-30-10 COLOR SCHEME
   =========================================== */

/* Prevent background flashing during page transitions */
html, body {
  background-color: #ffffff !important;
  transition: background-color 0.1s ease !important;
}

/* Ensure smooth transitions without background changes */
* {
  transition: background-color 0.1s ease, background 0.1s ease;
}

/* Prevent dark backgrounds during loading states */
body.loading, body[style*="display: none"], body[style*="visibility: hidden"] {
  background-color: #ffffff !important;
}

/* Import Google Fonts for consistent typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Janna LT Bold Font for Arabic */
@font-face {
  font-family: 'Janna LT Bold';
  src: url('assets/Janna LT Bold/Janna LT Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* ===========================================
   UNIFIED HEADER & NAVIGATION STYLES
   =========================================== */

/* Global header styles for all pages */
header {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 10000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  width: 100%;
  transition: all 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.logo {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

/* Desktop navigation */
nav {
  display: flex;
  align-items: center;
  background: transparent;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  background: transparent;
}

nav li {
  margin: 0;
  background: transparent;
}

nav a {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: transparent;
  position: relative;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

nav a:hover {
  background: rgba(0, 174, 202, 0.1);
  color: #00aeca;
  transform: translateY(-1px);
  text-shadow: 0 2px 4px rgba(0, 174, 202, 0.2);
}

nav a.active {
  background: rgba(0, 174, 202, 0.15);
  color: #0891b2;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 174, 202, 0.3);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary-500);
  border-radius: 1px;
}

/* Mobile navigation toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-500);
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 10001;
}

.nav-toggle:hover {
  background: var(--primary-50);
  color: var(--primary-600);
}

.nav-toggle:focus {
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}

/* ===========================================
   NEWSLETTER SECTION - MODERN & CLEAN
   =========================================== */

.newsletter-section {
  background: #f8fafc;
  padding: 3rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.newsletter-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.newsletter-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem 3rem;
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.newsletter-header {
  flex: 1;
}

.newsletter-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.newsletter-header p {
  font-size: 1.1rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
}

.newsletter-form {
  flex: 0 0 auto;
  min-width: 350px;
}

.form-group {
  display: flex;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group:focus-within {
  border-color: #00aeca;
  box-shadow: 
    0 0 0 3px rgba(0, 174, 202, 0.1),
    0 4px 12px rgba(0, 174, 202, 0.15);
  transform: translateY(-1px);
}

.email-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: #1e293b;
  background: transparent;
  font-weight: 500;
  transition: all 0.2s ease;
}

.email-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.email-input:focus::placeholder {
  color: #cbd5e1;
}

.subscribe-btn {
  background: #00aeca;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.subscribe-btn:hover {
  background: #0891b2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 174, 202, 0.3);
}

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

.subscribe-btn:active {
  transform: translateY(0);
}

.subscribe-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.subscribe-btn:hover i {
  transform: translateX(2px);
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.form-message.show {
  opacity: 1;
  transform: translateY(0);
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .newsletter-wrapper {
    padding: 2rem 2.5rem;
    gap: 2rem;
  }
  
  .newsletter-header h2 {
    font-size: 1.75rem;
  }
  
  .newsletter-form {
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .newsletter-section {
    padding: 2.5rem 0;
  }
  
  .newsletter-container {
    padding: 0 1rem;
  }
  
  .newsletter-wrapper {
    flex-direction: column;
    gap: 2rem;
    text-align: center !important;
    padding: 2rem;
  }
  
  .newsletter-header h2 {
    font-size: 1.5rem;
  }
  
  .newsletter-header p {
    font-size: 1rem;
  }
  
  .newsletter-form {
    min-width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .form-group {
    flex-direction: column;
  }
  
  .email-input {
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid #e2e8f0;
  }
  
  .subscribe-btn {
    border-radius: 0 0 12px 12px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .newsletter-section {
    padding: 2rem 0;
  }
  
  .newsletter-wrapper {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .newsletter-header h2 {
    font-size: 1.3rem;
  }
  
  .newsletter-header p {
    font-size: 0.95rem;
  }
  
  .email-input {
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
  }
  
  .subscribe-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Social Media Styles */
.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-500);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--secondary-500);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 174, 202, 0.3);
}

.social-description {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* Footer Newsletter */
.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-email-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--secondary-500);
  transition: all 0.2s ease;
}

.footer-email-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 2px rgba(0, 174, 202, 0.1);
}

.footer-newsletter-btn {
  background: var(--primary-500);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-newsletter-btn:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
}

/* Social Icons Styling */
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-500);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-icons a:hover {
  background: var(--primary-300);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 174, 202, 0.3);
}

/* ===========================================
   FONT SYSTEM - UNIFIED ACROSS ALL PAGES
   =========================================== */
:root {
  /* Primary Font Stack - 60% usage */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Display Font Stack - 30% usage */
  --font-display: 'Poppins', 'Space Grotesk', 'Inter', sans-serif;
  
  /* Accent Font Stack - 10% usage */
  --font-accent: 'Space Grotesk', 'Poppins', sans-serif;
  
  /* Font Weights - Unified Scale */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;
  
  /* Font Sizes - Consistent Scale */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 1.875rem;  /* 30px */
  --text-4xl: 2.25rem;   /* 36px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 3.75rem;   /* 60px */
  
  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
}

/* ===========================================
   CUSTOM COLOR THEME - NEW BRAND COLORS
   =========================================== */
:root {
  /* PRIMARY COLORS - #00aeca */
  --primary-50: #e6f7ff;
  --primary-100: #b3e6ff;
  --primary-200: #80d4ff;
  --primary-300: #4dc2ff;
  --primary-400: #1ab0ff;
  --primary-500: #00aeca;  /* Main primary color */
  --primary-600: #0099b3;
  --primary-700: #008299;
  --primary-800: #006b80;
  --primary-900: #005466;
  
  /* SECONDARY COLORS - Dark Blue */
  --secondary-50: #f8fafc;
  --secondary-100: #f1f5f9;
  --secondary-200: #e2e8f0;
  --secondary-300: #cbd5e1;
  --secondary-400: #94a3b8;
  --secondary-500: #1e293b;  /* Main secondary color - Dark Blue */
  --secondary-600: #0f172a;
  --secondary-700: #020617;
  --secondary-800: #000000;
  --secondary-900: #000000;
  
  /* GRAY COLORS - Supporting theme */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* CUSTOM GRAY - #d9d9d9 */
  --custom-gray: #d9d9d9;
  
  /* NEUTRAL COLORS */
  --white: #ffffff;
  --black: #000000;
  
  /* GRADIENT DEFINITIONS */
  --gradient-primary: linear-gradient(135deg, var(--primary-500), var(--primary-600), var(--primary-700));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-500), var(--secondary-600), var(--secondary-700));
  --gradient-accent: linear-gradient(135deg, var(--primary-400), var(--primary-500), var(--primary-600));
  --gradient-hero: linear-gradient(135deg, var(--primary-400), var(--primary-500), var(--secondary-500));
  --gradient-card: linear-gradient(145deg, var(--white), var(--custom-gray));
  --gradient-overlay: linear-gradient(135deg, rgba(0, 174, 202, 0.1), rgba(30, 41, 59, 0.05));
  
  /* LEGACY COMPATIBILITY */
  --turquoise: var(--primary-500);
  --primary: var(--primary-500);
  --secondary: var(--secondary-500);
  --accent: var(--primary-500);
  --gray-dark: var(--secondary-500);
  --gray-light: var(--custom-gray);
  --muted: var(--gray-500);
  --text-primary: var(--secondary-500);
  --text-secondary: var(--gray-600);
  --text-light: var(--gray-400);
  --text-white: var(--white);
  --bg-primary: var(--white);
  --bg-secondary: var(--custom-gray);
  --bg-dark: var(--secondary-500);
  --border-light: var(--custom-gray);
  --border-medium: var(--gray-300);
  --border-dark: var(--gray-400);
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.15);
  --shadow-primary: rgba(0, 174, 202, 0.15);
}

:root {
  /* Primary Colors */
  --primary: var(--primary-500);
  --primary-dark: var(--primary-600);
  --primary-light: var(--primary-400);
  --primary-gradient: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  
  /* Secondary Colors */
  --secondary: var(--secondary-500);
  --secondary-light: var(--secondary-400);
  --secondary-dark: var(--secondary-700);
  
  /* Neutral Colors - Using main definitions */
  --white: var(--white);
  --gray-50: var(--gray-50);
  --gray-100: var(--gray-100);
  --gray-200: var(--gray-200);
  --gray-300: var(--gray-300);
  --gray-400: var(--gray-400);
  --gray-500: var(--gray-500);
  --gray-600: var(--gray-600);
  --gray-700: var(--gray-700);
  --gray-800: var(--gray-800);
  --gray-900: var(--gray-900);
  
  /* Accent Colors */
  --accent: var(--primary-500);
  --success: #27ae60;
  --warning: #f39c12;
  --error: #e74c3c;
  
  /* Background Colors */
  --bg-primary: var(--white);
  --bg-secondary: var(--gray-50);
  --bg-dark: var(--secondary-500);
  
  /* Text Colors */
  --text-primary: var(--secondary-500);
  --text-secondary: var(--gray-500);
  --text-light: var(--gray-400);
  --text-white: var(--white);
  
  /* Border Colors */
  --border-light: rgba(0, 174, 202, 0.1);
  --border-medium: rgba(0, 174, 202, 0.2);
  --border-dark: rgba(0, 174, 202, 0.3);
  
  /* Shadow Colors */
  --shadow-light: rgba(0,0,0,0.08);
  --shadow-medium: rgba(0,0,0,0.15);
  --shadow-dark: rgba(0,0,0,0.25);
  --shadow-primary: rgba(0, 174, 202, 0.15);
  
  /* Legacy Variables for Compatibility */
  --turquoise: var(--primary);
  --gray-dark: var(--text-primary);
  --gray-light: var(--gray-100);
  --muted: var(--text-secondary);
}
/* Typography System - Already defined above */

/* ===========================================
   BASE STYLES - UNIFIED TYPOGRAPHY & COLORS
   =========================================== */
body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  margin: 0;
  padding: 0;
  color: var(--text-primary);
  background: var(--gradient-card);
  min-height: 100vh;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Ensure all elements respect box-sizing */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ===========================================
   HEADER & LOGO - FIXED PLACEMENT (REMOVED DUPLICATE)
   =========================================== */
/* ===========================================
   NAVIGATION - UNIFIED STYLING (REMOVED DUPLICATE)
   =========================================== */
/* ===========================================
   HERO SECTION - TEXT OVER VIDEO
   =========================================== */
.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 174, 202, 0.3), rgba(0, 174, 202, 0.2));
  z-index: 1;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 1;
  filter: brightness(0.7) blur(3px);
}

/* YouTube iframe specific styling for fullscreen mobile */
.hero-video[src*="youtube.com"] {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  object-fit: cover !important;
  z-index: 1 !important;
  opacity: 1 !important;
  filter: brightness(0.7) blur(3px) !important;
}

/* Mobile specific iframe styling */
@media (max-width: 768px) {
  .hero-video[src*="youtube.com"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    border: none !important;
    object-fit: cover !important;
    z-index: 1 !important;
    opacity: 1 !important;
    filter: brightness(0.7) blur(3px) !important;
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.38));
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  text-align: center !important;
  max-width: 800px;
  margin: 0 auto;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.hero-content:hover {
  transform: none;
  box-shadow: none;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, rgba(0, 174, 202, 0.08), rgba(0, 174, 202, 0.04));
  border-radius: 32px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-content:hover::before {
  opacity: 1;
}
.hero-logo {
  height: 9rem;
  width: auto;
  max-width: 450px;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
  margin-bottom: 0.75rem;
  display: block;
}

.hero-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
}

.hero-content img {
  height: 6rem;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.hero-content img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.4));
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.hero-content p {
  color: var(--white);
  font-size: var(--text-lg);
  margin: 0;
  font-family: var(--font-primary);
  font-weight: var(--font-medium);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
/* ===========================================
   BUTTON SYSTEM - UNIFIED STYLING
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-size: var(--text-base);
  font-family: var(--font-primary);
  font-weight: var(--font-semibold);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 174, 202, 0.3);
  position: relative;
  overflow: hidden;
}

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

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

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 174, 202, 0.4);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  text-decoration: none !important;
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient-primary);
  text-decoration: none !important;
}

/* Ensure all button states never show underlines */
.btn, .btn-primary, .btn-outline, .btn-cta,
.btn:hover, .btn-primary:hover, .btn-outline:hover, .btn-cta:hover,
.btn:focus, .btn-primary:focus, .btn-outline:focus, .btn-cta:focus,
.btn:active, .btn-primary:active, .btn-outline:active, .btn-cta:active {
  text-decoration: none !important;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-500); /* Using new primary color */
  border-color: var(--white);
  text-decoration: none !important;
}

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

/* ===========================================
   CONSISTENT BUTTON POSITIONING SYSTEM
   =========================================== */

/* Ensure all CTA buttons have consistent positioning */
.hero-ctas .btn,
.about-card .btn,
.vision-card .btn,
.solution-card .btn,
.contact-form .btn,
.project-card .btn,
.news-card .btn,
.commercial-card .btn,
.partnership-card .btn,
.capability-card .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center !important;
  vertical-align: middle;
  width: fit-content;
  min-width: 120px;
}

/* Ensure card containers have proper positioning for buttons */
.about-card,
.vision-card,
.solution-card,
.project-card,
.news-card,
.commercial-card,
.partnership-card,
.capability-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.about-card .btn,
.vision-card .btn,
.solution-card .btn,
.project-card .btn,
.news-card .btn,
.commercial-card .btn,
.partnership-card .btn,
.capability-card .btn {
  margin-top: auto;
  align-self: flex-start;
  width: fit-content;
}

/* Card content areas should grow to push buttons down */
.about-card .card-content,
.vision-card .card-content,
.solution-card .solution-content,
.project-card .project-content,
.news-card .news-content,
.commercial-card .card-content,
.partnership-card .card-content,
.capability-card .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Ensure buttons are properly positioned at bottom */
.about-card .card-content .btn,
.vision-card .card-content .btn,
.solution-card .solution-content .btn,
.project-card .project-content .btn,
.news-card .news-content .btn,
.commercial-card .card-content .btn,
.partnership-card .card-content .btn,
.capability-card .card-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Ensure solution-card buttons are positioned at bottom */
.solution-card .btn {
  margin-top: auto;
  align-self: flex-start;
  width: fit-content;
}

@media (max-width: 768px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ===========================================
   SECTION STYLES - UNIFIED LAYOUT
   =========================================== */
.section {
  width: 100%;
  min-height: 60vh; /* Reduced from 80vh */
  max-width: 1200px;
  margin: 0 auto;
  background: var(--gradient-card);
  border-radius: 20px; /* Reduced from 24px */
  padding: 3rem 2rem; /* Reduced from 4rem */
  color: var(--text-primary);
  font-family: var(--font-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow-light);
  border: 1px solid var(--custom-gray);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 1.5rem; /* Reduced from 2rem */
}

.section:hover {
  transform: translateY(-3px); /* Reduced from -5px */
  box-shadow: 0 15px 45px var(--shadow-medium);
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600), var(--primary-500));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.section:hover::before {
  opacity: 1;
}

.section:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(30, 41, 59, 0.15);
}
.vision-image {
  width: 50%;
  height: 80%;
  border: solid 0px transpareent;
  border-radius: 12%;
  box-shadow: 0 4px 24px rgba(30, 41, 59, 0.2);
  overflow: hidden;
}
.vision-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem); /* Reduced size */
  margin-bottom: 1.5rem; /* Reduced from 2rem */
  color: var(--primary-500); /* Using new primary color */
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  text-align: center !important;
  letter-spacing: -0.02em;
}
.section p {
  font-size: var(--text-base); /* Reduced from text-lg */
  max-width: 700px; /* Reduced from 800px */
  text-align: center !important;
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  font-weight: var(--font-normal);
}
.section-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}
.section-img {
  width: 80%;
  max-width: 600px;
  height: 260px;
  object-fit: cover;
  border-radius: 24px;
  filter: brightness(0.85) grayscale(0.1) drop-shadow(0 4px 24px rgba(52,73,94,0.10));
  opacity: 0.85;
  transition: filter 0.3s, opacity 0.3s;
}
.section-img:hover {
  filter: brightness(1) grayscale(0) drop-shadow(0 8px 32px rgba(28,145,122,0.15));
  opacity: 1;
}

/* Projects Slideshow */
#projects {
  /* ensure the section expands to contain its cards */
  min-height: auto;
  width: auto;
}
.projects-list {
  width: 100%;
  max-width: 100%;
  min-height: 60vh;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0; /* ensure no gap between cards */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.project-card {
  flex: 0 0 100%;
  width: 100%;
  height: 60vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  scroll-snap-align: start;
  background: #eee;
  border-radius: 0; /* image handles radius */
  border: none;
  overflow: hidden; /* clip overflowing children */
}

/* ensure inner image shows the rounded corners and has the border */
.project-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.8);
  display: block;
  border-radius: 24px;
  border: 1px solid rgba(52,73,94,0.06);
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.project-card .project-info {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.95);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  margin: 1rem;
  max-width: 400px;
  box-shadow: 0 4px 24px rgba(0, 174, 202, 0.12);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* ensure section doesn't force extra vertical size */
#projects { box-sizing: border-box; }

/* small screens: reduce heights to avoid overflow */
@media (max-width: 600px) {
  .project-card { height: 45vh; }
  .project-card img { border-radius: 16px; }
  .project-card .project-info { padding: 1rem; margin: 0.75rem; }
}

/* Contact Section - Compact Design */
#contact {
  background: transparent;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(27,160,186,0.02) 0%, 
    rgba(23,162,184,0.04) 25%,
    rgba(20,164,182,0.02) 50%,
    rgba(17,166,180,0.04) 75%,
    rgba(14,168,178,0.02) 100%);
  z-index: -1;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.contact-header {
  text-align: center !important;
  margin-bottom: 2.5rem;
}

.contact-header h2 {
  font-size: var(--text-4xl);
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  position: relative;
}

.contact-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.contact-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-primary);
  border-radius: 12px;
  box-shadow: 0 4px 16px var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-primary);
}

.info-item i {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-white);
  flex-shrink: 0;
}

.info-item h4 {
  font-size: var(--text-base);
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
  font-weight: var(--font-semibold);
}

.info-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--shadow-light);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

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

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600), var(--primary-500));
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.contact-form input, 
.contact-form textarea {
  padding: 1rem 1.2rem;
  border: 2px solid rgba(27,160,186,0.1);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Piersob', Arial, sans-serif;
  background: rgba(248,249,250,0.8);
  color: var(--gray-dark);
  transition: all 0.3s ease;
  position: relative;
}

.contact-form input:focus, 
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 174, 202, 0.1);
  transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
  color: var(--primary-500);
  transform: translateY(-2px);
}

.contact-form textarea {
  grid-column: 1 / -1;
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-family: 'Etab Plus', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 174, 202, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  max-width: 300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-form button::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.6s ease;
}

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

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 174, 202, 0.4);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-500));
}

.contact-form button:active {
  transform: translateY(-1px);
}

/* Decorative elements for contact section */
#contact::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 8%;
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, var(--primary-500), var(--primary-600));
  border-radius: 50%;
  opacity: 0.05;
  animation: float 12s ease-in-out infinite;
}

.contact-form::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--primary-600), var(--primary-500));
  border-radius: 50%;
  opacity: 0.08;
  animation: float 10s ease-in-out infinite 4s;
}

/* ===========================================
   FOOTER - ENHANCED WITH GRADIENTS
   =========================================== */
footer {
  display: block !important;
  visibility: visible !important;
  position: relative !important;
  width: 100%;
  background: var(--secondary-500) !important;
  color: white !important;
  padding: 2rem 0 1.5rem 0 !important;
  text-align: center !important;
  margin-top: 2rem !important;
  z-index: 10 !important;
  border-top: 2px solid var(--primary-200);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.footer-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
  position: relative;
  z-index: 2;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: var(--text-lg);
  color: var(--white);
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-weight: var(--font-semibold);
  position: relative;
  letter-spacing: -0.01em;
  text-align: center !important;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-gradient);
  border-radius: 1px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center !important;
}

.footer-section li {
  margin-bottom: 0.5rem;
  text-align: center !important;
}

.footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: var(--text-sm);
  font-weight: var(--font-normal);
  font-family: var(--font-primary);
  display: inline-block;
  text-align: center !important;
}

.footer-section a:hover {
  color: var(--primary-300);
  transform: translateX(4px);
  text-decoration: underline;
  text-decoration-color: var(--primary-400);
}

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

.footer-bottom p {
  margin: 0 0 0.5rem 0;
  font-size: var(--text-sm);
  color: var(--text-white);
}

.footer-bottom small {
  font-size: var(--text-xs);
  color: var(--gray-400);
  font-style: italic;
}

.social-icons {
  display: flex !important;
  gap: 1rem !important;
  justify-content: center;
  margin-top: 1rem;
  visibility: visible !important;
  opacity: 1 !important;
}

.social-icons a {
  color: white !important;
  font-size: 1.2rem !important;
  transition: color 0.3s ease !important;
  text-decoration: none;
  padding: 0.5rem;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  background: #00aeca !important;
  border-radius: 50% !important;
  visibility: visible !important;
  opacity: 1 !important;
  border: 2px solid #ffffff !important;
}

.social-icons a i {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-style: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Specific Font Awesome icon fixes */
.social-icons a i.fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

.social-icons a i.fa-facebook-f:before {
  content: "\f39e" !important;
}

.social-icons a i.fa-whatsapp:before {
  content: "\f232" !important;
}

.social-icons a i.fa-instagram:before {
  content: "\f16d" !important;
}

.social-icons a i.fa-linkedin-in:before {
  content: "\f0e1" !important;
}

.social-icons a:hover {
  color: #00aeca !important;
  transform: translateY(-2px);
  background: #ffffff !important;
}

.social-icons a:active {
  transform: translateY(-1px) scale(1.05);
}

/* Footer Decorative Elements */
footer::after {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 50px;
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.footer-content::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50px;
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 50%;
  opacity: 0.08;
  animation: float 10s ease-in-out infinite 2s;
}

.vision-section {
  position: relative;
  width: 100vw;
  height: 70vh; /* Reduced height */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  scroll-snap-align: start;
}
#video-bg-elem {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
}
.vision-content {
  position: relative;
  z-index: 2;
  width: 80vw; /* Increased width */
  margin-left: 5vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: none;
}
.vision-content h2 {
  font-size: 3rem;
  color: var(--primary-500);
  font-family: 'Unique', Arial, sans-serif;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-shadow: 2px 2px 16px rgba(0, 0, 0, 0.9), 0 0 12px var(--dark-gray);
}
.vision-content p {
  font-size: 1.7rem;
  color: var(--white);
  font-family: 'Etab Plus', Arial, sans-serif;
  text-shadow: 0 1px 4px rgba(0, 0, 0,0.4), 0 0 12px var(--gray-dark);
  max-width: 700px;
  margin-bottom: 2rem;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity; /* more forgiving than mandatory */
}
body {
  overflow-y: scroll;
  scroll-padding-top: 72px; /* account for sticky header */
  scroll-snap-type: y mandatory;
}
section, .vision-section {
  scroll-snap-align: start;
}

/* Our Product section styles */
.product-section {
  width: 85vw;
  max-width: 1200px;
  margin: 3rem auto;
  background: var(--white);
  border-radius: 20px;
  padding: 2.4rem;
}
.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: center;
}
.product-media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(30, 41, 59, 0.08);
}
.product-content h2 {
  color: var(--primary-500);
  margin-top: 0;
}
.product-sub {
  margin: 0.6rem 0 1.2rem 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem 0;
  display: grid;
  gap: 0.6rem;
}
.product-features li {
  padding-left: 0.2rem;
}
.product-cta { display:flex; gap:0.8rem; }
.btn-outline { background: transparent; border: 1px solid var(--primary-500); color: var(--primary-500); }

@media (max-width: 900px) {
  .product-inner { grid-template-columns: 1fr; }
  .product-section { padding: 1.25rem; }
}

/* Horizontal product list */
.product-list {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0 0.75rem 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

/* Category selector above product list */
.product-categories {
  display:flex;
  gap:0.75rem;
  align-items:center;
  margin: 0 0 0.75rem 0;
}
.product-cat {
  background: transparent;
  border: 1px solid rgba(19,50,65,0.08);
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  color: var(--gray-dark);
  transition: background 200ms, color 200ms, transform 120ms;
}
.product-cat:hover { transform: translateY(-2px); }
.product-cat.active {
  background: linear-gradient(90deg, rgba(0, 174, 202, 0.12), rgba(0, 174, 202, 0.12));
  border-color: var(--primary-500);
  color: var(--primary-500);
  box-shadow: 0 6px 20px rgba(0, 174, 202, 0.08);
}

/* hide non-matching cards */
.product-card.hidden {
  opacity: 0.05;
  transform: scale(0.98);
  pointer-events: none;
}
.product-card {
  flex: 0 0 320px;
  background: linear-gradient(180deg, var(--white), var(--gray-50));
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 30px rgba(30, 41, 59, 0.06);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}
.product-footer {
  display:flex;
  justify-content:center;
  margin-top: 1rem;
}
.btn-primary {
  background: var(--primary-500);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
}

/* small screens: reduce card width */
@media (max-width: 600px) {
  .product-card { flex: 0 0 84%; }
}

/* Two-product layout styling */
.product-list.two-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.product-list.two-products .product-card {
  flex: none;
  width: 100%;
  text-align: center !important;
  padding: 2rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-list.two-products .product-card img {
  height: 200px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.product-list.two-products .product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-500);
}

.product-list.two-products .product-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .product-list.two-products {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Projects section with transparent background - half screen layout */
.projects-section {
  background: transparent;
  padding: 4rem 2rem;
}

.projects-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 50vh;
}

.projects-image {
  position: relative;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.projects-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.project-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.project-slide.active {
  opacity: 1;
}

.project-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-slide:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white ;
  padding: 2rem;
  text-align: center !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.project-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: 'Unique', Arial, sans-serif;
  color: var(--primary-500);
}

.project-overlay p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
  color:var(--primary-600)
}

.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.carousel-btn {
  background: rgba(255,255,255,0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-500);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
  background: var(--primary-500);
  color: white;
  transform: scale(1.1);
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255,255,255,0.8);
}

.projects-content {
  padding: 2rem;
}

.projects-content h2 {
  font-size: 2.5rem;
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
  font-family: 'Unique', Arial, sans-serif;
}

.projects-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: 2rem;
}

/* Product section - Smaller and centered */
.product-section {
  background: transparent;
  padding: 2rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  max-width: 1000px;
  margin: 0 auto;
}

.product-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(27,160,186,0.02) 0%, 
    rgba(23,162,184,0.04) 25%,
    rgba(20,164,182,0.02) 50%,
    rgba(17,166,180,0.04) 75%,
    rgba(14,168,178,0.02) 100%);
  z-index: -1;
}

.product-section h2 {
  text-align: center !important;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: var(--font-extrabold);
  position: relative;
  line-height: var(--leading-tight);
}

.product-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.product-sub {
  text-align: center !important;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--leading-relaxed);
  font-weight: var(--font-medium);
}

/* Solutions section - Properly sized two blocks layout */
.solutions-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
  width: 100%;
}

.solution-block {
  background: var(--bg-primary);
  padding: 1.5rem 1.25rem;
  border-radius: 16px;
  box-shadow: 0 6px 24px var(--shadow-light);
  text-align: center !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}

.solution-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.solution-block:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 80px var(--shadow-primary);
  border-color: var(--primary);
}

.solution-block img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.4s ease;
  box-shadow: 0 4px 16px var(--shadow-light);
}

.solution-block:hover img {
  transform: scale(1.05);
  box-shadow: 0 16px 48px var(--shadow-primary);
}

.solution-block h3 {
  font-size: var(--text-xl);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
}

.solution-block p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.solution-block .btn {
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  padding: 1rem 2rem;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  position: relative;
  overflow: hidden;
}

.solution-block .btn::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.6s ease;
}

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

/* Decorative elements for product section */
.product-section::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 8%;
  width: 120px;
  height: 120px;
  background: var(--primary-gradient);
  border-radius: 50%;
  opacity: 0.08;
  animation: float 10s ease-in-out infinite;
}

.solutions-container::before {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 5%;
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  opacity: 0.06;
  animation: float 12s ease-in-out infinite 3s;
}

/* Why Choose Us & Testimonials - Creative New Layout */
#why-choose-us {
  background: transparent;
  padding: 4rem 2rem;
}

.why-choose-hero {
  text-align: center !important;
  margin-bottom: 4rem;
}

.why-choose-hero h2 {
  font-size: 3rem;
  color: var(--primary-500);
  margin-bottom: 1rem;
  font-family: 'Unique', Arial, sans-serif;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--gray-dark);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}

/* Features Grid - Single Row 1x4 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: white;
  padding: 1.5rem 1.2rem;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  text-align: center !important;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(27,160,186,0.1);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(27,160,186,0.15);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 6px 18px rgba(27,160,186,0.3);
}

.feature-card h3 {
  font-size: 1.2rem;
  color: var(--gray-dark);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.feature-highlight {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Testimonials Section */
.testimonials-section {
  margin-top: 4rem;
}

.testimonials-section h2 {
  text-align: center !important;
  font-size: 2.5rem;
  color: var(--gray-dark);
  margin-bottom: 3rem;
  font-family: 'Unique', Arial, sans-serif;
}

.testimonials-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(27,160,186,0.1);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(27,160,186,0.15);
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.quote-icon {
  font-size: 4rem;
  color: var(--primary-500);
  opacity: 0.3;
  font-family: serif;
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.author-info h4 {
  font-size: 1.1rem;
  color: var(--gray-dark);
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.author-info span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.rating {
  color: var(--primary-500);
  font-size: 1.2rem;
}

/* Responsive design */
@media (max-width: 1024px) {
  .projects-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .projects-image {
    height: 300px;
  }
  
  .project-overlay {
    padding: 1.5rem;
  }
  
  .project-overlay h3 {
    font-size: 1.3rem;
  }
  
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
  
  .solutions-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 1rem;
    max-width: 1000px;
  }
  
  .testimonials-carousel {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .projects-content h2,
  .product-section h2 {
    font-size: 2rem;
  }
  
  .projects-content p,
  .product-sub {
    font-size: 1.1rem;
  }
  
  .projects-image {
    height: 250px;
  }
  
  .project-overlay {
    padding: 1rem;
  }
  
  .project-overlay h3 {
    font-size: 1.1rem;
  }
  
  .project-overlay p {
    font-size: 0.9rem;
  }
  
  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .solution-block {
    padding: 2rem;
  }
  
  .solution-block h3 {
    font-size: 1.5rem;
  }
  
  .solution-block img {
    height: 150px;
  }
  
  .why-choose-hero h2 {
    font-size: 2.2rem;
  }
  
  .testimonials-section h2 {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    max-width: 100%;
  }
  
  .feature-card {
    padding: 1.2rem 0.8rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .feature-card h3 {
    font-size: 1.1rem;
  }
  
  .feature-card p {
    font-size: 0.8rem;
  }
  
  
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  
  .projects-section,
  .product-section,
  #why-choose-us {
    padding: 3rem 1rem;
  }
  
  /* Product section responsive */
  .product-section {
    min-height: 60vh;
    padding: 1.5rem 1rem;
  }
  
  .product-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
  }
  
  .product-sub {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 1.5rem;
  }
  
  .solutions-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    flex-grow: 1;
  }
  
  .solution-block {
    padding: 1.25rem 1rem;
    min-height: 280px;
  }
  
  .solution-block img {
    height: 140px;
  }
  
  .solution-block h3 {
    font-size: var(--text-lg);
  }
  
  .solution-block p {
    font-size: var(--text-sm);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 0.8rem;
    max-width: 100%;
  }
  
  .feature-card {
    padding: 1rem 0.6rem;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .feature-card h3 {
    font-size: 1rem;
  }
  
  .feature-card p {
    font-size: 0.75rem;
  }
  
  /* Partners section mobile */
  .partners-section {
    padding: 3rem 1rem;
  }
  
  .partners-section h2 {
    font-size: 2rem;
  }
  
  .partners-logos {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
  }
  
  .partner-item {
    padding: 1.5rem 1rem;
  }
  
  .partner-item img {
    height: 50px;
  }
  
  /* Contact section mobile */
  #contact {
    padding: 3rem 1rem;
  }
  
  .contact-header h2 {
    font-size: 2rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  .contact-form button {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Footer responsive for medium screens */
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .footer-content p {
    font-size: var(--text-sm);
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 0.8rem;
    max-width: 100%;
  }
  
  .feature-card {
    padding: 1.2rem 1rem;
  }
  
  /* Partners section small mobile */
  .partners-logos {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
  }
  
  .partner-item {
    padding: 1rem 0.8rem;
  }
  
  .partner-item img {
    height: 40px;
  }
  
  /* Contact section small mobile */
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    gap: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .contact-form button {
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
  }
  
  .info-card {
    padding: 1.5rem;
  }
  
  .info-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Product section small mobile */
  .product-section {
    min-height: 50vh;
    padding: 1rem 0.5rem;
  }
  
  .product-section h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 0.5rem;
  }
  
  .product-sub {
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    margin-bottom: 1rem;
  }
  
  .solution-block {
    padding: 1rem 0.75rem;
    min-height: 250px;
  }
  
  .solution-block img {
    height: 120px;
  }
  
  .solution-block h3 {
    font-size: var(--text-base);
  }
  
  .solution-block p {
    font-size: var(--text-xs);
  }
  
  .solution-block .btn {
    padding: 0.6rem 1rem;
    font-size: var(--text-sm);
  }
  
  /* Footer responsive */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center !important;
  }
  
  .footer-content p {
    font-size: var(--text-xs);
  }
  
  .social-icons {
    gap: 0.8rem;
    justify-content: center;
  }
  
  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: var(--text-base);
  }
}

/* Detail pages (projects/products) */
.detail-page { padding: 2.5rem 1rem; max-width: 1200px; margin: 0 auto; }
.project-listing h1, .product-catalog h1 { color: var(--primary-500); }
.detail-page .lead { color: var(--muted); margin-bottom: 1.25rem; }

.project-detail { background: var(--white); border-radius: 12px; padding: 1.25rem; box-shadow: 0 8px 30px rgba(52,73,94,0.06); margin-bottom: 1.25rem; }
.project-detail .meta { color: var(--muted); font-weight:700; margin-bottom: 0.75rem; }
.project-media { display:flex; gap:1rem; align-items:flex-start; }
.project-media img { width: 48%; border-radius: 8px; object-fit: cover; }
.project-media video { width: 48%; border-radius: 8px; }
.project-body { margin-top: 1rem; }
.thumbs { display:flex; gap:0.5rem; }
.thumbs img { width: 120px; height: 80px; object-fit: cover; border-radius:6px; }

.product-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap:1.25rem; }
.commercial-card { background: var(--white); border-radius: 12px; box-shadow: 0 10px 36px rgba(52,73,94,0.06); overflow: hidden; display:flex; flex-direction:column; }
.commercial-card img { width: 100%; height: 180px; object-fit: cover; }
.commercial-card .card-body { padding: 1rem; display:flex; flex-direction:column; gap:0.6rem; }
.commercial-card .price { color: var(--primary-500); font-weight:800; }
.commercial-card .specs { margin:0; padding-left: 1rem; }
.commercial-card .card-cta { margin-top:auto; display:flex; gap:0.6rem; }

@media (max-width: 900px) {
  .project-media { flex-direction: column; }
  .project-media img, .project-media video { width: 100%; }
}

/* Projects page hero */
.projects-hero {
  position: relative;
  width: 100%;
  height: 48vh;
  min-height: 320px;
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 2rem;
}
.projects-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.55) saturate(1.02);
}
.projects-hero-overlay {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center !important;
  padding: 2rem;
}
.projects-hero-overlay h1 { font-size: 2.4rem; margin: 0 0 0.5rem 0; color: var(--primary-500); text-shadow: 0 6px 18px rgba(0,0,0,0.45); }
.projects-hero-overlay .hero-lead { color: rgba(255,255,255,0.9); max-width: 860px; margin: 0 auto 1rem; }

/* Professional project detail layout */
.project-detail.pro { background: linear-gradient(180deg, var(--white), var(--gray-50)); border-radius: 12px; padding: 1.6rem; margin-bottom: 1.6rem; box-shadow: 0 10px 40px rgba(0, 174, 202, 0.06); }
.project-head { display:flex; gap:1rem; align-items:baseline; justify-content:space-between; }
.project-head h2 { color: var(--primary-500); margin: 0; }
.project-grid { display:grid; grid-template-columns: 1fr 360px; gap:1.2rem; align-items:start; }
.project-main img { width:100%; border-radius: 8px; box-shadow: 0 8px 28px rgba(19,50,65,0.06); }
.project-desc { margin-top: 0.8rem; }
.project-gallery { display:flex; flex-direction:column; gap:0.6rem; }
.project-gallery img { width:100%; height:140px; object-fit:cover; border-radius:8px; }
.project-gallery video { width:100%; border-radius:8px; }

@media (max-width: 980px) {
  .project-grid { grid-template-columns: 1fr; }
  .projects-hero { height: 36vh; }
}

.block {
  scroll-snap-stop: always;
}


@media (max-width: 1200px) {
  .section {
    width: 100vw;
    padding: 3rem 2rem;
  }
  
  .hero-content {
    max-width: 90vw;
    padding: 3rem 2rem;
  }
}

@media (max-width: 900px) {
  .hero-content {
    max-width: 95vw;
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .section {
    width: 100vw;
    padding: 2.5rem 2rem;
    margin: 0;
  }
  
  .vision-content {
    width: 90vw;
    margin-left: 2vw;
  }
  
  .vision-content h2 {
    font-size: 2.2rem;
  }
  
  .vision-content p {
    font-size: 1.2rem;
    max-width: 95vw;
  }
}

@media (max-width: 768px) {
  .hero-content {
    max-width: 100vw;
    padding: 2rem 1rem;
    margin: 0.5rem;
    border-radius: 16px;
  }
  
  .section {
    width: 100vw;
    padding: 2rem 1.5rem;
    margin: 0;
    border-radius: 0;
  }
  
  .section::before {
    height: 3px;
  }
  
  .section::after {
    width: 30px;
    height: 30px;
    bottom: 15px;
  }
}
/* ===========================================
   HOMEPAGE REDESIGN STYLES
   =========================================== */

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-badge i {
  font-size: 1.1rem;
  color: var(--primary-300);
}

/* Impact Section */
.impact-section {
  padding: 2rem 0;
  background: var(--gray-50);
}

#impact-header {
  text-align: center !important;
  margin-bottom: 1.5rem;
}

#impact-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--secondary-500);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

#impact-header p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto;
}

#stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

#stat-card-1, #stat-card-2, #stat-card-3 {
  background: var(--white);
  padding: 0.75rem;
  border-radius: 8px;
  text-align: center !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

#stat-card-1:hover, #stat-card-2:hover, #stat-card-3:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 174, 202, 0.15);
}

#stat-icon-1, #stat-icon-2, #stat-icon-3 {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  color: white;
  font-size: 0.9rem;
}

#stat-number-1, #stat-number-2, #stat-number-3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-500);
  margin-bottom: 0.25rem;
  font-family: var(--font-display);
}

.stat-unit {
  font-size: 0.8rem;
  color: var(--primary-500);
  font-weight: 600;
  margin-left: 0.25rem;
}

#stat-label-1, #stat-label-2, #stat-label-3 {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Stats Cards Section */
.stats-cards-section {
  padding: 3rem 0;
  background: var(--gray-50);
}

.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.stats-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 174, 202, 0.15);
}

.stats-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.2rem;
}

.stats-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-500);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.stats-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Responsive design for stats cards */
@media (max-width: 768px) {
  .stats-cards-section {
    padding: 2rem 0;
  }
  
  .stats-cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 400px;
  }
  
  .stats-card {
    padding: 1rem 0.75rem;
  }
  
  .stats-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .stats-number {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
  
  .stats-label {
    font-size: 0.8rem;
  }
}

/* About & Vision Section */
.about-vision-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto 0 auto;
  padding: 0 2rem;
}

.about-card, .vision-card {
  background: var(--white);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

.about-card:hover, .vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 174, 202, 0.15);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: white;
  font-size: 1rem;
}

.about-card h3, .vision-card h3 {
  font-size: 1.2rem;
  color: var(--secondary-500);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.about-card p, .vision-card p {
  color: var(--gray-600);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.card-features {
  margin-bottom: 1rem;
}

.card-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.card-features .feature-item i {
  color: var(--primary-500);
  font-size: 0.7rem;
}

.card-features .feature-item span {
  color: var(--gray-600);
  font-size: 0.8rem;
}

.vision-highlight {
  background: var(--primary-50);
  padding: 0.75rem;
  border-radius: 6px;
  border-left: 3px solid var(--primary-500);
  margin-bottom: 1rem;
}

.vision-highlight i {
  color: var(--primary-500);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.vision-highlight p {
  color: var(--secondary-500);
  font-style: italic;
  font-weight: 500;
  margin: 0;
}

/* Projects Showcase */
.projects-showcase {
  padding: 5rem 0;
  background: var(--white);
}

.projects-header {
  text-align: center !important;
  margin-bottom: 3rem;
}

.projects-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--secondary-500);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.projects-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Homepage Project Cards - Override old styles */
.projects-showcase .project-card {
  background: var(--white) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  border: 1px solid var(--gray-100) !important;
  position: relative !important;
  display: block !important;
  height: auto !important;
  flex: none !important;
  width: auto !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  scroll-snap-align: none !important;
}

.projects-showcase .project-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 30px rgba(0, 174, 202, 0.15) !important;
}

.projects-showcase .project-image {
  position: relative !important;
  height: 200px !important;
  overflow: hidden !important;
}

.projects-showcase .project-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  z-index: auto !important;
  filter: none !important;
  display: block !important;
  border-radius: 0 !important;
  border: none !important;
  opacity: 1 !important;
}

.projects-showcase .project-card:hover .project-image img {
  transform: scale(1.05) !important;
}

.project-overlay {
  display: none;
}

.project-badge {
  display: none;
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.3rem;
  color: var(--secondary-500);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.project-content p {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-specs {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-50);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.spec-item i {
  color: var(--primary-500);
  font-size: 0.8rem;
}

.spec-item span {
  color: var(--gray-600);
  font-weight: 500;
}

.projects-cta {
  text-align: center !important;
}

/* Solutions Section */
.solutions-section {
  padding: 3rem 0;
  background: var(--gray-50);
}

.solutions-header {
  text-align: center !important;
  margin-bottom: 2rem;
}

.solutions-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--secondary-500);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}

.solutions-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.solution-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 174, 202, 0.15);
}

.solution-image {
  position: relative;
  height: 150px;
  overflow: hidden;
}

.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.solution-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 174, 202, 0.8), rgba(30, 41, 59, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution-card:hover .solution-overlay {
  opacity: 1;
}

.solution-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem 1.5rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
}

.solution-badge i {
  font-size: 1.2rem;
}

.solution-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-content h3 {
  font-size: 1.2rem;
  color: var(--secondary-500);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.solution-content p {
  color: var(--gray-600);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.solution-features {
  margin-bottom: 1rem;
  flex-grow: 1;
}

.solution-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.solution-features .feature-item i {
  color: var(--primary-500);
  font-size: 0.8rem;
}

.solution-features .feature-item span {
  color: var(--gray-600);
  font-size: 0.85rem;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 3rem 0;
  background: var(--gray-50);
}

.why-choose-header {
  text-align: center !important;
  margin-bottom: 2rem;
}

.why-choose-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--secondary-500);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.why-choose-header p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.why-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 174, 202, 0.15);
}

.why-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.why-card:hover .why-icon {
  transform: scale(1.1);
}

.why-card h3 {
  font-size: 1.1rem;
  color: var(--secondary-500);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.why-card p {
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.why-badge {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-600);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--primary-200);
}

/* Testimonials Section */
.testimonials-section {
  padding: 3rem 0;
  background: var(--gray-50);
}

.testimonials-header {
  text-align: center !important;
  margin-bottom: 3rem;
}

.testimonials-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--secondary-500);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.testimonials-header p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto;
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-item {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid var(--gray-100);
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 174, 202, 0.15);
  border-color: var(--primary-200);
}

.testimonial-content {
  position: relative;
}

.quote-mark {
  position: absolute;
  top: -1rem;
  left: -0.5rem;
  font-size: 4rem;
  color: var(--primary-500);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
  z-index: 1;
}

.testimonial-content p {
  color: var(--gray-700);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0 0 1.5rem 0;
  position: relative;
  z-index: 2;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}

.client-info h4 {
  font-size: 1rem;
  color: var(--secondary-500);
  margin: 0 0 0.25rem 0;
  font-weight: 600;
}

.client-info span {
  font-size: 0.85rem;
  color: var(--gray-600);
  display: block;
}

.stars {
  color: #fbbf24;
  font-size: 1rem;
}

/* Contact Section */
.contact-section {
  padding: 2rem 0;
  background: var(--white);
}

.contact-header {
  text-align: center !important;
  margin-bottom: 2rem;
}

.contact-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--secondary-500);
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}

.contact-header p {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 174, 202, 0.1);
  border-color: var(--primary-200);
}

.contact-method i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.method-info h4 {
  font-size: 1.1rem;
  color: var(--secondary-500);
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}

.method-info p {
  color: var(--gray-600);
  margin: 0;
  font-size: 0.95rem;
}

.contact-form-section {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
  background: var(--white);
  font-family: inherit;
  color: var(--gray-700);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-500);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-500);
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}

.contact-form button {
  align-self: flex-start;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 0.95rem;
  background: var(--primary-500);
  color: var(--white);
  border: none;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
}

/* Responsive Design for Homepage */
@media (max-width: 1024px) {
  #stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-vision-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .testimonials-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  #stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .testimonials-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-item {
    padding: 1.5rem;
  }
  
  .contact-method {
    padding: 1rem;
  }
  
  .contact-form-section {
    padding: 1.5rem;
  }
  
  .contact-form button {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   =========================================== */

/* ===========================================
   RESPONSIVE BREAKPOINTS & CONTAINERS
   =========================================== */
:root {
  /* Breakpoints */
  --bp-xs: 320px;
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1200px;
  --bp-2xl: 1440px;
  
  /* Container widths */
  --container-xs: 100%;
  --container-sm: 540px;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  --container-2xl: 1320px;
  
  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Typography scale */
  --text-xs: clamp(0.75rem, 2vw, 0.875rem);
  --text-sm: clamp(0.875rem, 2.5vw, 1rem);
  --text-base: clamp(1rem, 3vw, 1.125rem);
  --text-lg: clamp(1.125rem, 3.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 4vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 5vw, 2rem);
  --text-3xl: clamp(1.875rem, 6vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 7vw, 3rem);
  --text-5xl: clamp(3rem, 8vw, 4rem);
  --text-6xl: clamp(3.75rem, 10vw, 5rem);
}

/* ===========================================
   MOBILE-FIRST RESPONSIVE CONTAINERS
   =========================================== */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

@media (min-width: 480px) {
  .container {
    max-width: 100%;
    padding: 0 1.5rem;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 100%;
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1200px;
    padding: 0 2rem;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
    padding: 0 2rem;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
    padding: 0 2rem;
  }
}

/* ===========================================
   RESPONSIVE HEADER & NAVIGATION
   =========================================== */

/* Mobile navigation toggle */
@media (max-width: 768px) {
  .nav-toggle {
    display: block !important;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-500);
    cursor: pointer;
    z-index: 10001;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .nav-toggle:hover {
    background: var(--primary-50);
    color: var(--primary-600);
  }
  
  .nav-toggle:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
  }
  
  /* Mobile navigation dropdown */
  nav {
    position: fixed !important;
    top: 80px !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--white) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 10000 !important;
    border-radius: 0 0 12px 12px !important;
    border: 1px solid var(--gray-200) !important;
    backdrop-filter: none !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  nav.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
  }
  
  nav ul {
    flex-direction: column !important;
    gap: 0 !important;
    padding: 1rem 0 !important;
    background: transparent !important;
  }
  
  nav li {
    width: 100% !important;
    background: transparent !important;
  }
  
  nav a {
    display: flex !important;
    padding: 1rem 0.75rem !important;
    width: 100% !important;
    text-align: center !important;
    border-bottom: 1px solid var(--gray-100) !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    border-radius: 0 !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  nav a:hover {
    background: rgba(0, 174, 202, 0.1) !important;
    color: #00aeca !important;
    transform: none !important;
    text-shadow: 0 2px 4px rgba(0, 174, 202, 0.2) !important;
  }
  
  nav a.active {
    background: rgba(0, 174, 202, 0.15) !important;
    color: #0891b2 !important;
    font-weight: 600 !important;
    text-shadow: 0 2px 4px rgba(0, 174, 202, 0.3) !important;
  }
  
  nav a.active::after {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  header {
    padding: 0.75rem 1.5rem;
  }
  
  .logo {
    height: 48px;
  }
  
  nav ul {
    gap: 0.75rem;
  }
  
  nav a {
    padding: 0.5rem 0.75rem;
    font-size: var(--text-sm);
  }
}

@media (max-width: 768px) {
  header {
    position: relative;
    padding: 1rem;
    z-index: 10000;
  }
  
  .logo {
    height: 44px;
  }
  
  /* Mobile navigation toggle */
  .nav-toggle {
    display: block !important;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-500);
    cursor: pointer;
    z-index: 10001;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  
  .nav-toggle:hover {
    background: var(--primary-50);
    color: var(--primary-600);
  }
  
  .nav-toggle:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
  }
  
  nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    border-radius: 0 0 12px 12px !important;
    border: 1px solid var(--gray-200) !important;
    backdrop-filter: none !important;
    width: 100%;
    max-width: 100%;
  }
  
  nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }
  
  nav li {
    width: 100%;
  }
  
  nav a {
    display: flex !important;
    padding: 1rem 0.75rem;
    width: 100%;
    text-align: center !important;
    border-bottom: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
  }
  
  nav a:hover {
    background: rgba(0, 174, 202, 0.1);
    color: #00aeca;
    text-shadow: 0 2px 4px rgba(0, 174, 202, 0.2);
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.75rem 1rem;
  }
  
  .logo {
    height: 40px;
  }
  
  .nav-toggle {
    font-size: 1.25rem;
  }
  
  nav a {
    padding: 0.875rem 1rem;
    font-size: var(--text-sm);
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    display: flex !important;
    margin: 0 auto !important;
  }
}

/* Force mobile navigation centering with maximum specificity */
@media (max-width: 768px) {
  nav ul li a,
  nav li a,
  nav a {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    display: flex !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Target the navigation container */
  nav ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }
  
  nav li {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  /* Ultra-specific targeting for stubborn centering */
  header .container nav ul li a {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    display: flex !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* ===========================================
   RESPONSIVE HERO SECTIONS
   =========================================== */
@media (max-width: 1024px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero-content {
    padding: 3rem 2rem;
    margin: 1rem;
  }
  
  .hero-content h1 {
    font-size: var(--text-5xl);
  }
  
  .hero-content p {
    font-size: var(--text-lg);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  
  .hero-content {
    padding: 2rem 1.5rem;
    margin: 0.5rem;
    border-radius: 24px;
  }
  
  .hero-content h1 {
    font-size: var(--text-4xl);
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: var(--text-base);
    margin-bottom: 1.5rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
  }
  
  .hero-content {
    padding: 1.5rem 1rem;
    margin: 0.25rem;
    border-radius: 16px;
  }
  
  .hero-content h1 {
    font-size: var(--text-3xl);
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: var(--text-sm);
    margin-bottom: 1rem;
  }
  
  .hero-ctas .btn {
    padding: 0.75rem 1.5rem;
    font-size: var(--text-sm);
  }
}

/* ===========================================
   RESPONSIVE GRID SYSTEMS
   =========================================== */
@media (max-width: 1024px) {
  #stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .testimonials-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  /* Ensure all content is properly centered */
  .container {
    padding: 0 1rem;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }
  
  #stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .testimonials-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .contact-method {
    padding: 1rem;
  }
  
  .contact-form-section {
    padding: 1.5rem;
  }
  
  .contact-form button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Ensure proper mobile centering */
  .container {
    padding: 0 0.75rem;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
  }
  
  #stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .testimonials-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
  }
  
  #stat-card-1, #stat-card-2, #stat-card-3,
  .project-card,
  .solution-card,
  .why-card,
  .testimonial-card {
    padding: 0.75rem;
    width: 100%;
    max-width: 100%;
  }
  
  .contact-form-section {
    padding: 0.75rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.75rem;
    font-size: var(--text-sm);
    width: 100%;
  }
  
  .contact-form button {
    padding: 0.75rem 1.5rem;
    font-size: var(--text-sm);
    width: 100%;
  }
}

/* ===========================================
   RESPONSIVE TYPOGRAPHY
   =========================================== */
@media (max-width: 768px) {
  h1 {
    font-size: var(--text-4xl);
  }
  
  h2 {
    font-size: var(--text-3xl);
  }
  
  h3 {
    font-size: var(--text-2xl);
  }
  
  h4 {
    font-size: var(--text-xl);
  }
  
  h5 {
    font-size: var(--text-lg);
  }
  
  h6 {
    font-size: var(--text-base);
  }
  
  p {
    font-size: var(--text-base);
    line-height: 1.6;
  }
  
  .section-header h2 {
    font-size: var(--text-3xl);
    margin-bottom: 0.5rem;
  }
  
  .section-header p {
    font-size: var(--text-base);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: var(--text-3xl);
  }
  
  h2 {
    font-size: var(--text-2xl);
  }
  
  h3 {
    font-size: var(--text-xl);
  }
  
  .section-header h2 {
    font-size: var(--text-2xl);
  }
  
  .section-header p {
    font-size: var(--text-sm);
  }
}

/* ===========================================
   RESPONSIVE SPACING & CENTERING
   =========================================== */
@media (max-width: 768px) {
  /* Ensure all sections are properly centered */
  .section {
    padding: 2rem 1rem;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .impact-section,
  .about-vision-section,
  .projects-showcase,
  .solutions-section,
  .why-choose-section,
  .testimonials-section,
  .contact-section {
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  /* Ensure all grids are centered */
  #stats-grid,
  .projects-grid,
  .solutions-grid,
  .why-choose-grid,
  .testimonials-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 1.5rem 0.75rem;
    margin: 0.25rem auto;
  }
  
  .impact-section,
  .about-vision-section,
  .projects-showcase,
  .solutions-section,
  .why-choose-section,
  .testimonials-section,
  .contact-section {
    padding: 1.5rem 0.75rem;
  }
}

/* ===========================================
   RESPONSIVE IMAGES & MEDIA
   =========================================== */
@media (max-width: 768px) {
  img {
    max-width: 100%;
    height: auto;
  }
  
  .project-image img,
  .solution-image img {
    height: 200px;
    object-fit: cover;
  }
  
  .hero-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .project-image img,
  .solution-image img {
    height: 150px;
  }
  
  .hero-image {
    height: 250px;
  }
}

/* ===========================================
   RESPONSIVE FORMS
   =========================================== */
@media (max-width: 768px) {
  .contact-form {
    gap: 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.875rem 1rem;
    font-size: var(--text-base);
  }
  
  .contact-form button {
    padding: 0.875rem 1.5rem;
    font-size: var(--text-base);
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }
  
  .newsletter-form .form-group {
    flex-direction: column;
  }
  
  .newsletter-form .email-input {
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid var(--gray-200);
  }
  
  .newsletter-form .subscribe-btn {
    border-radius: 0 0 12px 12px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-form input,
  .contact-form textarea {
    padding: 0.75rem;
    font-size: var(--text-sm);
  }
  
  .contact-form button {
    padding: 0.75rem 1.25rem;
    font-size: var(--text-sm);
  }
  
  .newsletter-form .email-input {
    padding: 0.875rem 1rem;
    font-size: var(--text-sm);
  }
  
  .newsletter-form .subscribe-btn {
    padding: 0.875rem 1.5rem;
    font-size: var(--text-sm);
  }
}

/* ===========================================
   RESPONSIVE FOOTER
   =========================================== */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .footer-section {
    text-align: center !important;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center !important;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
  
  .footer-section h4 {
    font-size: var(--text-lg);
    margin-bottom: 1rem;
  }
  
  .footer-section p,
  .footer-section a {
    font-size: var(--text-sm);
  }
  
  .social-icons {
    gap: 0.75rem;
    justify-content: center;
  }
  
  .social-icons a {
    width: 40px;
    height: 40px;
    font-size: var(--text-base);
  }
}
  
  .hero-content {
    padding: 1.5rem 1rem;
    margin: 0.25rem;
    border-radius: 16px;
  }
  
  .hero-content h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
  
  .section {
    padding: 1.5rem 0.75rem;
    margin: 0.25rem auto;
    border-radius: 12px;
  }
  
  header {
    padding: 0.75rem;
  }
  
  .logo {
    height: 40px;
  }
  
  nav ul {
    gap: 0.25rem;
  }
  
  nav a {
    padding: 0.4rem 0.8rem;
    font-size: var(--text-xs);
  }
}

:root{
  /* fallback tokens — adjust to match your site */
  --brand-500: var(--primary-500);
  --brand-600: var(--primary-600);
  --bg-gradient-start: var(--primary-50);
  --bg-gradient-end: var(--primary-100);
  --gray-dark: var(--secondary-500);
  --muted: var(--gray-500);
  --radius-lg: 14px;
  --container-max: 1100px;
}

/* Container for the whole section */
.achivement-section{
  background: linear-gradient(180deg, var(--bg-gradient-start), var(--bg-gradient-end));
  padding: 48px 20px;
  display:flex;
  justify-content:center;
  min-height: 100vh;
}

/* inner wrapper to constrain width - SMALLER */
.achivement-inner{
  width:100%;
  max-width: 800px; /* Reduced from 1200px */
  display:flex;
  flex-direction:column;
  gap: 16px; /* Reduced from 28px */
  align-items:center;
}

/* Achievements heading and subtitle */
.achivement-heading{
  font-family: 'Unique', Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 2.6rem);
  color: var(--brand-600);
  margin: 0;
}
.achivement-subtitle{
  margin: 0;
  color: var(--gray-dark);
  font-weight: 600;
  opacity: 0.9;
}

/* Scroll reveal utility (keeps your original timing but uses --delay) */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition-property: opacity, transform;
  transition-duration: 700ms, 900ms;
  transition-timing-function: cubic-bezier(.2,.8,.2,1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Achievements / stats grid - SMALLER */
#stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; /* Increased gap for wider spread */
  width: 100%;
  max-width: 1200px; /* Increased for wider layout */
  align-items: stretch;
}

/* stat card - SMALLER */
.stat-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(217,217,217,0.1));
  border-radius: 12px; /* Reduced from var(--radius-lg) */
  padding: 1rem 0.75rem; /* Reduced padding */
  box-shadow: 0 4px 15px rgba(20,184,166,0.1);
  transition: transform 340ms ease, box-shadow 340ms ease;
  text-align: center !important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 0.25rem; /* Reduced gap */
  min-height: 80px; /* Reduced from 120px */
  border: 1px solid var(--custom-gray);
}

/* subtle hover */
.stat-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(52,73,94,0.12);
}

/* number/heading - SMALLER */
.stat-box h3 {
  font-size: 1.5rem; /* Reduced from 2.2rem */
  margin: 0 0 0.25rem 0; /* Reduced margin */
  color: var(--primary-500); /* Using new primary color */
  font-family: var(--font-display);
  line-height:1;
  font-weight: var(--font-bold);
}

/* label - SMALLER */
.stat-box p {
  margin: 0;
  font-size: var(--text-sm); /* Reduced from 1rem */
  color: var(--text-secondary);
  font-weight: 500; /* Reduced from 600 */
  font-family: var(--font-primary);
}

/* staggered reveal delays for nicer rhythm (keeps your original pattern) */
#stats-grid .stat-box:nth-child(1) { --delay: 0s; }
#stats-grid .stat-box:nth-child(2) { --delay: 140ms; }
#stats-grid .stat-box:nth-child(3) { --delay: 280ms; }

:root{
  /* adjust these to match your exact brand hexes if needed */
  --brand-500: var(--primary-500);
  --brand-600: var(--primary-600);
  --bg-gradient-start: var(--primary-50);
  --bg-gradient-end: var(--primary-100);
  --gray-dark: var(--secondary-500);
  --muted: var(--gray-500);
  --radius-lg: 14px;
  --container-max: 1100px;
}

/* Container for the whole section - WIDER & SHORTER */
.achivement-section{
  background: transparent; /* inherit page background */
  padding: 20px 10px; /* Reduced vertical padding */
  display:flex;
  justify-content:center;
  align-items:center;        /* vertically center content */
  min-height: 40vh; /* Further reduced height */
  width: 100%; /* Full width */
}

/* inner wrapper to constrain width - WIDER */
.achivement-inner{
  width:100%;
  max-width: 1400px; /* Increased for wider layout */
  display:flex;
  flex-direction:column;
  gap: 12px; /* Reduced vertical gap */
  align-items:center;
}

/* Achievements heading and subtitle - SMALLER */
.achivement-heading{
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem); /* Reduced size */
  color: var(--primary-500); /* Using new primary color */
  margin: 0;
  text-align:center;
}
.achivement-subtitle{
  margin: 0;
  color: var(--text-primary);
  font-weight: 500; /* Reduced from 600 */
  opacity: 0.8;
  text-align:center;
  font-size: var(--text-sm); /* Smaller text */
}

/* Scroll reveal utility (keeps your original timing but uses --delay) */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.995);
  transition: opacity 900ms cubic-bezier(.2,.9,.2,1) var(--delay),
              transform 900ms cubic-bezier(.2,.9,.2,1) var(--delay);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Achievements / stats grid - SMALLER */
#stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem; /* Increased gap for wider spread */
  width: 100%;
  max-width: 1200px; /* Increased for wider layout */
  align-items: stretch;
}

/* stat card - SMALLER */
.stat-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(217,217,217,0.1));
  border-radius: 12px; /* Reduced from var(--radius-lg) */
  padding: 1rem 0.75rem; /* Reduced padding */
  box-shadow: 0 4px 15px rgba(20,184,166,0.1);
  transition: transform 340ms ease, box-shadow 340ms ease;
  text-align: center !important;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 0.25rem; /* Reduced gap */
  min-height: 80px; /* Reduced from 120px */
  border: 1px solid var(--custom-gray);
}

/* subtle hover */
.stat-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(52,73,94,0.12);
}

/* number/heading - SMALLER */
.stat-box h3 {
  font-size: 1.5rem; /* Reduced from 2.2rem */
  margin: 0 0 0.25rem 0; /* Reduced margin */
  color: var(--primary-500); /* Using new primary color */
  font-family: var(--font-display);
  line-height:1;
  font-weight: var(--font-bold);
}

/* label - SMALLER */
.stat-box p {
  margin: 0;
  font-size: var(--text-sm); /* Reduced from 1rem */
  color: var(--text-secondary);
  font-weight: 500; /* Reduced from 600 */
  font-family: var(--font-primary);
}

/* staggered reveal delays for nicer rhythm (keeps your original pattern) */
#stats-grid .stat-box:nth-child(1) { --delay: 0s; }
#stats-grid .stat-box:nth-child(2) { --delay: 140ms; }
#stats-grid .stat-box:nth-child(3) { --delay: 280ms; }

/* Info area under the stats - WIDER */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; /* Increased gap */
  width:100%;
  max-width: 1200px; /* Increased for wider layout */
  align-items:start;
  margin-top: 1rem;
  justify-items:center;             /* center cards inside columns */
}

/* Notification card (Who Are We / Our Vision) - SMALLER */
.notification {
  display: flex;                    /* fix: flexbox -> flex */
  flex-direction: column;
  isolation: isolate;
  position: relative;
  width: 100%;
  max-width: 32rem;                 /* Reduced from 38rem */
  height: auto;
  min-height: 12rem; /* Reduced from 16rem */
  padding: 1rem 1.2rem; /* Reduced padding */
  background: linear-gradient(180deg, rgba(20,184,166,0.1), rgba(59,130,246,0.05));
  border-radius: 12px; /* Reduced from 1rem */
  overflow: hidden;
  backdrop-filter: blur(4px) saturate(110%);
  box-shadow: 0 6px 20px rgba(20,184,166,0.1);
  font-family: var(--font-primary);
  font-size: var(--text-sm); /* Reduced from 16px */
  --gradient: linear-gradient(180deg, var(--primary-500), var(--primary-600));
  --title-color: var(--text-primary);
  color: var(--text-primary);
  transition: transform 260ms ease, box-shadow 260ms ease;
  will-change: transform, box-shadow;
  border: 1px solid var(--custom-gray);
}

/* inner subtle border for depth */
.notification:before {
  position: absolute;
  content: "";
  inset: 0.0625rem;
  border-radius: 0.9375rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  z-index: 2;
}

/* vertical accent bar */
.notification:after {
  position: absolute;
  content: "";
  width: 0.2rem;
  inset: 1rem auto 1rem 0.8rem;
  border-radius: 0.125rem;
  background: linear-gradient(180deg, var(--primary-500), var(--primary-600), var(--primary-500));
  background-size: 100% 200%;
  transition: transform 300ms ease;
  z-index: 4;
  box-shadow: 0 0 10px rgba(0, 174, 202, 0.45), 0 0 18px rgba(0, 174, 202, 0.35);
}
.notification:hover:after { transform: translateX(0.12rem); }

/* title + body colors and spacing - SMALLER */
.notititle {
  color: var(--title-color);
  padding: 0.1rem 0.2rem 0.4rem 0.4rem; /* Reduced padding */
  font-weight: 600; /* Reduced from 700 */
  font-size: 1.1rem; /* Reduced from 1.4rem */
  letter-spacing: .1px; /* Reduced from .2px */
  text-transform: capitalize;
  transition: transform 300ms ease;
  z-index: 5;
  font-family: var(--font-display);
}
.notification:hover .notititle { transform: translateX(0.08rem); } /* Reduced movement */

.notibody {
  color: var(--text-primary);
  padding: 0 0.4rem 0.6rem 0.4rem; /* Reduced padding */
  transition: transform 300ms ease;
  z-index: 5;
  font-weight: 400; /* Reduced from 500 */
  margin-top: 0.1rem; /* Reduced margin */
  font-size: var(--text-sm); /* Smaller text */
  line-height: var(--leading-relaxed);
}

/* small CTA (align bottom) */
.notification .card-footer{
  margin-top: auto;                 /* push footer to bottom */
  display:flex;
  gap:.6rem;
  align-items:center;
  justify-content:flex-start;
  padding-top: .6rem;
}
.notification .btn-cta{
  display:inline-block;
  background: var(--primary-500);
  color: var(--black);
  padding: .55rem .9rem;
  border-radius: 10px;
  text-decoration:none;
  font-weight:700;
  box-shadow: 0 8px 20px rgba(0, 174, 202, 0.12);
}

/* glows using turquoise hues */
.notiglow,
.notiborderglow {
  position: absolute;
  width: 20rem;
  height: 20rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, rgba(0, 174, 202, 0.5), rgba(0, 174, 202, 0.25), transparent 70%);
  opacity: 0.06;
  transition: opacity 300ms ease, filter 300ms ease;
  filter: blur(8px);
  pointer-events: none;
  animation: glowShift 6s ease-in-out infinite alternate;
}

.notiglow { z-index: 3; }
.notiborderglow { z-index: 1; filter: blur(10px); }
.notification:hover .notiglow { opacity: 0.12; filter: blur(12px); }
.notification:hover .notiborderglow { opacity: 0.1; filter: blur(14px); }

/* Pop-out on hover */
.notification:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 48px rgba(0, 174, 202, 0.16), 0 8px 24px rgba(0,0,0,0.08);
}

/* Animated gradient accent for bar */
@keyframes barSlide {
  0% { background-position: 0% 0%; }
  100% { background-position: 0% 100%; }
}
.notification:after { animation: barSlide 4s ease-in-out infinite alternate, barPulse 2.8s ease-in-out infinite; }

@keyframes barPulse {
  0%,100% { box-shadow: 0 0 8px rgba(0, 174, 202, 0.35), 0 0 14px rgba(0, 174, 202, 0.28); }
  50% { box-shadow: 0 0 14px rgba(0, 174, 202, 0.6), 0 0 24px rgba(0, 174, 202, 0.45); }
}

/* Soft glow behind the bar */
.notification:before {
  position: absolute;
  content: "";
  inset: 1rem auto 1rem 0.6rem;
  width: 0.6rem;
  border-radius: 0.4rem;
  background: radial-gradient(circle at 30% 50%, rgba(0, 174, 202, 0.36), rgba(0, 174, 202, 0.22), transparent 65%);
  filter: blur(8px);
  z-index: 2;
  opacity: 0.7;
  animation: barGlow 3.6s ease-in-out infinite;
}

@keyframes barGlow {
  0%,100% { opacity: 0.55; filter: blur(8px); }
  50% { opacity: 0.85; filter: blur(10px); }
}

/* Animated glow drift */
@keyframes glowShift {
  0% { transform: translate(-60%, -40%); opacity: 0.06; }
  50% { transform: translate(-40%, -60%); opacity: 0.09; }
  100% { transform: translate(-55%, -55%); opacity: 0.06; }
}

/* responsive: one column for narrow screens */
@media (max-width: 920px){
  .info-grid { grid-template-columns: 1fr; gap: 1rem; }
  .achivement-inner { padding: 0 12px; }
  .achivement-heading { text-align:left; }
  .achivement-subtitle { text-align:left; }
  #stats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* narrow phones: stack stats vertically */
@media (max-width:520px){
  #stats-grid { grid-template-columns: 1fr; }
}

/* responsive: stack for small screens */
@media (max-width: 920px){
  #stats-grid { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
  .info-grid { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 16px; }
  .stat-box h3{ font-size: 1.8rem; }
}

/* small screens: stack stats vertically for narrow phones */
@media (max-width:520px){
  #stats-grid { grid-template-columns: 1fr; }
}

/* ensure reveal uses per-item delay */
.reveal {
  transition-delay: var(--delay, 0s);
}

@media (max-width: 800px) {
  #stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .vision-content {
    width: 100%;
    margin-left: 0;
    padding: 1rem;
  }
}

/* Team section with new hover effect cards */
.team-section {
  padding: 3rem 1.5rem;
  background: var(--gray-50);
}

.team-section h2 {
  text-align: center !important;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--gray-dark);
  font-weight: 700;
}

.team-cards-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* New team card hover effect - adapted from Uiverse.io */
.card-container {
  width: 350px;
  height: 500px;
  position: relative;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card-container:hover {
  transform: translateY(-5px);
}

.card {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  position: relative;
  overflow: hidden;
}

.card .front-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center !important;
  padding: 2rem;
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
}

.card .front-content .team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 4px solid var(--white);
}

/* Specific cropping for Mohammed's image - show more head */
.card .front-content .team-avatar[alt="Mohammed Turaimi"] {
  object-position: center 5%;
}

/* Adjust Ayad's image to show more face */
.card .front-content .team-avatar[alt="Ayad Gamal Al-Dingi"] {
  object-position: center 15%;
}

.card .front-content .team-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin: 0.5rem 0 0 0;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card .front-content .team-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-600);
  margin: 0.25rem 0 1rem 0;
  opacity: 0.9;
}

.card .front-content .team-summary-front {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  text-align: center !important;
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0.5rem;
}

.card .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center !important;
  gap: 15px;
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
  color: var(--white);
  padding: 1.5rem;
  line-height: 1.6;
  border-radius: 15px;
  pointer-events: none;
  transform: translateX(-100%);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  overflow-y: auto;
}

.card .content .heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}


.card .content .team-experience {
  text-align: left;
  width: 100%;
  flex-grow: 1;
}

.card .content .team-experience h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.card .content .team-experience ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.card .content .team-experience ul li {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
  opacity: 0.9;
}

.card .content .team-experience ul li::before {
  content: "•";
  color: var(--white);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.card .content .team-experience .focus {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.95;
  font-style: italic;
}

.card:hover .content {
  transform: translateX(0);
}

.card:hover .front-content {
  transform: translateX(-100%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Mobile-specific: move front content further off-screen */
@media (max-width: 768px) {
  .card:hover .front-content {
    transform: translateX(-150%) !important;
  }
}

/* Small mobile: even more aggressive */
@media (max-width: 480px) {
  .card:hover .front-content {
    transform: translateX(-200%) !important;
  }
}

/* Force complete hiding on mobile hover */
@media (max-width: 768px) {
  .card:hover .front-content {
    transform: translateX(-300%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
  }
}

/* Form notification styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.notification.show {
  transform: translateX(0);
}

.notification-success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.notification-error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification-info {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* Modern Form Message Styles */
.form-message {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(-15px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  z-index: -1;
}

.form-message.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.form-message.success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.form-message.success::before {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.05));
}

.form-message.error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.3);
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.2);
}

.form-message.error::before {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
}

.form-message.info {
  background: linear-gradient(135deg, rgba(0, 174, 202, 0.15), rgba(0, 150, 180, 0.1));
  color: #0c4a6e;
  border: 1px solid rgba(0, 174, 202, 0.3);
  box-shadow: 0 8px 32px rgba(0, 174, 202, 0.2);
}

.form-message.info::before {
  background: linear-gradient(135deg, rgba(0, 174, 202, 0.1), rgba(0, 150, 180, 0.05));
}

/* RTL Support for Form Messages */
[dir="rtl"] .form-message {
  text-align: right;
}

[dir="rtl"] .notification {
  right: auto;
  left: 20px;
  transform: translateX(-100%) scale(0.9);
}

[dir="rtl"] .notification.show {
  transform: translateX(0) scale(1);
}

[dir="rtl"] .notification-close {
  order: -1;
}

.card:hover .front-content .team-name {
  opacity: 0 !important;
}

.card:hover .front-content .team-summary-front {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
}

/* Force hide all front content on hover */
.card:hover .front-content * {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
}

/* Responsive design for team cards */
@media (max-width: 1024px) {
  .team-cards-container {
    gap: 1.5rem;
  }
  
  .card-container {
    width: 320px;
    height: 470px;
  }
}

@media (max-width: 768px) {
  .team-section {
    padding: 2rem 1rem;
  }
  
  .team-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .team-cards-container {
    flex-direction: column;
    gap: 1.5rem;
  align-items: center;
  }
  
  .card-container {
    width: 100%;
    max-width: 400px;
    height: 436px;
  }
  
  .card .front-content {
    padding: 1.5rem;
  }
  
  .card .front-content .team-avatar {
    width: 100px;
    height: 100px;
  }
  
  .card .front-content .team-name {
    font-size: 1.2rem;
  }
  
  .card .front-content .team-role {
    font-size: 0.9rem;
  }
  
  .card .front-content .team-summary-front {
    font-size: 0.85rem;
  }
  
  .card .content {
    padding: 1.5rem;
    overflow-y: auto;
  }
  
  .card .content .heading {
    font-size: 1.3rem;
  }
  
  .card .content .team-experience {
    flex-grow: 1;
    overflow-y: auto;
  }
}

@media (max-width: 480px) {
  .team-section {
    padding: 1.5rem 0.5rem;
  }
  
  .team-section h2 {
  font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }
  
  .card-container {
    max-width: 360px;
    height: 436px;
  }
  
  .card .front-content {
    padding: 1rem;
  }
  
  .card .front-content .team-avatar {
    width: 80px;
    height: 80px;
  }
  
  .card .front-content .team-name {
    font-size: 1.1rem;
  }
  
  .card .front-content .team-role {
    font-size: 0.85rem;
  }
  
  .card .front-content .team-summary-front {
    font-size: 0.8rem;
  }
  
  .card .content {
    padding: 1rem;
    overflow-y: auto;
  }
  
  .card .content .heading {
    font-size: 1.2rem;
  }
  
  .card .content .team-experience {
    flex-grow: 1;
    overflow-y: auto;
  }
  
  .card .content .team-experience ul li {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }
}
@media (max-width: 900px) {
  .team-members {
    flex-direction: column;
    align-items: center;
  }
  .team-member {
    width: 100%;
    max-width: 420px;
    transform: none;
  }
  .team-member--center {
    transform: none;
    flex: 1 1 auto;
    padding: 1.25rem;
    z-index: 1;
  }
}

/* Partners section - Creative Design */
.partners-section {
  background: transparent;
  padding: 4rem 2rem;
  text-align: center !important;
  position: relative;
  overflow: hidden;
}

.partners-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(27,160,186,0.03) 0%, 
    rgba(23,162,184,0.05) 25%,
    rgba(20,164,182,0.03) 50%,
    rgba(17,166,180,0.05) 75%,
    rgba(14,168,178,0.03) 100%);
  z-index: -1;
}

.partners-section h2 {
  font-size: 2.5rem;
  color: var(--gray-dark);
  margin-bottom: 1rem;
  font-family: 'Unique', Arial, sans-serif;
  position: relative;
}

.partners-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  border-radius: 2px;
}

.partners-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(27,160,186,0.1);
}

.partner-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--primary-600));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.partner-item:hover::before {
  transform: scaleX(1);
}

.partner-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 60px rgba(27,160,186,0.15);
  border-color: var(--primary-500);
}

.partner-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.partner-item img {
  max-width: 100%;
  height: 70px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.4s ease;
}

.partner-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

/* Floating animation for partner items */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.partner-item:nth-child(odd) {
  animation: float 6s ease-in-out infinite;
}

.partner-item:nth-child(even) {
  animation: float 6s ease-in-out infinite 3s;
}

/* Decorative elements */
.partners-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--primary-500), var(--primary-600));
  border-radius: 50%;
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.partners-wrapper::before {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--primary-600), var(--primary-500));
  border-radius: 50%;
  opacity: 0.08;
  animation: float 10s ease-in-out infinite 2s;
}

/* remove boxed white backgrounds */
.partner-item img {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

@media (max-width: 520px) {
  .partners-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .partner-item img {
    max-width: 110px;
    max-height: 56px;
  }
}

/* Visually hidden utility for accessibility */
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

@media (max-width: 420px) {
  .partner-item img {
    max-width: 86px;
    max-height: 48px;
  }
}

/* ===========================================
   UTILITY CLASSES - GLOBAL STYLES
   =========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

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

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

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

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }

/* ===========================================
   60-30-10 COLOR SCHEME IMPLEMENTATION
   =========================================== */

/* Primary Colors (60% usage) - Dominant elements */
.primary-bg {
  background: var(--gradient-primary);
  color: var(--white);
}

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

.primary-border {
  border-color: var(--primary-500);
}

/* Secondary Colors (30% usage) - Supporting elements */
.secondary-bg {
  background: var(--gradient-card);
  color: var(--text-primary);
}

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

.secondary-border {
  border-color: var(--border-light);
}

/* Accent Colors (10% usage) - Highlights and CTAs */
.accent-bg {
  background: var(--gradient-accent);
  color: var(--white);
}

.accent-text {
  color: var(--accent-600);
}

.accent-border {
  border-color: var(--primary-500);
}

/* Card Components - 60-30-10 Distribution */
.card {
  background: var(--gradient-card); /* 60% - Primary background */
  border: 1px solid var(--border-light); /* 30% - Secondary border */
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px var(--shadow-light);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow-medium);
  border-color: var(--primary-300); /* 10% - Accent border on hover */
}

.card h3 {
  color: var(--primary-600); /* 10% - Accent text for headings */
  font-family: var(--font-display);
  font-weight: var(--font-semibold);
  margin-bottom: 1rem;
}

.card p {
  color: var(--text-secondary); /* 30% - Secondary text */
  font-family: var(--font-primary);
  line-height: var(--leading-relaxed);
}

/* Button Components - 60-30-10 Distribution */
.btn-primary {
  background: var(--gradient-primary); /* 60% - Primary background */
  color: var(--white);
  border: 2px solid var(--primary-500); /* 30% - Secondary border */
  box-shadow: 0 4px 15px var(--shadow-primary);
}

.btn-primary:hover {
  background: var(--gradient-accent); /* 10% - Accent background on hover */
  border-color: var(--primary-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-primary);
}

/* Form Elements - 60-30-10 Distribution */
.form-input {
  background: var(--white); /* 60% - Primary background */
  border: 2px solid var(--border-light); /* 30% - Secondary border */
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
}

.form-input:focus {
  border-color: var(--primary-500); /* 10% - Accent border on focus */
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  outline: none;
}

/* Navigation - 60-30-10 Distribution */
.nav-item {
  color: var(--text-primary); /* 60% - Primary text */
  background: transparent;
  border: 1px solid transparent; /* 30% - Secondary border (invisible) */
  transition: all 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
  background: var(--gradient-primary); /* 10% - Accent background */
  color: var(--white);
  border-color: var(--primary-500);
}

/* Footer - 60-30-10 Distribution */
.footer-section {
  color: var(--gray-300); /* 60% - Primary text color */
}

.footer-section h4 {
  color: var(--white); /* 30% - Secondary heading color */
  font-family: var(--font-display);
}

.footer-section a:hover {
  color: var(--primary-400); /* 10% - Accent color on hover */
}

/* Stats/Counters - 60-30-10 Distribution */
#stat-number-1, #stat-number-2, #stat-number-3 {
  color: var(--primary-600); /* 60% - Primary color for numbers */
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  font-size: var(--text-4xl);
}

#stat-label-1, #stat-label-2, #stat-label-3 {
  color: var(--text-secondary); /* 30% - Secondary color for labels */
  font-family: var(--font-primary);
  font-weight: var(--font-medium);
}

.stat-highlight {
  background: var(--gradient-accent); /* 10% - Accent background for highlights */
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Features / Testimonials mini styles */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  width: 100%;
}
.feature-card {
  background: linear-gradient(180deg, var(--white), var(--gray-50));
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(30, 41, 59, 0.06);
}
.testimonial {
  background: rgba(255,255,255,0.9);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(52,73,94,0.06);
}

/* Scroll snap: vertical for sections, horizontal for project cards */
html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: 80px;
}

body {
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-padding-top: 80px;
  scroll-snap-type: y proximity;
}
section, .vision-section, .block {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
}

/* Creative scroll indicators */
.section::after {
  content: '↓';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--primary-500);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0.7;
  animation: scrollIndicator 2s infinite;
  box-shadow: 0 4px 12px rgba(27,160,186,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.section::after:hover {
  opacity: 1;
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(27,160,186,0.4);
}

@keyframes scrollIndicator {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateX(-50%) translateY(8px);
    opacity: 1;
  }
}

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

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

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

/* Apply animations to sections */
.section {
  animation: fadeInUp 0.8s ease-out;
}

/* ===========================================
   TYPOGRAPHY SYSTEM - UNIFIED ACROSS ALL PAGES
   =========================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-extrabold);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-bold);
  color: var(--primary-600);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: var(--font-semibold);
  color: var(--text-primary);
}

h5 {
  font-size: var(--text-xl);
  font-weight: var(--font-medium);
  color: var(--text-primary);
}

h6 {
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
}

p {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: var(--font-normal);
}

a {
  font-family: var(--font-primary);
  color: var(--primary-600);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: var(--font-medium);
}

a:hover {
  color: var(--primary-700);
  text-decoration: underline;
  text-decoration-color: var(--primary-400);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-500);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gray-dark);
}

/* Improved spacing system */
.section > * + * {
  margin-top: 1.5rem;
}

.section > h2 + * {
  margin-top: 2rem;
}

/* Creative gradient backgrounds for different sections */
.projects-section::before {
  background: linear-gradient(135deg, rgba(27,160,186,0.05), rgba(23,162,184,0.02));
}

.product-section::before {
  background: linear-gradient(135deg, rgba(23,162,184,0.05), rgba(27,160,186,0.02));
}

#why-choose-us::before {
  background: linear-gradient(135deg, rgba(27,160,186,0.03), rgba(23,162,184,0.05));
}

.projects-container {
  animation: fadeInLeft 0.8s ease-out;
}

.why-choose-container {
  animation: fadeInRight 0.8s ease-out;
}

/* Enhanced button animations */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

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

/* Floating animation for cards */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.solution-block:hover,
.feature-item:hover,
.testimonial-item:hover {
  animation: float 2s ease-in-out infinite;
}

.projects-list {
  scroll-snap-type: x mandatory;
}
.project-card {
  scroll-snap-align: center;
}

/* Ensure all sections are visible */
section {
  display: block;
  opacity: 1;
  transform: none;
}

/* Fix image loading in Projects section */
.project-card img {
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* Enable vertical scroll snapping for sections */
body {
  scroll-snap-type: y mandatory;
}

/* Ensure each section aligns properly for snapping */
section {
  scroll-snap-align: start;
}

/* hero improvements */
.hero-ctas .btn{ margin-right:.5rem; }
/* stats */
.stat-box h3{ font-size:1.6rem; color:var(--primary-500); }

/* product cards grid */
.product-grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:1.25rem; margin-top:1rem; }
.commercial-card { background:#fff; border-radius:12px; box-shadow:0 6px 18px rgba(10,10,10,.06); overflow:hidden; display:flex; flex-direction:column; }
.commercial-card img { width:100%; height:180px; object-fit:cover; }
.card-body { padding:1rem; display:flex; flex-direction:column; gap:.5rem; }
.card-cta { margin-top:auto; display:flex; gap:.5rem; }
.product-categories { display:flex; gap:.5rem; margin-bottom:1rem; }
.product-cat { background:transparent; border:1px solid #ddd; padding:.5rem .75rem; border-radius:8px; cursor:pointer; }
.product-cat.active { background:var(--primary-500); color:#fff; border-color:transparent; }
@media (max-width:640px) { .commercial-card img { height:140px; } }

/* News section fixes */
.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.news-card:hover {
  transform: translateY(-2px);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-info {
  padding: 1.5rem;
}

.news-info h3 {
  margin: 0 0 0.5rem 0;
  color: var(--primary-500);
  font-size: 1.2rem;
}

.news-info p {
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .news-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Reveal animation - controlled by JS. Falls back to visible when JS is unavailable. */
/* Start hidden only when JS adds the `js-enabled` class to <body> */
body.js-enabled .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}

/* Visible state applied by JS (or left on for no-JS fallback) */
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  body.js-enabled .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}


/* Section-level reveal (applies to every section when JS is enabled) */
body.js-enabled section:not(.hero) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(.2,.9,.2,1), transform 700ms cubic-bezier(.2,.9,.2,1);
  will-change: opacity, transform;
}

body.js-enabled section:not(.hero).is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body.js-enabled section:not(.hero) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}



/* Lightbox / modal ------------------------------------------------------ */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.75);
  z-index: 2000;
}
.lightbox[aria-hidden="false"] {
  display: flex;
}
.lightbox-content {
  max-width: 1100px;
  width: calc(100% - 40px);
  max-height: calc(100% - 80px);
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img,
.lightbox video {
  max-width: 100%;
  max-height: 100%;
  display: block;
}
.lightbox-close {
  position: absolute;
  right: 18px;
  top: 18px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
}
.lightbox-close:focus {
  outline: 2px solid #fff;
}

/* small screens */
@media (max-width: 600px) {
  .lightbox-content { width: calc(100% - 20px); height: auto; }
  .lightbox-close { right: 10px; top: 10px; }
}

/* Project Gallery Styles */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.gallery-item {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.project-video {
  margin-top: 1.5rem;
}

.project-video video {
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Capability Page Styles */
.capability-page {
  background: var(--bg-light);
}

.capability-main {
  min-height: 100vh;
}

.capability-hero {
  background: var(--primary-gradient);
  color: var(--text-white);
  padding: 4rem 1rem;
  text-align: center !important;
}

.capability-hero h1 {
  font-size: var(--text-5xl);
  margin: 0 0 1rem 0;
  font-weight: var(--font-bold);
  font-family: var(--font-display);
}

.capability-hero h2 {
  font-size: var(--text-xl);
  margin: 0 0 1rem 0;
  font-weight: var(--font-normal);
  opacity: 0.9;
  font-family: var(--font-primary);
}

.hero-subtitle {
  font-size: var(--text-lg);
  margin: 0 0 2rem 0;
  opacity: 0.8;
  font-family: var(--font-primary);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: var(--text-base);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-weight: var(--font-semibold);
}

.hero-actions .btn-primary {
  background: var(--text-white);
  color: var(--primary);
  border: 2px solid var(--text-white);
}

.hero-actions .btn-primary:hover {
  background: transparent;
  color: var(--text-white);
  transform: translateY(-2px);
}

.hero-actions .btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

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

.capability-section {
  padding: 3rem 1rem;
  background: var(--bg-primary);
}

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

.capability-section h3 {
  font-size: var(--text-3xl);
  margin: 0 0 2rem 0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: var(--font-bold);
}

.content-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--shadow-light);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.capability-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--shadow-light);
  text-align: center !important;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow-primary);
}

.capability-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

.capability-icon i {
  font-size: 2rem;
  color: var(--text-white);
}

.capability-card h4 {
  font-size: var(--text-xl);
  margin: 0 0 1rem 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: var(--font-semibold);
}

.capability-card p {
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  margin: 0;
  font-family: var(--font-primary);
}

.projects-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-showcase-card {
  background: var(--bg-primary);
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--shadow-light);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}

.project-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow-primary);
}

.project-showcase-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-details {
  padding: 1.5rem;
}

.project-details h4 {
  font-size: var(--text-xl);
  margin: 0 0 1rem 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: var(--font-semibold);
}

.project-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-details li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-primary);
}

.project-details li:last-child {
  border-bottom: none;
}

.procurement-section {
  background: var(--bg-light);
}

.procurement-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.procurement-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.procurement-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-primary);
}

.procurement-list i {
  color: var(--success);
  font-size: 1.1rem;
}

.contact-card {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 32px var(--shadow-light);
  border: 1px solid var(--border-light);
}

.contact-card h4 {
  font-size: var(--text-xl);
  margin: 0 0 1.5rem 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: var(--font-semibold);
}

.contact-info {
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin: 0.75rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-family: var(--font-primary);
}

.contact-info a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .capability-hero h1 {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .procurement-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .projects-showcase {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   CONSISTENT FOOTER STYLING FOR ALL PAGES
   =========================================== */
/* Apply projects page footer styling to all pages */
body.products-page footer,
body.news-page footer,
body.article-page footer,
body.capability-page footer {
  display: block !important;
  visibility: visible !important;
  position: relative !important;
  background: var(--secondary-500) !important;
  color: white !important;
  padding: 2rem 0 1.5rem 0 !important;
  text-align: center !important;
  margin-top: 2rem !important;
  z-index: 10 !important;
}

body.products-page .footer-content,
body.news-page .footer-content,
body.article-page .footer-content,
body.capability-page .footer-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 1rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
}

body.products-page .social-icons,
body.news-page .social-icons,
body.article-page .social-icons,
body.capability-page .social-icons {
  display: flex !important;
  gap: 1rem !important;
}

body.products-page .social-icons a,
body.news-page .social-icons a,
body.article-page .social-icons a,
body.capability-page .social-icons a {
  color: white !important;
  font-size: 1.2rem !important;
  transition: color 0.3s ease !important;
}

body.products-page .social-icons a:hover,
body.news-page .social-icons a:hover,
body.article-page .social-icons a:hover,
body.capability-page .social-icons a:hover {
  color: var(--primary-500) !important;
}

/* ===========================================
   PARTNERSHIPS/CAPABILITY PAGE STYLES
   =========================================== */
.capability-page {
  font-family: var(--font-primary);
  color: var(--secondary-500);
  line-height: var(--leading-relaxed);
}

.capability-main {
  padding-top: 0 !important; /* Remove gap for full-screen hero */
}

.capability-hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: var(--space-20) 0;
  text-align: center !important;
  position: relative;
  overflow: hidden;
}

.capability-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/images/solar.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.capability-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.capability-hero h1 {
  font-size: var(--text-5xl);
  color: var(--white);
  margin-bottom: var(--space-4);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.capability-hero h2 {
  font-size: var(--text-3xl);
  color: var(--primary-300);
  margin-bottom: var(--space-6);
  font-weight: var(--font-semibold);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--white);
  margin-bottom: var(--space-8);
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.capability-section {
  padding: var(--space-16) 0;
  background: var(--white);
}

.capability-section:nth-child(even) {
  background: var(--gray-50);
}

.capability-section h3 {
  font-size: var(--text-3xl);
  color: var(--secondary-500);
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.capability-section h3 i {
  color: var(--primary-500);
  font-size: var(--text-2xl);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.capability-card {
  background: var(--white);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary-500);
  transition: var(--transition-normal);
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.capability-card h4 {
  color: var(--secondary-500);
  margin-bottom: var(--space-4);
  font-size: var(--text-xl);
}

.capability-card ul {
  list-style: none;
  padding: 0;
}

.capability-card li {
  padding: var(--space-2) 0;
  color: var(--gray-600);
  position: relative;
  padding-left: var(--space-6);
}

.capability-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-500);
  font-weight: bold;
  font-size: var(--text-lg);
}

.contact-section {
  background: var(--gradient-primary);
  color: var(--white);
  padding: var(--space-16) 0;
  text-align: center !important;
}

.contact-section h3 {
  color: var(--white);
  margin-bottom: var(--space-6);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.contact-item {
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.contact-item i {
  font-size: var(--text-3xl);
  color: var(--white);
  margin-bottom: var(--space-4);
}

.contact-item h4 {
  color: var(--white);
  margin-bottom: var(--space-2);
}

.contact-item p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Prevent floating print buttons */
.fab, .floating-action-button, .print-fab, .floating-print-btn {
  display: none !important;
}

/* Ensure share buttons stay in their container */
.article-share .share-btn {
  position: static !important;
  float: none !important;
  z-index: auto !important;
}

/* ===========================================
   PRINT/PDF EXPORT STYLES
   =========================================== */

@media print {
  /* Force color printing */
  * {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  /* Partners section - ensure proper background */
  .partners-section {
    background: #f8fafc !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .partners-section::before {
    background: linear-gradient(135deg, 
      rgba(27,160,186,0.03) 0%, 
      rgba(23,162,184,0.05) 25%,
      rgba(20,164,182,0.03) 50%,
      rgba(17,166,180,0.05) 75%,
      rgba(14,168,178,0.03) 100%) !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .partners-section h2 {
    color: #1f2937 !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .partners-section h2::after {
    background: linear-gradient(90deg, #00aec8, #0088a3) !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .partner-item {
    background: #ffffff !important;
    border: 1px solid rgba(27,160,186,0.1) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .partner-item::before {
    background: linear-gradient(90deg, #00aec8, #0088a3) !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  /* Contact section - ensure proper background */
  #contact {
    background: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  #contact::before {
    background: linear-gradient(135deg, 
      rgba(27,160,186,0.02) 0%, 
      rgba(23,162,184,0.04) 25%,
      rgba(20,164,182,0.02) 50%,
      rgba(17,166,180,0.04) 75%,
      rgba(14,168,178,0.02) 100%) !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .contact-header h2 {
    color: #1f2937 !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .contact-header h2::after {
    background: linear-gradient(90deg, #00aec8, #0088a3) !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .contact-subtitle {
    color: #6b7280 !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .contact-form {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .contact-form::before {
    background: linear-gradient(90deg, #00aec8, #0088a3, #00aec8) !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .contact-form input,
  .contact-form textarea {
    background: #f9fafb !important;
    border: 2px solid rgba(27,160,186,0.1) !important;
    color: #1f2937 !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .contact-form button {
    background: linear-gradient(135deg, #00aec8, #0088a3) !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .info-item {
    background: #f8fafc !important;
    border: 1px solid #e5e7eb !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .info-item i {
    background: linear-gradient(135deg, #00aec8, #0088a3) !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .info-item h4 {
    color: #1f2937 !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .info-item p {
    color: #6b7280 !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  /* Footer styling for print */
  footer {
    background: #1f2937 !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .footer-section h4 {
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .footer-section a {
    color: #d1d5db !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  .social-icons a {
    background: #00aec8 !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  
  /* Remove animations and transitions for print */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Ensure proper page breaks */
  .partners-section,
  #contact {
    page-break-inside: avoid;
  }
}

/* ===========================================
   PARTNERS SECTION - MODERN MINIMALIST DESIGN
   =========================================== */

.partners-section {
  background: var(--gray-50);
  padding: 4rem 0;
  text-align: center !important;
  position: relative;
}

.partners-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--secondary-500);
  margin-bottom: 3rem;
  font-family: var(--font-display);
  font-weight: var(--font-bold);
  position: relative;
}

.partners-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-500);
  border-radius: 2px;
}

.partners-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  min-height: 90px;
  width: 100%;
  max-width: 160px;
  border: 1px solid var(--gray-100);
}

.partner-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-200);
}

.partner-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.partner-item img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
}

.partner-item:hover img {
  filter: grayscale(0%) opacity(1);
}

/* ===========================================
   TABLET DESIGN (768px - 1024px) - MINIMALIST
   =========================================== */

@media (max-width: 1024px) and (min-width: 769px) {
  .partners-section {
    background: var(--gray-50);
    padding: 3rem 0;
  }
  
  .partners-section h2 {
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }
  
  .partners-wrapper {
    padding: 0 1.5rem;
  }
  
  .partners-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .partner-item {
    padding: 1.25rem;
    min-height: 80px;
    max-width: 140px;
    border-radius: 6px;
    transition: none;
  }
  
  .partner-item:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: var(--gray-100);
  }
  
  .partner-item img {
    max-height: 45px;
    filter: none;
    opacity: 1;
    transition: none;
  }
  
  .partner-item:hover img {
    filter: none;
    opacity: 1;
  }
}

/* ===========================================
   MOBILE DESIGN (768px and below) - MINIMALIST
   =========================================== */

@media (max-width: 768px) {
  .partners-section {
    background: var(--gray-50);
    padding: 2.5rem 0;
  }
  
  .partners-section h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }
  
  .partners-wrapper {
    padding: 0 1rem;
  }
  
  .partners-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .partner-item {
    padding: 1rem;
    min-height: 70px;
    max-width: 120px;
    border-radius: 6px;
    transition: none;
  }
  
  .partner-item:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: var(--gray-100);
  }
  
  .partner-item img {
    max-height: 40px;
    filter: none;
    opacity: 1;
    transition: none;
  }
  
  .partner-item:hover img {
    filter: none;
    opacity: 1;
  }
}

/* ===========================================
   SMALL MOBILE DESIGN (480px and below) - MINIMALIST
   =========================================== */

@media (max-width: 480px) {
  .partners-section {
    padding: 2rem 0;
  }
  
  .partners-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .partners-wrapper {
    padding: 0 0.75rem;
  }
  
  .partners-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .partner-item {
    padding: 0.75rem;
    min-height: 60px;
    max-width: 100px;
    border-radius: 4px;
    transition: none;
  }
  
  .partner-item:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-color: var(--gray-100);
  }
  
  .partner-item img {
    max-height: 35px;
    filter: none;
    opacity: 1;
    transition: none;
  }
  
  .partner-item:hover img {
    filter: none;
    opacity: 1;
  }
}

/* ===========================================
   SMALL CARDS MOBILE IMPROVEMENTS
   =========================================== */

/* News Cards Mobile Improvements */
.news-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  position: relative;
}

.news-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.news-card:hover::before {
  opacity: 0.05;
}

.news-card:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.news-card:active::before {
  opacity: 0.1;
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-info {
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.news-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--secondary-500);
  font-family: var(--font-display);
  font-weight: var(--font-semibold);
  transition: color 0.3s ease;
}

.news-card:active .news-info h3 {
  color: var(--primary-600);
}

.news-info p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.news-card:active .news-info p {
  color: var(--text-primary);
}

.news-info .btn {
  background: var(--primary-500);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: var(--font-semibold);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.news-info .btn:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
}

.news-info .btn:active {
  background: var(--primary-700);
  transform: translateY(0) scale(0.95);
}

/* Mobile Responsive for News Cards */
@media (max-width: 768px) {
  .news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .news-card {
    margin-bottom: 1rem;
  }
  
  .news-card img {
    height: 180px;
  }
  
  .news-info {
    padding: 1.25rem;
  }
  
  .news-info h3 {
    font-size: 1.1rem;
  }
  
  .news-info p {
    font-size: 0.9rem;
  }
}

/* Contact Cards Mobile Improvements */
.contact-method {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.contact-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.contact-method:hover::before {
  opacity: 0.05;
}

.contact-method:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.contact-method:active::before {
  opacity: 0.1;
}

.contact-method i {
  font-size: 1.5rem;
  color: var(--primary-500);
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.contact-method:active i {
  color: var(--primary-600);
  transform: scale(1.1);
}

.contact-method h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary-500);
  font-family: var(--font-display);
  font-weight: var(--font-semibold);
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.contact-method:active h4 {
  color: var(--primary-600);
}

.contact-method p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.contact-method:active p {
  color: var(--text-primary);
}

/* Mobile Responsive for Contact Methods */
@media (max-width: 768px) {
  .contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .contact-method {
    padding: 1.25rem;
  }
  
  .contact-method i {
    font-size: 1.25rem;
  }
  
  .contact-method h4 {
    font-size: 1rem;
  }
  
  .contact-method p {
    font-size: 0.9rem;
  }
}

/* ===========================================
   MOBILE AUTO FADE ANIMATIONS - SEQUENTIAL
   =========================================== */

/* Auto fade animation for mobile only */
/* Fading animation removed - clean minimalist design */

/* ===========================================
   ARABIC BOLD FONT STYLING
   =========================================== */

/* Force Janna LT Bold font for Arabic language */
[dir="rtl"] * {
  font-family: 'Janna LT Bold', 'Janna LT', Arial, sans-serif !important;
  font-weight: bold !important;
}

/* Preserve Font Awesome icons for Arabic */
[dir="rtl"] .fas,
[dir="rtl"] .far,
[dir="rtl"] .fab,
[dir="rtl"] .fal,
[dir="rtl"] .fa,
[dir="rtl"] i[class*="fa-"],
[dir="rtl"] i[class*="fas"],
[dir="rtl"] i[class*="far"],
[dir="rtl"] i[class*="fab"],
[dir="rtl"] i[class*="fal"],
[dir="rtl"] i[class*="icon"],
[dir="rtl"] .icon,
[dir="rtl"] [class*="icon-"] {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
  font-weight: 900 !important;
}

/* Additional icon preservation for common icon classes */
[dir="rtl"] .fa-solar-panel,
[dir="rtl"] .fa-battery-three-quarters,
[dir="rtl"] .fa-arrow-right,
[dir="rtl"] .fa-chevron-down,
[dir="rtl"] .fa-quote-left,
[dir="rtl"] .fa-project-diagram,
[dir="rtl"] .fa-leaf,
[dir="rtl"] .fa-cogs,
[dir="rtl"] .fa-users,
[dir="rtl"] .fa-chart-line,
[dir="rtl"] .fa-calendar,
[dir="rtl"] .fa-envelope,
[dir="rtl"] .fa-phone,
[dir="rtl"] .fa-map-marker-alt,
[dir="rtl"] .fa-globe,
[dir="rtl"] .fa-external-link-alt {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
  font-weight: 900 !important;
}

[dir="rtl"] body,
[dir="rtl"] body *,
[dir="rtl"] html,
[dir="rtl"] html * {
  font-family: 'Janna LT Bold', 'Janna LT', Arial, sans-serif !important;
  font-weight: bold !important;
}

/* Specific targeting for all text elements in Arabic with Janna LT Bold */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] div,
[dir="rtl"] a,
[dir="rtl"] li,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] label,
[dir="rtl"] .hero-content,
[dir="rtl"] .hero-content *,
[dir="rtl"] .card,
[dir="rtl"] .card *,
[dir="rtl"] .project-card,
[dir="rtl"] .project-card *,
[dir="rtl"] .team-card,
[dir="rtl"] .team-card *,
[dir="rtl"] .why-card,
[dir="rtl"] .why-card *,
[dir="rtl"] .testimonial-content,
[dir="rtl"] .testimonial-content *,
[dir="rtl"] .news-card,
[dir="rtl"] .news-card *,
[dir="rtl"] .footer-section,
[dir="rtl"] .footer-section *,
[dir="rtl"] .contact-info,
[dir="rtl"] .contact-info *,
[dir="rtl"] .newsletter-form,
[dir="rtl"] .newsletter-form *,
[dir="rtl"] .nav-link,
[dir="rtl"] .nav-link *,
[dir="rtl"] .btn,
[dir="rtl"] .btn * {
  font-family: 'Janna LT Bold', 'Janna LT', Arial, sans-serif !important;
  font-weight: bold !important;
}


/* Additional icon preservation for common icon classes */
[dir="rtl"] .fa-solar-panel,
[dir="rtl"] .fa-battery-three-quarters,
[dir="rtl"] .fa-arrow-right,
[dir="rtl"] .fa-chevron-down,
[dir="rtl"] .fa-quote-left,
[dir="rtl"] .fa-project-diagram,
[dir="rtl"] .fa-leaf,
[dir="rtl"] .fa-cogs,
[dir="rtl"] .fa-users,
[dir="rtl"] .fa-chart-line,
[dir="rtl"] .fa-calendar,
[dir="rtl"] .fa-envelope,
[dir="rtl"] .fa-phone,
[dir="rtl"] .fa-map-marker-alt,
[dir="rtl"] .fa-globe,
[dir="rtl"] .fa-external-link-alt {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
  font-weight: 900 !important;
}

[dir="rtl"] body,
[dir="rtl"] body *,
[dir="rtl"] html,
[dir="rtl"] html * {
  font-family: 'Janna LT Bold', 'Janna LT', Arial, sans-serif !important;
  font-weight: bold !important;
}

/* Specific targeting for all text elements in Arabic with Janna LT Bold */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] div,
[dir="rtl"] a,
[dir="rtl"] li,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] label,
[dir="rtl"] .hero-content,
[dir="rtl"] .hero-content *,
[dir="rtl"] .card,
[dir="rtl"] .card *,
[dir="rtl"] .project-card,
[dir="rtl"] .project-card *,
[dir="rtl"] .team-card,
[dir="rtl"] .team-card *,
[dir="rtl"] .why-card,
[dir="rtl"] .why-card *,
[dir="rtl"] .testimonial-content,
[dir="rtl"] .testimonial-content *,
[dir="rtl"] .news-card,
[dir="rtl"] .news-card *,
[dir="rtl"] .footer-section,
[dir="rtl"] .footer-section *,
[dir="rtl"] .contact-info,
[dir="rtl"] .contact-info *,
[dir="rtl"] .newsletter-form,
[dir="rtl"] .newsletter-form *,
[dir="rtl"] .nav-link,
[dir="rtl"] .nav-link *,
[dir="rtl"] .btn,
[dir="rtl"] .btn * {
  font-family: 'Janna LT Bold', 'Janna LT', Arial, sans-serif !important;
  font-weight: bold !important;
}


/* Additional icon preservation for common icon classes */
[dir="rtl"] .fa-solar-panel,
[dir="rtl"] .fa-battery-three-quarters,
[dir="rtl"] .fa-arrow-right,
[dir="rtl"] .fa-chevron-down,
[dir="rtl"] .fa-quote-left,
[dir="rtl"] .fa-project-diagram,
[dir="rtl"] .fa-leaf,
[dir="rtl"] .fa-cogs,
[dir="rtl"] .fa-users,
[dir="rtl"] .fa-chart-line,
[dir="rtl"] .fa-calendar,
[dir="rtl"] .fa-envelope,
[dir="rtl"] .fa-phone,
[dir="rtl"] .fa-map-marker-alt,
[dir="rtl"] .fa-globe,
[dir="rtl"] .fa-external-link-alt {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
  font-weight: 900 !important;
}

[dir="rtl"] body,
[dir="rtl"] body *,
[dir="rtl"] html,
[dir="rtl"] html * {
  font-family: 'Janna LT Bold', 'Janna LT', Arial, sans-serif !important;
  font-weight: bold !important;
}

/* Specific targeting for all text elements in Arabic with Janna LT Bold */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] div,
[dir="rtl"] a,
[dir="rtl"] li,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] label,
[dir="rtl"] .hero-content,
[dir="rtl"] .hero-content *,
[dir="rtl"] .card,
[dir="rtl"] .card *,
[dir="rtl"] .project-card,
[dir="rtl"] .project-card *,
[dir="rtl"] .team-card,
[dir="rtl"] .team-card *,
[dir="rtl"] .why-card,
[dir="rtl"] .why-card *,
[dir="rtl"] .testimonial-content,
[dir="rtl"] .testimonial-content *,
[dir="rtl"] .news-card,
[dir="rtl"] .news-card *,
[dir="rtl"] .footer-section,
[dir="rtl"] .footer-section *,
[dir="rtl"] .contact-info,
[dir="rtl"] .contact-info *,
[dir="rtl"] .newsletter-form,
[dir="rtl"] .newsletter-form *,
[dir="rtl"] .nav-link,
[dir="rtl"] .nav-link *,
[dir="rtl"] .btn,
[dir="rtl"] .btn * {
  font-family: 'Janna LT Bold', 'Janna LT', Arial, sans-serif !important;
  font-weight: bold !important;
}


/* Additional icon preservation for common icon classes */
[dir="rtl"] .fa-solar-panel,
[dir="rtl"] .fa-battery-three-quarters,
[dir="rtl"] .fa-arrow-right,
[dir="rtl"] .fa-chevron-down,
[dir="rtl"] .fa-quote-left,
[dir="rtl"] .fa-project-diagram,
[dir="rtl"] .fa-leaf,
[dir="rtl"] .fa-cogs,
[dir="rtl"] .fa-users,
[dir="rtl"] .fa-chart-line,
[dir="rtl"] .fa-calendar,
[dir="rtl"] .fa-envelope,
[dir="rtl"] .fa-phone,
[dir="rtl"] .fa-map-marker-alt,
[dir="rtl"] .fa-globe,
[dir="rtl"] .fa-external-link-alt {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 5 Free", "Font Awesome 5 Pro", "FontAwesome" !important;
  font-weight: 900 !important;
}

[dir="rtl"] body,
[dir="rtl"] body *,
[dir="rtl"] html,
[dir="rtl"] html * {
  font-family: 'Janna LT Bold', 'Janna LT', Arial, sans-serif !important;
  font-weight: bold !important;
}

/* Specific targeting for all text elements in Arabic with Janna LT Bold */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6,
[dir="rtl"] p,
[dir="rtl"] span,
[dir="rtl"] div,
[dir="rtl"] a,
[dir="rtl"] li,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] label,
[dir="rtl"] .hero-content,
[dir="rtl"] .hero-content *,
[dir="rtl"] .card,
[dir="rtl"] .card *,
[dir="rtl"] .project-card,
[dir="rtl"] .project-card *,
[dir="rtl"] .team-card,
[dir="rtl"] .team-card *,
[dir="rtl"] .why-card,
[dir="rtl"] .why-card *,
[dir="rtl"] .testimonial-content,
[dir="rtl"] .testimonial-content *,
[dir="rtl"] .news-card,
[dir="rtl"] .news-card *,
[dir="rtl"] .footer-section,
[dir="rtl"] .footer-section *,
[dir="rtl"] .contact-info,
[dir="rtl"] .contact-info *,
[dir="rtl"] .newsletter-form,
[dir="rtl"] .newsletter-form *,
[dir="rtl"] .nav-link,
[dir="rtl"] .nav-link *,
[dir="rtl"] .btn,
[dir="rtl"] .btn * {
  font-family: 'Janna LT Bold', 'Janna LT', Arial, sans-serif !important;
  font-weight: bold !important;
}
