/* ============================================
   GLOBAL STYLES & CSS RESET
============================================ */
:root {
    /* Color Palette */
    --primary-dark-blue: #0A1F44;
    --secondary-gold: #F5B301;
    --accent-white: #FFFFFF;
    --accent-light-grey: #F2F2F2;
    --accent-gold-gradient: linear-gradient(135deg, #F5B301 0%, #FFD166 100%);
    --text-dark: #333333;
    --text-light: #777777;
    
    /* Typography */
    --font-heading: 'Cinzel', 'Noto Serif Tamil', serif;
    --font-body: 'Inter', sans-serif;
    --font-tamil: 'Noto Serif Tamil', serif;
    
    /* Spacing */
    --section-padding: 80px 20px;
    --container-width: 1200px;
    --border-radius: 12px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

/* Responsive section padding variable */
.section-padding {
    padding: var(--section-padding);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--accent-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll on mobile */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.tamil-font {
    font-family: var(--font-tamil);
}

p {
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-dark-blue);
}

/* About page section titles - yellow on dark blue */
.about-brand .section-title h2,
.why-choose-us .section-title h2 {
    color: var(--secondary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gold-gradient);
    border-radius: 3px;
}

/* Enhanced underline for about page sections */
.about-brand .section-title h2::after,
.why-choose-us .section-title h2::after {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-gold) 0%, #FFD166 100%);
    box-shadow: 0 2px 8px rgba(245, 179, 1, 0.6);
}

.section-title .tamil-subtitle {
    font-size: 1.3rem;
    color: var(--secondary-gold);
    margin-top: 0.5rem;
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--secondary-gold);
    color: var(--primary-dark-blue);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-gold);
    border: 2px solid var(--secondary-gold);
}

.btn-secondary:hover {
    background: var(--secondary-gold);
    color: var(--primary-dark-blue);
}

/* ============================================
   LOADING ANIMATION
============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-dark-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    position: relative;
}

.loader-logo {
    width: 100%;
    height: 100%;
    background: var(--accent-gold-gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-dark-blue);
    font-weight: bold;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   HEADER & NAVIGATION
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-fast);
    background-color: rgba(10, 31, 68, 0.95);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    transition: var(--transition-fast);
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--accent-white);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-gold);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 2rem;
}

.nav-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245, 179, 1, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-gold);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.nav-icon:hover {
    background: var(--secondary-gold);
    color: var(--primary-dark-blue);
}

.enquiry-btn {
    background: var(--secondary-gold);
    color: var(--primary-dark-blue);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--accent-white);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #1a2f5c 100%);
    color: var(--accent-white);
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-tamil {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    overflow: visible;
}

.hero-product-image {
    width: 100%;
    max-width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #1a2f5c 100%);
}

.hero-product-image:nth-child(1) {
    transform: rotate(-5deg);
    z-index: 2;
}

.hero-product-image:nth-child(2) {
    transform: rotate(5deg) translateY(40px);
    z-index: 1;
    margin-left: -80px;
    animation-delay: 0.5s;
}

.hero-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.hero-product-image:hover img {
    transform: scale(1.1);
}

@keyframes float {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(-5deg) translateY(-20px); }
}

/* Float animation adjustment for mobile */
@media (max-width: 768px) {
    @keyframes float-mobile {
        0%, 100% { transform: rotate(-5deg) translateY(0); }
        50% { transform: rotate(-5deg) translateY(-10px); }
    }
    
    .hero-product-image {
        animation-name: float-mobile;
    }
}

/* ============================================
   ABOUT BRAND SECTION
============================================ */
.about-brand {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #1a2f5c 50%, #0a1f44 100%);
    position: relative;
    overflow: hidden;
}

.about-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(245,179,1,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-content-wrapper {
    position: relative;
}

.about-content {
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.95) 0%, rgba(26, 47, 92, 0.98) 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(245, 179, 1, 0.3);
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(245, 179, 1, 0.2);
    border-color: rgba(245, 179, 1, 0.5);
}

.about-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(245, 179, 1, 0.4);
}

.about-icon-wrapper {
    width: 80px;
    height: 80px;
    min-width: 80px;
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #FFD166 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-dark-blue);
    box-shadow: 0 8px 20px rgba(245, 179, 1, 0.3);
}

.about-content h3 {
    font-size: 2rem;
    color: var(--secondary-gold);
    margin: 0;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about-text {
    margin-bottom: 2.5rem;
}

.about-text .lead-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary-gold);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.stat-item {
    background: linear-gradient(135deg, rgba(245, 179, 1, 0.15) 0%, rgba(245, 179, 1, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
    border: 2px solid rgba(245, 179, 1, 0.3);
    backdrop-filter: blur(5px);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #FFD166 100%);
    border-color: var(--secondary-gold);
    box-shadow: 0 8px 20px rgba(245, 179, 1, 0.4);
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-text {
    color: var(--primary-dark-blue);
}

.stat-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #FFD166 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-dark-blue);
    box-shadow: 0 4px 10px rgba(245, 179, 1, 0.3);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-gold);
    margin-bottom: 0.3rem;
    font-family: var(--font-heading);
    transition: var(--transition-fast);
}

.stat-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition-fast);
}

