/* ==========================================================================
   #GLOBAL
   ========================================================================== */

:root {
  /* Colors */
  --color-primary: #0B3D91;
  --color-primary-light: #1a4da3;
  --color-primary-dark: #092e6d;
  --color-accent: #00B4D8;
  --color-accent-light: #33c3e0;
  --color-accent-dark: #0093b3;
  --color-text: #2D3748;
  --color-text-light: #4A5568;
  --color-text-lighter: #718096;
  --color-white: #FFFFFF;
  --color-light: #F3F5F7;
  --color-light-gray: #E2E8F0;
  --color-border: #E2E8F0;
  --color-success: #48BB78;
  --color-warning: #ED8936;
  --color-error: #F56565;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==========================================================================
   #BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

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

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-xl);
}

.section-title {
  color: var(--color-primary);
  margin-bottom: var(--spacing-sm);
  position: relative;
  display: inline-block;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  margin: 0 auto var(--spacing-md);
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  border: none;
  white-space: nowrap;
  line-height: 1.5;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: width var(--transition-normal) ease;
  z-index: -1;
}

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

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(11, 61, 145, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 61, 145, 0.4);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: 0 4px 15px rgba(11, 61, 145, 0.1);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 61, 145, 0.2);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="search"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-white);
  background-clip: padding-box;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.2);
}

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

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23718096' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

/* Cards */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

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

