/* Base Styles */
:root {
  --primary-color: #2d79f3;
  --secondary-color: #063e9e;
  --accent-color: #ff7a01;
  --text-color: #333;
  --light-text: #fff;
  --bg-color: #f8f9fa;
  --footer-bg: #a1afcb;
  --section-bg: #f0f4f8;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

 /* ====================== 
               HEADER
         ====================== */
        .header {
            background-color: #ffffff;
            padding: 5px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: relative;
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 0px;
            border-bottom: 1px solid #eaeaea;
        }

        .logo img {
            height: 80px;
            width: auto;
            transition: var(--transition);
        }

        .language-social-container {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .social-links {
            display: flex;
            align-items: center;
            gap: 10px;
            list-style: none;
            padding: 0;
        }

        .social-links span {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-color);
        }

        .social-links a {
            color: var(--text-color);
            font-size: 16px;
            transition: var(--transition);
        }

        .social-links a:hover {
            color: var(--primary-color);
            transform: translateY(-2px);
        }

        .language-selector {
            display: flex;
            gap: 12px;
        }

        .language-item {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
        }

        .language-selector img {
            width: 24px;
            height: auto;
            border-radius: 3px;
        }

        .language-selector a {
            display: flex;
            align-items: center;
            gap: 8px;
            cursor: pointer;
            font-weight: 500;
            color: var(--text-color);
            text-decoration: none;
            transition: var(--transition);
        }

        .language-selector a:hover {
            color: var(--primary-color);
        }

        .header-bottom {
            display: flex;
            justify-content: center;
            align-items: center;
            padding-top: 8px;
        }

        .nav-menu {
            display: flex;
            gap: 12px;
            align-items: center;
        }

        .med-import-btn {
            border: none;
            display: block;
            position: relative;
            padding: 0.7em 1.4em;
            font-size: 13px;
            background-color: #00173c;
            cursor: pointer;
            user-select: none;
            overflow: hidden;
            color: rgb(255, 255, 255);
            z-index: 1;
            font-family: inherit;
            font-weight: 700;
            transition: all 0.4s ease;
            border-radius: 6px;
            white-space: nowrap;
        }

        .med-import-btn:hover {
            background-color: #002b6e;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        .nav-menu a {
            text-decoration: none;
            color: #444;
            font-weight: 700;
            font-size: 12px;
            text-transform: uppercase;
            transition: all 0.3s ease;
            padding: 3px 0;
            position: relative;
            letter-spacing: 0.5px;
        }

        .nav-menu a:hover {
            color: #1a5f9c;
        }

        .nav-menu a.active {
            color: #1a5f9c;
        }

        .nav-menu a:hover,
        .nav-menu a.active {
            color: var(--primary-color);
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1.5px;
            background: #1a5f9c;
            bottom: 0;
            left: 0;
            transition: width 0.3s;
        }

        .nav-menu a:hover::after, 
        .nav-menu a.active::after {
            width: 100%;
        }

        /* Hamburger Menu */
        .hamburger {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            padding: 10px;
            z-index: 1001;
        }

        .hamburger-line {
            width: 25px;
            height: 2px;
            background-color: var(--text-color);
            display: block;
            margin: 5px auto;
            transition: all 0.3s ease;
        }

        /* Mobile Navigation */
        .mobile-nav {
            position: fixed;
            top: 0;
            left: -100%;
            width: 80%;
            max-width: 300px;
            height: 100vh;
            background-color: white;
            z-index: 1000;
            padding: 80px 20px 20px;
            box-shadow: 2px 0 10px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
            overflow-y: auto;
        }

        .mobile-nav.active {
            left: 0;
        }

        .mobile-nav-links {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .mobile-nav-links a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 600;
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            font-size: 14px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .mobile-nav-links a:hover {
            color: var(--primary-color);
        }

        .mobile-nav-links .med-import-btn {
            width: 100%;
            text-align: center;
            margin-top: 10px;
        }

        .mobile-nav-links a.active {
    color: var(--primary-color) !important;
    position: relative;
}

.mobile-nav-links a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1.5px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .overlay.active {
            opacity: 1;
            visibility: visible;
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .language-social-container {
                gap: 15px;
            }
            
            .nav-menu {
                gap: 8px;
            }
        }

        @media (max-width: 768px) {
            .header-top {
                flex-wrap: wrap;
                gap: 15px;
            }
            
            .language-social-container {
                order: 3;
                width: 100%;
                justify-content: center;
            }
            
            .header-bottom {
                display: none;
            }
            
            .hamburger {
                display: block;
            }
            
            .logo img {
                height: 60px;
            }
        }

        @media (max-width: 576px) {
            .language-selector {
                gap: 8px;
            }
            
            .social-links {
                gap: 8px;
            }
            
            .logo img {
                height: 50px;
            }
            
            .social-links span {
                display: none;
            }
        }

        /* Hamburger Animation */
        .hamburger.active .hamburger-line:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        .hamburger.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active .hamburger-line:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }
    

/* Hero Section */
.infrastructure-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('infra.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 0;
}

.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-overlay p {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Infrastructure Content */
.infrastructure-content {
  padding: 60px 20px;
}

.content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.text-content {
  flex: 1;
}

.text-content h2 {
  font-size: 2.2rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.text-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
  color: #555;
}

.image-content {
  flex: 1;
  text-align: center;
}

.featured-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  animation: float 3s ease-in-out infinite;
}

.featured-image:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@keyframes float {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-10px);
  }
}

