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

body {
    font-family: 'Inter', sans-serif;
    background: #fff; 
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    min-width: 320px; /* Prevent horizontal scroll on very small screens */
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Navigation link smooth scrolling */
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    scroll-behavior: smooth;
}

/* Contact Bar */
.contact-bar {
    background: #000;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #333;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.contact-bar p {
    margin: 0;
    color: #fff;
}

/* Fix phone number auto-linking in browsers */
.contact-bar p,
.contact-bar {
    -webkit-text-decoration: none !important;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    color: #fff !important;
    font-weight: 500 !important;
}

/* Prevent Safari from making phone numbers clickable */
.contact-bar p::before,
.contact-bar p::after {
    content: none;
}

/* Override any browser auto-styling for phone numbers */
.contact-bar p a,
.contact-bar p a:link,
.contact-bar p a:visited,
.contact-bar p a:hover,
.contact-bar p a:active,
.contact-bar a,
.contact-bar a:link,
.contact-bar a:visited,
.contact-bar a:hover,
.contact-bar a:active {
    color: #fff !important;
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
    border: none !important;
    outline: none !important;
    background: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    pointer-events: none !important;
}

/* Additional Safari-specific fixes */
@supports (-webkit-appearance: none) {
    .contact-bar p {
        -webkit-text-fill-color: #fff !important;
        color: #fff !important;
    }
}

/* Header */
.header {
    background: #000;
    padding: 0;
    position: fixed;
    top: 32px; /* Position directly below contact bar with no gap */
    z-index: 100;
    width: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: 60px; /* Fixed height to prevent expansion */
    flex-wrap: nowrap; /* Prevent wrapping */
    min-width: 320px; /* Ensure minimum width */
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: all 0.3s ease;
    background-color: #000;
    padding: 5px;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: nowrap; /* Keep navigation in same line */
    flex-shrink: 0; /* Prevent shrinking */
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    white-space: nowrap;
    padding: 5px 0;
}

.nav-links a:hover {
    color: #FFD700;
}

/* ===========================================
   RESPONSIVE BUTTON STYLES - COMPLETE FIX
   =========================================== */

/* Contact Us Button - Base Styles */
.contact-btn {
    background: #FFD700;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
    line-height: 1.0;
    min-width: 100px;
    position: relative;
}

.contact-btn:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

/* Book an Appointment Button - Base Styles */
.appointment-btn {
    background: #FFD700;
    color: #2d3748;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
    line-height: 1.2;
    min-width: 200px;
    position: relative;
}

.appointment-btn:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    color: #FFD700;
}

/* Main Content - FIXED BANNER SECTION */
.main-content {
    min-height: auto;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 92px; /* Account for fixed contact bar and header with no gap */
    background: #fff;
}

.content-container {
    position: relative;
    width: 100%;
    min-height: 149px;
}

/* Banner Slideshow Styles - COMPLETELY RESPONSIVE - NO CROPPING */
.banner-slideshow-container {
    position: relative;
    width: 100%;
    min-height: 382px; /* Minimum height for desktop */
    border-radius: 0px;
    overflow: hidden;
    margin-bottom: -20px; /* Reduce gap to next section */
    min-width: 320px; /* Ensure minimum width */
    box-shadow: 0 8px 30px rgb(250, 249, 249);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbfbfb; /* Fallback background */
}

.banner-slideshow {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-slide.active {
    opacity: 1;
}

.banner-image {
    width: 100%;
    height: auto; /* KEY CHANGE - Let height be automatic */
    max-height: 80vh; /* Prevent it from being too tall */
    object-fit: contain; /* KEY CHANGE - Show full image without cropping */
    object-position: center;
}

/* Banner Slideshow Navigation */
.banner-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.banner-slider-btn {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    min-width: 40px;
    min-height: 40px;
}

.banner-slider-btn:hover {
    background: rgba(0, 0, 0, 0.7);
    color: #FFD700;
    transform: scale(1.1);
}

/* Banner Slideshow Dots */
.banner-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: #FFD700;
    transform: scale(1.2);
}

.banner-dot:hover {
    background: rgba(255, 215, 0, 0.7);
}

/* Fees Notice Section */
.fees-notice {
    background: #fff;
    padding: 15px 0;
}

.fees-notice p {
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #2d3748; /* dark text so it's visible on white */
    font-size: 22px;
}