.about-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.about-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-fast);
}

.about-actions .btn i {
    font-size: 1.1rem;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: var(--transition-fast);
}

.about-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.1) 0%, rgba(245, 179, 1, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-medium);
    z-index: 1;
    border-radius: 20px;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-medium);
    object-fit: cover;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #FFD166 100%);
    color: var(--primary-dark-blue);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(245, 179, 1, 0.4);
    z-index: 2;
    animation: pulse 2s infinite;
}

.about-badge i {
    font-size: 1rem;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   PRODUCT CATEGORIES SECTION
============================================ */
.product-categories {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #1a2f5c 100%);
    position: relative;
    overflow: hidden;
}

.product-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(245,179,1,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

.product-categories .container {
    position: relative;
    z-index: 1;
}

.product-categories .section-title h2 {
    color: var(--secondary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.product-categories .section-title h2::after {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-gold) 0%, #FFD166 100%);
    box-shadow: 0 2px 8px rgba(245, 179, 1, 0.6);
}

/* ============================================
   PRODUCT CARD GRID - Responsive Container
   
   RESPONSIVE FIXES SUMMARY:
   ========================
   1. Mobile (≤576px): Single column, cards at 90% width, centered
   2. Tablet Portrait (577-768px): 2 columns, cards at 100% width
   3. Desktop (>768px): Auto-fit grid, cards max-width 400px, centered
   
   KEY FIXES:
   - Cards never stretch full screen width on mobile (90% max)
   - Container padding prevents overflow (15px on mobile)
   - Images use object-fit: contain to show full image
   - max-width: 100% on all images prevents horizontal scroll
   - box-sizing: border-box ensures proper sizing
   - Grid containers have width: 100% and proper max-width constraints
   
   =========================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   PRODUCT CARD - Base Styles with Constraints
   Desktop: max-width 400px, centered
   Mobile: 90% width with auto margins (handled in media queries)
   =========================================== */
/* ============================================
   PRODUCT CARD - Premium E-commerce Design
   Dark blue gradient background, golden border, soft shadows
   =========================================== */
.category-card {
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.95) 0%, rgba(26, 47, 92, 0.98) 100%);
    /* Rounded corners for premium look */
    border-radius: 20px;
    padding: 0;
    text-align: center;
    /* Premium soft shadow for depth */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                0 4px 15px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(245, 179, 1, 0.1);
    transition: var(--transition-fast);
    /* Golden/yellow accent border */
    border: 2px solid rgba(245, 179, 1, 0.4);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    /* Increased min-height to accommodate larger image area */
    min-height: 500px;
    display: flex;
    flex-direction: column;
    /* Responsive width constraints - Desktop default */
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-gold) 0%, #FFD166 100%);
    transform: scaleX(0);
    transition: var(--transition-fast);
    z-index: 2;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-10px);
    /* Enhanced shadow on hover for premium effect */
    box-shadow: 0 20px 50px rgba(245, 179, 1, 0.4),
                0 10px 25px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(245, 179, 1, 0.5);
    border-color: var(--secondary-gold);
    background: linear-gradient(135deg, rgba(26, 47, 92, 0.98) 0%, rgba(10, 31, 68, 0.95) 100%);
}

.category-card:hover .category-image {
    transform: scale(1.08);
}

/* ============================================
   PRODUCT IMAGE WRAPPER - Premium Fill Design
   Image fills entire container with no white space
   =========================================== */
.category-image-wrapper {
    width: 100%;
    /* Increased height to prevent design collapse and show full image */
    height: 320px;
    margin: 0;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    position: relative;
    /* Remove background gradient - image will fill completely */
    background: transparent;
    /* Remove padding - image fills edge to edge */
    padding: 0;
    box-sizing: border-box;
    flex-shrink: 0;
    /* Premium shadow effect */
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ============================================
   PRODUCT IMAGE - Premium Cover Fill Style
   Image fills entire container completely with no white space
   Uses object-fit: cover for full box coverage
   =========================================== */
.category-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    /* Cover ensures image fills entire container, cropping if needed */
    object-fit: cover;
    object-position: center;
    transition: var(--transition-medium);
    display: block;
    /* No margins or padding - image touches edges */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Sharp, high-quality rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Smooth scaling */
    transform-origin: center center;
}


.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #FFD166 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-dark-blue);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 5px 15px rgba(245, 179, 1, 0.4);
    z-index: 1;
}

/* ============================================
   PRODUCT CARD CONTENT - Premium Text Styling
   =========================================== */
.category-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    /* Premium spacing */
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.98) 0%, rgba(26, 47, 92, 0.95) 100%);
}

.category-card-content > div:first-child {
    flex: 1;
}

/* Premium Title Styling */
.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-gold);
    font-weight: 700;
    /* Enhanced text shadow for premium look */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
                 0 0 10px rgba(245, 179, 1, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Premium Description Styling */
.category-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    /* Subtle text shadow for readability */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.category-card .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 10px;
}

/* ============================================
   WHY CHOOSE US SECTION
============================================ */
.why-choose-us {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #1a2f5c 100%);
    position: relative;
    color: var(--accent-white);
}

