/* Mobile Responsiveness Fixes for Rochcare Pharmacy */

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    position: relative;
}

* {
    max-width: 100%;
}

/* Fix container on mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Fix header */
    .header-top {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 0 !important;
        flex-wrap: wrap !important;
    }
    
    .logo {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .logo img {
        height: 35px !important;
    }
    
    .logo span {
        font-size: 16px !important;
        white-space: nowrap;
    }
    
    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        order: 2;
    }

    .icon-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }

    .sign-in-btn {
        padding: 6px 12px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }
    
    .search-bar {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 10px !important;
        display: flex !important;
    }
    
    /* Mobile Navigation & Hamburger Menu */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
        margin-left: 15px;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: var(--primary-blue);
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--neutral-white) !important;
        box-shadow: -10px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
        padding-top: 100px;
        display: block !important;
    }

    .nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start !important;
        padding: 20px 40px !important;
        gap: 25px !important;
        overflow: visible !important;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        color: var(--neutral-gray-dark) !important;
        font-size: 18px !important;
        font-weight: 600;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu .hot-deals {
        background: var(--accent-orange) !important;
        color: white !important;
        padding: 12px 20px !important;
        border-radius: 8px;
        width: fit-content;
        margin-bottom: 10px;
    }

    /* Backdrop for mobile menu */
    .menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .menu-backdrop.active {
        display: block;
    }

    /* Adjust header layout for toggle */
    .header-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .icon-btn.wishlist-btn {
        display: none !important; /* Hide on small mobile to save space */
    }
    
    /* Fix slider - remove gap between navbar and hero */
    .hero-slider {
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* Add padding to slider container instead to maintain content spacing */
    .hero-slider .slider-container {
        padding: 10px;
    }
    
    .slider-container {
        height: 250px !important;
        width: 100% !important;
        border-radius: 10px !important;
    }
    
    .slider-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    
    .slider-btn.prev {
        left: 10px !important;
    }
    
    .slider-btn.next {
        right: 10px !important;
    }
    
    /* Fix floating app icons */
    .floating-app-icons {
        bottom: 40px !important;
        right: 10px !important;
        gap: 8px !important;
    }
    
    .app-icon-float {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        justify-content: center !important;
    }
    
    .app-icon-float span {
        display: none !important;
    }
    
    .app-icon-float i {
        font-size: 18px !important;
    }
    
    /* Fix services grid */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .service-card {
        min-height: 250px !important;
    }
    
    /* Fix products grid */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .product-card {
        padding: 10px !important;
    }
    
    .product-image {
        height: 150px !important;
    }
    
    /* Fix promo section */
    .promo-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .promo-large {
        flex-direction: column !important;
        text-align: center !important;
        padding: 30px 20px !important;
    }
    
    .promo-image img {
        max-width: 180px !important;
    }
    
    /* Fix partners section */
    .partners-section {
        padding: 40px 0 !important;
    }
    
    .partners-slider {
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .partners-track {
        gap: 40px !important;
    }
    
    .partner-item {
        width: 120px !important;
        height: 70px !important;
    }
    
    .partner-logo img {
        max-width: 100px !important;
        max-height: 60px !important;
    }
    
    /* Fix testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* Fix news section */
    .grid-container {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    /* Fix footer */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
    }
    
    .footer-links {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .social-links {
        justify-content: center !important;
    }
    
    /* Fix modals */
    .login-modal-content,
    .modal-content {
        width: 95% !important;
        max-width: 95% !important;
        padding: 25px 20px !important;
        margin: 10px !important;
    }
    
    /* Fix cart sidebar */
    .cart-sidebar {
        width: 100% !important;
        right: -100% !important;
    }
    
    .cart-sidebar.open {
        right: 0 !important;
    }
    
    /* Fix dropdown menus */
    .dropdown-menu {
        min-width: 250px !important;
        max-width: calc(100vw - 40px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    /* Fix buttons */
    .whatsapp-float,
    .back-to-top {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }
    
    .back-to-top {
        bottom: 75px !important;
        left: 15px !important;
    }
    
    .whatsapp-float {
        bottom: 20px !important;
        left: 15px !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px !important;
    }
    
    .logo img {
        height: 35px !important;
    }
    
    .logo span {
        font-size: 14px !important;
    }
    
    .icon-btn {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
    }
    
    .sign-in-btn {
        font-size: 12px !important;
        padding: 8px 12px !important;
    }
    
    .slider-container {
        height: 200px !important;
    }
    
    .products-grid {
        grid-template-columns: 1fr !important;
    }
    
    .whatsapp-float,
    .back-to-top {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
    
    h1 {
        font-size: 24px !important;
    }
    
    h2 {
        font-size: 20px !important;
    }
    
    h3 {
        font-size: 18px !important;
    }
}

/* Landscape mode fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .slider-container {
        height: 300px !important;
    }
    
    .service-card {
        min-height: 200px !important;
    }
}

/* Prevent text from breaking layout */
@media (max-width: 768px) {
    * {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    table {
        display: block !important;
        overflow-x: auto !important;
    }
}


/* ===================================
   HAMBURGER MENU
   =================================== */

/* Hamburger button - hidden on desktop */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    transition: all 0.3s ease;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation when active */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    /* Show hamburger menu on mobile */
    .hamburger-menu {
        display: flex;
    }
    
    /* Hide navigation by default on mobile */
    .nav {
        position: relative;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #f8f9fa !important;
        z-index: 1001;
        transition: all 0.3s ease;
        overflow-y: auto;
        max-height: 80vh;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        flex-direction: column !important;
        padding: 0 !important;
    }
    
    /* Show navigation when active */
    .nav-menu.active {
        display: flex !important;
    }
    
    /* Mobile menu styling */
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #e9ecef;
        margin: 0 !important;
    }
    
    .nav-menu li a {
        padding: 15px 20px !important;
        display: block;
        color: #333 !important;
        font-size: 16px;
        text-decoration: none;
        transition: background 0.3s ease;
    }
    
    .nav-menu li a:hover {
        background: #e9ecef !important;
        color: #1565C0 !important;
    }
    
    /* Dropdown styling on mobile */
    .nav-menu .dropdown-menu {
        position: static !important;
        display: none !important;
        box-shadow: none !important;
        background: transparent !important;
        width: 100% !important;
        min-width: unset !important;
    }
    
    .nav-menu .dropdown.active .dropdown-menu {
        display: block !important;
        position: static !important;
        width: 100% !important;
        background: #f1f3f4 !important;
        margin-left: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    
    .nav-menu .dropdown-category {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .nav-menu .dropdown-category h3 {
        padding: 15px 20px !important;
        margin: 0 !important;
        background: #dee2e6 !important;
        cursor: pointer;
        font-size: 16px;
        border-bottom: 1px solid #e9ecef;
    }
    
    .nav-menu .subcategory {
        background: #f8f9fa !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .nav-menu .subcategory li {
        border-bottom: 1px solid #e9ecef !important;
    }
    
    .nav-menu .subcategory li a {
        padding: 12px 35px !important;
        font-size: 14px;
        color: #495057 !important;
    }
    
    .nav-menu .subcategory li a:hover {
        background: #e9ecef !important;
        color: #1565C0 !important;
    }
    
    /* Hot deals styling */
    .nav-menu .hot-deals {
        padding: 15px 20px !important;
        background: #1565C0 !important;
        color: white !important;
        font-weight: bold;
        border-bottom: 1px solid #e9ecef;
    }
    
    .nav .container {
        padding: 0 !important;
        width: 100% !important;
    }
    
    .nav-menu {
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        margin: 0 !important;
    }
    
    .nav-menu > li > a,
    .nav-menu > li.hot-deals {
        display: block;
        padding: 16px 25px !important;
        color: #1565C0 !important;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
    }
    
    .nav-menu > li > a:hover {
        background: #f8f9fa;
    }
    
    .nav-menu > li.hot-deals {
        background: white;
        color: #1565C0 !important;
        text-align: center;
        border-bottom: 2px solid #e3f2fd;
        margin-bottom: 10px !important;
        font-weight: 700;
    }
    
    /* Mobile dropdown styling */
    .nav-menu .dropdown > a {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-menu .dropdown .dropdown-menu {
        position: static !important;
        display: none;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #f8f9fa;
        padding: 0;
        margin: 0;
    }
    
    .nav-menu .dropdown.active .dropdown-menu {
        display: block;
    }
    
    /* Mobile Navigation Active States */
    .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-menu.active li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu.active li a {
        padding: 15px 20px;
        display: block;
        color: #333;
    }
    
    .nav-menu.active li a:hover {
        background: #f8f9fa;
        color: #1565C0;
    }
    
    /* For PHP version navbar */
    .navbar .nav-menu.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar .nav-menu.active a {
        padding: 15px 20px;
        display: block;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar .nav-menu.active a:hover {
        background: #f8f9fa;
        color: #1565C0;
    }
    
    .dropdown-category h3 {
        padding: 12px 25px;
        margin: 0;
        font-size: 14px;
        color: #666;
        cursor: pointer;
        font-weight: 600;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-category h3:hover {
        background: #e9ecef;
    }
    
    .dropdown-category .subcategory {
        display: none;
        padding: 0;
        background: white;
    }
    
    .dropdown-category.active .subcategory {
        display: block;
    }
    
    .subcategory li {
        list-style: none;
    }
    
    .subcategory li a {
        display: block;
        padding: 12px 25px 12px 45px;
        color: #666;
        font-size: 14px;
        text-decoration: none;
        font-weight: 400;
    }
    
    .subcategory li a:hover {
        background: #e3f2fd;
        color: #1565C0;
    }
    
    /* Simple dropdown menu */
    .dropdown-menu.simple ul {
        padding: 0;
        margin: 0;
        background: white;
    }
    
    .dropdown-menu.simple ul li {
        list-style: none;
    }
    
    .dropdown-menu.simple ul li a {
        display: block;
        padding: 12px 25px 12px 45px;
        color: #666;
        font-size: 14px;
        text-decoration: none;
        font-weight: 400;
    }
    
    .dropdown-menu.simple ul li a:hover {
        background: #e3f2fd;
        color: #1565C0;
    }
    
    /* Overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .hamburger-menu {
        width: 26px;
        height: 20px;
    }
    
    .hamburger-menu span {
        height: 2.5px;
    }
    
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(8.75px) rotate(45deg);
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-8.75px) rotate(-45deg);
    }
    
    .nav {
        width: 280px;
    }
    
    .nav-menu > li > a,
    .nav-menu > li.hot-deals {
        padding: 14px 20px !important;
        font-size: 15px !important;
    }
}


/* ===================================
   MOBILE HEADER IMPROVEMENTS
   =================================== */

@media (max-width: 768px) {
    /* Header adjustments */
    .header {
        padding: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        background: white !important;
    }
    
    .header-top {
        flex-wrap: wrap;
        padding: 10px 15px !important;
        gap: 10px !important;
    }
    
    /* Logo - smaller on mobile */
    .logo {
        flex: 0 0 auto;
        order: 1;
    }
    
    .logo img {
        height: 35px !important;
    }
    
    .logo span {
        font-size: 18px !important;
    }
    
    /* Search bar - full width on second row */
    .search-bar {
        order: 3;
        flex: 1 1 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .search-bar input {
        padding: 10px 15px !important;
        font-size: 14px !important;
    }
    
    .search-bar button {
        padding: 0 15px !important;
    }
    
    /* Header actions - compact on right */
    .header-actions {
        order: 2;
        flex: 0 0 auto;
        gap: 10px !important;
        margin-left: auto;
    }
    
    /* Hide sign in text on mobile, show only icon */
    .sign-in-btn {
        padding: 8px !important;
        font-size: 0 !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .sign-in-btn i {
        margin-right: 0 !important;
        font-size: 16px !important;
    }
    
    .sign-in-btn span {
        display: none !important;
    }
    
    /* Cart button - more compact */
    .cart-btn {
        width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
    }
    
    .cart-btn .badge {
        top: -5px !important;
        right: -5px !important;
        font-size: 11px !important;
        min-width: 18px !important;
        height: 18px !important;
        line-height: 18px !important;
    }
}

@media (max-width: 480px) {
    /* Even more compact on small phones */
    .logo span {
        display: none !important;
    }
    
    .logo img {
        height: 32px !important;
    }
    
    .sign-in-btn span {
        display: none !important;
    }
    
    .sign-in-btn {
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0 !important;
    }
    
    .sign-in-btn i {
        font-size: 14px !important;
        margin-right: 0 !important;
    }
    
    .cart-btn {
        width: 38px !important;
        height: 38px !important;
    }
    
    .search-bar input {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
}


/* ===================================
   ANNOUNCEMENT BAR MOBILE
   =================================== */

@media (max-width: 768px) {
    .announcement-bar {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .announcement-bar p {
        font-size: 12px;
        gap: 6px;
    }
    
    .announcement-bar i {
        font-size: 14px;
    }
}

/* ===================================
   CLEAN LOYALTY FORM STYLES
   =================================== */

.loyalty-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.form-card {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-card h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
}

.form-card h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #1565C0, #42A5F5);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #34495e;
    font-size: 15px;
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1565C0;
    background-color: white;
    box-shadow: 0 0 0 4px rgba(21, 101, 192, 0.1);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #95a5a6;
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #e1e8ed;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: white;
    border-color: #1565C0;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #1565C0;
    cursor: pointer;
}

.checkbox-label span {
    color: #34495e;
    font-size: 15px;
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #1565C0, #42A5F5);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .form-card {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .form-card h2 {
        font-size: 26px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .checkbox-label {
        padding: 12px 15px;
    }
    
    .submit-btn {
        padding: 15px;
        font-size: 15px;
    }
}

/* Form validation styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #95a5a6;
    background-color: #f8f9fa;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #27ae60;
    background-color: #f2fdf5;
}

/* ===================================
   ENHANCED LOYALTY PAGE FOOTER
   =================================== */

.loyalty-page .footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
}

.loyalty-page .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B35, #F7931E, #FFC107, #FF6B35);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.loyalty-page .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.loyalty-page .footer-col h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.loyalty-page .footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FF6B35, #F7931E);
    border-radius: 2px;
}

.loyalty-page .footer-col ul li {
    margin-bottom: 12px;
    list-style: none;
}

.loyalty-page .footer-col ul li a {
    color: #b8c6db;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.loyalty-page .footer-col ul li a:hover {
    color: #FF6B35;
    transform: translateX(5px);
}

.loyalty-page .footer-col ul li i {
    color: #FF6B35;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.loyalty-page .newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.loyalty-page .newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #2c3e50;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

.loyalty-page .newsletter-form input::placeholder {
    color: #7f8c8d;
}

.loyalty-page .newsletter-form input:focus {
    outline: none;
    border-color: #FF6B35;
    background: rgba(255, 255, 255, 0.15);
}

.loyalty-page .newsletter-form button {
    padding: 12px 20px;
    background: linear-gradient(135deg, #FF6B35, #F7931E);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.loyalty-page .newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.loyalty-page .app-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.loyalty-page .app-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #2c3e50;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loyalty-page .app-btn:hover {
    border-color: #FF6B35;
    background: rgba(255, 107, 53, 0.2);
    transform: translateY(-2px);
}

.loyalty-page .footer-bottom {
    border-top: 1px solid #2c3e50;
    padding-top: 30px;
    text-align: center;
}

.loyalty-page .footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.loyalty-page .footer-links a {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.loyalty-page .footer-links a:hover {
    color: #FF6B35;
}

.loyalty-page .footer-bottom p {
    color: #7f8c8d;
    margin-bottom: 20px;
    font-size: 14px;
}

.loyalty-page .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.loyalty-page .social-links p {
    color: #7f8c8d;
    margin-right: 10px;
    font-size: 14px;
}

.loyalty-page .social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    color: #7f8c8d;
    border: 1px solid #2c3e50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.loyalty-page .social-links a:hover {
    background: #FF6B35;
    color: white;
    border-color: #FF6B35;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .loyalty-page .footer {
        padding: 40px 0 20px;
    }
    
    .loyalty-page .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .loyalty-page .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .loyalty-page .social-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .loyalty-page .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .announcement-bar {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .announcement-bar p {
        font-size: 11px;
        gap: 5px;
        line-height: 1.3;
    }
    
    .announcement-bar i {
        font-size: 12px;
        flex-shrink: 0;
    }
}
