/* styles.css - Main Stylesheet */
:root {
    --primary-color: #0056b3;
    --secondary-color: #003366;
    --accent-color: #ff6b00;
    --text-color: #333;
    --light-text: #777;
    --bg-light: #f9f9f9;
    --white: #fff;
    --black: #000;
    --gray: #e0e0e0;
    --dark-gray: #555;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--white-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--blue);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--blue-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 255);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 80px;
    transition: var(--transition);
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin-left: 30px;
}

.navbar ul li a {
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 107, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white-color);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 1;
    border-radius: 4px;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--dark-color);
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Banner */
.page-banner {
    background: linear-gradient(--white-color), url('logo-exeed.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    padding-top: 160px;
    text-align: center;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white-color);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    list-style: none;
}

.breadcrumb-item {
    margin: 0 5px;
}

.breadcrumb-item a {
    color: var(--white-color);
    opacity: 0.8;
}

.breadcrumb-item.active {
    color: var(--white-color);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    padding: 0 5px;
    color: var(--white-color);
    opacity: 0.8;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-img img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.hover-zoom:hover {
    transform: scale(1.05);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--light-text);
}

.mission-vision {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.mv-card {
    flex: 1;
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-10px);
}

.mv-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.mv-card h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.feature-box {
    background-color: var(--white);
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.feature-box i {
    color: var(--primary-color);
    font-size: 1.2rem;
}


/* Updated Timeline Styles */
.milestones-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0;
    color: var(--text-color);
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
    opacity: 0;
    transition: var(--transition);
}

.timeline-item.visible {
    opacity: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
    transform: translateX(-20px);
}

.timeline-item:nth-child(even) {
    left: 50%;
    transform: translateX(20px);
}

.timeline-item.visible:nth-child(odd),
.timeline-item.visible:nth-child(even) {
    transform: translateX(0);
}

.timeline-year {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    position: absolute;
    top: 0;
    z-index: 1;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
}

.timeline-item:nth-child(odd) .timeline-year {
    right: -75px;
}

.timeline-item:nth-child(even) .timeline-year {
    left: -75px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -37px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -37px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        left: 0 !important;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        transform: translateY(20px);
    }
    
    .timeline-item.visible:nth-child(odd),
    .timeline-item.visible:nth-child(even) {
        transform: translateY(0);
    }
    
    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        left: 0;
        right: auto;
        top: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: 23px;
        right: auto;
    }
}

/* Tablet Responsiveness */
@media (min-width: 768px) and (max-width: 992px) {
    .timeline-item:nth-child(odd) .timeline-year {
        right: -60px;
    }
    
    .timeline-item:nth-child(even) .timeline-year {
        left: -60px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Leadership Section */
.leadership-section {
    background-color: var(--bg-light);
}

.leadership-slider {
    padding: 20px;
    margin: 40px 0;
    overflow: hidden;
}

.leader-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    padding-bottom: 20px;
    margin: 0 10px;
    height: auto;
}

.leader-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.leader-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 86, 179, 0.8);
    padding: 15px;
    transition: var(--transition);
}

.leader-card:hover .leader-social {
    bottom: 0;
}

.leader-social a {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0 10px;
}

.leader-card h3 {
    margin: 20px 0 5px;
    color: var(--secondary-color);
    padding: 0 15px;
}

.position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 15px;
    padding: 0 15px;
}

.bio {
    color: var(--light-text);
    padding: 0 20px 20px;
    font-size: 0.9rem;
}

/* Swiper navigation buttons */
.swiper-button-next, 
.swiper-button-prev {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.swiper-button-next::after, 
.swiper-button-prev::after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    background-color: var(--light-text);
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
    opacity: 1;
}

@media (max-width: 767px) {
    .leader-card {
        margin: 0 5px;
    }
    
    .leader-image {
        height: 250px;
    }
    
    .swiper-button-next, 
    .swiper-button-prev {
        display: none;
    }
}

