/* ExquisiteSkinEssentials - Main Stylesheet */

:root {
    --primary-beige: #D2B48C;
    --dark-beige: #C19A6B;
    --light-beige: #F5E6D3;
    --cream: #FFF8E7;
    --warm-brown: #8B7355;
    --text-dark: #3E2723;
    --text-light: #6D4C41;
    --accent-gold: #D4AF37;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
    zoom: 1;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Fluid Typography */
@media (min-width: 320px) {
    html {
        font-size: calc(16px + 2 * ((100vw - 320px) / 1600));
    }
}

@media (min-width: 1920px) {
    html {
        font-size: 18px;
    }
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(-45deg, #FFF8E7, #F5E6D3, #D2B48C, #C19A6B, #FFF8E7);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
    line-height: 1.7;
    min-width: 320px;
    zoom: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.smooth-transition {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fluid Container Adjustments */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Typography - Headers use Playfair Display, Body uses Lato */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

p, .lead, li, span, a, button, input, textarea, select {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.lead {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
}

.text-dark {
    color: var(--text-dark) !important;
}

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

/* Prevent horizontal overflow */
.row {
    margin-right: -15px;
    margin-left: -15px;
}

[class*="col-"] {
    padding-right: 15px;
    padding-left: 15px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--dark-beige) 100%);
    box-shadow: 0 2px 20px rgba(139, 115, 85, 0.1);
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--cream) !important;
    text-shadow: 2px 2px 4px rgba(139, 115, 85, 0.1);
    transition: all 0.3s ease;
    margin-left: 0;
    padding-left: 0;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-exquisite {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold) !important;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(139, 115, 85, 0.2);
}

.brand-skin {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-gold) !important;
    letter-spacing: 0.25em;
    margin-top: 0.2rem;
    text-shadow: 1px 1px 2px rgba(139, 115, 85, 0.2);
}

.navbar-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    background: white;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.2);
}

.navbar-brand:hover .navbar-logo {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.nav-link {
    color: var(--cream) !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(-45deg, rgba(255,248,231,0.9), rgba(245,230,211,0.9), rgba(210,180,140,0.9), rgba(193,154,107,0.9)), 
                url('https://images.unsplash.com/photo-1610999262336-94bc663337d5?w=1920&h=1080&fit=crop&crop=center') center/cover;
    background-size: 400% 400%, cover;
    animation: gradientShift 20s ease infinite, heroPulse 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@keyframes heroPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #8B7355, #D4AF37, #C19A6B, #D2B48C);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 5s ease infinite;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

@keyframes textGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--warm-brown);
    font-style: italic;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn-primary-custom {
    background: linear-gradient(45deg, var(--dark-beige), var(--warm-brown), var(--accent-gold));
    background-size: 300% 300%;
    border: none;
    color: var(--cream);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 25px rgba(139, 115, 85, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: buttonPulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 35px rgba(139, 115, 85, 0.6);
    animation: buttonShine 0.5s ease;
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes buttonShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Product Cards */
.product-card {
    background: var(--cream);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-beige), var(--accent-gold), var(--dark-beige));
    background-size: 200% 100%;
    animation: shimmerBar 3s linear infinite;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 50px rgba(139, 115, 85, 0.3);
    background: linear-gradient(135deg, var(--cream) 0%, rgba(255,248,231,0.8) 100%);
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes shimmerBar {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.product-image {
    height: 350px;
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--dark-beige) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--cream);
    overflow: hidden;
}

.product-body {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    color: var(--warm-brown);
    font-weight: bold;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Model Banner Cards & Carousel */
.models-section {
    position: relative;
}

.model-banner-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.model-banner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(139, 115, 85, 0.5) !important;
}

.model-image {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
}

.model-banner-card:hover .model-image {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Models Carousel Styling */
#modelsCarousel {
    position: relative;
}

#modelsCarousel .carousel-item {
    transition: transform 1s ease-in-out, opacity 0.8s ease-in-out;
}

#modelsCarousel .carousel-indicators {
    bottom: -50px;
    margin-bottom: 0;
}

#modelsCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--warm-brown);
    opacity: 0.4;
    border: 2px solid var(--warm-brown);
    transition: all 0.4s ease;
}

#modelsCarousel .carousel-indicators button.active {
    opacity: 1;
    transform: scale(1.4);
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

#modelsCarousel .carousel-indicators button:hover {
    opacity: 0.8;
    transform: scale(1.2);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--warm-brown), var(--accent-gold));
    border-radius: 50%;
    opacity: 0.9;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s ease;
}

.carousel-control-prev {
    left: -80px;
}

.carousel-control-next {
    right: -80px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.carousel-control-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.carousel-control-icon i {
    font-size: 2rem;
    color: white;
}

/* Fade transition effect */
#modelsCarousel .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#modelsCarousel .carousel-item.active {
    opacity: 1;
}

/* Badge styling in carousel */
.model-banner-card .badge {
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.2);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive carousel controls */
@media (max-width: 1200px) {
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
    }
    
    .carousel-control-icon i {
        font-size: 1.5rem;
    }
    
    #modelsCarousel .carousel-indicators {
        bottom: -40px;
    }
    
    #modelsCarousel .carousel-indicators button {
        width: 10px;
        height: 10px;
    }
}

/* Mission & Vision Cards */
.mission-vision-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: missionGlow 8s ease-in-out infinite;
}

@keyframes missionGlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10%, 10%); }
}

.mission-vision-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(139, 115, 85, 0.4) !important;
}

.mission-icon,
.vision-icon {
    transition: all 0.5s ease;
}

.mission-vision-card:hover .mission-icon,
.mission-vision-card:hover .vision-icon {
    transform: scale(1.1) rotate(360deg);
}

/* Feature Boxes */
.feature-box {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255,248,231,0.9), rgba(245,230,211,0.9));
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(210, 180, 140, 0.2);
}

.feature-box:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 45px rgba(139, 115, 85, 0.25);
    background: linear-gradient(135deg, rgba(245,230,211,0.95), rgba(210,180,140,0.2));
}

.feature-icon {
    font-size: 3rem;
    color: var(--warm-brown);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-section {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--dark-beige) 100%);
    padding: 5rem 0;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--cream), rgba(255,248,231,0.8));
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.15);
    margin: 1rem;
    position: relative;
    transition: all 0.5s ease;
    backdrop-filter: blur(5px);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--accent-gold);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 40px rgba(139, 115, 85, 0.2);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: bold;
    color: var(--text-dark);
}

.testimonial-rating {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

/* Real Skin Results Carousel */
#gallery #resultsCarousel .carousel-item img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.35);
}

@media (max-width: 768px) {
    #gallery {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    #gallery h2 {
        font-size: 2rem;
    }

    #gallery .lead {
        font-size: 0.95rem;
    }

    #gallery #resultsCarousel .carousel-item img {
        height: 260px !important;
    }

    #gallery .carousel-control-prev,
    #gallery .carousel-control-next {
        width: 42px;
        height: 42px;
    }

    #gallery .carousel-control-icon i {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    #gallery #resultsCarousel .carousel-item img {
        height: 220px !important;
    }

    #gallery h2 {
        font-size: 1.8rem;
    }
}

/* WhatsApp & Back to Top Buttons */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 15px rgba(139, 115, 85, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 2px 2px 25px rgba(139, 115, 85, 0.4);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--warm-brown), var(--accent-gold));
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

.back-to-top.show {
    display: flex;
    animation: slideInRight 0.5s ease;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.4);
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cream), var(--light-beige));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--light-beige);
    border-top: 5px solid var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Special Banner */
.special-banner {
    background: linear-gradient(45deg, var(--accent-gold), var(--dark-beige), var(--warm-brown), var(--accent-gold));
    background-size: 300% 300%;
    color: var(--cream);
    padding: 1rem;
    text-align: center;
    font-weight: bold;
    animation: bannerShine 3s linear infinite, gradientShift 10s ease infinite;
    position: relative;
    overflow: hidden;
}

