/* 
* Hitzelberger Life Sciences - Main CSS File
* Version: 1.0
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    --primary-color: #004994;
    --secondary-color: #003366;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --neurology-color: #4e54c8;
    --cardiology-color: #d35400;
    --psychiatry-color: #16a085;
    --body-color: #555;
    --heading-color: #333;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--body-color);
    line-height: 1.7;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #073fd2;
    line-height: 1.4;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #003366;
    text-decoration: none;
}

.btn {
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #003366;
    border-color: #003366;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-outline {
    color: #fff;
    border: 2px solid #fff;
    background-color: transparent;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-outline-light {
    color: #fff;
    border-color: #fff;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-white {
    color: #fff !important;
}

.separator {
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px 0 30px;
}

.section-heading .separator {
    margin: 20px auto 30px;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading .subtitle {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-heading .title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-heading p {
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.section-heading.text-center .separator {
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
/* Updated CSS for Preloader to ensure it disappears correctly */

/*--------------------------------------------------------------
# Preloader - FIXED VERSION
--------------------------------------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    position: relative;
    width: 80px;
    height: 80px;
}

.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

#loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loading-icon img {
    max-width: 100%;
    max-height: 100%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Top Info Bar
--------------------------------------------------------------*/
.top-info-bar {
    background-color: #f5f5f5;
    padding: 8px 0;
    font-size: 14px;
}

.top-info-bar .medical-info p {
    margin-bottom: 0;
    color: #666;
}

.top-info-bar .medical-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.top-info-bar .language-selector .form-select {
    font-size: 12px;
    height: 30px;
    padding: 5px 10px;
    width: auto;
    float: right;
    border-radius: 4px;
    cursor: pointer;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 999;
}