.card-body {
  padding: var(--spacing-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.card-text {
  color: var(--color-text-light);
  margin-bottom: 1rem;
  flex: 1;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

/* Utilities */
.text-center {
  text-align: center;
}

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

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

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

.bg-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5,
.bg-primary h6,
.bg-primary .section-title,
.bg-primary .section-subtitle {
  color: var(--color-white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   #HEADER
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 0.5rem 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  transition: padding 0.3s ease;
}

.header.scrolled .navbar {
  padding: 0.5rem 0;
}

.logo img {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

.header.scrolled .logo img {
  height: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Mobile menu open state */
.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   #HERO
   ========================================================================== */
/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(135deg, #0B3D91 0%, #1a4da3 100%);
    color: var(--color-white);
    overflow: hidden;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg-pattern.png') center/cover no-repeat;
    opacity: 0.1;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 90%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.2s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-buttons .btn i {
    transition: transform 0.3s ease;
}

.hero-buttons .btn:hover i {
    transform: translateX(3px);
}

.btn-pulse {
    position: relative;
    overflow: hidden;
}

.btn-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}

.btn-pulse:hover::before {
    width: 300px;
    height: 300px;
    opacity: 1;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-white);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge i {
    margin-right: 0.5rem;
    font-size: 1rem;
    color: var(--color-accent);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    height:300px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 1s ease 0.8s forwards;
}

.hero-image img{
  height:100%;
  object-fit: contain;
}

.floating-device {
    position: relative;
    width: 100%;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

.floating-device .device {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
    will-change: transform;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.hero-wave .shape-fill {
    fill: var(--color-white);
}

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

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

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

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero {
        padding: 140px 0 80px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .hero-image {
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.0625rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    
.floating-device {
    max-width: 300px;
}
}

/* ==========================================================================
   #ABOUT
   ========================================================================== */

.about {
  background-color: var(--color-white);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--color-text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.about-image:hover {
  transform: translateY(-10px);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

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

/* ==========================================================================
   #PRODUCTS
   ========================================================================== */

.products {
  background-color: var(--color-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  height: 180px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

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

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  z-index: 2;
}

.product-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.product-description {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
}

.product-link i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.product-link:hover {
  color: var(--color-accent-dark);
}

.product-link:hover i {
  transform: translateX(3px);
}

/* ==========================================================================
   #SHIPPING
   ========================================================================== */

.shipping {
  background-color: var(--color-white);
}

.shipping-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.shipping-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--color-light);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.75rem;
  box-shadow: 0 10px 20px rgba(11, 61, 145, 0.15);
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.feature p {
  color: var(--color-text-light);
  margin-bottom: 0;
  font-size: 0.9375rem;
}

.shipping-map {
  position: relative;
  height: 400px;
  background: var(--color-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2rem 0;
}

.shipping-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -100%);
  z-index: 2;
}

.map-marker i {
  font-size: 2rem;
  color: var(--color-accent);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

.map-marker span {
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.575rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  margin-top: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-marker.dubai {
  top: 60%;
  left: 62%;
}

.map-marker.angola {
  top: 88%;
  left: 52%;
}

.map-marker.malawi {
   top: 88%;
  left: 56%;
}

.map-marker.zimbabwe {
 top: 95%;
  left: 55%;
}

.map-marker.liberia {
  top: 70%;
  left: 48%;
}

.map-marker.sierra-leone {
  top: 65%;
  left: 45%;
}

.map-marker.drc {
  top: 78%;
  left: 54%;
}

.map-marker.congo {
 top: 75%;
  left: 51%;
}

.map-marker.mauritania {
   top: 60%;
  left: 43%;
}


.shipping-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--color-text);
  line-height: 1.8;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================================================
   #WHY US
   ========================================================================== */

.why-us {
  background-color: var(--color-light);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern-dots.svg') center/cover no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.benefit-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.05) 0%, rgba(0, 180, 216, 0.05) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.75rem;
  box-shadow: 0 10px 20px rgba(11, 61, 145, 0.15);
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.benefit-card p {
  color: var(--color-text-light);
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ==========================================================================
   #CONTACT
   ========================================================================== */

.contact {
  background-color: var(--color-white);
  position: relative;
}

.contact-container {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-radius: var(--radius-lg);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern-dots-white.svg') center/cover no-repeat;
  opacity: 0.1;
  z-index: -1;
}

.contact-info h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  position: relative;
  padding-bottom: 1rem;
}

.contact-info h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
}

.contact-info p {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.contact-details {
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  color: var(--color-accent);
  font-size: 1.1rem;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--color-white);
}

.contact-item p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
  padding: 2.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
  outline: none;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* ==========================================================================
   #FOOTER
   ========================================================================== */

.footer {
  background: linear-gradient(135deg, #0a2a5a 0%, #0B3D91 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/pattern-dots-white.svg') center/cover no-repeat;
  opacity: 0.05;
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about {
  max-width: 300px;
}

.footer-logo {
  display: block;
  margin-bottom: 1.5rem;
}

.footer-about p {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-products h4,
.footer-contact h4 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-links h4::after,
.footer-products h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: var(--radius-full);
}

.footer-links ul,
.footer-products ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-products li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-products a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::after,
.footer-products a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

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

.footer-links a:hover::after,
.footer-products a:hover::after {
  width: 100%;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  margin-right: 0.75rem;
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   #BACK TO TOP
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 5px 20px rgba(11, 61, 145, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

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

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.3);
}

/* ==========================================================================
   #ANIMATIONS
   ========================================================================== */

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

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

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

/* ==========================================================================
   #RESPONSIVE
   ========================================================================== */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  .hero {
    padding: 160px 0 100px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .hero {
    padding: 140px 0 80px;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-buttons {
    margin-bottom: 2rem;
  }
  
  .about-content,
  .contact-container {
    flex-direction: column;
  }
  
  .about-image,
  .about-text,
  .contact-info,
  .contact-form-container {
    width: 100%;
    max-width: 100%;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .hero {
    padding: 120px 0 60px;
    margin-top: 70px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.0625rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .trust-badges {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-link {
    display: block;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-light-gray);
    width: 100%;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-about {
    max-width: 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    margin-top: 1rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 1.25rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 100px 0 50px;
    margin-top: 60px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-buttons {
    margin-bottom: 1.5rem;
  }
  
  .trust-badges .badge {
    width: 100%;
    justify-content: center;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .feature {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .contact-info,
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .contact-icon {
    margin-bottom: 0.75rem;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* ==========================================================================
   #UTILITY CLASSES
   ========================================================================== */

/* Spacing */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ml-0 { margin-left: 0 !important; }
.mr-0 { margin-right: 0 !important; }
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.m-0 { margin: 0 !important; }

.mt-1 { margin-top: 0.5rem !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.ml-1 { margin-left: 0.5rem !important; }
.mr-1 { margin-right: 0.5rem !important; }
.mx-1 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
.my-1 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.m-1 { margin: 0.5rem !important; }

.mt-2 { margin-top: 1rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.ml-2 { margin-left: 1rem !important; }
.mr-2 { margin-right: 1rem !important; }
.mx-2 { margin-left: 1rem !important; margin-right: 1rem !important; }
.my-2 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.m-2 { margin: 1rem !important; }

.mt-3 { margin-top: 1.5rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.ml-3 { margin-left: 1.5rem !important; }
.mr-3 { margin-right: 1.5rem !important; }
.mx-3 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.my-3 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.m-3 { margin: 1.5rem !important; }

.mt-4 { margin-top: 2rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.ml-4 { margin-left: 2rem !important; }
.mr-4 { margin-right: 2rem !important; }
.mx-4 { margin-left: 2rem !important; margin-right: 2rem !important; }
.my-4 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
.m-4 { margin: 2rem !important; }

.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.ml-5 { margin-left: 3rem !important; }
.mr-5 { margin-right: 3rem !important; }
.mx-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.m-5 { margin: 3rem !important; }

/* Padding */
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.pl-0 { padding-left: 0 !important; }
.pr-0 { padding-right: 0 !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.p-0 { padding: 0 !important; }

.pt-1 { padding-top: 0.5rem !important; }
.pb-1 { padding-bottom: 0.5rem !important; }
.pl-1 { padding-left: 0.5rem !important; }
.pr-1 { padding-right: 0.5rem !important; }
.px-1 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.py-1 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.p-1 { padding: 0.5rem !important; }

.pt-2 { padding-top: 1rem !important; }
.pb-2 { padding-bottom: 1rem !important; }
.pl-2 { padding-left: 1rem !important; }
.pr-2 { padding-right: 1rem !important; }
.px-2 { padding-left: 1rem !important; padding-right: 1rem !important; }
.py-2 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.p-2 { padding: 1rem !important; }

.pt-3 { padding-top: 1.5rem !important; }
.pb-3 { padding-bottom: 1.5rem !important; }
.pl-3 { padding-left: 1.5rem !important; }
.pr-3 { padding-right: 1.5rem !important; }
.px-3 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-3 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.p-3 { padding: 1.5rem !important; }

.pt-4 { padding-top: 2rem !important; }
.pb-4 { padding-bottom: 2rem !important; }
.pl-4 { padding-left: 2rem !important; }
.pr-4 { padding-right: 2rem !important; }
.px-4 { padding-left: 2rem !important; padding-right: 2rem !important; }
.py-4 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.p-4 { padding: 2rem !important; }

.pt-5 { padding-top: 3rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
.pl-5 { padding-left: 3rem !important; }
.pr-5 { padding-right: 3rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.p-5 { padding: 3rem !important; }

/* Text Alignment */
.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-justify { text-align: justify !important; }

/* Display */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-grid { display: grid !important; }

/* Flexbox */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }

.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-wrap-reverse { flex-wrap: wrap-reverse !important; }

.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.justify-content-evenly { justify-content: space-evenly !important; }

.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }

.align-content-start { align-content: flex-start !important; }
.align-content-end { align-content: flex-end !important; }
.align-content-center { align-content: center !important; }
.align-content-between { align-content: space-between !important; }
.align-content-around { align-content: space-around !important; }
.align-content-stretch { align-content: stretch !important; }

.align-self-auto { align-self: auto !important; }
.align-self-start { align-self: flex-start !important; }
.align-self-end { align-self: flex-end !important; }
.align-self-center { align-self: center !important; }
.align-self-baseline { align-self: baseline !important; }
.align-self-stretch { align-self: stretch !important; }

.flex-fill { flex: 1 1 auto !important; }
.flex-grow-0 { flex-grow: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-shrink-1 { flex-shrink: 1 !important; }