.special-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: bannerSweep 4s ease-in-out infinite;
}

@keyframes bannerSweep {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Forms */
.form-control, .form-select {
    background: var(--cream);
    border: 2px solid var(--primary-beige);
    border-radius: 10px;
    padding: 0.8rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--warm-brown);
    box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.25);
    background: white;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--warm-brown) 0%, var(--text-dark) 100%);
    color: var(--cream);
    padding: 3rem 0 1rem;
}

.footer-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    background: white;
    padding: 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

.footer-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-exquisite {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-gold) !important;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(139, 115, 85, 0.3);
}

.footer-skin {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-gold) !important;
    letter-spacing: 0.25em;
    margin-top: 0.2rem;
    text-shadow: 1px 1px 2px rgba(139, 115, 85, 0.3);
}

.footer-link {
    color: var(--cream);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Glow Effects */
.glow-text {
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 
                 0 0 20px rgba(212, 175, 55, 0.3), 
                 0 0 30px rgba(212, 175, 55, 0.2);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3), 0 0 30px rgba(212, 175, 55, 0.2); }
    to { text-shadow: 0 0 15px rgba(212, 175, 55, 0.7), 0 0 25px rgba(212, 175, 55, 0.5), 0 0 35px rgba(212, 175, 55, 0.3); }
}

/* Rating Stars */
.rating-stars {
    color: var(--accent-gold);
}

/* Product Filter Buttons */
.product-filter {
    background: linear-gradient(135deg, rgba(255,248,231,0.9), rgba(245,230,211,0.9));
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(139, 115, 85, 0.15);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary-beige);
    color: var(--text-dark);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.1);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.25);
    border-color: var(--warm-brown);
    background: linear-gradient(135deg, rgba(255,248,231,0.5), rgba(245,230,211,0.5));
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--warm-brown), var(--accent-gold));
    color: var(--cream);
    border-color: var(--accent-gold);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}

.filter-btn.active:hover {
    background: linear-gradient(135deg, var(--accent-gold), var(--warm-brown));
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    background: white;
    border: 2px solid var(--primary-beige);
    border-radius: 50px;
    padding: 0.75rem 3rem 0.75rem 1.5rem;
    width: 100%;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.1);
}

.search-box input:focus {
    outline: none;
    border-color: var(--warm-brown);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.2);
    background: rgba(255, 248, 231, 0.5);
}

.search-box i {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--warm-brown);
    font-size: 1.2rem;
    pointer-events: none;
}

/* Checkout Modal */
.checkout-modal .modal-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.checkout-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--dark-beige) 100%);
    color: var(--cream);
    padding: 1.5rem;
}

.checkout-modal .modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.checkout-section {
    background: var(--light-beige);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.checkout-section h5 {
    color: var(--warm-brown);
    margin-bottom: 1rem;
    font-weight: bold;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(139, 115, 85, 0.2);
}

.order-summary-item:last-child {
    border-bottom: none;
}

.order-total {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--warm-brown);
    padding-top: 1rem;
    border-top: 2px solid var(--warm-brown);
}

.payment-method {
    border: 2px solid var(--primary-beige);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--warm-brown);
    background: rgba(210, 180, 140, 0.1);
}

.payment-method.selected {
    border-color: var(--warm-brown);
    background: rgba(210, 180, 140, 0.2);
}

.payment-method input[type="radio"] {
    margin-right: 0.5rem;
}

.checkout-form-control {
    background: white;
    border: 2px solid var(--primary-beige);
    border-radius: 10px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.checkout-form-control:focus {
    border-color: var(--warm-brown);
    box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.25);
    outline: none;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: var(--cream);
    box-shadow: -5px 0 20px rgba(139, 115, 85, 0.2);
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.show {
    right: 0;
}

.cart-header {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--dark-beige) 100%);
    color: var(--cream);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(139, 115, 85, 0.1);
}

.cart-header h5 {
    margin: 0;
    font-size: 1.3rem;
}