.header-top {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.header-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.header-contact-info ul li {
    margin-right: 20px;
}

.header-contact-info ul li a {
    color: #666;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.header-contact-info ul li a i {
    color: var(--primary-color);
    margin-right: 8px;
}

.header-social-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.header-social-links ul li {
    margin-left: 10px;
}

.header-social-links ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.header-social-links ul li a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.header-main {
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
}

/*--------------------------------------------------------------
# Navigation
/* Improved International Standard Header CSS */

/*--------------------------------------------------------------
# Global Accessibility Classes
--------------------------------------------------------------*/
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body.high-contrast {
    background-color: #000;
    color: #fff;
}

body.high-contrast a,
body.high-contrast button {
    color: #ffff00;
}

body.high-contrast .btn {
    background-color: #000;
    color: #ffff00;
    border: 2px solid #ffff00;
}

body.large-font {
    font-size: 120%;
}

body.x-large-font {
    font-size: 140%;
}

/*--------------------------------------------------------------
# Top Info Bar
--------------------------------------------------------------*/
.top-info-bar {
    background-color: #f8f9fa;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

.top-info-bar .medical-info p {
    margin-bottom: 0;
    color: #343a40;
    font-weight: 500;
}

.top-info-bar .medical-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* Improved Language Selector */
.language-selector {
    display: inline-block;
}

.select-wrapper {
    position: relative;
    display: inline-block;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #6c757d;
    pointer-events: none;
}

.language-selector .form-select {
    font-size: 13px;
    height: 34px;
    padding: 5px 30px 5px 10px;
    width: auto;
    border-radius: 4px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: none;
}

.flag-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 12px;
    background-size: cover;
    background-position: center;
}

/* Accessibility Controls */
.accessibility-options {
    display: inline-block;
    margin-left: 15px;
}

.btn-accessibility {
    background: none;
    border: none;
    color: #6c757d;
    padding: 0 5px;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.btn-accessibility:hover {
    color: var(--primary-color);
    background-color: rgba(0, 73, 148, 0.1);
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 999;
}

/* Header Top */
.header-top {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.header-contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.header-contact-info ul li {
    margin-right: 20px;
}

.header-contact-info ul li a {
    color: #555;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: color 0.3s ease;
}

.header-contact-info ul li a:hover {
    color: var(--primary-color);
}

.header-contact-info ul li a i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 16px;
}

.contact-label {
    margin-right: 4px;
    font-weight: 500;
}

/* Social Links */
.header-social-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.header-social-links ul li {
    margin-left: 10px;
}

.header-social-links ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #f5f5f5;
    color: #555;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.header-social-links ul li a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Header Main */
.header-main {
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    justify-content: center;
}

.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-menu > li {
    position: relative;
    margin: 0 15px;
}

.main-menu > li > a {
    display: block;
    padding: 10px 0;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
}

.main-menu > li.active > a,
.main-menu > li > a:hover {
    color: var(--primary-color);
}

.main-menu > li.active > a::after,
.main-menu > li > a:hover::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.main-menu > li > a:hover::after {
    transform: scaleX(1);
}

.main-menu > li > a::after {
    transform: scaleX(0);
}

/* Dropdown Menu */
.main-menu .has-dropdown > a {
    padding-right: 15px;
}

.main-menu .has-dropdown > a::before {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.main-menu .has-dropdown:hover > a::before {
    transform: translateY(-50%) rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 220px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.main-menu .has-dropdown:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0;
}

.sub-menu li a {
    display: block;
    padding: 8px 20px;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sub-menu li a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
    padding-left: 25px;
}

/* Header Right */
.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Search Button */
.search-btn button {
    background: none;
    border: none;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.search-btn button:hover {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    margin-left: 20px;
}

.menu-toggle {
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Improved Mobile Menu */
.mobile-menu-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding-bottom: 30px;
}

.mobile-menu-container.active {
    right: 0;
}

.mobile-menu-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu-close {
    display: inline-block;
}

.mobile-menu-close .close-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.mobile-menu-close .close-btn:hover {
    color: var(--primary-color);
}

.mobile-menu-logo {
    flex-grow: 1;
    text-align: center;
}

.mobile-menu-logo img {
    max-height: 40px;
}

.mobile-menu-content {
    padding: 15px;
}

.mobile-navigation .mobile-menu {
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
}

.mobile-navigation .mobile-menu li {
    border-bottom: 1px solid #eee;
}

.mobile-navigation .mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-navigation .mobile-menu li a {
    display: block;
    padding: 12px 0;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-navigation .mobile-menu li a:hover {
    color: var(--primary-color);
}

.mobile-navigation .mobile-menu .has-submenu > a {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-navigation .mobile-menu .has-submenu > a i {
    transition: transform 0.3s ease;
}

.mobile-navigation .mobile-menu .has-submenu.active > a {
    color: var(--primary-color);
}

.mobile-navigation .mobile-menu .has-submenu.active > a i {
    transform: rotate(180deg);
}

.mobile-navigation .mobile-submenu {
    display: none;
    list-style: none;
    padding: 0 0 0 15px;
    margin: 5px 0 10px;
    border-left: 2px solid var(--primary-color);
}

.mobile-navigation .mobile-submenu li {
    border-bottom: none;
}

.mobile-navigation .mobile-submenu li a {
    padding: 8px 0;
    font-size: 14px;
    font-weight: 400;
}

.mobile-contact-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-contact-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.mobile-contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.mobile-contact-info .contact-item i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.mobile-language-selector {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-language-selector h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.language-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lang-btn {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.lang-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.mobile-social-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.mobile-social-links h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.mobile-social-links ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-social-links ul li {
    margin-right: 15px;
}

.mobile-social-links ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-social-links ul li a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Search Popup */
.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 73, 148, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-popup.active {
    opacity: 1;
    visibility: visible;
}

.search-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.search-popup-content {
    position: relative;
    width: 600px;
    max-width: 90%;
    background-color: #fff;
    border-radius: 5px;
    padding: 30px;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.search-popup.active .search-popup-content {
    transform: scale(1);
}

.search-form {
    position: relative;
}

.search-form .form-control {
    height: 60px;
    padding: 10px 60px 10px 20px;
    border: 2px solid #eee;
    border-radius: 30px;
    font-size: 18px;
    box-shadow: none;
    transition: all 0.3s ease;
}

.search-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 73, 148, 0.25);
}

.search-form .search-btn {
    position: absolute;
    top: 0;
    right: 0;
    height: 60px;
    width: 60px;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form .search-btn:hover {
    color: #003366;
}

.search-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-close:hover {
    color: var(--primary-color);
}

/* RTL Support */
html[dir="rtl"] .header-contact-info ul li a i,
html[dir="rtl"] .mobile-contact-info .contact-item i {
    margin-right: 0;
    margin-left: 8px;
}

html[dir="rtl"] .header-social-links ul li {
    margin-left: 0;
    margin-right: 10px;
}

html[dir="rtl"] .main-menu .has-dropdown > a {
    padding-right: 0;
    padding-left: 15px;
}

html[dir="rtl"] .main-menu .has-dropdown > a::before {
    right: auto;
    left: 0;
}

html[dir="rtl"] .sub-menu {
    left: auto;
    right: -20px;
}

html[dir="rtl"] .search-btn {
    margin-right: 0;
    margin-left: 20px;
}

html[dir="rtl"] .mobile-menu-container {
    right: auto;
    left: -100%;
}

html[dir="rtl"] .mobile-menu-container.active {
    right: auto;
    left: 0;
}

html[dir="rtl"] .mobile-navigation .mobile-submenu {
    padding: 0 15px 0 0;
    border-left: none;
    border-right: 2px solid var(--primary-color);
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease;
}

.sticky-header.show {
    top: 0;
}

.sticky-header .header-main {
    padding: 10px 0;
}

.sticky-header .logo img {
    max-height: 50px;
}

/* Animated Elements */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -20px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInDown {
    animation: fadeInDown 0.6s ease;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .main-menu > li {
        margin: 0 10px;
    }
    
    .header-contact-info ul li {
        margin-right: 15px;
    }
}

@media (max-width: 991.98px) {
    .header-top {
        display: none;
    }
    
    .header-main {
        padding: 10px 0;
    }
    
    .logo img {
        max-height: 50px;
    }
}

@media (max-width: 767.98px) {
    .top-info-bar .medical-info {
        text-align: center;
        margin-bottom: 8px;
    }
    
    .top-info-bar .language-selector {
        text-align: center;
        width: 100%;
    }
    
    .accessibility-options {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .language-selector .form-select {
        width: 100%;
        max-width: 130px;
    }
    
    .search-popup-content {
        padding: 20px;
    }
    
    .search-form .form-control {
        height: 50px;
        font-size: 16px;
    }
    
    .search-form .search-btn {
        height: 50px;
        width: 50px;
    }
}

/* High Contrast Mode */
.high-contrast .top-info-bar,
.high-contrast .main-header,
.high-contrast .header-top,
.high-contrast .header-main {
    background-color: #000;
    border-color: #fff;
}

.high-contrast .main-menu > li > a,
.high-contrast .header-contact-info ul li a,
.high-contrast .search-btn button,
.high-contrast .menu-toggle span {
    color: #fff;
}

.high-contrast .header-social-links ul li a,
.high-contrast .mobile-social-links ul li a {
    background-color: #333;
    color: #fff;
}

.high-contrast .main-menu > li.active > a,
.high-contrast .main-menu > li > a:hover {
    color: #ffff00;
}

.high-contrast .main-menu > li.active > a::after,
.high-contrast .main-menu > li > a:hover::after {
    background-color: #ffff00;
}

.high-contrast .sub-menu {
    background-color: #000;
    border: 1px solid #fff;
}

.high-contrast .sub-menu li a {
    color: #fff;
}

.high-contrast .sub-menu li a:hover {
    background-color: #333;
    color: #ffff00;
}

.high-contrast .mobile-menu-container {
    background-color: #000;
    border-left: 1px solid #fff;
}

.high-contrast .mobile-navigation .mobile-menu li {
    border-color: #444;
}

.high-contrast .mobile-navigation .mobile-menu li a {
    color: #fff;
}

.high-contrast .mobile-navigation .mobile-submenu {
    border-color: #ffff00;
}

.high-contrast .lang-btn {
    background-color: #333;
    border-color: #444;
    color: #fff;
}

.high-contrast .lang-btn.active,
.high-contrast .lang-btn:hover {
    background-color: #ffff00;
    border-color: #ffff00;
    color: #000;
}

/* Enhanced Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.high-contrast a:focus,
.high-contrast button:focus,
.high-contrast input:focus,
.high-contrast select:focus,
.high-contrast textarea:focus {
    outline: 2px solid #ffff00;
}

/* Skip to Main Content Link for Screen Reader Users */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 15px;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
}
/*--------------------------------------------------------------
# Hero Section - Modern Carousel
--------------------------------------------------------------*/
/* Fixed CSS for Modern Hero Slider */

/*--------------------------------------------------------------
# Hero Section - Modern Carousel - Fixed Version
--------------------------------------------------------------*/
.modern-hero-section {
    position: relative;
    height: 700px;
    overflow: hidden;
    background-color: #004994; /* Updated background color */
}

.modern-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.modern-carousel {
    width: 100%;
    height: 100%;
}

.modern-slide {
    position: absolute; /* Changed from relative to absolute positioning */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Hide all slides by default */
    opacity: 0;
    transition: opacity 1s ease; /* Add transition for smooth fade effect */
}

.modern-slide.active {
    display: block; /* Show active slide */
    opacity: 1;
}

.modern-slide .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.modern-slide .video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.modern-slide .video-background .video-fallback {
    display: none; /* Hide fallback by default */
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-error .video-fallback,
.no-js .video-fallback, /* For browsers with JavaScript disabled */
.video-background video:not([src]) ~ .video-fallback { /* Show fallback when video src is missing */
    display: block;
}

.modern-slide .video-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 73, 148, 0.6); /* Updated overlay to use #004994 shade */
    z-index: 2;
}

.modern-slide .slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 15px;
}

.modern-slide .slide-content-inner {
    max-width: 800px;
}

.modern-slide .slide-content .subtitle {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
}

.modern-slide .slide-content .title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
}

.modern-slide .slide-content .description {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s;
}

.modern-slide .slide-content .buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.8s, transform 0.5s ease 0.8s;
}

/* Make the animations active when slide is active */
.modern-slide.active .subtitle,
.modern-slide.active .title,
.modern-slide.active .description,
.modern-slide.active .buttons {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Controls */
.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    padding: 0 30px;
}

.carousel-controls .prev-btn,
.carousel-controls .next-btn {
    background-color: rgba(0, 73, 148, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2; /* Ensure buttons are clickable */
}

.carousel-controls .prev-btn:hover,
.carousel-controls .next-btn:hover {
    background-color: rgba(0, 73, 148, 0.5);
}

.carousel-controls .pagination {
    display: flex;
    margin: 0 15px;
}

.carousel-controls .pagination .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-controls .pagination .dot.active {
    background-color: #fff;
    transform: scale(1.3); /* Make active dot slightly larger */
}

/* Video Controls */
.video-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    z-index: 5;
}

.video-controls button {
    background-color: rgba(0, 73, 148, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}

.video-controls button:hover {
    background-color: rgba(0, 73, 148, 0.7);
}

.video-controls button svg {
    width: 18px;
    height: 18px;
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .modern-slide .slide-content .title {
        font-size: 42px;
    }

    .modern-hero-section {
        height: 600px;
    }
}

@media (max-width: 991.98px) {
    .modern-slide .slide-content .title {
        font-size: 36px;
    }

    .modern-slide .slide-content .description {
        font-size: 16px;
    }

    .modern-hero-section {
        height: 500px;
    }
}

@media (max-width: 767.98px) {
    .modern-slide .slide-content .subtitle {
        font-size: 14px;
    }

    .modern-slide .slide-content .title {
        font-size: 28px;
    }

    .modern-slide .slide-content .description {
        font-size: 14px;
    }

    .modern-slide .slide-content .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .modern-hero-section {
        height: 400px;
    }

    .video-controls {
        bottom: 20px;
        right: 20px;
    }

    .carousel-controls {
        bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .modern-slide .slide-content .title {
        font-size: 24px;
    }
    
    .video-controls button,
    .carousel-controls .prev-btn,
    .carousel-controls .next-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-controls .pagination .dot {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInRight {
    animation-name: fadeInRight;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
/* About Section Styles */
.about-image {
    position: relative;
    margin-bottom: 30px;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
}

.about-image .experience-badge {
    position: absolute;
    right: 30px;
    bottom: -30px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 73, 148, 0.3);
}

.about-image .experience-badge .years {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.about-image .experience-badge .text {
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
    display: block;
}

.about-content {
    padding-left: 15px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-list li {
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

/* Company Overview Section Styles */
.company-overview {
    position: relative;
    background: var(--white);
}

.section-heading .subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-heading .title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.section-heading .title .text-primary {
    color: var(--primary-color);
}

.section-heading .separator {
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin-bottom: 30px;
    border-radius: 2px;
}

.company-overview-content .description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.company-features {
    margin: 40px 0;
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(0, 73, 148, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 73, 148, 0.1);
    transform: translateX(10px);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 12px;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.company-overview-visual {
    position: relative;
}

.main-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.main-image-container:hover .main-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 73, 148, 0.8));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
}

.visual-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    min-width: 180px;
    animation: float 6s ease-in-out infinite;
}

.card-left {
    top: 20%;
    left: -40px;
    animation-delay: 0s;
}

.card-right {
    bottom: 25%;
    right: -40px;
    animation-delay: 3s;
}

.floating-card .card-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
}

.floating-card .card-info {
    display: flex;
    flex-direction: column;
}

.card-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.card-text {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 2px;
}

/* Animation for floating cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}
/*--------------------------------------------------------------
# Therapeutic Areas Section
--------------------------------------------------------------*/
.therapeutic-area-card {
    background-color: #fff;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 73, 148, 0.1);
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.therapeutic-area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 73, 148, 0.15);
}

.therapeutic-area-card .icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 73, 148, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.therapeutic-area-card .icon-box img {
    max-width: 40px;
    max-height: 40px;
}

.therapeutic-area-card .title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.therapeutic-area-card .description {
    margin-bottom: 20px;
}

.therapeutic-area-card .disorders {
    margin-bottom: 20px;
}

.therapeutic-area-card .disorders h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.therapeutic-area-card .disorders ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.therapeutic-area-card .disorders ul li {
    margin-bottom: 5px;
}

.therapeutic-area-card .read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
}

.therapeutic-area-card .read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.therapeutic-area-card .read-more:hover i {
    transform: translateX(5px);
}

/*--------------------------------------------------------------
# Products Highlight Section
--------------------------------------------------------------*/
.product-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 73, 148, 0.1);
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 73, 148, 0.15);
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
}

.product-card .product-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-card .category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.product-card .category-badge.neurology {
    background-color: var(--neurology-color);
}

.product-card .category-badge.cardiology {
    background-color: var(--cardiology-color);
}

.product-card .category-badge.psychiatry {
    background-color: var(--psychiatry-color);
}

.product-card .product-content {
    padding: 20px;
}

.product-card .product-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card .product-description {
    margin-bottom: 15px;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card .product-info {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.product-card .composition span {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.product-card .composition p {
    margin-bottom: 0;
    font-size: 14px;
}

/*--------------------------------------------------------------
# Why Choose Us Section
--------------------------------------------------------------*/
.why-choose-content {
    padding-right: 30px;
}

.feature-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.feature-card {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 73, 148, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 73, 148, 0.15);
}

.feature-card .icon {
    color: var(--primary-color);
    font-size: 30px;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    margin-bottom: 0;
    font-size: 14px;
}

.why-choose-image {
    margin-bottom: 30px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-choose-image .experience-tag {
    position: absolute;
    right: 20px;
    bottom: -20px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 73, 148, 0.3);
}

.why-choose-image .experience-tag .number {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.why-choose-image .experience-tag .text {
    font-size: 12px;
    font-weight: 500;
    margin-top: 5px;
    display: block;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials-carousel {
    margin: 0 -15px;
}

.testimonial-item {
    padding: 0 15px;
}

.testimonial-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 73, 148, 0.1);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    transform: rotate(45deg);
    box-shadow: 5px 5px 10px rgba(0, 73, 148, 0.1);
    z-index: -1;
}

.testimonial-content .rating {
    margin-bottom: 15px;
}

.testimonial-content .rating i {
    color: #ffc107;
    margin-right: 2px;
}

.testimonial-content .quote {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-content .author {
    display: flex;
    align-items: center;
}

.testimonial-content .author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid #f5f5f5;
}

.testimonial-content .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content .author-info .name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-content .author-info .designation {
    font-size: 14px;
    color: #666;
}

/*--------------------------------------------------------------
# Statistics Section
--------------------------------------------------------------*/
.statistics-section {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.statistic-item {
    text-align: center;
    margin-bottom: 30px;
}

.statistic-item .icon {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.statistic-item .counter-value {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
}

.statistic-item .title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# News Section
--------------------------------------------------------------*/
.news-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 73, 148, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 73, 148, 0.15);
}

.news-card .news-image {
    position: relative;
    overflow: hidden;
}

.news-card .news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-card .date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px;
    border-radius: 3px;
    text-align: center;
    line-height: 1;
}

.news-card .date-badge .day {
    font-size: 20px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.news-card .date-badge .month {
    font-size: 12px;
    text-transform: uppercase;
    display: block;
}

.news-card .news-content {
    padding: 20px;
}

.news-card .category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.news-card .title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-card .title a {
    color: #333;
    transition: all 0.3s ease;
}

.news-card .title a:hover {
    color: var(--primary-color);
}

.news-card .excerpt {
    margin-bottom: 15px;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-card .read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
}

.news-card .read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.news-card .read-more:hover i {
    transform: translateX(5px);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-info {
    margin-bottom: 30px;
}

.contact-info-list {
    margin-top: 30px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 73, 148, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
}

.contact-info-item .content h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-info-item .content p {
    margin-bottom: 5px;
}

.social-links h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.social-links ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.social-links ul li {
    margin-right: 10px;
}

.social-links ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 73, 148, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links ul li a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.contact-form-container {
    background-color: #fff;
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 73, 148, 0.1);
}

.form-header {
    margin-bottom: 20px;
}

.form-header h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.form-header p {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    height: 50px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 73, 148, 0.25);
    border-color: #80bdff;
}

textarea.form-control {
    height: auto;
}

.form-check-input {
    margin-top: 0.3rem;
}

.form-check-label {
    font-size: 14px;
}

.form-check-label a {
    text-decoration: underline;
}

/*--------------------------------------------------------------
# Call to Action Section
--------------------------------------------------------------*/
.cta-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 80px 0;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 73, 148, 0.3);
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content .title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content .description {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/*--------------------------------------------------------------
# Partners Section
--------------------------------------------------------------*/
.partners-section {
    background-color: #f9f9f9;
}

.partners-carousel {
    margin: 0 -15px;
}

.partner-item {
    padding: 0 15px;
    text-align: center;
}

.partner-item img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.main-footer {
    background-color: var(--primary-color); /* Updated to use primary color #004994 */
    color: #fff; /* Changed text color to white for better contrast */
}

.footer-content {
    padding: 60px 0;
}

.footer-logo img {
    max-height: 60px;
    border-radius: 5px;
}

.company-description {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9); /* Updated for better contrast */
}

.contact-info .contact-icon {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 16px;
}

.footer-social-links ul {
    display: flex;
}

.footer-social-links ul li {
    margin-right: 10px;
}

.footer-social-links ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social-links ul li a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    padding-bottom: 15px;
    margin-bottom: 25px;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-links li a .link-icon {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control {
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.newsletter-form .btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.medical-disclaimer {
    background-color: rgba(255, 255, 255, 0.1);
    border-left: 4px solid rgba(255, 255, 255, 0.5);
}

.copyright-bar {
    background-color: rgba(0, 57, 112, 0.9); /* Darker shade of primary color */
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links ul {
    margin-bottom: 0;
}

.footer-bottom-links ul li a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.footer-bottom-links ul li a:hover {
    color: #fff;
}

/*--------------------------------------------------------------
# Cookie Consent
--------------------------------------------------------------*/
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -5px 15px rgba(0, 73, 148, 0.2);
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-consent.active {
    bottom: 0;
}

.cookie-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.cookie-settings {
    margin-right: 10px;
}

/*--------------------------------------------------------------
# Back to Top Button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: -60px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 73, 148, 0.3);
    transition: all 0.5s ease;
    z-index: 99;
}

.back-to-top.active {
    bottom: 30px;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1199.98px) {
    .section-heading .title {
        font-size: 32px;
    }

    .modern-slide .slide-content .title {
        font-size: 42px;
    }

    .modern-hero-section {
        height: 600px;
    }

    .about-image .experience-badge {
        padding: 15px;
    }
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 80px 0;
    }

    .section-heading .title {
        font-size: 28px;
    }

    .modern-slide .slide-content .title {
        font-size: 36px;
    }

    .modern-slide .slide-content .description {
        font-size: 16px;
    }

    .modern-hero-section {
        height: 500px;
    }

    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }

    .why-choose-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .feature-row {
        flex-direction: column;
        gap: 15px;
    }

    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-heading .title {
        font-size: 24px;
    }

    .modern-slide .slide-content .subtitle {
        font-size: 14px;
    }

    .modern-slide .slide-content .title {
        font-size: 28px;
    }

    .modern-slide .slide-content .description {
        font-size: 14px;
    }

    .modern-slide .slide-content .buttons {
        flex-direction: column;
        gap: 10px;
    }

    .modern-hero-section {
        height: 400px;
    }

    .about-image .experience-badge {
        right: 20px;
        bottom: -20px;
        padding: 10px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .statistic-item .counter-value {
        font-size: 32px;
    }

    .statistic-item .title {
        font-size: 16px;
    }

    .cta-content .title {
        font-size: 28px;
    }

    .cta-content .description {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .footer-heading {
        margin-top: 30px;
    }

    .cookie-actions {
        flex-direction: column;
    }

    .cookie-settings {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {
    .modern-slide .slide-content .title {
        font-size: 24px;
    }

    .video-controls {
        bottom: 20px;
        right: 20px;
    }

    .carousel-controls {
        bottom: 20px;
    }

    .back-to-top.active {
        bottom: 20px;
        right: 20px;
    }
}


/* highlight products */
/* Products Showcase Section */
.products-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #004994 0%, #0066cc 50%, #004994 100%);
    position: relative;
    overflow: hidden;
}

.products-showcase::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.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out;
}

.section-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Product Cards */
.product-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 73, 148, 0.1);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #004994, #0066cc, #FFD700);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 0;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 73, 148, 0.25);
    background: rgba(255, 255, 255, 1);
}

/* Product Icons */
.product-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #004994 0%, #0066cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 73, 148, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.product-card:hover .product-icon::before {
    transform: translateX(100%);
}

.product-card:hover .product-icon {
    transform: rotateY(360deg);
    box-shadow: 0 15px 35px rgba(0, 73, 148, 0.4);
}

/* Product Content */
.product-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #004994;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.product-card:hover .product-name {
    color: #0066cc;
}

.product-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.product-card:hover .product-description {
    color: #555;
}

.product-badge {
    display: inline-block;
    background: linear-gradient(135deg, #004994, #0066cc);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 73, 148, 0.3);
    transition: all 0.3s ease;
}

.product-card:hover .product-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #004994;
    transform: scale(1.05);
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 40px;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
    color: white;
}

.trust-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.trust-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-showcase {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        padding: 25px 20px;
    }
    
    .trust-indicators {
        gap: 30px;
    }
    
    .trust-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .product-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .product-name {
        font-size: 1.2rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 20px;
    }
}
/* end highlights products */
  :root {
        --primary-color: #004994;
        --secondary-color: #003366;
        --accent-color: #0066cc;
        --neurology-color: #4e54c8;
        --cardiology-color: #d35400;
        --gastroenterology-color: #e74c3c;
        --pain-management-color: #f39c12;
        --body-color: #555;
        --heading-color: #333;
    }

    /* Product Highlight Section - Unique Classes */
   .apple-products-highlight {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.apple-section-header {
    margin-bottom: 60px;
}

.apple-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #004994;
    margin-bottom: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.apple-main-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-family: 'Segoe UI', sans-serif;
}

