/* Custom CSS for American Global IT Solutions */

:root {
    --primary-color: #0272B9;
    --accent-color: #F4650F;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f8f9fa;
    --gray-dark: #343a40;
    --secondary-color: #0272b9;
    --dark-color: #242424;
    --light-color: #ffffff;
    --text-muted: #6c757d;
    --gradient-primary: linear-gradient(135deg, #f4650f 0%, #ff6b35 100%);
    --gradient-secondary: linear-gradient(135deg, #0272b9 0%, #0396ff 100%);
}


/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    overflow-x: hidden;
}

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

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

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

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #025a94;
    border-color: #025a94;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
/* Announcement Bar */
.announcement-bar {
    background-color: var(--gray-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    transition: transform 0.3s ease;
}

.announcement-bar.hidden {
    transform: translateY(-100%);
}

/* Smooth hide/show for announcement bar */
#announcement-bar {
    transition: all 0.4s ease;
    opacity: 1;
    visibility: visible;
}

#announcement-bar.hidden {
    opacity: 0;
    visibility: hidden;
}


/* Preloader Styles */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Logo Animation */
.logo-container {
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

.logo-circle {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.5), 0 0 80px rgba(6, 182, 212, 0.3);
  animation: pulse 2s ease-in-out infinite;
  position: relative;
}

.logo-circle::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: ripple 2s ease-out infinite;
}

.logo-icon {
  width: 60px;
  height: 60px;
  color: white;
  animation: rotate 4s linear infinite;
}

/* Loading Bar */
.loading-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  position: relative;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #06b6d4, #3b82f6);
  background-size: 200% 100%;
  border-radius: 10px;
  animation: loading 2s ease-in-out infinite, shimmer 1.5s linear infinite;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
}

/* Loading Text */
.loading-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.dots::after {
  content: "";
  animation: dots 1.5s steps(4, end) infinite;
}

/* Particles */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(59, 130, 246, 0.6);
  border-radius: 50%;
  animation: float-particle 8s ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 6s;
}

.particle:nth-child(2) {
  left: 30%;
  animation-delay: 1s;
  animation-duration: 8s;
}

.particle:nth-child(3) {
  left: 50%;
  animation-delay: 2s;
  animation-duration: 7s;
}

.particle:nth-child(4) {
  left: 70%;
  animation-delay: 1.5s;
  animation-duration: 9s;
}

.particle:nth-child(5) {
  left: 85%;
  animation-delay: 0.5s;
  animation-duration: 6.5s;
}

.particle:nth-child(6) {
  left: 95%;
  animation-delay: 2.5s;
  animation-duration: 8.5s;
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes rotate {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {

  0%,
  100% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(1.3);
  }
}

@keyframes loading {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

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

  100% {
    background-position: 200% 0;
  }
}

@keyframes dots {

  0%,
  20% {
    content: "";
  }

  40% {
    content: ".";
  }

  60% {
    content: "..";
  }

  80%,
  100% {
    content: "...";
  }
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) translateX(100px) scale(1);
    opacity: 0;
  }
}


/* Responsive */
@media (max-width: 768px) {

  .logo-circle {
    width: 100px;
    height: 100px;
  }

  .logo-icon {
    width: 50px;
    height: 50px;
  }

  .loading-bar {
    width: 250px;
  }

}