.section-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 1rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.95) 0%, rgba(26, 47, 92, 0.98) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition-fast);
    border: 2px solid rgba(245, 179, 1, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-gold) 0%, #FFD166 100%);
    transform: scaleX(0);
    transition: var(--transition-fast);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(245, 179, 1, 0.3);
    border-color: var(--secondary-gold);
    background: linear-gradient(135deg, rgba(26, 47, 92, 0.98) 0%, rgba(10, 31, 68, 0.95) 100%);
}

.feature-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(245, 179, 1, 0.15) 0%, rgba(245, 179, 1, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--secondary-gold);
    transition: var(--transition-fast);
    position: relative;
    z-index: 2;
}

.feature-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #FFD166 100%);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 1;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #FFD166 100%);
    color: var(--primary-dark-blue);
    transform: scale(1.1);
}

.feature-card:hover .feature-icon-bg {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.3);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--secondary-gold);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(245, 179, 1, 0.2) 0%, rgba(245, 179, 1, 0.15) 100%);
    border-radius: 50px;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-gold);
    border: 1px solid rgba(245, 179, 1, 0.4);
}

.feature-highlight i {
    color: var(--secondary-gold);
    font-size: 1rem;
}

/* ============================================
   FEATURED PRODUCTS SECTION
============================================ */
.featured-products {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #1a2f5c 0%, var(--primary-dark-blue) 100%);
    position: relative;
    overflow: hidden;
}

.featured-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(245,179,1,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

.featured-products .container {
    position: relative;
    z-index: 1;
}

.featured-products .section-title h2 {
    color: var(--secondary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.featured-products .section-title h2::after {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-gold) 0%, #FFD166 100%);
    box-shadow: 0 2px 8px rgba(245, 179, 1, 0.6);
}

.products-slider {
    position: relative;
    overflow: hidden;
}

.swiper {
    width: 100%;
    padding: 30px 0 50px;
}

.product-slide {
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.95) 0%, rgba(26, 47, 92, 0.98) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-fast);
    border: 2px solid rgba(245, 179, 1, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
}

.product-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-gold) 0%, #FFD166 100%);
    transform: scaleX(0);
    transition: var(--transition-fast);
    z-index: 2;
}

.product-slide:hover::before {
    transform: scaleX(1);
}

.product-slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(245, 179, 1, 0.3);
    border-color: var(--secondary-gold);
    background: linear-gradient(135deg, rgba(26, 47, 92, 0.98) 0%, rgba(10, 31, 68, 0.95) 100%);
}

.product-image {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(245, 179, 1, 0.1) 0%, rgba(245, 179, 1, 0.05) 100%);
    flex-shrink: 0;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 31, 68, 0.2) 100%);
    opacity: 0;
    transition: var(--transition-medium);
    z-index: 1;
}

.product-slide:hover .product-image::after {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
    display: block;
}

.product-slide:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.product-info > div:first-child {
    flex: 1;
}

.product-info p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-gold);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.product-size {
    color: var(--secondary-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background: rgba(245, 179, 1, 0.15);
    border-radius: 8px;
    display: inline-block;
    border: 1px solid rgba(245, 179, 1, 0.3);
}

.product-info .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    font-weight: 600;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--secondary-gold);
}

.swiper-pagination-bullet-active {
    background: var(--secondary-gold);
}

/* ============================================
   AUTO SCROLL BANNER SECTION
============================================ */
.banner-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0;
    margin-top: 80px;
    z-index: 1;
}

@media (max-width: 768px) {
    .banner-section {
        margin-top: 65px;
    }
}

.banner-swiper-container {
    width: 100%;
    height: auto;
    position: relative;
}

.bannerSwiper {
    width: 100%;
    height: auto;
    overflow: visible;
}

.banner-slide {
    position: relative;
    width: 100%;
    height: auto;
}

.banner-content {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

.banner-image {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
    overflow: hidden;
    display: block;
}

.banner-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.8s ease;
    position: relative;
    z-index: 1;
}

/* Ensure only one image is visible at a time and properly sized */
.banner-image .banner-desktop,
.banner-image .banner-mobile {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

/* Default: Desktop view (for screens larger than 768px) */
.banner-desktop {
    display: block;
}

.banner-mobile {
    display: none;
}

.banner-slide:hover .banner-image img {
    transform: scale(1.05);
}

/* Desktop/Windows View - Show desktop banner, hide mobile */
@media (min-width: 769px) {
    .banner-desktop {
        display: block !important;
    }
    
    .banner-mobile {
        display: none !important;
    }
}

/* Mobile View - Hide desktop, show mobile banner */
@media (max-width: 768px) {
    .banner-desktop {
        display: none !important;
    }
    
    .banner-mobile {
        display: block !important;
    }
}

.banner-overlay {
    display: none;
}

.banner-text {
    display: none;
}

.banner-pagination {
    bottom: 20px !important;
    z-index: 10;
}

.banner-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--accent-white);
    opacity: 0.5;
    transition: var(--transition-fast);
}

