/* Custom Variables */
:root {
    --primary-color: #1a237e;
    --secondary-color: #4a148c;
    --accent-color: #ff6f00;
    --text-dark: #212121;
    --text-light: #757575;
    --background-light: #f5f5f5;
}

/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .display-4 {
        font-size: 3.5rem;
    }
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Enhanced Navbar Brand Styling */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
}

.navbar-brand img {
    height: 70px;
    width: auto;
    padding-bottom: 8px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
}

.brand-subtext {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
    display: block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 50px;
    }
    .brand-text {
        font-size: 1.25rem;
    }
    .brand-subtext {
        font-size: 0.75rem;
    }
}

/* Hero Carousel */
.carousel {
    margin-top: 55px;
    height: calc(100vh - 76px);
    overflow: hidden;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    height: 100%;
}

.carousel-item .container {
    height: 100%;
}

.carousel-item .row {
    height: 100%;
}

/* Ensure content is centered vertically */
.carousel-item .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Enhance text visibility */
.carousel-item h1,
.carousel-item h2,
.carousel-item p {
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Improve image positioning */
.carousel-item img {
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    margin: auto;
}

.carousel-item .container {
    padding: 2rem 0;
}

.carousel-item .row {
    margin: 0;
}

.carousel-item img {
    max-height: 900px;
    object-fit: contain;
}

.carousel-item h1,
.carousel-item h2,
.carousel-item p,
.carousel-item .btn {
    opacity: 0;
}

.carousel-item.active h1,
.carousel-item.active h2,
.carousel-item.active p,
.carousel-item.active .btn {
    opacity: 1;
}

.carousel-item.active h1 {
    animation: fadeInLeft 1s ease forwards;
}

.carousel-item.active h2 {
    animation: fadeInRight 1s ease forwards;
}

.carousel-item.active p {
    animation: fadeInUp 1s ease 0.5s forwards;
}

.carousel-item.active .btn {
    animation: fadeInUp 1s ease 1s forwards;
}

.carousel-item.active img {
    animation: fadeIn 1.5s ease forwards;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    /* background-color: rgba(0, 0, 0, 0.3); */
    border-radius: 50%;
    padding: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid white;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
}

/* Enhanced Animations */
.animate__animated {
    animation-duration: 1s;
}

.animate__delay-1s {
    animation-delay: 0.5s;
}

.animate__delay-2s {
    animation-delay: 1s;
}

/* Features Section */
.features-section {
    position: relative;
    overflow: hidden;
}

.features-section .col-md-4:hover {
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

.features-section i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.features-section .col-md-4:hover i {
    transform: scale(1.2);
}

/* Enhanced Card Animations */
.card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.card:hover .card-title {
    color: var(--primary-color);
}

/* Button Animations */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:after {
    content: '';
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
}

.btn:hover:after {
    width: 120%;
}

/* Enhanced Typography */
.display-3, .display-4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead {
    font-weight: 400;
    line-height: 1.8;
}

/* Keyframe Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleUp {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Carousel Navigation Enhancement */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
    opacity: 0.8;
    background: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
}

.carousel:hover .carousel-control-next {
    background: linear-gradient(-90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
}

/* Enhanced Button Styles */
.btn-dark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-dark:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Product Cards */
.card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.btn-outline-dark {
    border-width: 2px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--text-dark);
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-links a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color) !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0 !important;
    }
    
    .hero-section {
        padding: 1rem 0 3rem;
        text-align: center;
    }
    
    .hero-section img {
        margin-top: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-dark);
}

/* Language Dropdown */
.dropdown-menu {
    min-width: 100px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 500;
}

/* Shopping Cart Badge */
.badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
}

