/* ==========================================================================
   1. CSS VARIABLES, RESET & BASE STYLES
   ========================================================================== */
:root {
    --primary-color: #31abe5;     /* Medical Blue */
    --secondary-color: #e3f2fd;   /* Soft Light Blue */
    --accent-color: #7ab61d;      /* Fresh Green Accent */
    --dark-color: #1a365d;        /* Deep Navy Blue */
    --light-color: #f4f9fc;       /* Clean Light Background */
    --text-color: #333333;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1 0 auto;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-p1 {
    padding: 40px 80px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.section-highlight {
    animation: highlightPulse 1.2s ease-in-out;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
}

/* Third-Party FontAwesome Helper */
.fas, .fab, .fa-solid, .fa-regular, .fa-brands {
    display: inline-block;
}

/* ==========================================================================
   2. KEYFRAME ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes highlightPulse {
    0% { background-color: rgba(49, 171, 229, 0.15); }
    100% { background-color: transparent; }
}

/* ==========================================================================
   3. NAVIGATION BAR & SITE HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar {
    position: fixed;
    top: 15px;
    left: 50%;
    z-index: 1000 !important;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(1.8);
    -webkit-backdrop-filter: blur(12px) saturate(1.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo, 
a.logo, 
.logo-text, 
.logo a, 
.navbar .logo a {
    text-decoration: none;
    outline: none;
}

.logo:hover, 
.logo-text:hover {
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 5px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}

.desktop-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-products {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-products a,
.nav-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-products a:hover,
.nav-products a.active,
.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--accent-color);
}

.nav-products a.active::after,
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link::after {
    bottom: 0;
    width: 0;
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger & Mobile Menu Mechanics */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-btn span,
.hamburger-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.hamburger-btn.is-active span:nth-child(1),
.hamburger-btn.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent-color);
}

.hamburger-btn.is-active span:nth-child(2),
.hamburger-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.is-active span:nth-child(3),
.hamburger-btn.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent-color);
}