.banner-pagination .swiper-pagination-bullet-active {
    background: var(--secondary-gold);
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

.banner-button-next,
.banner-button-prev {
    color: var(--secondary-gold);
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.banner-button-next:hover,
.banner-button-prev:hover {
    background: rgba(245, 179, 1, 0.3);
    transform: scale(1.1);
}

.banner-button-next::after,
.banner-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .banner-swiper-container {
        height: auto;
    }
    
    .banner-text h2 {
        font-size: 2.5rem;
    }
    
    .banner-tamil {
        font-size: 1.5rem;
    }
    
    .banner-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .banner-swiper-container {
        height: auto;
    }
    
    .banner-text {
        padding: 1.5rem;
    }
    
    .banner-text h2 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .banner-tamil {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .banner-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .banner-text .btn {
        padding: 12px 28px;
        font-size: 1rem;
    }
    
    .banner-button-next,
    .banner-button-prev {
        width: 40px;
        height: 40px;
        display: none;
    }
    
    .banner-button-next::after,
    .banner-button-prev::after {
        font-size: 16px;
    }
    
    .banner-pagination {
        bottom: 15px !important;
    }
}

@media (max-width: 576px) {
    .banner-swiper-container {
        height: auto;
    }
    
    .banner-text {
        padding: 1rem;
    }
    
    .banner-text h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }
    
    .banner-tamil {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .banner-text p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .banner-text .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
    
    .banner-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .banner-pagination .swiper-pagination-bullet-active {
        width: 20px;
    }
}

.banner-button-next,
.banner-button-prev {
    color: var(--secondary-gold);
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: var(--transition-fast);
}

.banner-button-next:hover,
.banner-button-prev:hover {
    background: rgba(245, 179, 1, 0.3);
    transform: scale(1.1);
}

.banner-button-next::after,
.banner-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

/* ============================================
   CUSTOMER TRUST SECTION
============================================ */
.customer-trust {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #1a2f5c 100%);
    color: var(--accent-white);
}

.trust-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    background: linear-gradient(135deg, rgba(245, 179, 1, 0.1) 0%, rgba(245, 179, 1, 0.05) 100%);
    border-radius: 16px;
    border: 2px solid rgba(245, 179, 1, 0.2);
    backdrop-filter: blur(5px);
}

.trust-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, rgba(245, 179, 1, 0.2) 0%, rgba(245, 179, 1, 0.15) 100%);
    border-color: rgba(245, 179, 1, 0.4);
    box-shadow: 0 10px 30px rgba(245, 179, 1, 0.3);
}

.trust-icon-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.trust-icon {
    font-size: 2.5rem;
    color: var(--secondary-gold);
    opacity: 0.9;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.trust-item:hover .trust-icon {
    opacity: 1;
    transform: scale(1.1);
    color: var(--secondary-gold);
}

.trust-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-gold);
    line-height: 1;
}

.trust-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* ============================================
   CALL TO ACTION SECTION
============================================ */
.cta-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #1a2f5c 100%);
    text-align: center;
    color: var(--accent-white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(245,179,1,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-tamil {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-gold);
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT FORM SECTION
============================================ */
.contact-form-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--accent-light-grey) 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(245,179,1,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.contact-info-wrapper,
.contact-form-wrapper {
    position: relative;
}

.contact-info {
    background: var(--accent-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
    border: 1px solid rgba(245, 179, 1, 0.1);
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.contact-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(245, 179, 1, 0.2);
}

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #FFD166 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-dark-blue);
    box-shadow: 0 8px 20px rgba(245, 179, 1, 0.3);
}

.contact-info h3 {
    color: var(--primary-dark-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info .contact-header p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    background: var(--accent-light-grey);
    border-radius: 12px;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.contact-card:hover {
    background: rgba(245, 179, 1, 0.05);
    border-color: rgba(245, 179, 1, 0.3);
    transform: translateX(5px);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, rgba(245, 179, 1, 0.15) 0%, rgba(245, 179, 1, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-gold);
    transition: var(--transition-fast);
}

.contact-card:hover .contact-card-icon {
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #FFD166 100%);
    color: var(--primary-dark-blue);
    transform: scale(1.1);
}

.contact-card-icon.whatsapp-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(37, 211, 102, 0.1) 100%);
    color: #25D366;
}

.contact-card:hover .contact-card-icon.whatsapp-icon {
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
    color: var(--accent-white);
}

.contact-card-content {
    flex: 1;
}

.contact-card-content h4 {
    font-size: 1rem;
    color: var(--primary-dark-blue);
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-card-content p,
.contact-card-content a {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    transition: var(--transition-fast);
    text-decoration: none;
}

.contact-card-content a:hover {
    color: var(--secondary-gold);
}

.contact-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-fast);
    text-align: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.contact-action-btn.whatsapp-action {
    background: linear-gradient(135deg, #25D366 0%, #20ba5a 100%);
    color: var(--accent-white);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.contact-action-btn.whatsapp-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.contact-action-btn.call-action {
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #FFD166 100%);
    color: var(--primary-dark-blue);
    box-shadow: 0 5px 15px rgba(245, 179, 1, 0.3);
}

.contact-action-btn.call-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 179, 1, 0.4);
}

.contact-action-btn i {
    font-size: 1.2rem;
}

.contact-form {
    background: var(--accent-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
    border: 1px solid rgba(245, 179, 1, 0.1);
    height: 100%;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(245, 179, 1, 0.2);
}

.form-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #1a2f5c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary-gold);
    box-shadow: 0 8px 20px rgba(10, 31, 68, 0.3);
}

.contact-form h3 {
    color: var(--primary-dark-blue);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-form .form-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.modern-form {
    margin-top: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    color: var(--primary-dark-blue);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--secondary-gold);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(245, 179, 1, 0.2);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--accent-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-gold);
    box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.1);
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: var(--font-body);
}