/* Custom Navbar Styles */
.custom-navbar {
    position: fixed;
    top: 5%; /* initial position below announcement bar */
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.custom-navbar.scrolled {
    background: var(--black) !important;
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    top: 0; /* stick to top when scrolled */
}



.main-container {
    max-width: 1296px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Styles */
.navbar-brand {
    text-decoration: none;
    z-index: 1001;
}

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

.custom-navbar.scrolled .navbar-logo {
    height: 60px;
}

/* Mobile Toggle Button */
.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.navbar-toggler-icon {
    width: 25px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.navbar-toggler-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.navbar-toggler-icon span:nth-child(1) {
    top: 0px;
}

.navbar-toggler-icon span:nth-child(2) {
    top: 8px;
}

.navbar-toggler-icon span:nth-child(3) {
    top: 16px;
}

.navbar-toggler.active .navbar-toggler-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.navbar-toggler.active .navbar-toggler-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler.active .navbar-toggler-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.custom-navbar.scrolled .navbar-toggler-icon span {
    background: var(--white);
}

/* Navigation Menu */
.navbar-menu {
    align-items: center;
}

.navbar-nav-list {
    display: flex !important;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar-nav-list li {
    position: relative;
    margin: 0 5px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 12px 18px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 6px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.custom-navbar.scrolled .nav-link {
    color: var(--white);
}

.custom-navbar.scrolled .nav-link:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.services-dropdown-toggle .fas {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .services-dropdown-toggle .fas {
    transform: rotate(45deg);
}

.services-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 280px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    margin-top: 10px;
    list-style-type: none !important;
}

.dropdown:hover .services-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.services-dropdown-item {
    display: block;
    padding: 12px 25px;
    color: var(--black);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.services-dropdown-item:hover {
    background: var(--gray-light);
    color: var(--primary-color);
    border-left-color: var(--accent-color);
    padding-left: 30px;
}

.services_dropdown_phone_view {
    display: none !important;
}


/* Mobile Styles */
@media (max-width: 991px) {
    .custom-navbar {
        top: 0; /* Push below announcement bar */
  background-color: black !important;
    padding: 10px 0;
    }

    .dekstop_view{
        display: none !important;
    }

  .services_dropdown_phone_view {
           display: block !important;  /* show on mobile */

    }
    

    .custom-navbar.scrolled {
        top: 0; /* Stick top on scroll */
    }

    .navbar-toggler {
        display: block;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Hide off screen */
        width: 100%;
        height: 100vh;
        background: var(--black);
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .navbar-menu.active {
        right: 0; /* Slide in */
        /* Removed top: 100%; to prevent offscreen */
    }

    .navbar-nav-list {
        flex-direction: column !important;
        width: 100%;
        max-width: 300px;
        margin-top: 80px;;
    }

    .navbar-nav-list li {
        width: 100%;
        margin: 5px 0;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 5px 18px;
        font-size: 16px;
        border-radius: 8px;
    }

    .services-dropdown-menu {
        position: static;
        opacity: 1;
        /* visibility: visible; */
        transform: none;
        background: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        margin: 10px 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .services-dropdown-menu {
        max-height: 400px; /* Show dropdown on toggle */
    }

    .services-dropdown-item {
        color: var(--white);
        padding: 10px 25px;
        border-left: none;
    }

    .services-dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-color);
        padding-left: 25px;
    }

    .services-dropdown-toggle {
        cursor: pointer;
    }
}

@media (max-width: 576px) {
    .main-container {
        padding: 0 15px;
    }

    /* .navbar-logo {
        height: 40px;
    } */

    .custom-navbar.scrolled .navbar-logo {
        height: 35px;
    }
}



/* Modern Beautiful Preloader */
.main-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000 0%, #434243 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-container {
    text-align: center;
    color: white;
}

.company-logo {
    font-family: "Poppins", sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: logoFadeIn 2s ease-in-out infinite alternate;
}

@keyframes logoFadeIn {
    from {
        opacity: 0.7;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1.05);
    }
}

.loader-animation {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.loading-ring {
    position: absolute;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: ringRotate 2s linear infinite;
}

.loading-ring:nth-child(1) {
    width: 30px;
    height: 30px;
    top: 35px;
    left: 35px;
    border-top-color: #ffffff;
    animation-duration: 1.2s;
}

.loading-ring:nth-child(2) {
    width: 50px;
    height: 50px;
    top: 25px;
    left: 25px;
    border-right-color: #f4650f;
    animation-duration: 1.8s;
    animation-direction: reverse;
}

.loading-ring:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 15px;
    left: 15px;
    border-bottom-color: #0272b9;
    animation-duration: 2.4s;
}

@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Clean Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background-color: #f4650f;
    color: #000000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.back-to-top-btn:hover {
    background-color: #000000;
    color: #f4650f;
}

/* Optional: style the arrow if needed */
.arrow-icon {
    width: 24px;
    height: 24px;
    color: var(--white);
}
.company-logo img {
    width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}
@media screen and (max-width: 768px) {
    .company-logo img {
        width: 180px;
    }
    .announcement-bar{
        display: none !important;
    }
    .navbar-logo {
        width: 180px;
    }
    
}


/* Hero Section */
.main-hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: scale(1.1);
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slider-item.current {
    opacity: 1;
    transform: scale(1);
}

.hero-slider-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(36, 36, 36, 0.7) 0%,
            rgba(2, 114, 185, 0.3) 100%);
    z-index: 1;
}

.hero-text-content {
    position: relative;
    margin-top: 150px;
    z-index: 2;
    color: white;
}

.main-hero-title {
    font-family: "Poppins", sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #f4650f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.hero-dots-wrapper {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff88;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background-color: #F4650F;
    transform: scale(1.2);
}


/* Modern Hero Navigation Buttons */
.hero-navigation-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 70px;
    height: 70px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.hero-navigation-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.hero-navigation-btn:hover::before {
    opacity: 1;
}

.hero-navigation-btn:hover {
    transform: translateY(-50%) scale(1.15);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(244, 101, 15, 0.4);
}

.hero-navigation-btn i {
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.hero-navigation-btn.previous {
    left: 40px;
}

.hero-navigation-btn.next {
    right: 40px;
}

/* Section Styling */
.main-section {
    padding: 120px 0;
    position: relative;
}

.main-section-title {
    font-family: "Poppins", sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.main-section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* What We Do Section */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.service-feature-card {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(244, 101, 15, 0.1);
    position: relative;
    overflow: hidden;
}

.service-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.service-feature-card:hover::before {
    opacity: 0.05;
}

.service-feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(244, 101, 15, 0.2);
    border-color: var(--accent-color);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(244, 101, 15, 0.3);
}

.service-feature-card:hover .service-icon {
    transform: scale(1.1) rotate(360deg);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}


/* Custom Bootstrap Color Classes */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(244, 101, 15, 0.3);
}

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

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

.bg-dark-color {
    background-color: var(--dark-color) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-secondary);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.tech-illustration {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon {
    position: absolute;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 6s ease-in-out infinite;
}

.tech-icon:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.tech-icon:nth-child(2) {
    top: 10%;
    right: 20%;
    animation-delay: 1.5s;
}

.tech-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.tech-icon:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 4.5s;
}

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

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(2, 114, 185, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
}

.service-card:hover::before {
    left: 0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(2, 114, 185, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

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

.service-card:hover .service-icon {
    transform: scale(1.1);
    background: var(--gradient-primary);
}

/* Page Specific Styles */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 180px 0 80px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.feature-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(2, 114, 185, 0.1);
}

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

.feature-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.stats-section {
    background: var(--dark-color);
    color: var(--white);
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    display: block;
}

.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
}

.process-step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .tech-illustration {
        height: 200px;
    }
    
    .tech-icon {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Revolutionary Technology Solutions Section */
.technology-solutions-section {
    background: var(--dark-color);
    position: relative;
    overflow: hidden;
}

.technology-solutions-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tech-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23F4650F" opacity="0.1"/><path d="M0 10h20M10 0v20" stroke="%230272B9" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23tech-pattern)"/></svg>');
    animation: backgroundPatternMove 20s linear infinite;
}

@keyframes backgroundPatternMove {
    0% {
        transform: translateX(0) translateY(0);
    }

    100% {
        transform: translateX(20px) translateY(20px);
    }
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
}

.floating-shape-1 {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation: floatingAnimation1 6s ease-in-out infinite;
}

.floating-shape-2 {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    transform: rotate(45deg);
    top: 60%;
    right: 15%;
    animation: floatingAnimation2 8s ease-in-out infinite;
}

.floating-shape-3 {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 80%;
    left: 20%;
    animation: floatingAnimation3 7s ease-in-out infinite;
}

@keyframes floatingAnimation1 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes floatingAnimation2 {

    0%,
    100% {
        transform: translateY(0px) rotate(45deg);
    }

    50% {
        transform: translateY(-30px) rotate(225deg);
    }
}

@keyframes floatingAnimation3 {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-25px) rotate(360deg);
    }
}