/* Messenger Chat Plugin */
.fb-customerchat {
    right: 20px !important;
    bottom: 20px !important;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Section Styles */
section {
    scroll-margin-top: 80px; /* For smooth scrolling with fixed header */
}

.bg-light {
    background-color: var(--background-light) !important;
}

/* Section Headers */
section h2.display-4 {
    position: relative;
    padding-bottom: 1rem;
}

section h2.display-4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Responsive Improvements */
@media (max-width: 991.98px) {
    .carousel {
        height: auto;
        min-height: calc(100vh - 76px);
    }

    .carousel-item img {
        max-height: 330px;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    section {
        padding-top: 60px;
        margin-top: -30px;
    }

    .navbar-brand img {
        height: 40px;
    }

    .carousel-item {
        text-align: center;
    }

    .carousel-item .row {
        flex-direction: column-reverse;
    }

    .carousel-item .col-lg-6:first-child {
        margin-top: 2rem;
    }

    .partner-card {
        margin-bottom: 1rem;
    }
}

/* Form Styles */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.25);
}

/* Newsletter Form */
.newsletter-form .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.newsletter-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Footer Links */
.footer-links li {
    display: flex;
    align-items: center;
}

.footer-links i {
    min-width: 25px;
}

/* Section Layout Controls */
.sections-wrapper {
    position: relative;
    overflow: hidden;
}

.section-padding {
    padding: 25px 25px;
    position: relative;
}

.section-container {
    position: relative;
    z-index: 2;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Section Specific Styles */
#hero {
    height: calc(100vh - 76px);
    overflow: hidden;
}

#chut-ca-phe {
    background-color: #ffffff;
}

#goi-rieng {
    background-color: var(--background-light);
}

#tu-chung-toi {
    background-color: #ffffff;
}

#dong-hanh {
    background-color: var(--background-light);
}

#than-men {
    background-color: #ffffff;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 40px 0;
    }
    
    #hero {
        height: auto;
        min-height: calc(100vh - 60px);
    }
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    /* height: calc(100vh - 76px); */
    overflow: hidden;
    background: #fff;
}

.hero-slide {
    height: 80%;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding: 0;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.hero-image img {
    max-height: 500px;
    width: auto;
    object-fit: cover;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        height: auto;
        /* min-height: calc(100vh - 76px); */
    }
    
    .hero-slide {
        min-height: calc(100vh - 76px);
        padding: 2rem 0;
    }
    
    .hero-image {
        height: auto;
        padding: 1rem 0;
    }
    
    .hero-image img {
        max-height: 50vh;
    }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-slide {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 10px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }

    .hero-image img {
        max-height: 300px;
    }
}

@media (max-width: 767.98px) {
    .hero-slide {
        padding: 15px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.carousel:hover .carousel-control-prev {
    left: 20px;
    opacity: 1;
}

.carousel:hover .carousel-control-next {
    right: 20px;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    /* background-color: var(--primary-color); */
    border-radius: 50%;
    padding: 12px;
}

/* Custom Indicators */
.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.5;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    width: 30px;
    border-radius: 10px;
    opacity: 1;
}

/* Floating Contact Button */
.floating-contact {    
    position: fixed;    
    bottom: 30px;    
    right: 30px;    
    z-index: 1000;
}

.contact-btn {    
    width: 50px;    
    height: 50px;    
    border-radius: 50%;    
    background: var(--primary-color);    
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);    
    cursor: pointer;    
    display: flex;    
    align-items: center;    
    justify-content: center;    
    color: white;    
    transition: all 0.3s ease;
}

.social-icons {    
    position: absolute;    
    bottom: 70px;    
    right: 0;    
    display: none;
    flex-direction: column;
    gap: 12px;
}

.social-icons.show {    
    display: flex;
}

.social-icons a {    
    width: 45px;    
    height: 45px;    
    border-radius: 50%;    
    color: #fff;
    background: var(--primary-color);    
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);    
    display: flex;    
    align-items: center;    
    justify-content: center;    
    transition: all 0.3s ease;
    text-decoration: none; /* Remove underline */
}

.social-icons a.phone {
    background: #28a745;
}