.infrastructure-section {
           padding: 25px 20px;
    font-family: 'Arial', sans-serif;
    max-width: 1200px;
    margin: 0px auto;
    margin-bottom: 40px;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 33px;
        }
        
        .section-header h2 {
            color: #0056b3;
            font-size: 32px;
            margin-bottom: 15px;
        }
        
        /* === QUALITY ASSURANCE === */
        .qa-section {
            text-align: center;
        }
        
        .qa-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        .qa-card {
            background: white;
            padding: 30px 20px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .qa-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 20px;
            background: #eef4ff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #0056b3;
            font-size: 24px;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .tech-section {
                flex-direction: column;
            }
        }

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--text-color);
    padding: 50px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    height: 70px;
    width: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    mix-blend-mode: color-burn;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
}

.social-links {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    color: var(--text-color);
    transition: var(--transition);
    font-size: 14px;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: white;
}

.social-links a:hover.facebook {
    background-color: #1877F2;
}

.social-links a:hover.twitter {
    background-color: #1DA1F2;
}

.social-links a:hover.instagram {
    background-color: #E4405F;
}

.social-links a:hover.whatsapp {
    background-color: #25D366;
    color: white;
}

.footer-links {
    flex: 1;
    display: flex;
    gap: 20px;
    min-width: 250px;
}

.links-column {
    flex: 1;
    min-width: 120px;
}

.links-column h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-align: center;
}

.links-column ul {
    list-style: none;
    padding: 0;
}

.links-column li {
    margin-bottom: 8px;
    text-align: center;
}

.links-column a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    font-size: 14px;
    display: inline-block;
}

.links-column a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact-form {
    flex: 1;
    min-width: 250px;
}