.tech-content-wrapper {
    position: relative;
    z-index: 2;
    color: white;
}

.tech-main-title {
    font-family: "Poppins", sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff 0%, #f4650f 50%, #0272b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-main-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.tech-feature-list {
    list-style: none;
    padding: 0;
}

.tech-feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.tech-feature-list li:last-child {
    border-bottom: none;
}

.tech-feature-list i {
    color: var(--accent-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.tech-main-image {
    position: relative;
    z-index: 2;
}

.tech-main-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(244, 101, 15, 0.3);
}

.tech-cta-button {
    background: var(--gradient-primary);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.tech-cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.6s;
}

.tech-cta-button:hover::before {
    left: 100%;
}

.tech-cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(244, 101, 15, 0.4);
    color: white;
}

/* Connected Systems Section */
.connected-systems-section {
    background: linear-gradient(135deg,
            #0f0f23 0%,
            #1a1a2e 50%,
            #16213e 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.particle-animation-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.animated-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: particleFloating 8s linear infinite;
}

@keyframes particleFloating {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

.connected-main-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.connected-main-title {
    font-family: "Poppins", sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 3rem;
}

.connected-title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.connected-main-description {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 4rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.connected-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.connected-feature-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.connected-feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(244, 101, 15, 0.2);
}

.connected-feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.connected-feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.connected-feature-item p {
    opacity: 0.8;
    line-height: 1.6;
}

/* Mission Tabs Section */
.mission-tabs-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.mission-navigation-tabs {
    border-bottom: 3px solid #e9ecef;
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.mission-tab-button {
    background: none;
    border: none;
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.mission-tab-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.mission-tab-button.active-tab {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.mission-tab-button:hover {
    color: var(--accent-color);
}

.mission-tab-content {
    display: none;
}

.mission-tab-content.active-content {
    display: block;
}

.mission-content-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.mission-content-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-hero-title {
        font-size: 2.8rem;
    }

    .main-hero-subtitle {
        font-size: 1.2rem;
    }

    .main-section-title {
        font-size: 2.2rem;
    }

    .connected-main-title {
        font-size: 2.5rem;
    }

    .tech-main-title {
        font-size: 2.5rem;
    }

    .hero-navigation-btn {
        width: 50px;
        height: 50px;
    }

    .hero-navigation-btn.previous {
        left: 20px;
    }

    .hero-navigation-btn.next {
        right: 20px;
    }

    .mission-navigation-tabs {
        display: none;
    }

    .mission-mobile-accordion {
        display: block;
    }

    .accordion-button {
        background: var(--light-color);
        border: 1px solid #e9ecef;
        color: var(--dark-color);
        font-weight: 600;
        font-size: 1.1rem;
    }

    .accordion-button:not(.collapsed) {
        background: var(--gradient-primary);
        color: white;
    }
}

@media (min-width: 769px) {
    .mission-mobile-accordion {
        display: none;
    }
}

/* Animation Classes */
.animate-fade-in {
    opacity: 0;
    transform: translateY(50px);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-80px);
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(80px);
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.8);
}

.animate-rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.8);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Service Detail Cards */
.service-detail-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-detail-card h4 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
    text-align: center;
}