/* ============================================
   SECTION PREVIEW (INDEX PAGE)
============================================ */
.section-preview {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #1a2f5c 100%);
    position: relative;
    overflow: hidden;
}

.section-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(245,179,1,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    z-index: 0;
}

.section-preview:nth-child(even) {
    background: linear-gradient(135deg, #1a2f5c 0%, var(--primary-dark-blue) 100%);
}

.section-preview .container {
    position: relative;
    z-index: 1;
}

/* Section titles on preview sections - yellow */
.section-preview .section-title h2 {
    color: var(--secondary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section-preview .section-title h2::after {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-gold) 0%, #FFD166 100%);
    box-shadow: 0 2px 8px rgba(245, 179, 1, 0.6);
}

.preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.preview-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.95) 0%, rgba(26, 47, 92, 0.98) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid rgba(245, 179, 1, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.preview-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.preview-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

.preview-text p:first-child {
    color: var(--secondary-gold);
    font-weight: 600;
    font-size: 1.15rem;
}

.preview-text p:last-child {
    margin-bottom: 0;
}

.preview-hidden {
    display: none;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 1rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(245, 179, 1, 0.15) 0%, rgba(245, 179, 1, 0.1) 100%);
    border-radius: 16px;
    transition: var(--transition-fast);
    border: 2px solid rgba(245, 179, 1, 0.3);
    backdrop-filter: blur(5px);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #FFD166 100%);
    border-color: var(--secondary-gold);
    box-shadow: 0 8px 20px rgba(245, 179, 1, 0.4);
}

.stat-item:hover .stat-number,
.stat-item:hover .stat-text {
    color: var(--primary-dark-blue);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-gold);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    transition: var(--transition-fast);
}

.stat-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    transition: var(--transition-fast);
}

.preview-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-fast);
    border: 2px solid rgba(245, 179, 1, 0.3);
}

.preview-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(245, 179, 1, 0.3);
    border-color: var(--secondary-gold);
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   PREVIEW CATEGORIES GRID - Responsive Container
   =========================================== */
.preview-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   PREVIEW CATEGORY CARD - Responsive Constraints
   =========================================== */
.preview-category-card {
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.95) 0%, rgba(26, 47, 92, 0.98) 100%);
    /* Rounded corners for premium look */
    border-radius: 16px;
    overflow: hidden;
    /* Premium soft shadow */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3),
                0 4px 12px rgba(0, 0, 0, 0.2),
                0 0 0 1px rgba(245, 179, 1, 0.1);
    transition: var(--transition-fast);
    /* Golden accent border */
    border: 2px solid rgba(245, 179, 1, 0.4);
    backdrop-filter: blur(10px);
    /* Responsive width constraints */
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.preview-category-card:hover {
    transform: translateY(-8px);
    /* Enhanced shadow on hover */
    box-shadow: 0 15px 40px rgba(245, 179, 1, 0.4),
                0 8px 20px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(245, 179, 1, 0.5);
    border-color: var(--secondary-gold);
    background: linear-gradient(135deg, rgba(26, 47, 92, 0.98) 0%, rgba(10, 31, 68, 0.95) 100%);
}

.preview-category-card:hover .category-image {
    transform: scale(1.06);
}

.preview-category-card .category-image-wrapper {
    /* Increased height to prevent design collapse */
    height: 260px;
    position: relative;
    overflow: hidden;
    /* Image fills completely - no background needed */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    /* No padding - image fills edge to edge */
    padding: 0;
    box-sizing: border-box;
    /* Rounded top corners */
    border-radius: 14px 14px 0 0;
    /* Premium shadow effect */
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.preview-category-card .category-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    /* Cover fill for preview cards too */
    object-fit: cover;
    object-position: center;
    transition: var(--transition-fast);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Sharp rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.preview-category-card:hover .category-image {
    transform: scale(1.05);
}

.preview-category-card h3 {
    font-size: 1.2rem;
    color: var(--secondary-gold);
    margin: 1rem 1.5rem 0.5rem;
    font-weight: 700;
    /* Enhanced text shadow for premium look */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
                 0 0 8px rgba(245, 179, 1, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.preview-category-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
    /* Subtle text shadow for readability */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.preview-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.preview-feature-card {
    background: linear-gradient(135deg, rgba(10, 31, 68, 0.95) 0%, rgba(26, 47, 92, 0.98) 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition-fast);
    border: 2px solid rgba(245, 179, 1, 0.3);
    backdrop-filter: blur(10px);
}

.preview-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(245, 179, 1, 0.3);
    border-color: var(--secondary-gold);
    background: linear-gradient(135deg, rgba(26, 47, 92, 0.98) 0%, rgba(10, 31, 68, 0.95) 100%);
}

.preview-feature-card .feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(245, 179, 1, 0.15) 0%, rgba(245, 179, 1, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary-gold);
    transition: var(--transition-fast);
}

.preview-feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--secondary-gold) 0%, #FFD166 100%);
    color: var(--primary-dark-blue);
    transform: scale(1.1);
}