.cart-items {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
    max-height: calc(100vh - 250px);
}

.cart-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(139, 115, 85, 0.1);
    transition: all 0.3s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 12px rgba(139, 115, 85, 0.2);
    transform: translateY(-2px);
}

.cart-item img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--light-beige);
}

.cart-item .flex-fill {
    flex: 1;
}

.cart-item h6 {
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.cart-item small {
    color: var(--text-light);
}

.cart-item .text-end {
    text-align: right;
}

.cart-footer {
    background: var(--light-beige);
    padding: 1.5rem;
    border-top: 2px solid var(--primary-beige);
    box-shadow: 0 -2px 10px rgba(139, 115, 85, 0.05);
}

.cart-footer .d-flex {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cart-footer strong {
    color: var(--warm-brown);
}

/* Toast Notification */
.custom-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--cream);
    border-left: 4px solid var(--warm-brown);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.15);
    z-index: 1060;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    min-width: 300px;
}

.custom-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.custom-toast i {
    font-size: 1.5rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-beige) 0%, var(--dark-beige) 100%);
    padding: 5rem 0;
}

.newsletter-box {
    background: linear-gradient(135deg, rgba(255,248,231,0.95), rgba(245,230,211,0.95));
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(139, 115, 85, 0.2);
    text-align: center;
}

.newsletter-box h2 {
    color: var(--text-dark);
    font-weight: bold;
}

.newsletter-box p {
    color: var(--text-light);
}

.newsletter-input {
    background: white;
    border: 2px solid var(--primary-beige);
    border-radius: 50px;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.1);
    min-width: 300px;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--warm-brown);
    box-shadow: 0 6px 20px rgba(139, 115, 85, 0.2);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(255,248,231,0.5), rgba(245,230,211,0.5));
}