.service-detail-card h4 a{
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
    text-align: center;
}

.service-detail-card p {
    color: #666 !important;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-detail-card p a{
    color: #666 !important;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Process Steps */
.process-step {
    padding: 2rem 1rem;
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* Product Cards */

 .product-card {
          border: none;
          border-radius: 12px;
          overflow: hidden;
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
          transition: transform 0.3s ease, box-shadow 0.3s ease;
          background-color: var(--white);
          display: flex;
          flex-direction: column;
          height: 100%; /* Ensure cards in a row have same height */
      }

      .product-card:hover {
          transform: translateY(-8px);
          box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
      }

      .product-card .card-img-container {
          overflow: hidden;
          position: relative;
          padding-top: 66.66%; /* 3:2 aspect ratio (400/600) */
      }

      .product-card .card-img-top {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          /* height: 100%; */
          object-fit: cover;
          transition: transform 0.5s ease;
      }
      .our-future-product{
        padding: 20px !important;
      }

      .product-card:hover .card-img-top {
          transform: scale(1.08);
      }

      .product-card .card-body {
          padding: 20px;
          flex-grow: 1; /* Allow body to grow and fill space */
          display: flex;
          flex-direction: column;
      }

      .product-card .card-title {
          font-weight: 600;
          color: var(--dark-color);
          margin-bottom: 10px;
          font-size: 1.25rem;
      }

      .product-card .card-text {
          color: var(--text-muted);
          font-size: 0.95rem;
          line-height: 1.4;
          flex-grow: 1; /* Allow text to grow */
      }

      .product-card .product-price {
          font-size: 1.5rem;
          font-weight: 700;
          color: var(--primary-color);
          margin-top: 15px;
          margin-bottom: 15px;
      }

      .product-card .btn-primary {
          background-color: var(--primary-color);
          border-color: var(--primary-color);
          font-weight: 500;
          padding: 10px 20px;
          border-radius: 8px;
          transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
          margin-top: auto; /* Push button to the bottom */
      }

      .product-card .btn-primary:hover {
          background-color: #015a92; /* Darker shade of primary */
          border-color: #015a92;
          transform: translateY(-2px);
      }

      .page-title {
          font-size: 3.5rem;
          font-weight: 700;
          color: var(--white);
          margin-bottom: 40px;
          text-align: center;
      }

      /* Specific styles for product-details page */
      .breadcrumb-nav {
          background-color: var(--white);
          padding: 15px 0;
          border-bottom: 1px solid #e9ecef;
          margin-bottom: 30px;
      }

      .breadcrumb-nav .breadcrumb-item a {
          color: var(--primary-color);
          text-decoration: none;
      }

      .breadcrumb-nav .breadcrumb-item.active {
          color: var(--text-muted);
      }

      .product-detail-image {
          border-radius: 12px;
          box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
          width: 100%;
          height: auto;
          object-fit: cover;
      }

      .thumbnail-gallery {
          display: flex;
          gap: 15px;
          margin-top: 20px;
          justify-content: center;
      }

      .thumbnail-gallery img {
          width: 100px;
          height: 75px; /* Maintain 4:3 aspect ratio for thumbnails */
          object-fit: cover;
          border-radius: 8px;
          border: 2px solid transparent;
          cursor: pointer;
          transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      }

      .thumbnail-gallery img:hover {
          border-color: var(--accent-color);
          transform: translateY(-3px);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
      }

      .thumbnail-gallery img.active {
          border-color: var(--primary-color);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
      }

      .product-detail-info h1 {
          font-size: 2.8rem;
          font-weight: 700;
          color: var(--dark-color);
          margin-bottom: 15px;
      }

      .product-detail-info .short-description {
          font-size: 1.1rem;
          color: var(--text-muted);
          margin-bottom: 20px;
      }

      .product-detail-info .price {
          font-size: 2.5rem;
          font-weight: 700;
          color: var(--primary-color);
          margin-bottom: 30px;
      }

      .product-detail-info .btn-buy-now {
          background: var(--gradient-primary);
          color: var(--white);
          border: none;
          font-weight: 600;
          padding: 12px 30px;
          border-radius: 8px;
          transition: transform 0.2s ease, opacity 0.3s ease;
          box-shadow: 0 4px 10px rgba(244, 101, 15, 0.3);
      }

      .product-detail-info .btn-buy-now:hover {
          transform: translateY(-3px);
          opacity: 0.9;
      }

      .product-detail-info .btn-add-to-cart {
          background: var(--gradient-secondary);
          border: none;
          font-weight: 600;
          padding: 12px 30px;
          border-radius: 8px;
          transition: transform 0.2s ease, opacity 0.3s ease;
          box-shadow: 0 4px 10px rgba(2, 114, 185, 0.3);
      }

      .product-detail-info .btn-add-to-cart:hover {
          transform: translateY(-3px);
          opacity: 0.9;
      }

      .product-full-description {
          font-size: 1rem;
          line-height: 1.6;
          color: var(--dark-color);
          margin-top: 40px;
          margin-bottom: 30px;
      }

      .key-features h3 {
          font-size: 1.8rem;
          font-weight: 600;
          color: var(--dark-color);
          margin-bottom: 20px;
      }

      .key-features ul {
          list-style: none;
          padding: 0;
      }

      .key-features ul li {
          margin-bottom: 10px;
          font-size: 1rem;
          color: var(--dark-color);
      }

      .key-features ul li i {
          color: var(--primary-color);
          margin-right: 10px;
          font-size: 1.1rem;
      }

      .tech-stack h3 {
          font-size: 1.8rem;
          font-weight: 600;
          color: var(--dark-color);
          margin-top: 40px;
          margin-bottom: 20px;
      }

      .tech-stack .badge {
          font-size: 0.9rem;
          font-weight: 500;
          padding: 8px 15px;
          border-radius: 20px;
          margin-right: 10px;
          margin-bottom: 10px;
          background-color: var(--primary-color);
          color: var(--white);
      }

      .related-products h3 {
          font-size: 2rem;
          font-weight: 700;
          color: var(--dark-color);
          margin-top: 60px;
          margin-bottom: 30px;
          text-align: center;
      }

      .related-product-card {
          border: none;
          border-radius: 10px;
          overflow: hidden;
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
          transition: transform 0.3s ease, box-shadow 0.3s ease;
          background-color: var(--white);
      }

      .related-product-card:hover {
          transform: translateY(-5px);
          box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      }

      .related-product-card .card-img-top {
          width: 100%;
          height: 150px; /* Fixed height for related product images */
          object-fit: cover;
      }

      .related-product-card .card-body {
          padding: 15px;
      }

      .related-product-card .card-title {
          font-weight: 600;
          font-size: 1.1rem;
          margin-bottom: 5px;
          color: var(--dark-color);
      }

      .related-product-card .product-price {
          font-size: 1.2rem;
          font-weight: 700;
          color: var(--primary-color);
      }

/* Comparison Table */
.comparison-table {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 1rem;
    border: none;
}

.comparison-table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #e9ecef;
}

.comparison-table td:first-child {
    font-weight: 600;
    background-color: #f8f9fa;
}

/* Blog Cards */
.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.blog-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Resource Items */
.resource-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.resource-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.resource-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.resource-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.resource-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.newsletter-form .form-control {
    border-radius: 10px;
    border: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.newsletter-form .btn {
    border-radius: 10px;
    padding: 0.75rem 2rem;
}

/* Mission Cards */
.mission-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.mission-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.mission-card p {
    color: #666;
    line-height: 1.6;
}

/* Value Cards */
.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Team Cards */
.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-content {
    padding: 2rem;
}

.team-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.team-role {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.team-social a {
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.team-social a:hover {
    transform: translateY(-2px);
}

/* Location Cards */
.location-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.location-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.location-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin: 0;
}

.location-content p {
    margin-bottom: 0.5rem;
    color: #666;
}

.location-content strong {
    color: var(--black);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 10px;
    border: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(2, 114, 185, 0.25);
}

/* Contact Info */
.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

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

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-details h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.contact-details p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.location-card {
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}
.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}


/* Quick Contact Cards */
.quick-contact-card {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.quick-contact-card:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.quick-contact-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.quick-contact-card h6 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--black);
}

.quick-contact-card p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Map Placeholder */
.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.map-content i {
    font-size: 3rem;
}

.map-content h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-content p {
    opacity: 0.9;
}

/* Stats */
.stat-item {
    padding: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

/* Footer */
/* .footer {
    margin-top: 5rem;
} */

.footer h5,
.footer h6 {
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer .input-group .form-control {
    border-radius: 25px 0 0 25px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer .input-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.footer .input-group .btn {
    border-radius: 0 25px 25px 0;
    border: none;
    background: var(--accent-color);
}

/* Accordion */
.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 10px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    color: var(--black);
    font-weight: 600;
    border: none;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .announcement-bar {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .announcement-bar span {
        display: block;
        margin-bottom: 5px;
    }
    
    .announcement-bar span:last-child {
        margin-bottom: 0;
    }
    
    .navbar {
        top: 40px;
    }
    
    .navbar.scrolled {
        top: 0;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .team-card,
    .product-card,
    .service-detail-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-cta {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .service-card,
    .mission-card,
    .value-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #025a94;
}