/* CTA Section */
.about-cta {
    background: (--white-color), url('images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
}

.about-cta h2 {
    color: var(--white-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
}

.info-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.info-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-text h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.google-maps-container {
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.google-maps-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    cursor: pointer;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Footer */
        .footer {
            background-color: var(--secondary-color);
            color: var(--white);
            padding: 60px 0 0;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-col h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background-color: var(--primary-color);
            bottom: 0;
            left: 0;
        }

        .footer-col p {
            margin-bottom: 20px;
            opacity: 0.8;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            color: var(--white);
            transition: var(--transition);
        }

        .social-links a:hover {
            background-color: var(--primary-color);
            transform: translateY(-3px);
        }

        .footer-col ul li {
            margin-bottom: 10px;
        }

        .footer-col ul li a {
            color: rgba(255, 255, 255, 0.8);
            transition: var(--transition);
            display: inline-block;
        }

        .footer-col ul li a:hover {
            color: var(--primary-color);
            transform: translateX(5px);
        }

        .newsletter-form {
            display: flex;
            margin-top: 20px;
        }

        .newsletter-form input {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 4px 0 0 4px;
            font-family: inherit;
        }

        .newsletter-form .btn {
            border-radius: 0 4px 4px 0;
            padding: 12px 15px;
        }

        .footer-bottom {
            background-color: rgba(0, 0, 0, 0.2);
            padding: 20px 0;
            text-align: center;
        }

        .footer-bottom p {
            opacity: 0.7;
            font-size: 0.9rem;
        }

/* MOBILE FIRST IMPROVEMENTS */
@media (max-width: 767px) {
    /* Base Adjustments */
    body {
      font-size: 14px;
      line-height: 1.5;
    }
    
    .container {
      padding: 0 15px;
    }
    
    /* Header */
    .header .container {
      padding: 10px 15px;
    }
    
    .logo img {
      height: 40px;
    }
    
    .mobile-menu-btn {
      display: block;
      font-size: 1.5rem;
    }
    
    .navbar {
      position: fixed;
      top: 70px;
      left: -100%;
      width: 100%;
      background: var(--white);
      box-shadow: var(--box-shadow);
      transition: var(--transition);
      padding: 20px;
    }
    
    .navbar.active {
      left: 0;
    }
    
    .navbar ul {
      flex-direction: column;
    }
    
    .navbar ul li {
      margin: 0 0 15px 0;
    }
    
    /* Hero Section */
    .hero {
      height: auto;
      min-height: 100vh;
      padding: 100px 0 60px;
    }
    
    .hero h1 {
      font-size: 2rem;
      margin-bottom: 15px;
    }
    
    .hero p {
      font-size: 1rem;
      margin-bottom: 25px;
    }
    
    /* Sections */
    .section-padding {
      padding: 50px 0;
    }
    
    .section-title h2 {
      font-size: 1.8rem;
    }
    
    .section-title p {
      font-size: 1rem;
    }
    
    /* About Section */
    .about-content {
      flex-direction: column;
    }
    
    .about-img {
      margin-bottom: 30px;
    }
    
    .mission-vision {
      flex-direction: column;
      gap: 20px;
    }
    
    /* Products Section */
    .products {
      padding: 50px 0;
    }
    
    .brands {
      flex-wrap: nowrap;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      justify-content: flex-start;
      padding: 10px 0;
      margin: 20px -15px 0;
      -webkit-overflow-scrolling: touch;
    }
    
    .brands::-webkit-scrollbar {
      display: none;
    }
    
    .brand-item {
      scroll-snap-align: start;
      flex: 0 0 120px;
      margin-right: 15px;
    }
    
    .brand-item:last-child {
      margin-right: 0;
    }
    
    /* Services */
    .services-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    /* Leadership */
    .leadership-grid {
      grid-template-columns: 1fr;
      gap: 25px;
    }
    
    /* Contact */
    .contact-content {
      flex-direction: column;
      gap: 30px;
    }
    
    /* Footer */
    .footer-content {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    /* Utility Classes */
    .btn {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
  }
  
  /* TOUCH IMPROVEMENTS */
  @media (hover: none) {
    .btn:hover, 
    .brand-item:hover,
    .service-card:hover,
    .leader-card:hover {
      transform: none;
    }
    
    a:hover {
      color: inherit;
    }
  }
  
  /* VERY SMALL DEVICES (e.g. iPhone 5/SE) */
  @media (max-width: 320px) {
    .hero h1 {
      font-size: 1.6rem;
    }
    
    .section-title h2 {
      font-size: 1.5rem;
    }
    
    .brand-item {
      flex: 0 0 100px;
      height: 80px;
      padding: 15px;
    }
  }
  
  
  /* IMPROVED TOUCH TARGETS */
  a, button, .brand-item {
    min-height: 44px; /* Recommended minimum touch target */
  }
  
  /* PERFORMANCE OPTIMIZATIONS */
  img {
    will-change: transform;
  }
  
  /* ANIMATION OPTIMIZATIONS */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }