/* 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 */
.about-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('about.png');
  background-size: cover;
  background-position: center 40%; /* Slightly lower than center to show more bottom */
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 0px;
  overflow: hidden;
}

/* For smaller screens */
@media (max-width: 768px) {
  .about-hero {
    background-position: center 25%; /* Show slightly more bottom on mobile */
    height: 60vh;
    min-height: 400px;
  }
}

@media (max-width: 576px) {
  .about-hero {
    background-position: center 30%; /* Even more bottom on very small screens */
    height: 50vh;
    min-height: 300px;
  }
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
    top: 25px;
}

.hero-subtitle {
  font-size: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
    top: 25px;
}


.about-section {
            padding: 30px 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-header h2 {
            color: #0056b3;
            font-size: 32px;
            margin-bottom: 15px;
        }
        
        /* === OUR STORY SECTION === */
        .story-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.story-text {
    width: 100%;
    order: 2; /* Text comes first on mobile */
}

.story-text>p{
    font-size: 1.1rem;
}

.story-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    order: 1; /* Image comes first in markup but we reorder */
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .story-container {
        gap: 35px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .story-container {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }
    
    .story-text {
        order: 1;
    }
    
    .story-image {
        order: 2;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .story-container {
        gap: 50px;
        margin-bottom: 60px;
    }
    
    .story-image {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .story-container {
        gap: 60px;
    }
}
        
        /* === MISSION/VISION BOXES === */
        .mission-vision {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin: 100px 40px;
        }
        
        .mission-box, .vision-box {
            background: #f0f7ff;
            padding: 30px;
            border-radius: 8px;
            border-left: 5px solid #0056b3;
        }
        
        .mission-box h3, .vision-box h3 {
            color: #0056b3;
            margin-top: 0;
            font-size: 24px;
        }
        
        /* === CERTIFICATIONS === */

.cert-logos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 20px;
  padding: 15px;
}

.cert-logos {
  flex: 1;
  min-width: 100px;
  max-width: 150px;
  text-align: center;
}

.cert-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .cert-logos {
    min-width: 80px;
    max-width: 120px;
  }
  
  .cert-logos-container {
    gap: 10px;
  }
}

@media (max-width: 400px) {
  .cert-logos {
    min-width: 70px;
  }
}

/* About Sections */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
}

.section-content p {
  margin-bottom: 20px;
}

/* Why Choose Us Section */
.why-choose-us {
  background-color: white;
}

.content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.text-content {
  flex: 1;
}

.text-content h2 {
  font-size: 1.9rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.text-content p {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 1.1rem;
}

.image-content {
  flex: 1;
  text-align: center;
}

.floating-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-15px);
  }
}

/* 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;
    justify-content: center;
}

.links-column {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.links-column h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.links-column ul {
    list-style: none;
    padding: 0;
}

.links-column li {
    margin-bottom: 8px;
}

.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: 300px;
    text-align: center;
}

.footer-contact-form h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.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: 120px;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.submit-btn,
.reset-btn {
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.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: 14px;
    color: var(--text-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
      font-size: 2.5rem;
  }
  
  .hero-subtitle {
      font-size: 1.2rem;
  }
  
  .section-header 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;
  }
  
  .about-hero {
      height: 50vh;
      margin-top: 0px;
  }
  
  .content-wrapper {
      flex-direction: column;
  }
  
  .text-content {
      order: 2;
  }
  
  .image-content {
      order: 1;
  }
  
  .footer-main {
      flex-direction: column;
      align-items: center;
  }
  
  .footer-links {
      flex-direction: column;
      width: 100%;
      max-width: 300px;
  }
  
  .links-column {
      margin-bottom: 20px;
  }
  
  .footer-brand,
  .footer-contact-form {
      width: 100%;
      max-width: 400px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
      font-size: 2rem;
  }
  
  .hero-subtitle {
      font-size: 1rem;
  }
  
  .section-header h2 {
      font-size: 1.8rem;
  }
  
  .form-actions {
      flex-direction: column;
  }
  
  .submit-btn,
  .reset-btn {
      width: 100%;
  }
  
  .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;
    }
}