.contact-form {
    background: linear-gradient(135deg, rgba(255,248,231,0.9), rgba(245,230,211,0.9));
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(139, 115, 85, 0.2);
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    color: var(--text-dark);
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Typography */
    .hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .hero-tagline {
        font-size: 1rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .display-5 {
        font-size: 1.75rem !important;
    }

    .lead {
        font-size: 1rem !important;
    }
    
    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }

    .navbar-brand {
        font-size: 1rem;
    }

    .brand-text {
        display: none;
    }
    
    .brand-exquisite {
        font-size: 1rem;
    }
    
    .brand-skin {
        font-size: 0.5rem;
        letter-spacing: 0.15em;
    }

    .navbar-logo {
        height: 45px;
        padding: 4px;
    }

    .nav-link {
        margin: 0.5rem 0;
        padding: 0.5rem 1rem !important;
        font-size: 0.95rem;
    }

    .navbar-collapse {
        background: linear-gradient(135deg, var(--primary-beige) 0%, var(--dark-beige) 100%);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 10px;
    }

    /* Hero Section */
    .hero-section {
        min-height: 70vh !important;
        padding: 2rem 0;
    }

    .hero-section .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
        margin-bottom: 0.5rem;
        width: 100%;
    }

    .hero-section img {
        margin-top: 2rem;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    /* Buttons */
    .btn-primary-custom {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn {
        min-height: 44px;
    }

    /* Product Cards */
    .product-card {
        margin-bottom: 1rem;
    }

    .product-image {
        height: 200px;
    }

    .product-body {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .product-price {
        font-size: 1.3rem;
    }

    /* Feature Boxes */
    .feature-box {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    /* Model Carousel */
    .model-banner-card .row {
        min-height: 350px !important;
    }

    .model-banner-card .col-md-6 {
        padding: 2rem !important;
    }

    .model-banner-card h2 {
        font-size: 1.75rem !important;
    }

    .model-banner-card .lead {
        font-size: 0.95rem !important;
    }

    .model-banner-card ul {
        font-size: 0.9rem;
    }

    .model-banner-card .btn {
        font-size: 0.9rem;
        padding: 0.75rem 2rem;
    }

    /* Mission & Vision Cards */
    .mission-vision-card {
        padding: 2rem !important;
        margin-bottom: 1rem;
    }

    .mission-icon,
    .vision-icon {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 1rem !important;
    }

    .mission-icon i,
    .vision-icon i {
        font-size: 2.5rem !important;
    }

    .mission-vision-card h2 {
        font-size: 1.75rem !important;
    }

    .mission-vision-card .text-white {
        font-size: 1rem !important;
    }

    /* Testimonial Cards */
    .testimonial-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    /* Product Filter */
    .product-filter {
        padding: 1rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .search-box input {
        padding: 0.6rem 2.5rem 0.6rem 1rem;
        font-size: 0.9rem;
    }

    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }

    .contact-form h3 {
        font-size: 1.5rem;
    }

    /* Checkout Modal */
    .checkout-modal .modal-dialog {
        margin: 0.5rem;
    }

    .checkout-modal .modal-body {
        padding: 1rem;
    }

    .checkout-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .checkout-section h5 {
        font-size: 1.1rem;
    }

    .checkout-modal .col-lg-8,
    .checkout-modal .col-lg-4 {
        margin-bottom: 1rem;
    }

    /* Footer */
    .footer-logo {
        height: 40px;
        padding: 6px;
    }
    
    .footer-exquisite {
        font-size: 1rem;
    }
    
    .footer-skin {
        font-size: 0.5rem;
        letter-spacing: 0.15em;
    }

    footer {
        padding: 2rem 0 1rem;
    }

    footer h5 {
        font-size: 1.1rem;
        margin-top: 1rem;
    }

    footer p,
    footer a {
        font-size: 0.9rem;
    }

    /* Floating Buttons */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }

    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-sidebar.show {
        right: 0;
    }

    .cart-items {
        max-height: calc(100vh - 200px);
    }

    /* Special Banner */
    .special-banner {
        font-size: 0.85rem;
        padding: 0.75rem;
    }

    /* Toast Notification */
    .custom-toast {
        min-width: 250px;
        right: 10px;
        top: 80px;
    }

    /* Spacing Adjustments */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }

    /* Grid Adjustments */
    .row.g-4 {
        --bs-gutter-y: 1.5rem;
    }

    /* Newsletter Section */
    .newsletter-section {
        padding: 3rem 0;
    }

    .newsletter-box {
        padding: 2rem 1.5rem;
    }

    .newsletter-box form {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .newsletter-input {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        min-width: 100%;
        width: 100%;
    }

    .newsletter-box h2 {
        font-size: 1.5rem;
    }

    .newsletter-box p {
        font-size: 0.95rem;
    }

    .newsletter-box .btn {
        width: 100%;
    }

    /* About Page Team Images */
    .product-card img.rounded-circle {
        width: 150px !important;
        height: 150px !important;
    }

    /* Map */
    iframe {
        height: 300px !important;
    }

    /* Admin Tables */
    .table-responsive {
        font-size: 0.85rem;
    }

    .table {
        margin-bottom: 0;
    }

    .table th,
    .table td {
        padding: 0.5rem;
    }

    /* Modal Responsive */
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-content {
        border-radius: 15px;
    }

    /* Form Controls */
    .form-control,
    .form-select {
        font-size: 1rem;
        padding: 0.75rem;
    }

    /* Navbar Toggler */
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }

    .navbar-toggler-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem !important;
    }

    .hero-tagline {
        font-size: 0.9rem !important;
    }

    .display-4 {
        font-size: 1.75rem !important;
    }

    .display-5 {
        font-size: 1.5rem !important;
    }

    .btn-primary-custom {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }

    .product-filter .d-flex {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    .model-banner-card .row {
        min-height: 300px !important;
    }

    .model-banner-card .col-md-6 {
        padding: 1.5rem !important;
    }

    .model-banner-card h2 {
        font-size: 1.5rem !important;
    }

    .feature-box {
        padding: 1.25rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    /* Mobile-specific optimizations */
    .col-md-6 {
        width: 100%;
    }

    .col-lg-4 {
        width: 100%;
    }

    .col-lg-6 {
        width: 100%;
    }

    /* Ensure full width on mobile */
    .product-item {
        width: 100%;
    }

    /* Optimize modal for mobile */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    /* Improve readability on small screens */
    body {
        font-size: 15px;
    }

    /* Optimize spacing */
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /* Make buttons easier to tap */
    .btn {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
    }

    /* Optimize input fields */
    input, textarea, select {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }

    /* Optimize tables */
    .table {
        font-size: 0.8rem;
    }

    .table th, .table td {
        padding: 0.4rem;
    }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 991px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .brand-exquisite {
        font-size: 1.2rem;
    }
    
    .brand-skin {
        font-size: 0.65rem;
        letter-spacing: 0.2em;
    }

    .navbar-logo {
        height: 55px;
        padding: 5px;
    }

    .footer-logo {
        height: 50px;
        padding: 7px;
    }
    
    .footer-exquisite {
        font-size: 1.2rem;
    }
    
    .footer-skin {
        font-size: 0.6rem;
        letter-spacing: 0.2em;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }

    .product-image {
        height: 220px;
    }

    .model-banner-card .row {
        min-height: 400px !important;
    }
}

/* Large Tablets and Small Desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .container {
        max-width: 960px;
    }
}

/* Extra Small Mobile Devices (320px and below) */
@media (max-width: 320px) {
    .hero-content h1 {
        font-size: 1.5rem !important;
    }

    .hero-tagline {
        font-size: 0.85rem !important;
    }

    .display-4 {
        font-size: 1.5rem !important;
    }

    .display-5 {
        font-size: 1.3rem !important;
    }

    .btn-primary-custom {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .navbar-logo {
        height: 40px;
    }

    .product-image {
        height: 180px;
    }

    .feature-icon {
        font-size: 1.8rem;
    }

    .model-banner-card h2 {
        font-size: 1.3rem !important;
    }

    .special-banner {
        font-size: 0.75rem;
        padding: 0.5rem;
    }
}

/* Medium Mobile Devices (321px - 375px) */
@media (min-width: 321px) and (max-width: 375px) {
    .hero-content h1 {
        font-size: 1.85rem !important;
    }

    .product-image {
        height: 190px;
    }
}

/* Large Mobile Devices (376px - 414px) */
@media (min-width: 376px) and (max-width: 414px) {
    .hero-content h1 {
        font-size: 2.1rem !important;
    }

    .product-image {
        height: 210px;
    }

    .model-banner-card .row {
        min-height: 380px !important;
    }
}

/* Extra Large Mobile Devices (415px - 480px) */
@media (min-width: 415px) and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem !important;
    }

    .product-image {
        height: 220px;
    }
}

/* Phablets (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.4rem !important;
    }

    .display-4 {
        font-size: 2.2rem !important;
    }

    .product-image {
        height: 230px;
    }

    .model-banner-card .row {
        min-height: 400px !important;
    }

    .feature-box {
        padding: 2rem;
    }
}

/* Small Tablets (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.6rem !important;
    }

    .display-4 {
        font-size: 2.3rem !important;
    }

    .product-image {
        height: 240px;
    }

    .col-md-6 {
        width: 50%;
    }

    .model-banner-card .row {
        min-height: 420px !important;
    }
}

/* Medium Tablets (769px - 900px) */
@media (min-width: 769px) and (max-width: 900px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .product-image {
        height: 230px;
    }

    .container {
        max-width: 720px;
    }
}

/* Large Tablets (901px - 1024px) */
@media (min-width: 901px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }

    .product-image {
        height: 240px;
    }

    .container {
        max-width: 900px;
    }

    .model-banner-card .row {
        min-height: 450px !important;
    }
}

