/* Reset and Base Styles */

/* Hide mobile header on desktop by default */
.nav-item.mobile-header,
.nav-menu .mobile-header,
.mobile-header {
    display: none;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Responsive container sizes */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 4px 20px rgba(37, 99, 235, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 -1px 0 rgba(37, 99, 235, 0.1);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Responsive nav container */
@media (max-width: 1200px) {
    .nav-container {
        max-width: 960px;
        padding: 0 15px;
    }
}

@media (max-width: 1200px) {
    .logo-image {
        height: 80px !important;
        margin: -10px 0 !important;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 10px;
    }
    
    .logo-image {
        height: 70px !important;
        margin: -8px 0 !important;
    }
}

@media (max-width: 480px) {
    .logo-image {
        height: 60px !important;
        margin: -6px 0 !important;
    }
}

@media (max-width: 360px) {
    .logo-image {
        height: 55px !important;
        margin: -5px 0 !important;
    }
}

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

.logo-image {
    height: 90px !important;
    width: auto !important;
    transition: transform 0.3s ease;
    margin: -12px 0 !important;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* Hide mobile header on desktop */
.nav-menu .mobile-header {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-auth-buttons {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.mobile-auth-item {
    display: none;
}

.btn-login-mobile,
.btn-signup-mobile {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login-mobile {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-login-mobile:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-signup-mobile {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: 2px solid #2563eb;
}

.btn-signup-mobile:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.btn-login,
.btn-signup {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.btn-login {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-login:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-signup {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: 2px solid #2563eb;
}

.btn-signup:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1001;
    padding: 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.08));
    border: 2px solid rgba(37, 99, 235, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
    position: relative;
    overflow: hidden;
}

.hamburger::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.hamburger:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(59, 130, 246, 0.12));
    transform: scale(1.08) translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
    border-color: rgba(37, 99, 235, 0.3);
}

.hamburger:hover::before {
    opacity: 1;
}

.bar {
    width: 26px;
    height: 3px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    position: relative;
}

.bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hamburger.active {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.08));
    border-color: rgba(239, 68, 68, 0.3);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.2);
}

.hamburger.active .bar::before {
    opacity: 1;
}

/* X icon styles */
.x-icon {
    display: none;
    position: relative;
    width: 26px;
    height: 26px;
}

.x-icon::before,
.x-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 3px;
}

.x-icon::before {
    transform: translateY(-50%) rotate(45deg);
}

.x-icon::after {
    transform: translateY(-50%) rotate(-45deg);
}

.hamburger.active .bar {
    display: none;
}

.hamburger.active .x-icon {
    display: block;
}

/* Hero Section */
.hero {
    padding: 0;
    color: #333;
    position: relative;
    margin-top: 70px; /* Add margin to push content below navbar */
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 25%, #15803d 50%, #fbbf24 75%, #f59e0b 100%); /* Ayurvedic gradient background */
}

/* Large desktop screens */
@media (min-width: 1400px) {
    .hero-slide {
        height: 90vh;
        min-height: 700px;
    }
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 90vh; /* 90% of viewport height for image */
    overflow: hidden;
    min-height: 600px; /* Ensure minimum height for desktop content */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 25%, #15803d 50%, #fbbf24 75%, #f59e0b 100%); /* Ayurvedic green to yellow gradient */
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

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

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show entire image without cropping */
    object-position: center center; /* Center the image */
    background: transparent; /* Transparent background to show gradient */
}

.hero-content-section {
    padding: 80px 0;
    background: #f8fafc;
    margin-top: 0; /* Ensure no extra margin */
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Responsive hero content */
@media (max-width: 1200px) {
    .hero-content-wrapper {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-content-wrapper {
        gap: 1.5rem;
    }
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

/* Responsive typography */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
}

.hero-text-content {
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary,
.btn-secondary {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
}

.hero-side-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-side-image:hover {
    transform: scale(1.05);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

/* Responsive section headers */
@media (max-width: 1200px) {
    .section-header h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 992px) {
    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 1.5rem;
    }
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.about-text p {
    margin-bottom: 2rem;
    color: #6b7280;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

.about-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6rem;
    color: #2563eb;
    opacity: 0.1;
}

/* Services Section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Responsive services grid */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.service-icon .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon .product-image {
    transform: scale(1.1);
}

/* Inspirational Section */
.inspirational {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.inspirational-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Responsive inspirational content */
@media (max-width: 1200px) {
    .inspirational-content {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .inspirational-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .inspirational-content {
        gap: 1.5rem;
    }
}

.inspirational-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.inspirational-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.inspirational-text {
    padding: 2rem;
}

.inspirational-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.inspirational-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.inspirational-text p {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    flex-grow: 1;
    margin-bottom: 0;
}

/* Latest Products Section */
.latest-products {
    padding: 80px 0 100px 0;
    background: #ffffff;
}

.latest-products .section-header h2 {
    color: #1e293b;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.latest-products .section-header .highlight {
    color: #10b981;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.latest-products .section-header p {
    color: #64748b;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 500;
}

.products-carousel {
    position: relative;
    margin-top: 3rem;
    overflow: visible;
    max-width: 100%;
    width: 100%;
}

/* Mobile-specific carousel adjustments */
@media (max-width: 600px) {
    .products-carousel {
        margin-top: 2rem;
        overflow: hidden;
    }
    
    .products-container {
        overflow: hidden;
    }
    
    .products-grid {
        justify-content: flex-start;
    }
}

.products-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: calc(4 * 280px + 3 * 2rem + 2rem); /* 4 products + 3 gaps + padding */
    margin: 0 auto;
    user-select: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
}

@media (max-width: 1200px) {
    .products-container {
        max-width: calc(3 * 280px + 2 * 2rem + 2rem); /* 3 products on medium screens */
    }
}

@media (max-width: 900px) {
    .products-container {
        max-width: calc(2 * 280px + 1 * 2rem + 2rem); /* 2 products on small screens */
    }
    
    .product-card {
        min-width: 260px;
        padding: 1.25rem;
    }
    
    .product-card .product-image {
        height: 160px;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .latest-products .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .products-container {
        max-width: calc(2 * 200px + 1rem + 2rem); /* 2 products + gap + padding */
        padding: 0 1rem;
    }
    
    .product-card {
        min-width: 200px;
        width: 200px;
        padding: 0.75rem;
        margin: 0 0.5rem;
    }
    
    .product-card .product-image {
        height: 120px;
        margin-bottom: 0.75rem;
    }
    
    .product-card .product-info h3 {
        font-size: 0.875rem;
        min-height: 2.5em;
        padding: 0.25rem;
    }
    
    .carousel-pagination {
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .pagination-dot {
        width: 12px;
        height: 12px;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
    
    .latest-products .section-header h2 {
        font-size: 2rem;
    }
    
    .latest-products .section-header p {
        font-size: 0.875rem;
    }
    
    .products-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Gallery text improvements for mobile */
    .gallery-overlay h3 {
        font-size: 1.25rem;
        padding: 0.75rem;
        line-height: 1.2;
    }
    
    /* Service card text improvements for mobile */
    .service-card h3 {
        font-size: 1.1rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .products-container {
        max-width: calc(2 * 180px + 0.75rem + 1rem); /* 2 products + gap + padding */
        padding: 0 0.5rem;
    }
    
    .product-card {
        min-width: 180px;
        width: 180px;
        padding: 0.75rem;
        margin: 0 0.25rem;
    }
    
    .product-card .product-image {
        height: 130px;
        margin-bottom: 0.75rem;
    }
    
    .product-card .product-info h3 {
        font-size: 0.8rem;
        min-height: 2.5em;
        padding: 0.25rem;
        line-height: 1.2;
    }
    
    .carousel-nav {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .carousel-prev {
        left: 2px;
    }
    
    .carousel-next {
        right: 2px;
    }
    
    .latest-products .section-header h2 {
        font-size: 1.75rem;
    }
    
    .latest-products .section-header p {
        font-size: 0.75rem;
    }
    
    .carousel-pagination {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .pagination-dot {
        width: 10px;
        height: 10px;
    }
    
    .products-grid {
        gap: 0.75rem;
        padding: 0 0.25rem;
    }
    
    /* Gallery text improvements for very small screens */
    .gallery-overlay h3 {
        font-size: 1.1rem;
        padding: 0.5rem;
        line-height: 1.1;
    }
    
    /* Service card text improvements for very small screens */
    .service-card h3 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 360px) {
    .products-container {
        max-width: calc(2 * 160px + 0.5rem + 1rem); /* 2 products + gap + padding */
        padding: 0 0.25rem;
    }
    
    .product-card {
        min-width: 160px;
        width: 160px;
        padding: 0.5rem;
    }
    
    .product-card .product-image {
        height: 110px;
        margin-bottom: 0.5rem;
    }
    
    .product-card .product-info h3 {
        font-size: 0.7rem;
        min-height: 2.5em;
        padding: 0.25rem;
        line-height: 1.1;
    }
    
    .carousel-nav {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .carousel-prev {
        left: 1px;
    }
    
    .carousel-next {
        right: 1px;
    }
    
    .latest-products .section-header h2 {
        font-size: 1.5rem;
    }
    
    .latest-products .section-header p {
        font-size: 0.7rem;
    }
    
    /* Gallery text improvements for extra small screens */
    .gallery-overlay h3 {
        font-size: 1rem;
        padding: 0.5rem;
        line-height: 1.1;
    }
    
    /* Service card text improvements for extra small screens */
    .service-card h3 {
        font-size: 0.9rem;
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* Hero image for very small screens */
    .hero-slide {
        height: 80vh;
        min-height: 300px;
    }
    
    .slide-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 41, 59, 0.9);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-nav:hover {
    background: rgba(30, 41, 59, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

.products-grid {
    display: flex;
    gap: 2rem;
    transition: transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(0);
    padding: 0 1rem;
    cursor: grab;
    touch-action: pan-y pinch-zoom;
}

.products-grid:active {
    cursor: grabbing;
}

/* Responsive grid adjustments */
@media (max-width: 1200px) {
    .products-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .products-grid {
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .products-grid {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
}



/* Removed the blue gradient overlay */

/* Add drag indicator */
.products-carousel::before {
    content: '← Drag to slide →';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    pointer-events: none;
    z-index: 5;
}

.product-card {
    background: rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.2), 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-width: 280px;
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    height: 400px;
    opacity: 1;
    visibility: visible;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.3), 0 8px 30px rgba(0, 0, 0, 0.15);
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.4);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f59e0b;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
}

.product-badge.hot {
    background: #ef4444;
}

.product-badge.sale {
    background: #8b5cf6;
}

.product-card .product-image {
    width: 100%;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    padding: 0.5rem;
}

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

.product-card .product-info h3 {
    color: #1e293b;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
    flex-wrap: wrap;
    max-width: 100%;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.pagination-dot:hover {
    background: #cbd5e1;
    transform: scale(1.2);
}

.pagination-dot.active {
    background: #10b981;
    border-color: #059669;
    transform: scale(1.3);
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f8fafc;
}

/* Ensure gallery items have proper text handling */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: 250px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Responsive gallery grid */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image {
    filter: blur(3px);
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 1rem;
    box-sizing: border-box;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    padding: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.1));
}

.why-us .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.why-us .section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.why-us-content {
    max-width: 900px;
    margin: 0 auto;
}

.why-us-main {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.why-us-main p {
    color: #374151;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.why-us-main p:last-child {
    margin-bottom: 0;
}

.directors-message {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.directors-message h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.directors-message p {
    color: #374151;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.directors-message p:last-child {
    margin-bottom: 0;
}

.manufacturing-vision {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.manufacturing-vision h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.manufacturing-vision p {
    color: #374151;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Responsive styles for Why Us section */
@media (max-width: 768px) {
    .why-us .section-header h2 {
        font-size: 2.5rem;
    }
    
    .why-us-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .why-us-main,
    .directors-message,
    .manufacturing-vision {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .directors-message h3,
    .manufacturing-vision h3 {
        font-size: 1.75rem;
    }
    
    .why-us-main p,
    .directors-message p,
    .manufacturing-vision p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .why-us .section-header h2 {
        font-size: 2rem;
    }
    
    .why-us-main,
    .directors-message,
    .manufacturing-vision {
        padding: 1.5rem;
    }
    
    .directors-message h3,
    .manufacturing-vision h3 {
        font-size: 1.5rem;
    }
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* Responsive contact grid */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .contact-content {
        gap: 2rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 4rem 0 1rem 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Responsive footer grid */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

.footer-section h4 {
    color: #f8fafc;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 1px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-section ul li a:hover {
    color: #3b82f6;
    padding-left: 5px;
}

.footer-section ul li a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #3b82f6;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    left: -10px;
}

/* Footer Brand Section */
.footer-brand {
    grid-column: 1;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo-image:hover {
    opacity: 1;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transition: all 0.3s ease;
    transform: scale(0);
}

.social-link:hover::before {
    transform: scale(1);
}

.social-link i {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
}

.social-link.facebook::before {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-link.twitter::before {
    background: linear-gradient(135deg, #1da1f2, #64b5f6);
}

.social-link.linkedin::before {
    background: linear-gradient(135deg, #0077b5, #42a5f5);
}

.social-link.instagram::before {
    background: linear-gradient(135deg, #e4405f, #f0932b);
}

.social-link.youtube::before {
    background: linear-gradient(135deg, #ff0000, #ff6b6b);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Contact Info */
.footer-contact .contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact .contact-item i {
    color: #3b82f6;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.footer-contact .contact-item h5 {
    color: #f1f5f9;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.footer-contact .contact-item p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #475569, transparent);
    margin: 2rem 0;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #3b82f6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 2.5rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: modalSlideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #6b7280;
    transition: color 0.3s ease;
}

.close:hover {
    color: #374151;
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1f2937;
    font-size: 1.75rem;
    font-weight: 600;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Checkbox Styles */
.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #4b5563;
}

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

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #2563eb;
    border-color: #2563eb;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Forgot Password Link */
.forgot-password {
    color: #2563eb;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
    display: block;
    margin-top: 0.5rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Auth Links */
.auth-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.auth-links a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

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

/* Social Connect */
.social-connect {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.social-connect p {
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.social-btn.facebook {
    background: #1877f2;
}

.social-btn.google {
    background: #db4437;
}

.social-btn.twitter {
    background: #1da1f2;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Phone Group */
.phone-group {
    flex-direction: row;
    gap: 0.5rem;
}

.country-code {
    background: #f3f4f6;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}

.phone-group input {
    flex: 1;
}

/* Form Buttons */
.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Force exact same styling for both buttons */
.form-buttons button {
    flex: 0 0 auto !important;
    padding: 0.5rem 1rem !important;
    border: 2px solid #2563eb !important;
    border-radius: 6px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    height: 36px !important;
    width: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1 !important;
    background: #2563eb !important;
    color: white !important;
    white-space: nowrap !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.form-buttons .btn-primary {
    background: #2563eb;
    color: white;
    border: 2px solid #2563eb;
    white-space: nowrap;
}

.form-buttons button:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    transform: translateY(-2px) !important;
}

/* Signup Form Specific */
.signup-form {
    gap: 1rem;
}

.signup-form .form-group {
    margin-bottom: 0.5rem;
}

/* Override auth-form button styles for signup form */
.signup-form .auth-form .btn-primary {
    width: auto;
    margin-top: 0;
}

.auth-form .btn-primary {
    width: 100%;
    padding: 0.5rem 1rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form .btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
    color: #6b7280;
}

.auth-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Mobile Navigation Styles */

/* Hide mobile header on desktop */
.nav-menu .mobile-header {
    display: none;
}


@media (max-width: 480px) {
    .mobile-auth-buttons {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        gap: 1rem;
    }
    
    .btn-login-mobile,
    .btn-signup-mobile {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
        max-width: 220px;
    }
    
    .nav-menu {
        padding: 1.5rem 0.5rem;
    }
    
    .nav-item {
        margin: 0.75rem 0;
    }
    
    .nav-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
    }
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        margin: 5% auto;
        padding: 2rem;
        max-width: 95%;
        max-height: 85vh;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .auth-form {
        gap: 1rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .phone-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .country-code {
        min-width: auto;
        text-align: center;
    }
    
    .form-buttons {
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .form-buttons .btn-primary,
    .form-buttons .btn-secondary {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        height: 32px;
        width: 100px;
        line-height: 1;
    }
    
    .auth-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .social-buttons {
        gap: 0.75rem;
    }
    
    .social-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 2% auto;
        padding: 1.5rem;
        max-width: 98%;
    }
    
    .modal-content h2 {
        font-size: 1.25rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .checkbox-label {
        font-size: 0.8rem;
    }
    
    .checkmark {
        width: 16px;
        height: 16px;
    }
    
    .social-connect p {
        font-size: 0.8rem;
    }
    
    /* Mobile Navigation for small screens */
    .nav-menu {
        padding: 1.5rem 0;
    }
    
    .mobile-header h3 {
        font-size: 1.25rem;
    }
    
    .nav-item {
        margin: 0.75rem 0;
    }
    

    
    .mobile-auth-buttons {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .btn-login-mobile,
    .btn-signup-mobile {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        max-width: 180px;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 1.5rem;
    }
    
    .hero-slide {
        height: 90vh;
        min-height: 550px;
    }
}

@media (max-width: 1080px) {
    .inspirational-content {
        gap: 3rem;
    }
    
    .inspirational-text h2 {
        font-size: 2.25rem;
    }
    
    .inspirational-text h3 {
        font-size: 1.75rem;
    }
    
    .inspirational-text p {
        font-size: 1.125rem;
    }
}

@media (max-width: 900px) {
    .inspirational-content {
        gap: 2.5rem;
    }
    
    .inspirational-text h2 {
        font-size: 2rem;
    }
    
    .inspirational-text h3 {
        font-size: 1.5rem;
    }
    
    .hero-slide {
        height: 90vh;
        min-height: 450px;
    }
}

@media (max-width: 840px) {
    .inspirational-content {
        gap: 2rem;
    }
}

@media (max-width: 800px) {
    .inspirational-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .inspirational-text {
        order: -1;
    }
    
    .inspirational-text h2 {
        font-size: 1.875rem;
    }
    
    .inspirational-text h3 {
        font-size: 1.375rem;
    }
    
    .inspirational-text p {
        font-size: 1rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: -10px;
    }
    
    .carousel-next {
        right: -10px;
    }
    
    .latest-products {
        padding: 60px 0 80px 0;
    }
    
    .latest-products .section-header h2 {
        font-size: 2.5rem;
    }
    
    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }
    
    /* Show mobile header and auth items */
    .nav-menu .mobile-header,
    .nav-item.mobile-header,
    .mobile-header {
        display: block;
    }
    
    .mobile-auth-item {
        display: block !important;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px; /* Increased to show more of navbar */
        flex-direction: column;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        width: 100%;
        text-align: center;
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 
            0 -2px 10px rgba(37, 99, 235, 0.1),
            0 10px 40px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.8);
        padding: 2.5rem 1rem 2rem 1rem;
        z-index: 998; /* Lower than hamburger */
        height: calc(100vh - 90px);
        overflow-y: auto;
        border-radius: 0;
        border-top: 3px solid rgba(37, 99, 235, 0.2);
        border-bottom: none;
    }

    .nav-menu.active {
        left: 0;
    }
    
    /* Mobile menu backdrop */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 90px; /* Start below navbar */
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        background: linear-gradient(135deg, 
            rgba(37, 99, 235, 0.15) 0%, 
            rgba(0, 0, 0, 0.4) 100%);
        z-index: -1;
        animation: backdropFadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    @keyframes backdropFadeIn {
        from { 
            opacity: 0;
            backdrop-filter: blur(0px);
        }
        to { 
            opacity: 1;
            backdrop-filter: blur(5px);
        }
    }

    .nav-buttons {
        display: none;
    }
    
    .nav-item {
        margin: 1rem 0;
        opacity: 0;
        transform: translateY(30px) scale(0.9);
        transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .nav-menu.active .nav-item {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        margin: 0.5rem auto;
        border-radius: 25px;
        transition: all 0.3s ease;
        background: rgba(37, 99, 235, 0.1);
        color: #2563eb;
        border: 2px solid #2563eb;
        text-decoration: none;
        font-weight: 600;
        font-size: 1rem;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
        width: 100%;
        max-width: 250px;
    }
    
    .nav-link:hover {
        background: #2563eb;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    }
    
    .nav-link.active {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        color: white;
        border: 2px solid #2563eb;
    }
    
    .nav-link.active:hover {
        background: linear-gradient(135deg, #1d4ed8, #1e40af);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    }
    
    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu.active .nav-item:nth-child(6) { transition-delay: 0.6s; }
    .nav-menu.active .nav-item:nth-child(7) { transition-delay: 0.7s; }
    .nav-menu.active .nav-item:nth-child(8) { transition-delay: 0.8s; }
    .nav-menu.active .nav-item:nth-child(9) { transition-delay: 0.9s; }
    
    .mobile-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        margin: 0;
        z-index: 1000;
    }
    
    .mobile-close-btn {
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #6b7280;
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .mobile-close-btn:hover {
        background: #f3f4f6;
        color: #374151;
    }
    
    .mobile-header {
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .mobile-header h3 {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1f2937;
        margin: 0;
    }
    
    .mobile-auth-buttons {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(37, 99, 235, 0.15);
        align-items: center;
        width: 100%;
    }
    
    .btn-login-mobile,
    .btn-signup-mobile {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.85rem 2rem;
        border: none;
        border-radius: 25px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 1rem;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
        text-decoration: none;
        border: 2px solid #2563eb;
    }
    
    .btn-login-mobile {
        background: rgba(37, 99, 235, 0.1);
        color: #2563eb;
    }
    
    .btn-login-mobile:hover {
        background: #2563eb;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    }
    
    .btn-signup-mobile {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
        color: white;
    }
    
    .btn-signup-mobile:hover {
        background: linear-gradient(135deg, #1d4ed8, #1e40af);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    }
}

@media (max-width: 768px) {
    .inspirational {
        padding: 3rem 0;
    }
    
    .inspirational-img {
        height: 400px;
    }
    
    /* Footer Tablet Responsive */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
    }
    
    .footer-contact .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    
    .footer-contact .contact-item {
        flex: 1;
        min-width: 200px;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .inspirational {
        padding: 2rem 0;
    }
    
    .inspirational-img {
        height: 300px;
    }
    
    .inspirational-text h2 {
        font-size: 1.5rem;
    }
    
    .inspirational-text h3 {
        font-size: 1.25rem;
    }
    
    .inspirational-text p {
        font-size: 0.875rem;
    }
    
    .latest-products .section-header h2 {
        font-size: 2rem;
    }
    
    .products-container {
        max-width: calc(1 * 250px + 2rem); /* 1 product on very small screens */
    }
    
    .product-card {
        min-width: 250px;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: -15px;
    }
    
    .carousel-next {
        right: -15px;
    }
}

@media (max-width: 1080px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .btn-login,
    .btn-signup {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .logo-image {
        height: 70px !important;
        margin: -8px 0 !important;
    }
}

@media (max-width: 1024px) {
    .hero-content-wrapper {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-slide {
        height: 90vh;
        min-height: 500px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .why-us-content {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (max-width: 900px) {
    .nav-menu {
        gap: 1.2rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .btn-login,
    .btn-signup {
        padding: 0.35rem 1rem;
        font-size: 0.85rem;
    }
    
    .logo-image {
        height: 70px !important;
        margin: -8px 0 !important;
    }
    
    .hero-content-wrapper {
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .why-us-content {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 840px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .btn-login,
    .btn-signup {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .logo-image {
        height: 70px !important;
        margin: -8px 0 !important;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
}



@media (max-width: 480px) {
    .mobile-auth-buttons {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .btn-login-mobile,
    .btn-signup-mobile {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-image {
        height: 70px !important;
        margin: -8px 0 !important;
    }
    
    .footer-logo-image {
        height: 30px;
    }

    .hero-slide {
        height: 60vh; /* Increased height for better mobile viewing */
        min-height: 400px;
    }
    
    .slide-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
}

    .hero-content-section {
        padding: 40px 0;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .hero-side-image {
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }
    
    .hero-image {
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
        min-height: 280px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1.5rem;
        min-height: 320px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .gallery-item {
        min-height: 200px;
    }
    
    .why-us-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-us-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    /* Improve touch targets */
    .nav-link {
        padding: 0.75rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-login,
    .btn-signup {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-slide {
        height: 70vh; /* Even more height for small mobile screens */
        min-height: 350px;
    }
    
    .slide-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }
}
    
    .hero-content-section {
        padding: 30px 0;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .hero-side-image {
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }
    
    .hero-image {
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    .service-card,
    .product-card {
        padding: 1.25rem;
    }
    
    .why-us-item {
        padding: 1.25rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat h4 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }

    .modal-content {
        margin: 5% auto;
        padding: 1.25rem;
        width: 95%;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    /* Footer Responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact .contact-item {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

/* Performance and Accessibility Improvements */

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



/* Loading animation */
.loading {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
    
    .nav-link {
        text-decoration: underline;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .modal,
    .carousel-nav,
    .social-buttons {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-slide {
        height: auto;
        min-height: auto;
    }
}

/* Enhanced Mobile Menu Styles */
@media (max-width: 800px) {
    /* Remove grey backdrop */
    .nav-menu.active::before {
        display: none !important;
    }
    
    .nav-menu {
        background: rgba(255, 255, 255, 0.95) !important;
    }
    .nav-item {
        margin: 1.5rem 0;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-item:hover {
        background: rgba(0, 0, 0, 0.02);
        transform: translateX(10px);
    }
    
    .nav-item a {
        color: #333;
        font-weight: 500;
        font-size: 1.1rem;
        text-decoration: none;
        transition: color 0.3s ease;
        display: block;
        padding: 0.5rem 0;
    }
    
    .nav-item:hover a {
        color: #2563eb;
    }
    
    .mobile-header h3 {
        color: #666;
        font-size: 0.9rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 2rem;
    }
}