.mobile-dropdown {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.mobile-dropdown.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cart-btn {
    position: relative;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: var(--transition);
}

.cart-btn:hover {
    color: var(--accent-color);
}

.cart-icon {
    display: inline-block;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    padding: 120px 1rem 4rem 1rem;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('img/FrontPage.jpeg');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
}

.page-header h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700; /* UPDATED: Bold header text */
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.page-header-info {
    padding-top: 140px;
    padding-bottom: 2rem;
    text-align: center;
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   4. HERO & SLIDESHOW SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url('img/FrontPage.jpeg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.2rem;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.mySlides {
    display: none;
    height: 100%;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
    background-color: var(--primary-color);
}

/* ==========================================================================
   5. BUTTONS, FORMS & TYPOGRAPHY
   ========================================================================== */
.cta-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.cta-btn:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}

.auth-btn,
.auth-btn-primary {
    width: 100%;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.auth-btn:hover,
.auth-btn-primary:hover {
    background: var(--accent-color);
    opacity: 0.92;
    transform: translateY(-2px);
}

.redirect-title {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.redirect-text {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 1.5rem;
}

.redirect-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.redirect-btn:hover {
    background: var(--accent-color);
}

.redirect-icon-wrapper {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.countdown-timer {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-control,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.95rem;
    box-sizing: border-box;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(49, 171, 229, 0.15);
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1 1 300px;
}

.about-logo-wrapper {
    flex: 1 1 250px;
    text-align: center;
}

.about-logo-wrapper img {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.drag-drop-box {
    border: 2px dashed #31abe5;
    border-radius: 8px;
    padding: 18px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drag-drop-box:hover,
.drag-drop-box.highlight-drag {
    background: #e0f2fe;
    border-color: #0284c7;
}

/* ==========================================================================
   6. FILTER SYSTEM & NAVIGATION CONTROLS
   ========================================================================== */
.filter-controls-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-group-wrapper {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    min-width: 280px;
}

.search-box i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
    z-index: 2;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 2.8rem;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 0.95rem;
    background: white;
    text-align: center;
    transition: var(--transition);
}

.search-box input::placeholder {
    text-align: center;
    color: #888888;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.category-sort,
.sort-select {
    padding: 0.75rem 2.5rem 0.75rem 1.2rem; /* UPDATED: Adjusted padding for left alignment */
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.25);
    -webkit-backdrop-filter: blur(12px) saturate(1.8) contrast(90%);
    backdrop-filter: blur(12px) saturate(1.8) contrast(90%);
    cursor: pointer;
    outline: none;
    text-align: left;           /* UPDATED: Left aligned filter text */
    text-align-last: left;      /* UPDATED: Left aligned selected option */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%22%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.65rem auto;
    transition: var(--transition);
}

.sort-select option,
.category-sort option {
    text-align: left;           /* UPDATED: Left aligned dropdown option menu */
    background-color: #ffffff;
    color: var(--text-color);
}

.category-sort:focus,
.sort-select:focus {
    border-color: var(--primary-color);
}

.shortcut-navigation {
    position: sticky;
    top: 90px; /* Offset below fixed float navbar */
    z-index: 980;
    width: 90%;
    max-width: 1000px;
    margin: 1.5rem auto 2rem auto;
    padding: 0.6rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px) saturate(1.8);
    -webkit-backdrop-filter: blur(12px) saturate(1.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.shortcut-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.2rem 0.5rem;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.shortcut-container::-webkit-scrollbar {
    display: none;
}

.shortcut-btn {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(49, 171, 229, 0.3);
    border-radius: 20px;
    color: var(--primary-color, #31abe5);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.shortcut-btn:hover,
.shortcut-btn:focus {
    background: var(--primary-color, #31abe5);
    color: #ffffff;
    border-color: var(--primary-color, #31abe5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(49, 171, 229, 0.3);
}

.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #666666;
}

.no-results-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #cccccc;
}

.no-results-message h3 {
    margin-bottom: 0.5rem;
    color: #666666;
}

/* ==========================================================================
   7. PACKAGES SECTION
   ========================================================================== */
.packages-section {
    padding: 3rem 1rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.package-card {
    background: #ffffff;
    border: 2px solid #eef2f5;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.package-card.popular {
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(49, 171, 229, 0.15);
}

.popular-tag {
    position: absolute;
    top: -14px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.package-badge {
    background: #e6f2ff;
    color: var(--primary-color);
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.package-card h3 {
    margin-top: 1rem;
    color: #222222;
    font-size: 1.35rem;
}

.package-desc {
    color: #666666;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.package-features {
    list-style: none;
    padding: 0;
    line-height: 1.8;
    font-size: 0.9rem;
}

.package-footer {
    margin-top: 1.5rem;
    border-top: 1px solid #eeeeee;
    padding-top: 1.25rem;
}

.package-footer p {
    font-size: 0.85rem;
    color: #555555;
    margin-bottom: 0.8rem;
}

/* UPDATED: Package CTA Buttons styled to uniform pill buttons */
.btn-call {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.2rem;
    border-radius: 30px; /* Pill button style */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-call:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(122, 182, 29, 0.3);
}

.btn-call.dark {
    background: var(--dark-color);
}

.btn-call.dark:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(122, 182, 29, 0.3);
}

/* ==========================================================================
   8. PRODUCT CARDS & GRIDS
   ========================================================================== */
.products-content {
    padding: 3rem 1rem;
    background: transparent;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-item {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.item-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .item-image {
    transform: scale(1.05);
}

.item-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    color: #999999;
    font-size: 1rem;
    font-style: italic;
}

.item-category-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.item-content {
    padding: 1.5rem;
}

.item-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.item-description {
    color: #666666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.click-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(122, 182, 29, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-item:hover .click-overlay {
    opacity: 0.8;
}

.click-info {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ==========================================================================
   9. SERVICES DISPLAY MODULES (2xN, STACKED, HORIZONTAL)
   ========================================================================== */
/* Horizontal Layout */
.services-horizontal-container {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0.5rem 1.5rem 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.services-horizontal-container::-webkit-scrollbar {
    height: 8px;
}

.services-horizontal-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.services-horizontal-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.service-horizontal-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-horizontal-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(49, 171, 229, 0.15);
}

/* 2xN Grid Layout */
.services-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.service-grid-card {
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-grid-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(49, 171, 229, 0.12);
}

/* Compact Vertical Stacked Layout */
.services-stacked-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-stacked-card {
    background: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.service-stacked-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.service-stacked-card:hover {
    transform: translateY(-2px) translateX(3px);
    border-color: rgba(49, 171, 229, 0.4);
    box-shadow: 0 4px 15px rgba(49, 171, 229, 0.12);
}

.service-stacked-card:hover::before {
    opacity: 1;
}

.service-card-icon,
.service-stacked-icon {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #e3f2fd, #f0f7ff);
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(49, 171, 229, 0.2);
}

.service-horizontal-card .service-card-icon {
    font-size: 2.8rem;
    width: 65px;
    height: 65px;
    border-radius: 12px;
}

.service-card-badge,
.service-stacked-badge {
    display: inline-block;
    background: rgba(49, 171, 229, 0.12);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    letter-spacing: 0.2px;
}

.service-card-info h3,
.service-stacked-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.service-card-info p,
.service-stacked-content p {
    font-size: 0.82rem;
    color: #666666;
    line-height: 1.35;
    margin: 0;
}

.service-stacked-content {
    flex: 1;
}

.service-stacked-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.2rem;
    flex-wrap: wrap;
}

.service-stacked-action {
    display: flex;
    align-items: center;
}

.click-details-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.click-details-btn {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    background: #f8fafc;
    color: var(--primary-color);
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.service-stacked-card:hover .click-details-btn {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

/* ==========================================================================
   10. MODALS
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #999999;
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
    z-index: 10;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
}

.modal-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-image-section {
    position: relative;
}

.modal-main-image,
.modal-image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius) 0 0 0;
}

.modal-main-image {
    object-fit: cover;
}

.modal-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    color: #999999;
    font-size: 1.2rem;
    font-style: italic;
}

.modal-info-section {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.modal-title {
    color: var(--dark-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.modal-description {
    color: #666666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-price-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.modal-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1.2rem;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal-add-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

/* ==========================================================================
   11. CART DRAWER, SIDEBAR & CART PAGE LAYOUTS
   ========================================================================== */
.cart-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-sidebar.active,
.cart-sidebar.open {
    transform: translateX(0);
}

.cart-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eef2f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-color);
}

.cart-sidebar-header h2 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin: 0;
}

.close-sidebar-btn {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: #666666;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-sidebar-btn:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-sidebar-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #eef2f5;
    background: var(--light-color);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-row span {
    font-size: 1.05rem;
    color: #666666;
    font-weight: 600;
}

.total-row strong {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.checkout-btn,
.view-cart-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.85rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.checkout-btn {
    background: var(--primary-color);
    color: #ffffff;
}

.checkout-btn:hover {
    background: #2394cb;
    transform: translateY(-1px);
}

.checkout-btn.disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    border-color: #cccccc !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    opacity: 0.7;
}

.view-cart-btn {
    background: #ffffff;
    color: var(--dark-color);
    border: 1px solid #cbd5e1;
}

.view-cart-btn:hover {
    background: #f8fafc;
    border-color: var(--dark-color);
}

/* Standalone Page Layout (cart.php) */
.cart-container {
    max-width: 1200px;
    margin: 120px auto 4rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}

.cart-items-section h2,
.cart-summary-section h2 {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.cart-summary-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 100px;
}

.summary-divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 1rem 0;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.continue-shopping:hover {
    color: var(--primary-color);
}

.empty-cart-section,
.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-cart-msg {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 1.5rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: #ffffff;
    border: 1px solid #eef2f5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: var(--transition);
}

.cart-item:hover {
    border-color: rgba(49, 171, 229, 0.3);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--light-color);
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-title {
    font-size: 0.95rem;
    color: var(--dark-color);
    margin: 0;
    font-weight: 600;
}

.product-price {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.quantity-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.quantity {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    min-width: 18px;
    text-align: center;
}

.remove-btn {
    background: transparent;
    border: none;
    color: #a0aec0;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.2rem;
    line-height: 1;
    transition: var(--transition);
    align-self: flex-start;
}

.remove-btn:hover {
    color: #e53e3e;
}

.cart-page-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.cart-page-card:hover {
    border-color: rgba(49, 171, 229, 0.4);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.cart-page-item-details {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cart-page-item-details img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
}

.cart-page-item-info h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.cart-page-item-info .unit-price,
.unit-price {
    font-size: 0.9rem;
    color: #64748b;
}

.cart-page-item-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-page-item-actions .line-total,
.line-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 80px;
    text-align: right;
}

.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: var(--transition);
}

/* ==========================================================================
   12. AUTHENTICATION PAGES (login.php & register.php)
   ========================================================================== */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px 20px;
    background: #f4f9fc;
}

.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 950px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    overflow: hidden;
    border: 1px solid #eef2f5;
}

.form-side {
    flex: 1.2;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.alert-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background-color: #fde8e8;
    color: #e53e3e;
    border: 1px solid #f8b4b4;
}

.input-field-group {
    margin-bottom: 1.25rem;
}

.input-field-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444444;
    margin-bottom: 0.4rem;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.input-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-control-wrapper i {
    position: absolute;
    left: 1rem;
    color: #a0aec0;
    font-size: 1rem;
}

.modern-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.modern-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(49, 171, 229, 0.15);
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.9rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background: #2394cb;
    transform: translateY(-1px);
}

.form-footer-link {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666666;
}

.form-footer-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.form-footer-link a:hover {
    text-decoration: underline;
}

.brand-side {
    flex: 1;
    background: linear-gradient(135deg, #1a365d 0%, #0f2342 100%);
    color: white;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.brand-logo-container img {
    height: 38px;
    border-radius: 6px;
}

.brand-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.brand-tagline {
    font-size: 0.9rem;
    color: #cbd5e0;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.social-section-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a0aec0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.social-btn-group,
.social-wrapper,
.social-auth-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.social-btn i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.social-icon-google { color: #ea4335; }
.social-icon-microsoft { color: #00a4ef; }

.brand-footer {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: 2rem;
}

.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    max-width: 480px;
    margin: 100px auto 3rem auto;
    background: linear-gradient(135deg, var(--light-color) 0%, #f8f4e5 100%);
}

.auth-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.8rem;
}

.auth-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
}

.auth-subtitle {
    text-align: center;
    color: #64748b;
    margin-top: 0.4rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.8rem 0;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider span {
    padding: 0 0.75rem;
}

.auth-footer-link {
    margin-top: 1.8rem;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

.auth-footer-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer-link a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   13. PATIENT CASE CALCULATOR & FORM STYLES
   ========================================================================== */
.case-calculator-section {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
}

.case-form-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.case-card-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.case-card-header h2 {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.case-card-header p {
    color: #64748b;
    font-size: 0.85rem;
}

.form-row-compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.form-section-heading {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.6rem;
}

.checkbox-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    font-size: 0.83rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.checkbox-label:hover {
    background: #f1f5f9;
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.case-form-card textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.88rem;
    box-sizing: border-box;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.case-form-card textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(49, 171, 229, 0.15);
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.whatsapp-submit-btn {
    flex: 1;
    min-width: 220px;
    background: #25d366;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.25s ease, transform 0.15s ease;
}

.whatsapp-submit-btn:hover {
    background: #20ba5a;
    transform: translateY(-1px);
}

.submission-warning {
    flex: 1.2;
    font-size: 0.78rem;
    color: #854d0e;
    background-color: #fefce8;
    border: 1px solid #fef08a;
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    line-height: 1.35;
}

/* ==========================================================================
   14. TESTIMONIALS & REVIEWS SECTION
   ========================================================================== */
.testimonials-section {
    padding: 4rem 1rem;
    background: var(--light-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: #ffffff;
    padding: 1.75rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f5;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    color: #555555;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--dark-color);
    margin: 0;
}

.testimonial-role {
    font-size: 0.85rem;
    color: #888888;
    margin: 0;
}

/* ==========================================================================
   15. MAP, PROCESS, TRUST & CONTACT SECTIONS
   ========================================================================== */
.map-section {
    padding: 4rem 1rem;
}

.map-container {
    max-width: 1100px;
    margin: 1.5rem auto 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

.legal-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
    line-height: 1.6;
    scroll-margin-top: 170px;
    transition: background-color 0.5s ease;
    border-radius: 12px;
}

.process-section {
    padding: 3rem 1rem;
}

.process-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.process-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(1.8);
    -webkit-backdrop-filter: blur(12px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.process-step {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1rem auto;
}

.process-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.process-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: inherit;
    opacity: 0.85;
}

.trust-section {
    padding: 2rem 1rem;
    text-align: center;
}

.trust-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(1.8);
    -webkit-backdrop-filter: blur(12px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 1.25rem 0.75rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease forwards;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(49, 171, 229, 0.15);
}

.trust-icon {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.trust-card h4 {
    margin: 0.25rem 0;
    font-size: 0.95rem;
    color: #2c3e50;
}

.trust-card p {
    color: #666666;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.contact-section {
    padding: 3rem 1rem;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.contact-info-col {
    flex: 1 1 280px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.contact-form-col {
    flex: 1.5 1 300px;
}

.compact-form-group {
    margin-bottom: 1rem;
}

.compact-form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
}

.compact-form-group input,
.compact-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.compact-form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.compact-contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.compact-contact-form .form-group-full {
    grid-column: span 2;
}

.compact-contact-form input,
.compact-contact-form textarea {
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
    box-sizing: border-box;
    transition: var(--transition);
}

.compact-contact-form input:focus,
.compact-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.compact-contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: #444444;
}

.compact-contact-form textarea {
    height: 65px;
    resize: vertical;
}

/* ==========================================================================
   16. RECEIPT & ORDER CONFIRMATION PAGE
   ========================================================================== */
.checkout-wrapper {
    margin-top: 3rem;
}

.receipt-container {
    padding: 3rem 1rem;
    max-width: 720px;
    margin: 100px auto 3rem auto;
}

.receipt-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.receipt-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 1.5rem;
}

.receipt-brand h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
}

.receipt-order-id {
    margin: 0.25rem 0 0 0;
    color: #64748b;
    font-size: 0.95rem;
}

.receipt-meta {
    text-align: right;
    font-size: 0.9rem;
    color: #475569;
}

.badge-status {
    display: inline-block;
    padding: 4px 10px;
    background-color: #dcfce7;
    color: #166534;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: capitalize;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin: 1.8rem 0;
    background: #f8fafc;
    padding: 1.25rem;
    border-radius: 8px;
}

.details-block h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.details-block p {
    margin: 0;
    line-height: 1.5;
    color: #1e293b;
    font-size: 0.92rem;
}

.receipt-table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.receipt-table th {
    background: #f8fafc;
    color: #475569;
    padding: 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-bottom: 2px solid #e2e8f0;
}

.receipt-table td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 0.95rem;
}

.receipt-summary {
    text-align: right;
    border-top: 2px solid #f1f5f9;
    padding-top: 1.2rem;
}

.receipt-summary .total-amount,
.total-amount {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
}

.receipt-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-secondary {
    padding: 10px 18px;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-primary {
    padding: 10px 18px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==========================================================================
   17. FOOTER & FLOATING WIDGETS
   ========================================================================== */
footer, 
footer.section-p1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background-color: var(--dark-color);
    color: white;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: auto;
    box-sizing: border-box;
}

footer .col,
.col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    flex: 1;
    min-width: 200px;
    margin-right: 20px;
}

footer .col:last-child {
    margin-right: 0;
}

footer .logo {
    margin-bottom: 20px;
    border-radius: 5px;
}

footer h4 {
    font-size: 18px;
    padding-bottom: 15px;
    color: white;
    font-weight: 600;
}

footer p {
    font-size: 14px;
    margin: 0 0 8px 0;
    color: #dddddd;
}

footer a {
    font-size: 14px;
    text-decoration: none;
    color: #dddddd;
    margin-bottom: 10px;
    transition: var(--transition);
}

footer a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

footer .follow,
.follow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

footer .follow h4 {
    margin-bottom: 15px;
}

footer .icon,
.icon {
    display: flex;
    gap: 15px;
}

footer .icon a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    margin-bottom: 0;
}

footer .icon a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

footer .icon i {
    font-size: 18px;
    color: white;
}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.footer-bottom-logo {
    display: block;
    border-radius: 5px;
    transition: var(--transition);
}

.footer-bottom-logo:hover {
    transform: scale(1.05);
}

footer .copyright,
.copyright {
    width: 100%;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 15px;
}

footer .copyright p {
    color: #aaaaaa;
    font-size: 14px;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: var(--accent-color);
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: #ffffff;
}

/* ==========================================================================
   18. TRUST SQUARES & TRANSLATION ACTIONS
   ========================================================================== */
.trust-grid-about {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}

.trust-card-hover {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(49, 171, 229, 0.18);
    border-color: var(--primary-color, #31abe5);
}

.trust-card-hover .trust-icon {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.trust-card-hover h4 {
    font-size: 0.95rem;
    color: #0f172a;
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
}

.translation-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.btn-translate {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.btn-translate:hover {
    background: var(--primary-color, #31abe5);
    color: #ffffff;
    border-color: var(--primary-color, #31abe5);
    transform: translateY(-1px);
}

.btn-translate.btn-reset {
    background: #ffffff;
    color: #64748b;
}

.btn-translate.btn-reset:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* ==========================================================================
   19. ACCOUNT PAGE STYLES
   ========================================================================== */
.account-wrapper {
    padding-top: 130px; /* Provides clearance for fixed floating navbar */
    padding-bottom: 4rem;
    min-height: calc(100vh - 200px);
}

.account-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #eef2f5;
}

.account-header {
    text-align: center;
    margin-bottom: 2rem;
}

.account-avatar {
    width: 64px;
    height: 64px;
    background: #e3f2fd;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem auto;
}

.account-header h2 {
    color: var(--dark-color);
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.account-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 1.8rem 0;
}

.label-optional {
    font-weight: normal;
    color: #94a3b8;
    font-size: 0.85rem;
}

.label-required {
    color: var(--dark-color);
}

.account-save-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 1.05rem;
}

/* ==========================================================================
   20. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Min Width 992px */
@media screen and (min-width: 992px) {
    .process-grid,
    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .process-card {
        padding: 2rem 1.25rem;
    }

    .trust-card {
        padding: 1.5rem 1rem;
    }

    .trust-card h4 {
        font-size: 1rem;
    }
}

/* Max Width 968px */
@media screen and (max-width: 968px) {
    .modal-header {
        grid-template-columns: 1fr;
    }
    
    .modal-main-image,
    .modal-image-placeholder {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        height: 300px;
    }
    
    .modal-info-section {
        padding: 2rem;
    }
    
    .search-box {
        min-width: auto;
    }
}

/* Max Width 900px */
@media screen and (max-width: 900px) {
    .cart-container {
        grid-template-columns: 1fr;
    }

    .cart-summary-section {
        position: static;
    }

    .login-card {
        flex-direction: column;
    }

    .brand-side {
        order: -1;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .packages-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Max Width 868px (Mobile Navbar Overlay & Compact Dropdown) */
@media screen and (max-width: 868px) {
    .hamburger-btn {
        display: flex;
    }

    .nav-products {
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        width: 75%;
        max-width: 280px;
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        padding: 0.5rem 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
        pointer-events: none;
        z-index: 1001 !important;
    }

    .nav-products.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

    .nav-products li {
        width: 100%;
        text-align: center;
    }

    .nav-products a {
        display: inline-block;
        padding: 0.65rem 1rem;
        font-size: 1rem;
    }

    .nav-products a.active {
        text-decoration: underline;
        text-underline-offset: 6px;
        text-decoration-thickness: 2px;
        color: var(--accent-color);
    }

    .nav-products a.active::after {
        display: none;
    }
}

/* Min Width 769px (Case Calculator Large Target Spacing) */
@media screen and (min-width: 769px) {
    .case-calculator-section {
        max-width: 1050px;
    }

    .form-row-compact {
        gap: 1.75rem;
    }

    .whatsapp-submit-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.15rem;
        max-width: 450px;
        margin: 0 auto;
        border-radius: 12px;
    }

    .checkbox-group-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .checkbox-label {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Max Width 768px (Mobile Adaptation) */
@media screen and (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .login-wrapper {
        padding: 100px 15px 40px 15px;
    }

    .form-side,
    .brand-side {
        padding: 2rem 1.5rem;
    }

    .page-header {
        padding-top: 100px;
        padding-bottom: 2.5rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .products-content {
        padding: 1.5rem 0.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .product-item {
        border-radius: 12px;
    }

    .item-image-container {
        height: 130px;
    }

    .item-content {
        padding: 0.8rem;
    }

    .item-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .item-description {
        font-size: 0.8rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }

    .price {
        font-size: 1rem;
    }

    .shortcut-navigation {
        top: 100px;
        width: 95%;
        padding: 0.5rem;
    }

    .shortcut-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .legal-section {
        scroll-margin-top: 200px;
    }

    .hero {
        padding: 6rem 1rem 3rem 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-p1 {
        padding: 30px 20px;
    }

    .map-container iframe {
        height: 300px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .receipt-container {
        margin-top: 100px;
    }

    .service-stacked-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }

    .service-stacked-action {
        width: 100%;
    }

    .click-details-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem;
    }

    .case-form-card {
        padding: 1.5rem 1rem;
    }

    .form-row-compact {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .checkbox-group-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .checkbox-label {
        padding: 1rem 0.9rem;
        font-size: 1rem;
        min-height: 52px;
    }

    .checkbox-label input[type="checkbox"] {
        width: 22px;
        height: 22px;
    }

    .whatsapp-submit-btn {
        width: 100%;
        padding: 1.25rem 1rem;
        font-size: 1.1rem;
        min-height: 56px;
        border-radius: 12px;
    }

    .form-group input,
    .form-group select,
    .case-form-card textarea {
        padding: 14px 12px;
        font-size: 1rem;
    }

    .trust-grid-about {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .account-wrapper {
        padding-top: 110px;
        padding-bottom: 2.5rem;
    }

    .account-card {
        padding: 1.5rem;
    }

    footer.section-p1 {
        padding: 40px 20px 20px 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    footer .col {
        min-width: 100%;
        margin-right: 0;
        margin-bottom: 25px;
        text-align: center;
        align-items: center;
    }

    footer .follow {
        align-items: center;
    }
}

.apply-now-btn {
    display: inline-block;
    background-color: #007bff;
    color: #ffffff !important;
    padding: 10px 22px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Hover State Fix */
.apply-now-btn:hover {
    background-color: #0056b3; /* Darker blue */
    color: #ffffff !important;
    font-size: 1.05rem;        /* Keeps font size from shrinking */
    padding: 10px 22px;        /* Keeps padding from shrinking */
    transform: none;           /* Prevents scale down if another rule sets scale() */
    text-decoration: none;
}

/* Max Width 640px */
@media (max-width: 640px) {
    .page-header-info {
        padding-top: 110px;
    }
    
    .shortcut-container {
        justify-content: flex-start;
    }

    .contact-wrapper {
        padding: 1rem;
    }

    .legal-section {
        padding: 1.75rem 0;
    }
}

/* Max Width 600px */
@media screen and (max-width: 600px) {
    .cart-page-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .cart-page-item-actions {
        width: 100%;
        justify-content: space-between;
    }

    .cart-page-item-actions .line-total {
        text-align: left;
    }
}

/* Max Width 480px */
@media screen and (max-width: 480px) {
    .cart-sidebar {
        max-width: 100%;
    }

    .cart-item-img {
        width: 60px;
        height: 60px;
    }

    .cart-sidebar-header {
        padding: 1.2rem 1rem;
    }

    .cart-sidebar-footer {
        padding: 1rem;
    }

    .packages-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .package-card {
        padding: 1.2rem 0.8rem;
    }

    .package-card h3 {
        font-size: 1.05rem;
    }

    .package-desc,
    .package-features {
        font-size: 0.75rem;
    }

    .package-features {
        line-height: 1.4;
    }

    .nav-container {
        padding: 1rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-p1 {
        padding: 20px 15px;
    }
    
    .modal-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-info-section {
        padding: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .modal-price {
        font-size: 2rem;
    }

    .compact-contact-form {
        grid-template-columns: 1fr;
    }
    
    .compact-contact-form .form-group-full {
        grid-column: span 1;
    }
}

/* Max Width 380px */
@media screen and (max-width: 380px) {
    .services-grid-container {
        grid-template-columns: 1fr;
    }
}

/* Print Specific Rules */
@media print {
    header, footer, .receipt-actions {
        display: none;
    }
    .receipt-container {
        margin: 0;
        padding: 0;
        max-width: 100%;
    }
    .receipt-card {
        border: none;
        box-shadow: none;
    }
}