/* Live Prices Section */
.live-prices-section {
    background: #f8f9fa;
    padding: 20px 0 40px 0; /* Much more reduced padding for minimal gap */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-family: 'Times New Roman', serif;
}

.prices-table {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #ddd;
}

.prices-table table {
    width: 100%;
    border-collapse: collapse;
}

.prices-table thead {
    background: #4a5568;
    color: #fff;
}

.prices-table thead tr:first-child th {
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    border-right: 2px solid #f3f2ee;
    position: relative;
}

.prices-table thead tr:first-child th:last-child {
    border-right: none;
}

.prices-table thead tr:last-child th {
    padding: 15px 10px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    border-right: 2px solid #f6f6f4;
    border-top: 1px solid #5a6578;
}

.prices-table thead tr:last-child th:last-child {
    border-right: none;
}

/* Golden separator line between Market Price AED and Our Price USD */
.prices-table thead th:nth-child(3),
.prices-table tbody td:nth-child(3) {
    border-right: 3px solid #f7f6f2;
}

.prices-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

.prices-table tbody tr:last-child {
    border-bottom: none;
}

.prices-table td {
    padding: 18px 15px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.metal-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: #2d3748;
}

.metal-image {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: inline-block;
    object-fit: cover;
}

.price-cell {
    font-weight: 600;
    color: #2d3748;
    min-height: 50px;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.metal-name {
    text-align: left !important;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    color: #000;
    padding: 15px;
}

.gold-icon {
    width: 30px;
    height: 16px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 30%, #FF8C00 70%, #FF6B00 100%);
    border-radius: 3px;
    box-shadow: 
        0 3px 6px rgba(255, 215, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: inline-block;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
}

.gold-icon::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 1px;
}

.silver-icon {
    width: 30px;
    height: 16px;
    background: linear-gradient(135deg, #E8E8E8 0%, #C0C0C0 30%, #A8A8A8 70%, #808080 100%);
    border-radius: 3px;
    box-shadow: 
        0 3px 6px rgba(192, 192, 192, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: inline-block;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
}

.silver-icon::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 100%);
    border-radius: 1px;
}

/* What we Buy Section */
.what-we-buy-section {
    background: #fff;
    padding: 10px 0 20px 0; /* Much more reduced padding for minimal gap */
    margin-top: -40px;
}

.what-we-buy-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.jewelry-image {
    flex: 1;
}

.jewelry-img {
    width: 100%;
    height: auto;
    background: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.what-we-buy-text {
    flex: 1;
}

.what-we-buy-text .section-title {
    text-align: left;
    margin-bottom: 20px;
    font-family: 'Times New Roman', serif;
}

.highlight-text {
    font-size: 24px;
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 20px;
    text-align: left;
}

.description {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    color: #333;
    margin-bottom: 15px;
}

/* Banner Section */
.banner-section {
    background: #fff;
    padding: 20px 0 40px 0; /* Much more reduced padding for minimal gap */
}

.banner-content {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    position: relative;
}

.banner-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.4;
}

.highlight {
    color: #FFD700;
    font-weight: 700;
}

.feature-boxes {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    backdrop-filter: blur(10px);
}

.feature-box p {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

/* Line break for bigger screens */
.line-break {
    display: inline;
}

@media (min-width: 768px) {
    .line-break {
        display: block;
    }
}


/* How it Works Section */
.how-it-works-section {
    background: #fff;
    padding: 20px 0 20px 0; /* Much more reduced padding for minimal gap */
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.number-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.step-content {
    flex: 1;
    margin-left: 60px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-image {
    width: 100px;
    height: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
}

.ellipse-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-family: 'Times New Roman', serif;
}

.step-description {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Footer Section */
.footer-section {
    background: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.frame-7-section {
    position: relative;
    z-index: 10;
    margin-bottom: -20px; /* Much more reduced overlap to move image significantly upwards */
    padding: 40px 0 0;
    background: linear-gradient(to bottom, #fff 0%, #fff 50%, transparent 50%, transparent 100%);
}

.frame-7-image {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.main-footer {
    background: #000;
    padding: 40px 0 20px; /* Much more reduced top padding to match higher positioning */
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo-image {
    height: 50px;
    width: auto;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
}

.contact-info p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #FFD700;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

/* ===========================================
   RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   =========================================== */

/* Mobile Menu Styles */
@media (max-width: 768px) {
    
    .nav-links {
        gap: 15px;
        flex-wrap: nowrap; /* Keep in same line */
        flex-shrink: 0;
    }
    
    .nav-links a {
        font-size: 10px;
        padding: 4px 6px;
        white-space: nowrap;
    }
    
    
}

/* Tablet Styles (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 12px 25px;
    }
    
    
    .logo-image {
        height: 45px;
        max-width: 180px;
    }
    
    .nav-links {
        gap: 25px;
    }
    
    .nav-links a {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    
    /* BANNER FIX FOR TABLET - NO CROPPING */
    .banner-slideshow-container {
        min-height: 368px;
    }
    
    .banner-image {
        width: 100%;
        height: auto;
        max-height: 70vh;
        object-fit: contain; /* Full image visible */
    }
    
    .banner-slider-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
        min-width: 35px;
        min-height: 35px;
    }
    
    .banner-slider-dots {
        bottom: 12px;
    }
    
    .banner-dot {
        width: 8px;
        height: 8px;
    }
    
    .container {
        padding: 0 30px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .what-we-buy-content {
        gap: 40px;
    }
    
    .what-we-buy-text .highlight-text {
        text-align: left;
    }
    
    .what-we-buy-text .description {
        text-align: left;
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .step {
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }
    
    .step-number {
        position: relative;
        margin-right: 20px;
    }
    
    .step-content {
        margin-left: 0;
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    
    .step-image {
        width: 80px;
        height: 80px;
    }
    
    .number-image {
        width: 60px;
        height: 60px;
    }
    
    .step-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .step-description {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile Styles (768px and below) */
@media (max-width: 768px) {
    .nav-container {
        padding: 10px 15px;
        flex-wrap: wrap;
    }
    
    .logo-image {
        height: 40px;
        max-width: 150px;
    }
    
    
    /* BANNER FIX FOR MOBILE - NO CROPPING */
    .banner-slideshow-container {
        min-height: 300px;
        border-radius: -1px;
    }
    
    .banner-image {
        width: 100%;
        height: auto;
        max-height: 60vh;
        object-fit: contain; /* Full image visible */
    }
    
    .banner-slider-btn {
        width: 32px;
        height: 32px;
        font-size: 10px;
        min-width: 32px;
        min-height: 32px;
    }
    
    .banner-slider-nav {
        padding: 0 10px;
    }
    
    .banner-slider-dots {
        bottom: 10px;
    }
    
    .banner-dot {
        width: 6px;
        height: 6px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .live-prices-section {
        padding: 15px 0 30px 0; /* Much more reduced padding on mobile */
    }
    
    .how-it-works-section {
        padding: 15px 0 15px 0; /* Much more reduced padding on mobile */
    }
    
    .banner-section {
        padding: 15px 0 30px 0; /* Much more reduced padding on mobile */
    }
    
    .what-we-buy-section {
        padding: 20px 0 10px 0; /* Much more reduced padding on mobile */
    }
    
    .what-we-buy-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .what-we-buy-text .section-title {
        text-align: center;
    }
    
    .what-we-buy-text .highlight-text {
        text-align: center;
    }
    
    .what-we-buy-text .description {
        text-align: center;
    }
    
    .banner-title {
        font-size: 20px;
    }
    
    .feature-boxes {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-box {
        max-width: 100%;
        width: 100%;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .step {
        flex-direction: row;
        text-align: left;
        gap: 15px;
        align-items: center;
    }
    
    .step-number {
        position: relative;
        margin-right: 15px;
    }
    
    .step-content {
        margin-left: 0;
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    
    .step-image,
    .number-image {
        width: 80px;
        height: 80px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .frame-7-section {
        margin-bottom: -10px; /* Much more reduced overlap on mobile to move image significantly higher */
        padding: 20px 0 0;
    }
    
    .frame-7-image {
        margin-top: -3px;
        width: 95%;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
    
    .main-footer {
        padding: 30px 0 20px; /* Much more reduced padding on mobile to match significantly higher positioning */
    }
}
@media (min-width: 1025px) {
    .frame-7-image {
        margin-top: -5px;
    }
}

/* Extra Small Mobile Styles (425px and below) */
@media (max-width: 425px) {
    .nav-container {
        padding: 4px 8px;
        height: 50px; /* Fixed height */
    }
    
    
    .nav-links a {
        font-size: 8px;
        padding: 2px 4px;
    }
}

/* Very Small Mobile Styles (374px and below) */
@media (max-width: 374px) {
    .nav-container {
        padding: 3px 6px;
        height: 30px; /* Fixed height */
    }
    
    
    .nav-links a {
        font-size: 7px;
        padding: 1px 3px;
    }
}

/* Small Mobile Styles (480px and below) */
@media (max-width: 480px) {
    .nav-container {
        padding: 8px 10px;
    }
    
    .logo-image {
        height: 35px;
        max-width: 120px;
    }
    
    .nav-links a {
        font-size: 9px;
        padding: 3px 5px;
    }
    
    
    
    /* BANNER FIX FOR SMALL MOBILE - NO CROPPING */
    .banner-slideshow-container {
        min-height: 160px;
    }
    
    .banner-image {
        width: 100%;
        height: auto;
        max-height: 50vh;
        object-fit: contain; /* Full image visible */
    }
    
    /* Minimal gaps on small mobile */
    .how-it-works-section {
        padding: 10px 0 10px 0; /* Minimal padding on small mobile */
    }
    
    .banner-section {
        padding: 10px 0 20px 0; /* Minimal padding on small mobile */
    }
    
    .live-prices-section {
        padding: 10px 0 20px 0; /* Minimal padding on small mobile */
    }
    
    .what-we-buy-section {
        padding: 15px 0 8px 0; /* Minimal padding on small mobile */
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .banner-content {
        padding: 30px 20px;
    }
    
    .banner-title {
        font-size: 18px;
    }
    
    
    .step {
        flex-direction: row;
        text-align: left;
        gap: 12px;
        align-items: center;
    }
    
    .step-number {
        position: relative;
        margin-right: 12px;
    }
    
    .step-content {
        margin-left: 0;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
    
    .step-image {
        width: 60px;
        height: 60px;
    }
    
    .number-image {
        width: 45px;
        height: 45px;
    }
    
    .step-title {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .step-description {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .prices-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .prices-table table {
        min-width: 400px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Extra Small Mobile Styles (360px and below) */
@media (max-width: 360px) {
    .nav-container {
        padding: 6px 8px;
    }
    
    .logo-image {
        height: 30px;
        max-width: 100px;
    }
    
    
    /* BANNER FIX FOR EXTRA SMALL MOBILE - NO CROPPING */
    .banner-slideshow-container {
        min-height: 120px;
    }
    
    .banner-image {
        width: 100%;
        height: auto;
        max-height: 40vh;
        object-fit: contain; /* Full image visible */
    }
    
    .container {
        padding: 0 10px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .banner-title {
        font-size: 16px;
    }
    
    .step {
        flex-direction: row;
        text-align: left;
        gap: 10px;
        align-items: center;
    }
    
    .step-number {
        position: relative;
        margin-right: 10px;
    }
    
    .step-content {
        margin-left: 0;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .step-image {
        width: 50px;
        height: 50px;
    }
    
    .number-image {
        width: 40px;
        height: 40px;
    }
    
    .step-title {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .step-description {
        font-size: 12px;
        line-height: 1.2;
    }
}

/* Landscape Mobile Styles */
@media (max-width: 768px) and (orientation: landscape) {
    /* BANNER FIX FOR LANDSCAPE - NO CROPPING */
    .banner-slideshow-container {
        min-height: 289px;
    }
    
    .banner-image {
        width: 100%;
        height: auto;
        max-height: 80vh;
        object-fit: contain; /* Full image visible */
    }
    
    .nav-container {
        padding: 6px 12px;
    }
    
    .logo-image {
        height: 30px;
        max-width: 120px;
    }
}

/* Large Desktop Styles (1200px and above) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .nav-container {
        max-width: 1400px;
    }
    
    
    /* BANNER FOR LARGE DESKTOP */
    .banner-slideshow-container {
        min-height: 540px;
    }
    
    .banner-image {
        width: 100%;
        height: auto;
        max-height: 80vh;
        object-fit: contain; /* Full image visible */
    }
}

/* ===========================================
   COMPREHENSIVE RESPONSIVE BUTTON FIXES
   =========================================== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .contact-btn {
        padding: 5px 10px;
        font-size: 14px;
        min-width: 100px;
    }
    
    .appointment-btn {
        padding: 15px 30px;
        font-size: 18px;
        min-width: 220px;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}

/* Extra Large Desktop (1400px+) */
@media (min-width: 1400px) {
    .contact-btn {
        padding: 8px 10px;
        font-size: 12px;
        min-width: 88px;
    }
    
    .appointment-btn {
        padding: 18px 28px;
        font-size: 16px;
        min-width: 250px;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}

/* Desktop (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .contact-btn {
        padding: 5px 10px;
        font-size: 14px;
        min-width: 90px;
    }
    
    .appointment-btn {
        padding: 12px 24px;
        font-size: 16px;
        min-width: 180px;
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}

/* Large Screens Above 1000px - Center Appointment Button */
@media (min-width: 1000px) {
    .appointment-btn {
        display: block;
        margin: 0 auto;
        text-align: center;
    }
}

/* Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .contact-btn {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 80px;
    }
    
    .appointment-btn {
        padding: 14px 28px;
        font-size: 16px;
        min-width: 200px;
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 20px auto;
        text-align: center;
        white-space: normal;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Mobile Large (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .contact-btn {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 80px;
    }
    
    .appointment-btn {
        padding: 12px 24px;
        font-size: 15px;
        min-width: 180px;
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 15px auto;
        text-align: center;
        white-space: normal;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Mobile Small (320px - 480px) */
@media (min-width: 320px) and (max-width: 480px) {
    .contact-btn {
        padding: 5px 10px;
        font-size: 11px;
        min-width: 70px;
    }
    
    .appointment-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 140px;
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 10px auto;
    }
}

/* Extra Small Mobile (280px - 319px) */
@media (min-width: 280px) and (max-width: 319px) {
    .contact-btn {
        padding: 5px 10px;
        font-size: 10px;
        min-width: 60px;
    }
    
    .appointment-btn {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 120px;
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 10px auto;
    }
}

/* Ultra Small Mobile (240px - 279px) */
@media (min-width: 240px) and (max-width: 279px) {
    .contact-btn {
        padding: 4px 8px;
        font-size: 9px;
        min-width: 55px;
    }
    
    .appointment-btn {
        padding: 5px 10px;
        font-size: 11px;
        min-width: 110px;
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 10px auto;
    }
}

/* Tiny Screens (320px and below) */
@media (max-width: 320px) {
    .contact-btn {
        padding: 4px 6px;
        font-size: 8px;
        min-width: 50px;
    }
    
    .appointment-btn {
        padding: 4px 8px;
        font-size: 10px;
        min-width: 100px;
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 10px auto;
    }
}

/* Navigation Container Fixes for Small Screens */
@media (max-width: 480px) {
    .nav-container {
        padding: 4px 6px;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .nav-links {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .nav-links a {
        font-size: 9px;
        padding: 3px 5px;
    }
}

/* Banner Section Fixes for Appointment Button */
@media (max-width: 768px) {
    .banner-content {
        text-align: center;
        padding: 20px 15px;
    }
    
    .appointment-btn {
        display: block;
        margin: 15px auto;
        text-align: center;
        white-space: normal;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Enhanced Mobile Responsiveness for Appointment Button */
@media (max-width: 767px) {
    .appointment-btn {
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 15px auto;
        text-align: center;
        white-space: normal;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .appointment-btn {
        padding: 10px 16px;
        font-size: 13px;
        line-height: 1.2;
    }
}

@media (max-width: 500px) {
    .appointment-btn {
        padding: 8px 14px;
        font-size: 12px;
        line-height: 1.2;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .contact-btn,
    .appointment-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }
    
    .contact-btn {
        min-height: 25px;
    }
    
    .social-icon,
    .banner-slider-btn {
        width: 28px;
        height: 28px;
        font-size: 8px;
        min-width: 28px;
        min-height: 28px;
    }
    
    .nav-links a {
        padding: 10px 15px;
    }
    
    .banner-dot {
        width: 12px;
        height: 12px;
    }
}

/* Prevent text selection on buttons */
.contact-btn,
.appointment-btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-image,
    .footer-logo-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Contact Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Blur effect for body when modal is open */
body.modal-open {
    overflow: hidden;
}

body.modal-open .main-content,
body.modal-open .live-prices-section,
body.modal-open .what-we-buy-section,
body.modal-open .how-it-works-section,
body.modal-open .banner-section,
body.modal-open .main-footer {
    filter: blur(3px);
    -webkit-filter: blur(3px);
    transition: filter 0.3s ease;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    margin: 0;
    color: #2d3748;
    font-size: 24px;
    font-weight: 600;
}

.close-btn {
    font-size: 28px;
    font-weight: bold;
    color: #6b7280;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ef4444;
}

.modal-body {
    padding: 25px;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Google reCAPTCHA Style */
.captcha-container {
    border: 2px solid #d1d5db;
    border-radius: 4px;
    padding: 8px;
    background: #f9fafb;
    max-width: 304px;
    font-family: 'Roboto', Arial, sans-serif;
}

.captcha-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.captcha-box {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 2px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
}

.captcha-checkbox:hover .captcha-box {
    border-color: #4285f4;
    box-shadow: 0 0 0 1px #4285f4;
}

.captcha-checkbox.checked .captcha-box {
    background: #4285f4;
    border-color: #4285f4;
}

.captcha-checkmark {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.2s ease;
}

.captcha-checkbox.checked .captcha-checkmark {
    opacity: 1;
    transform: scale(1);
}

/* Loader Styles */
.captcha-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.captcha-checkbox.loading .captcha-loader {
    opacity: 1;
}

.captcha-checkbox.loading .captcha-checkmark {
    opacity: 0;
}

.loader-spinner {
    width: 10px;
    height: 10px;
    border: 2px solid #4285f4;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.captcha-text {
    font-size: 14px;
    color: #3c4043;
    font-weight: 400;
}

.captcha-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.captcha-logo {
    font-size: 10px;
    color: #5f6368;
    font-weight: 400;
}

.captcha-links {
    font-size: 10px;
}

.captcha-links a {
    color: #1a73e8;
    text-decoration: none;
}

.captcha-links a:hover {
    text-decoration: underline;
}

/* Captcha Animation */
@keyframes captchaPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.captcha-checkbox.checked .captcha-box {
    animation: captchaPulse 0.3s ease;
}

/* Captcha Error State */
.captcha-checkbox.error .captcha-box {
    border-color: #ea4335;
    background: #fce8e6;
}

.captcha-checkbox.error .captcha-text {
    color: #ea4335;
}

/* Mobile Responsive Captcha */
@media (max-width: 768px) {
    .captcha-container {
        max-width: 100%;
        padding: 6px;
    }
    
    .captcha-checkbox {
        gap: 6px;
    }
    
    .captcha-box {
        width: 18px;
        height: 18px;
    }
    
    .captcha-checkmark {
        font-size: 12px;
    }
    
    .captcha-text {
        font-size: 12px;
    }
    
    .captcha-footer {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .captcha-logo,
    .captcha-links {
        font-size: 9px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Phone Input Container */
.phone-input-container {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.country-code-select {
    border: none;
    padding: 12px 8px;
    background: #f9fafb;
    border-right: 1px solid #d1d5db;
    font-size: 14px;
    min-width: 100px;
    cursor: pointer;
}

.phone-number-input {
    border: none;
    padding: 12px;
    flex: 1;
    font-size: 14px;
    outline: none;
}

.phone-number-input:focus {
    outline: none;
}

.phone-input-container:focus-within {
    border-color: #4285f4;
    box-shadow: 0 0 0 1px #4285f4;
}

/* Success Modal Styles */
.success-modal {
    text-align: center;
    max-width: 400px;
    padding: 40px 30px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
    font-weight: bold;
}

.success-title {
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.success-message {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.success-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.success-btn:hover {
    background: #059669;
}

/* Form Validation Styles */
.error-message {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: none;
    font-weight: 500;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 2px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background-color: #4285f4;
    border-color: #4285f4;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container:hover .checkmark {
    border-color: #4285f4;
}


.submit-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Modal Responsive Styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .enquiry-form {
        gap: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .captcha-display {
        font-size: 16px;
        padding: 8px 12px;
        min-width: 100px;
    }
}

/* Print styles */
@media print {
    .contact-bar,
    .nav-links,
    .social-icons,
    .banner-slider-nav,
    .banner-slider-dots {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .banner-slideshow-container {
        height: auto;
    }
    
    .banner-slide {
        position: static;
        opacity: 1;
        page-break-inside: avoid;
    }
    
    .banner-image {
        object-fit: contain;
    }
}

/* Ultra-small screens (320px and below) - Enhanced responsive design */
@media (max-width: 320px) {
    .container {
        padding: 0 5px;
    }
    
    .nav-container {
        padding: 2px 4px;
        height: 35px;
        flex-wrap: nowrap;
    }
    
    .logo-image {
        height: 18px;
        max-width: 60px;
    }
    
    .nav-links {
        gap: 3px;
    }
    
    .nav-links a {
        font-size: 7px;
        padding: 1px 2px;
    }
    
    .contact-btn {
        padding: 2px 4px;
        font-size: 7px;
        min-width: 40px;
    }
    
    .banner-slideshow-container {
        min-height: 80px;
    }
    
    .banner-slider-btn {
        width: 20px;
        height: 20px;
        font-size: 6px;
    }
    
    .section-title {
        font-size: 14px;
    }
    
    .banner-title {
        font-size: 10px;
        padding: 10px 5px;
        line-height: 1.2;
    }
    
    .appointment-btn {
        padding: 4px 6px;
        font-size: 9px;
        min-width: 100px;
        line-height: 1.1;
    }
    
    .feature-box {
        padding: 6px;
        min-width: auto;
    }
    
    .feature-box p {
        font-size: 9px;
        line-height: 1.2;
    }
    
    /* Ensure no horizontal scroll */
    body {
        overflow-x: hidden;
        min-width: 280px;
    }
    
    /* Fix header positioning for very small screens */
    .header {
        top: 32px;
    }
    
    .main-content {
        margin-top: 67px;
    }
    
    /* Adjust banner content for very small screens */
    .banner-content {
        padding: 10px 5px;
    }
    
    /* Fix feature boxes layout */
    .feature-boxes {
        gap: 5px;
    }
    
    /* Ensure proper spacing */
    .banner-section {
        padding: 5px 0 10px 0;
    }
    
    .live-prices-section {
        padding: 5px 0 10px 0;
    }
    
    .what-we-buy-section {
        padding: 5px 0 5px 0;
    }
    
    .how-it-works-section {
        padding: 5px 0 5px 0;
    }
}

/* Critical fixes for screens below 375px */
@media (max-width: 374px) {
    /* Fix Contact Us button positioning */
    .nav-container {
        padding: 2px 4px;
        height: 40px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex-shrink: 0;
        max-width: 30%;
    }
    
    .logo-image {
        height: 20px;
        max-width: 70px;
    }
    
    .nav-links {
        gap: 4px;
        flex-shrink: 0;
        max-width: 40%;
    }
    
    .nav-links a {
        font-size: 8px;
        padding: 2px 3px;
        white-space: nowrap;
    }
    
    .contact-btn {
        padding: 3px 6px;
        font-size: 8px;
        min-width: 45px;
        flex-shrink: 0;
        max-width: 25%;
    }
    
    /* Fix appointment button text overflow */
    .banner-content {
        padding: 15px 8px;
    }
    
    .banner-title {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    
    .appointment-btn {
        padding: 6px 8px;
        font-size: 11px;
        min-width: 120px;
        width: 100%;
        max-width: 100%;
        display: block;
        margin: 10px auto;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .feature-boxes {
        flex-direction: column;
        gap: 10px;
    }
    
    .feature-box {
        padding: 8px;
        min-width: auto;
        max-width: 100%;
    }
    
    .feature-box p {
        font-size: 11px;
        line-height: 1.3;
    }
    
    /* Ensure no horizontal overflow */
    .container {
        padding: 0 8px;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix banner section spacing */
    .banner-section {
        padding: 10px 0 15px 0;
    }
    
    /* Fix header positioning */
    .header {
        top: 32px;
    }
    
    .main-content {
        margin-top: 72px;
    }
}

/* Additional fixes for extremely small screens (280px-320px) */
@media (max-width: 320px) and (min-width: 280px) {
    /* Ensure Contact Us button stays in place */
    .nav-container {
        padding: 1px 3px;
        height: 32px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex: 0 0 auto;
        max-width: 25%;
    }
    
    .nav-links {
        flex: 0 0 auto;
        max-width: 50%;
        gap: 2px;
    }
    
    .contact-btn {
        flex: 0 0 auto;
        max-width: 25%;
        padding: 2px 3px;
        font-size: 6px;
        min-width: 35px;
    }
    
    /* Fix appointment button text wrapping */
    .appointment-btn {
        font-size: 8px;
        padding: 3px 4px;
        min-width: 80px;
        white-space: normal;
        word-break: break-word;
        line-height: 1.1;
        height: auto;
        min-height: 24px;
    }
    
    /* Ensure banner content fits */
    .banner-content {
        padding: 8px 4px;
    }
    
    .banner-title {
        font-size: 9px;
        line-height: 1.1;
        margin-bottom: 8px;
    }
    
    /* Prevent any horizontal overflow */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
    }
}