.apple-description {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.apple-separator {
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #004994, #0066cc);
    margin: 0 auto;
    border-radius: 2px;
}

.apple-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding: 0 20px;
}

.apple-card-wrapper {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.apple-card-wrapper.apple-fade-in {
    opacity: 1;
    transform: translateY(0);
}

.apple-delay-1 { transition-delay: 0.1s; }
.apple-delay-2 { transition-delay: 0.2s; }
.apple-delay-3 { transition-delay: 0.3s; }
.apple-delay-4 { transition-delay: 0.4s; }
.apple-delay-5 { transition-delay: 0.5s; }
.apple-delay-6 { transition-delay: 0.6s; }

.apple-product-card {
    height: 480px;
    border-radius: 20px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.apple-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Card Theme Colors */
.apple-card-neurology {
    background: linear-gradient(145deg,  #cce888, #cce888);
    color: white;
}

.apple-card-psychiatry {
    background: linear-gradient(145deg, #a8c8e1, #d4e4f1);
    color: #1a1a1a;
}

.apple-card-analgesic {
    background: linear-gradient(145deg, #e67e22, #f39c12);
    color: white;
}

.apple-card-gentle {
    background: linear-gradient(145deg, #16a085, #1abc9c);
    color: white;
}

.apple-card-nutrition {
    background: linear-gradient(145deg, #FFB6C1, #FFB6C1);
    color: white;
}

.apple-card-vertigo {
    background: linear-gradient(145deg, #FFB6C1, #FFB6C1);
    color: white;
}

.apple-category {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.apple-card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.apple-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.apple-product-image {
    max-width: 240px;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.apple-product-card:hover .apple-product-image {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.apple-product-info {
    text-align: center;
    margin-bottom: 15px;
}

.apple-product-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: 'Segoe UI', sans-serif;
}

.apple-composition {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 8px;
}

.apple-description-text {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 15px;
    opacity: 0.9;
    text-align: center;
}

.apple-details-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.apple-card-psychiatry .apple-details-btn {
    background: rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.2);
    color: #1a1a1a;
}

.apple-details-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    color: inherit;
    text-decoration: none;
}

.apple-card-psychiatry .apple-details-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

.apple-view-all {
    text-align: center;
    margin-top: 60px;
}

.apple-btn-all {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, #004994, #0066cc);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 73, 148, 0.3);
}

.apple-btn-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 73, 148, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .apple-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 25px;
    }
    
    .apple-product-card {
        height: 460px;
        padding: 25px 20px;
    }
}

@media (max-width: 991.98px) {
    .apple-products-highlight {
        padding: 80px 0;
    }
    
    .apple-main-title {
        font-size: 36px;
    }
    
    .apple-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }
    
    .apple-product-card {
        height: 440px;
    }
    
    .apple-product-image {
        max-width: 200px;
        max-height: 240px;
    }
}

@media (max-width: 767.98px) {
    .apple-products-highlight {
        padding: 60px 0;
    }
    
    .apple-main-title {
        font-size: 30px;
    }
    
    .apple-description {
        font-size: 16px;
    }
    
    .apple-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .apple-product-card {
        height: 420px;
        padding: 20px 18px;
    }
    
    .apple-card-title {
        font-size: 20px;
    }
    
    .apple-product-image {
        max-width: 180px;
        max-height: 200px;
    }
}

@media (max-width: 575.98px) {
    .apple-product-card {
        height: 400px;
        padding: 18px 15px;
    }
    
    .apple-card-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .apple-product-image {
        max-width: 160px;
        max-height: 180px;
    }
}

/* Animation on scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intersection Observer Animation */
.apple-card-wrapper {
    animation: fadeInUp 0.6s ease forwards;
}