.footer-contact-form h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(45, 121, 243, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.submit-btn,
.reset-btn {
    padding: 10px 15px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.submit-btn {
    background-color: var(--accent-color);
    color: white;
    flex: 2;
}

.submit-btn:hover {
    background-color: #e06b00;
}

.reset-btn {
    background-color: #ddd;
    color: var(--text-color);
    flex: 1;
}

.reset-btn:hover {
    background-color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.copyright {
    font-size: 13px;
    color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-overlay h1 {
      font-size: 2.5rem;
  }
  
  .hero-overlay p {
      font-size: 1.2rem;
  }
  
  .text-content h2 {
      font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
      display: block;
  }
  
  .nav-links {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 100%;
      background-color: #fff;
      box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
      transition: var(--transition);
      z-index: 999;
      padding: 20px 0;
  }
  
  .nav-links.active {
      left: 0;
  }
  
  .nav-links ul {
      flex-direction: column;
      align-items: center;
      gap: 15px;
  }
  
  .infrastructure-hero {
      height: 50vh;
      margin-top: 0;
  }
  
  .content-wrapper {
      flex-direction: column;
  }
  
  .footer-main {
      flex-direction: column;
      align-items: center;
  }
  
  .footer-links {
      flex-direction: column;
      width: 100%;
      max-width: 300px;
      gap: 30px;
  }
  
  .links-column {
      width: 100%;
  }
  
  .footer-brand,
  .footer-contact-form {
      width: 100%;
      max-width: 400px;
      text-align: center;
  }
  
  .social-links {
      justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-overlay h1 {
      font-size: 2rem;
  }
  
  .hero-overlay p {
      font-size: 1rem;
  }
  
  .text-content h2 {
      font-size: 1.8rem;
  }
  
  .form-actions {
      flex-direction: column;
  }
  
  .submit-btn,
  .reset-btn {
      width: 100%;
  }
  
  .content-wrapper {
      padding: 20px;
  }
  
  .footer-links {
      max-width: 250px;
  }
}

/* scroll to up  */
        .scroll-to-top {
            position: fixed;
            bottom: 35px;
            right: 30px;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #1f5ec5, #ba7cd2);
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            z-index: 1000;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transform: translateY(20px);
            border: none;
            outline: none;
        }
        
        .scroll-to-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .scroll-to-top:hover {
            background: linear-gradient(135deg, #ba7cd2, #1f5ec5);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
            transform: scale(1.05) translateY(0);
        }
        
        .scroll-to-top:active {
            transform: scale(0.95) translateY(0);
        }
        
        .scroll-to-top::after {
            content: "↑";
            font-size: 28px;
            font-weight: bold;
            transition: transform 0.3s ease;
        }
        
        .scroll-to-top:hover::after {
            animation: bounce 0.8s infinite alternate;
        }
        
        .scroll-to-top .progress-circle {
            position: absolute;
            top: -5px;
            left: -5px;
            width: calc(100% + 10px);
            height: calc(100% + 10px);
            border: 3px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            border-top-color: white;
            transform: rotate(0deg);
            transition: transform 0.3s ease;
        }
        
        /* Pulse animation */
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(157, 80, 187, 0.7); }
            70% { box-shadow: 0 0 0 15px rgba(157, 80, 187, 0); }
            100% { box-shadow: 0 0 0 0 rgba(157, 80, 187, 0); }
        }
        
        /* Bounce animation */
        @keyframes bounce {
            0% { transform: translateY(0); }
            100% { transform: translateY(-5px); }
        }
        
        /* Tooltip */
        .scroll-to-top .tooltip {
            position: absolute;
            top: -70px;
            background: white;
            color: #1f5ec5;
            padding: 8px 12px;
            border-radius: 5px;
            font-size: 14px;
            font-weight: bold;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            white-space: nowrap;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }
        
        .scroll-to-top .tooltip::after {
            content: "";
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            border-width: 8px 8px 0;
            border-style: solid;
            border-color: white transparent transparent;
        }
        
        .scroll-to-top:hover .tooltip {
            opacity: 1;
            visibility: visible;
            top: -60px;
        }
        
       /* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 90px;
        right: 20px;
    }
    
    .scroll-to-top::after {
        font-size: 24px;
    }
    
    .scroll-to-top .tooltip {
        font-size: 12px;
        padding: 6px 10px;
        top: -45px;
    }
    
    .scroll-to-top:hover .tooltip {
        top: -50px;
    }
}