.preview-feature-card h3 {
    font-size: 1.2rem;
    color: var(--secondary-gold);
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.preview-feature-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.preview-action {
    text-align: center;
    margin-top: 2rem;
}

.see-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.see-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.see-more-btn:hover::before {
    width: 300px;
    height: 300px;
}

.see-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 179, 1, 0.4);
}

.see-more-btn i {
    transition: var(--transition-fast);
}

.see-more-btn:hover i {
    transform: translateX(5px);
}

.form-submit-btn {
    width: 100%;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.form-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.form-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(245, 179, 1, 0.4);
}

.form-submit-btn i:last-child {
    transition: var(--transition-fast);
}

.form-submit-btn:hover i:last-child {
    transform: translateX(5px);
}

/* ============================================
   FLOATING ACTION BUTTONS
============================================ */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--accent-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition-fast);
}

.floating-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background: #25D366;
}

.call-btn {
    background: var(--secondary-gold);
}

/* ============================================
   FOOTER
============================================ */
.footer {
    background: var(--primary-dark-blue);
    color: var(--accent-white);
    padding: 80px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-gold);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-gold);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--accent-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-logo-tamil {
    font-family: var(--font-tamil);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-description {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    word-wrap: break-word;
}

.footer-contact i {
    color: var(--secondary-gold);
    margin-right: 10px;
    margin-top: 5px;
    flex-shrink: 0;
}

.footer-contact div {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.developer-name {
    color: var(--secondary-gold);
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

/* ============================================
   RESPONSIVE STYLES
============================================ */

/* Large Desktop (1400px and above) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .section-title h2 {
        font-size: 3rem;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Tablet and smaller desktop */
@media (max-width: 1024px) {
    .logo-image {
        height: 60px;
        max-width: 180px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-tamil {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
    }
    
    .contact-icon-wrapper {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .form-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .preview-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .preview-image {
        order: -1;
    }
    
    .preview-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .preview-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .hero-product-image {
        max-width: 250px;
        height: 350px;
    }
    
    .hero-product-image:nth-child(2) {
        margin-left: -60px;
    }
    
    .category-image-wrapper {
        /* Increased height to prevent design collapse */
        height: 240px;
        /* No padding - image fills completely */
        padding: 0;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-image {
        height: 280px;
    }
    
    .product-slide {
        min-height: 450px;
    }
    
    .product-info {
        padding: 1.75rem;
    }
    
    .swiper {
        padding: 15px 0 35px;
    }
    
    .section-padding {
        padding: 60px 20px;
    }
    
    .footer {
        padding: 60px 0 25px;
    }
    
    .header {
        padding: 18px 0;
    }
}

/* Medium tablets (769px - 900px) */
@media (max-width: 900px) and (min-width: 769px) {
    .hero-container {
        gap: 3rem;
    }
    
    .about-container {
        gap: 3rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    /* Tablet - 2 columns with proper spacing */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .category-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile and Tablet (max-width: 768px) */
@media (max-width: 768px) {
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-tamil {
        font-size: 1.3rem;
    }
    
    .hero-image {
        justify-content: center;
        margin-top: 2rem;
    }
    
    .hero-product-image {
        max-width: 200px;
        height: 280px;
    }
    
    .hero-product-image:nth-child(2) {
        margin-left: -40px;
        transform: rotate(5deg) translateY(20px);
    }
    
    .category-image-wrapper {
        /* Increased height to prevent design collapse */
        height: 270px;
        /* No padding - image fills completely */
        padding: 0;
    }
    
    .category-card {
        /* Increased min-height to accommodate larger image area */
        min-height: 500px;
    }
    
    .category-card-content {
        padding: 1.5rem;
        min-height: 150px;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 65px;
        right: -100%;
        width: 280px;
        max-width: 75%;
        height: calc(100vh - 65px);
        background: var(--primary-dark-blue);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: var(--transition-medium);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Mobile menu backdrop overlay */
    .nav-menu-backdrop {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 65px);
        background: rgba(0, 0, 0, 0.6);
        z-index: 998;
        animation: fadeIn 0.3s ease;
    }
    
    .nav-menu-backdrop.active {
        display: block;
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
    }
    
    .nav-item {
        width: 100%;
        padding: 0.85rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.5rem 0;
        display: block;
    }
    
    .nav-actions {
        flex-direction: column;
        margin-left: 0;
        margin-top: 1.5rem;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .nav-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .enquiry-btn {
        width: 100%;
        padding: 12px 20px;
        text-align: center;
        font-size: 0.95rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .cta-tamil {
        font-size: 2rem;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .trust-icon {
        font-size: 2rem;
    }
    
    .trust-number {
        font-size: 2.5rem;
    }
    
    .trust-text {
        font-size: 1rem;
    }
    
    .trust-icon-number {
        gap: 0.75rem;
    }
    
    .categories-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        margin: 0 auto;
    }
    
    .about-actions {
        flex-direction: column;
    }
    
    .about-actions .btn {
        width: 100%;
    }
    
    .about-badge {
        bottom: 10px;
        right: 10px;
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .feature-icon-bg {
        width: 70px;
        height: 70px;
    }
    
    .contact-action-buttons {
        gap: 0.85rem;
    }
    
    .contact-action-btn {
        width: 100%;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .header.scrolled {
        padding: 10px 0;
    }
    
    .nav-menu {
        top: 65px;
        height: calc(100vh - 65px);
    }
    
    .hamburger {
        font-size: 1.6rem;
        padding: 5px;
    }
    
    .swiper-pagination {
        bottom: 10px;
    }
    
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    .section-padding {
        padding: 60px 15px;
    }
    
    .about-brand,
    .product-categories,
    .why-choose-us,
    .featured-products,
    .contact-form-section {
        padding: 60px 15px;
    }
    
    .category-card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .product-info {
        padding: 1.2rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px;
    }
    
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .contact-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-info .contact-header p {
        font-size: 0.9rem;
    }
    
    .contact-cards {
        gap: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-card {
        padding: 1rem;
    }
    
    .contact-card-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.3rem;
    }
    
    .contact-card-content h4 {
        font-size: 0.95rem;
    }
    
    .contact-card-content p,
    .contact-card-content a {
        font-size: 0.85rem;
    }
    
    .form-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .form-icon-wrapper {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-form .form-header p {
        font-size: 0.85rem;
    }
    
    .cta-section {
        padding: 80px 15px;
    }
    
    .customer-trust {
        padding: 60px 15px;
    }
    
    .section-preview {
        padding: 60px 15px;
    }
    
    /* Preview Categories - Mobile Optimized */
    .preview-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 auto 2rem;
    }
    
    .preview-category-card {
        width: 90%;
        max-width: 90%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    .preview-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .preview-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Mobile Landscape (577px - 768px) - Tablet Portrait */
@media (max-width: 768px) and (min-width: 577px) {
    .hero-product-image {
        max-width: 180px;
        height: 260px;
    }
    
    .hero-product-image:nth-child(2) {
        margin-left: -35px;
    }
    
    /* Product Cards - Tablet Portrait */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .category-card {
        width: 100%;
        max-width: 100%;
        /* Increased min-height to accommodate larger image area */
        min-height: 440px;
        margin: 0;
    }
    
    .category-image-wrapper {
        /* Increased height to prevent design collapse */
        height: 240px;
        /* No padding - image fills completely */
        padding: 0;
    }
    
    .category-card-content {
        padding: 1.25rem;
        min-height: 140px;
    }
    
    /* Preview Categories - Tablet */
    .preview-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .preview-category-card {
        width: 100%;
        max-width: 100%;
    }
}

/* Mobile Portrait (max-width: 576px) */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    /* Prevent horizontal scroll on mobile */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .header-container {
        padding: 0 12px;
    }
    
    .logo-image {
        height: 50px;
        max-width: 150px;
    }
    
    .hero {
        padding: 120px 0 50px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 0 8px;
    }
    
    .hero-content h1 {
        font-size: 1.85rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-tamil {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .hero-image {
        margin-top: 2rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-product-image {
        max-width: 150px;
        height: 220px;
    }
    
    .hero-product-image:nth-child(2) {
        margin-left: -30px;
        transform: rotate(5deg) translateY(15px);
    }
    
    /* Product Card - Mobile Optimized */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0 auto;
    }
    
    .category-card {
        width: 90%;
        max-width: 90%;
        /* Increased min-height to accommodate larger image area */
        min-height: 420px;
        margin: 0 auto 1.5rem;
        box-sizing: border-box;
    }
    
    .category-image-wrapper {
        /* Increased height to prevent design collapse */
        height: 240px;
        margin-bottom: 0;
        /* No padding - image fills completely */
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .category-card-content {
        padding: 1.25rem;
        min-height: 130px;
    }
    
    .category-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .category-card p {
        font-size: 0.85rem;
        margin-bottom: 0.85rem;
        line-height: 1.5;
    }
    
    .category-card .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .product-image {
        height: 240px;
    }
    
    .product-slide {
        min-height: 420px;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .product-info h3 {
        font-size: 1.15rem;
        margin-bottom: 0.4rem;
    }
    
    .product-size {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .product-info p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        line-height: 1.5;
    }
    
    .product-info .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
        padding: 0 8px;
    }
    
    .section-title h2 {
        font-size: 1.65rem;
        padding-bottom: 8px;
    }
    
    .section-title h2::after {
        width: 50px;
        height: 2px;
    }
    
    .section-title .tamil-subtitle {
        font-size: 1rem;
        margin-top: 0.25rem;
    }
    
    .cta-tamil {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
    }
    
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 8px;
    }
    
    .trust-item {
        padding: 1rem 0.5rem;
    }
    
    .trust-icon-number {
        gap: 0.5rem;
        margin-bottom: 0.3rem;
    }
    
    .trust-icon {
        font-size: 1.5rem;
    }
    
    .trust-number {
        font-size: 1.8rem;
    }
    
    .trust-text {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-top: 0.3rem;
    }
    
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-logo-tamil {
        font-size: 1rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
    }
    
    .footer-links li {
        margin-bottom: 0.6rem;
    }
    
    .footer-contact li {
        margin-bottom: 1rem;
        justify-content: center;
        text-align: center;
    }
    
    .footer-contact div {
        text-align: center;
    }
    
    .floating-buttons {
        bottom: 12px;
        right: 12px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .contact-cards {
        gap: 0.75rem;
    }
    
    .contact-card {
        padding: 0.9rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-card-icon {
        margin: 0 auto;
    }
    
    .contact-card-content {
        text-align: center;
    }
    
    .contact-action-buttons {
        gap: 0.85rem;
    }
    
    .contact-action-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .form-group textarea {
        min-height: 120px;
    }
    
    .form-submit-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 50px 15px;
    }
    
    .about-brand,
    .product-categories,
    .why-choose-us,
    .featured-products,
    .contact-form-section {
        padding: 40px 12px;
    }
    
    .about-container,
    .contact-container {
        gap: 2rem;
    }
    
    .category-card,
    .feature-card {
        padding: 1.2rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
        display: none;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }
    
    .contact-form,
    .contact-info {
        padding: 1.2rem;
    }
    
    .cta-section {
        padding: 50px 12px;
    }
    
    .cta-tamil {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .cta-description {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .customer-trust {
        padding: 40px 12px;
    }
    
    .footer {
        padding: 40px 12px 20px;
    }
    
    .footer-container {
        gap: 1.5rem;
    }
}

/* Extra small devices (320px and below) */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .logo-image {
        height: 45px;
        max-width: 130px;
    }
    
    .hero-content h1 {
        font-size: 1.6rem;
    }
    
    .hero-tamil {
        font-size: 1rem;
    }
    
    .hero-product-image {
        max-width: 120px;
        height: 180px;
    }
    
    .hero-product-image:nth-child(2) {
        margin-left: -20px;
    }
    
    .category-image-wrapper {
        /* Increased height to prevent design collapse */
        height: 180px;
        /* No padding - image fills completely */
        padding: 0;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-slide {
        min-height: 380px;
    }
    
    .product-info {
        padding: 1.25rem;
    }
    
    .section-padding {
        padding: 40px 10px;
    }
    
    .about-brand,
    .product-categories,
    .why-choose-us,
    .featured-products,
    .contact-form-section,
    .section-preview {
        padding: 40px 10px;
    }
    
    .category-card,
    .feature-card,
    .stat-item,
    .preview-category-card,
    .preview-feature-card {
        padding: 1rem;
    }
    
    .preview-category-card .category-image-wrapper {
        /* Increased height to prevent design collapse */
        height: 200px;
        /* No padding - image fills completely */
        padding: 0;
    }
    
    .preview-feature-card .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .preview-category-card h3,
    .preview-feature-card h3 {
        font-size: 1rem;
    }
    
    .preview-category-card p,
    .preview-feature-card p {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .see-more-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 1rem;
    }
    
    .cta-section {
        padding: 50px 10px;
    }
    
    .customer-trust {
        padding: 40px 10px;
    }
    
    .section-preview {
        padding: 40px 10px;
    }
    
    .preview-category-card .category-image-wrapper {
        /* Increased height to prevent design collapse */
        height: 200px;
        /* No padding - image fills completely */
        padding: 0;
    }
    
    .preview-feature-card {
        padding: 1.5rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-container {
        gap: 1rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .trust-number {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .cta-tamil {
        font-size: 1.2rem;
    }
    
    .floating-buttons {
        bottom: 10px;
        right: 10px;
    }
    
    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ============================================
   PAGE TRANSITION ANIMATIONS
============================================ */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-dark-blue);
    z-index: 9998;
    transform: translateY(100%);
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   GALLERY PAGE STYLES
============================================ */
.gallery-section {
    background: var(--primary-dark-blue);
    min-height: 100vh;
    padding-bottom: 80px;
}

.gallery-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(245, 179, 1, 0.2);
    transition: var(--transition-fast);
}

.gallery-item:hover {
    border-color: var(--secondary-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(245, 179, 1, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--secondary-gold);
}

.gallery-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(245, 179, 1, 0.1) 0%, rgba(245, 179, 1, 0.05) 100%);
    border-radius: var(--border-radius);
    border: 2px solid rgba(245, 179, 1, 0.3);
}

.gallery-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition-fast);
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--secondary-gold);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(245, 179, 1, 0.2);
    border: 2px solid var(--secondary-gold);
    color: var(--secondary-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10001;
}

.lightbox-nav:hover {
    background: var(--secondary-gold);
    color: var(--primary-dark-blue);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-nav i {
    font-size: 1.2rem;
}

/* Gallery Responsive Styles */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-description {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-overlay i {
        font-size: 2rem;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 2.5rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .gallery-cta {
        padding: 2rem 1.5rem;
    }

    .gallery-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        border-radius: 8px;
    }

    .lightbox-nav {
        width: 35px;
        height: 35px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* Clickable Category Cards */
.preview-category-card,
.category-card {
    cursor: pointer;
    transition: var(--transition-fast);
}

.preview-category-card:hover,
.category-card:hover {
    transform: translateY(-10px);
}