/* Small Desktops (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .container {
        max-width: 1000px;
    }

    .hero-content h1 {
        font-size: 3.3rem;
    }
}

/* Large Desktops (1281px - 1440px) */
@media (min-width: 1281px) and (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

/* Extra Large Desktops (1441px and above) */
@media (min-width: 1441px) {
    .container {
        max-width: 1320px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .display-4 {
        font-size: 3rem;
    }
}

/* Portrait Orientation Specific */
@media (orientation: portrait) {
    .hero-section {
        min-height: 85vh;
    }

    .hero-section img {
        max-width: 85%;
    }

    /* Optimize vertical space usage */
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* Landscape Orientation Specific */
@media (orientation: landscape) {
    /* Mobile Landscape */
    @media (max-height: 500px) {
        .hero-section {
            min-height: 100vh !important;
            padding: 1rem 0;
        }

        .hero-content h1 {
            font-size: 1.8rem !important;
            margin-bottom: 0.5rem;
        }

        .hero-tagline {
            font-size: 0.95rem !important;
            margin-bottom: 1rem;
        }

        .hero-subtitle {
            font-size: 0.85rem !important;
            margin-bottom: 1rem;
        }

        .hero-section .btn {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
        }

        .hero-section img {
            max-width: 40%;
            margin-top: 1rem;
        }

        .model-banner-card .row {
            min-height: 250px !important;
        }

        .model-banner-card .col-md-6 {
            padding: 1rem !important;
        }

        .model-banner-card h2 {
            font-size: 1.3rem !important;
        }

        .model-banner-card .lead {
            font-size: 0.85rem !important;
        }

        .model-banner-card ul {
            font-size: 0.8rem;
        }

        .navbar-collapse {
            max-height: 200px;
            overflow-y: auto;
        }

        .py-5 {
            padding-top: 2rem !important;
            padding-bottom: 2rem !important;
        }

        .feature-box {
            padding: 1rem;
        }

        .mission-vision-card {
            padding: 1.5rem !important;
        }

        .testimonial-card {
            padding: 1rem;
        }
    }

    /* Tablet Landscape */
    @media (min-height: 501px) and (max-height: 800px) {
        .hero-section {
            min-height: 90vh;
        }

        .model-banner-card .row {
            min-height: 350px !important;
        }
    }

    /* Desktop Landscape (default) */
    @media (min-height: 801px) {
        .hero-section {
            min-height: 100vh;
        }
    }
}

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

    .product-card img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .product-card:hover {
        transform: none;
    }

    .feature-box:hover {
        transform: none;
    }

    .testimonial-card:hover {
        transform: none;
    }

    /* Increase tap targets */
    .btn,
    .nav-link,
    .filter-btn {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover-only tooltips */
    .nav-link::after {
        display: none;
    }

    /* Optimize touch scrolling */
    .cart-items,
    .checkout-modal .modal-body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floating,
    .hero-section {
        animation: none !important;
    }
}

/* Dark Mode Support (if device prefers) */
@media (prefers-color-scheme: dark) {
    /* Optional: Add dark mode styles if needed */
    /* Currently maintaining light theme */
}

/* Print Styles */
@media print {
    .navbar,
    .whatsapp-float,
    .back-to-top,
    .special-banner,
    .cart-sidebar,
    .newsletter-section,
    footer {
        display: none !important;
    }

    .hero-section {
        min-height: auto !important;
        page-break-after: always;
    }

    body {
        background: white !important;
    }

    .product-card,
    .feature-box,
    .testimonial-card {
        page-break-inside: avoid;
    }
}

/* Foldable Devices */
@media (min-width: 280px) and (max-width: 653px) {
    /* Samsung Galaxy Fold unfolded */
    .hero-content h1 {
        font-size: 1.9rem !important;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Ultra-wide Screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

    .hero-content h1 {
        font-size: 4.5rem;
    }

    .display-4 {
        font-size: 3.5rem;
    }

    .product-image {
        height: 300px;
    }
}

/* 4K and Higher Resolution */
@media (min-width: 2560px) {
    .container {
        max-width: 2000px;
    }

    .hero-content h1 {
        font-size: 5rem;
    }

    .display-4 {
        font-size: 4rem;
    }

    body {
        font-size: 1.125rem;
    }

    .product-image {
        height: 350px;
    }
}