.social-icons a.facebook {
    background: #1877f2;
}

.social-icons a.tiktok {
    background: #000;
}

.social-icons a:hover {    
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Floating Contact Button Animations */
.contact-btn {
    animation: pulse 2s infinite;
}

.contact-btn:hover {
    animation: none;
    transform: scale(1.1);
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(26,35,126,0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(26,35,126,0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(26,35,126,0); }
}

/* Product Detail Styles */
.product-detail .product-gallery img {
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-detail .product-gallery img:hover {
    opacity: 0.8;
}

.product-meta a {
    color: var(--primary-color);
    text-decoration: none;
}

.product-meta a:hover {
    text-decoration: underline;
}

.nav-tabs .nav-link {
    color: var(--text-dark);
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Dashboard Styles */
.sidebar {
    min-height: calc(100vh - 76px);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar .nav-link {
    color: var(--text-dark);
    padding: .75rem 1rem;
    font-weight: 500;
}

.sidebar .nav-link:hover {
    background-color: rgba(0, 0, 0, .05);
}

.sidebar .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(26, 35, 126, .1);
}

.sidebar .nav-link i {
    width: 24px;
}

@media (max-width: 767.98px) {
    .sidebar {
        min-height: auto;
        margin-bottom: 1rem;
    }
}

/* Banner Section */
.banner-section {
    margin: 2rem 0;
}

.banner-item {
    height: 300px;
    position: relative;
    transition: all 0.3s ease;
}

.banner-item:hover {
    transform: translateY(-5px);
}

.banner-item img {
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.banner-item:hover img {
    transform: scale(1.05);
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-title {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.banner-text {
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 767.98px) {
    .banner-item {
        height: 200px;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
    
    .banner-text {
        font-size: 1rem;
    }
}

/* Hero Section Styles */
.hero-slide {
    position: relative;
    height: calc(100vh - 76px);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.carousel-item.active .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 150px;
}

.hero-title {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.hero-text {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Achievement Cards Styles */
.achievement-card {
    background: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 35, 126, 0.1);
}

.counter {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.certification-card {
    transition: all 0.3s ease;
}

.certification-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.custom-text-justify {
    text-align: justify !important;
    -webkit-text-align-last: left;
    -moz-text-align-last: left;
    text-align-last: left;
}

.feature-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.card-hover {
    transform: translateY(-10px);
    border: 1px solid var(--bs-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Enhanced Feature Card Styles */
.feature-card {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26,35,126,0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26,35,126,0.1);
    transition: all 0.5s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: rotateY(360deg);
}

.feature-icon {
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.feature-card:hover h3::after {
    width: 80px;
}

/* Responsive Styles for Feature Cards */
@media (max-width: 991.98px) {
    .feature-card {
        margin-bottom: 20px;
    }
    
    .feature-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .feature-icon i {
        font-size: 2em;
    }
}

@media (max-width: 767.98px) {
    .feature-card {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-padding {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .feature-card {
        padding: 1.5rem !important;
    }
    
    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 3.5em;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .feature-card {
        background: rgba(255,255,255,0.05) !important;
    }
    
    .feature-icon-wrapper {
        background: rgba(255,255,255,0.1);
    }
}

/* Animation Keyframes */
@keyframes floatAnimation {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes pulseAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Partner Card Animations */
.partner-card-animate {
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateY(0);
}

.partner-card-animate:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.icon-box {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26,35,126,0.05);
    transition: all 0.4s ease;
}

.partner-card-animate:hover .icon-box {
    transform: rotateY(360deg);
    background: rgba(26,35,126,0.1);
}

.partner-card-animate:hover i {
    animation: iconBounce 0.8s ease infinite;
}

.partner-card-animate h3 {
    transition: all 0.3s ease;
}

.partner-card-animate:hover h3 {
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Animation delay classes */
.animate__delay-1s {
    animation-delay: 0.2s !important;
}

.animate__delay-2s {
    animation-delay: 0.4s !important;
}

.animate__delay-3s {
    animation-delay: 0.6s !important;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Add smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Improve animation performance */
.partner-card-animate {
    will-change: transform;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
}

/* Mobile-friendly Partner Card Animations */
.partner-mobile-card {
    position: relative;
    transition: all 0.3s ease;
    transform: translateY(0);
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
    /* Animations only for devices that support hover */
    .partner-mobile-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }

    .partner-mobile-card:hover .icon-wrapper i {
        transform: scale(1.1);
    }

    .partner-mobile-card:hover h3 {
        color: var(--primary-color);
    }
}

/* Touch device animations */
@media (hover: none) {
    .partner-mobile-card:active {
        transform: scale(0.98);
        transition: transform 0.2s ease;
    }

    .partner-mobile-card.touched {
        animation: touchPulse 0.5s ease;
    }
}

.icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26,35,126,0.05);
}

.icon-wrapper i {
    transition: transform 0.3s ease;
}

/* WOW.js animations */
.wow {
    visibility: hidden;
}

@keyframes touchPulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

/* Optimize animations for reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .partner-mobile-card {
        transition: none;
    }
    
    .partner-mobile-card:hover,
    .partner-mobile-card:active {
        transform: none;
    }
    
    .wow {
        animation: none !important;
        visibility: visible !important;
    }
}

/* About Page Styles */
.transition-hover {
    transition: transform 0.3s ease;
}

.transition-hover:hover {
    transform: translateY(-5px);
}

.transition-zoom {
    transition: transform 0.3s ease;
}

.card:hover .transition-zoom {
    transform: scale(1.1);
}

.overflow-hidden {
    overflow: hidden;
}

.value-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.value-icon {
    height: 80px;
    width: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: #e9ecef;
}

.value-card h4 {
    color: #333;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
}

.process-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.process-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.process-icon i {
    font-size: 2rem;
    color: #0d6efd;
}

.process-card:hover .process-icon {
    background: #0d6efd;
}

.process-card:hover .process-icon i {
    color: white;
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #0d6efd;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.process-card h5 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-card p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Process Arrow Styles */
.process-container {
    position: relative;
    padding: 20px 0;
}

.process-arrow {
    position: absolute;
    top: 40%;
    right: -15%;
    width: 30%;
    height: 2px;
    background: #0d6efd;
    z-index: 1;
}

.process-arrow::after {
    content: '';
    position: absolute;
    right: -10px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #0d6efd;
    border-right: 2px solid #0d6efd;
    transform: rotate(45deg);
}

@media (max-width: 991.98px) {
    .process-arrow {
        display: none;
    }

    .process-card::after {
        content: '\f063';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: #0d6efd;
        font-size: 24px;
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
    }

    .col-md-6:last-child .process-card::after {
        display: none;
    }
}

/* Enhanced Product Cards Section */
.product-card {
    height: 800px; /* Increased height */
    border: 0;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}

.product-img-container {
    height: 400px; /* Increased height for images */
    overflow: hidden;
}

.product-img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-body {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.product-text {
    flex-grow: 1;
}

.product-bottom {
    margin-top: auto;
    padding-top: 1rem;
}

/* Responsive Product Cards */
@media (max-width: 768px) {
    .product-card {
        height: auto;
        min-height: 600px;
    }

    .product-img-container {
        height: 300px;
    }
}

/* Enhanced Product Cards Section */
.product-card {
    height: 600px;
    border: 0;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}

.product-img-container {
    height: 300px;
    overflow: hidden;
}

.product-img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.product-body {
    display: flex;
    flex-direction: column;
}

.product-text {
    flex-grow: 1;
}

.product-bottom {
    margin-top: auto;
}

/* Responsive Product Cards */
@media (max-width: 768px) {
    .product-card {
        height: auto;
        min-height: 500px;
    }
}