.fa-phone-flip {
    display: inline-block;
    transform: scaleX(-1);
}

:root {
    --primary-color: #0a2c5a; /* Dark Blue */
    --secondary-color: #ffc107; /* Yellow */
    --accent-color: #ff6b35; /* Orange accent for animations */
    --light-color: #f8f9fa;
    --dark-color: #222;
    --gray-color: #6c757d;
    --light-gray: #f1f1f1;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 5px 15px rgba(10, 44, 90, 0.1);
}

h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
}

/* Center all section headers by default */
section h2,
.section-padding h2,
section > .container > h2,
.section-padding > .container > h2,
section .container h2:not(.no-center),
.section-padding .container h2:not(.no-center) {
    display: block;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Exception for headers that shouldn't be centered (like in cards, forms, etc.) */
.footer-col h2,
.footer-col h3,
.modern-card h2,
.modern-card h3,
.service-card h2,
.service-card h3,
.feature-card h2,
.feature-card h3,
.medal-info h2,
.medal-info h3,
.contact-info-card h2,
.contact-info-card h3,
.form-header h2 {
    display: inline-block;
    text-align: left;
    width: auto;
}

h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 3px;
    transform-origin: left;
    animation: expandLine 1s 0.5s forwards;
    transform: scaleX(0);
}

/* Center underline for section headers */
section h2:after,
.section-padding h2:after,
section > .container > h2:after,
.section-padding > .container > h2:after,
section .container h2:not(.no-center):after,
.section-padding .container h2:not(.no-center):after {
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    animation: expandLineCenter 1s 0.5s forwards;
    width: 100px;
}

@keyframes expandLine {
    to { transform: scaleX(1); }
}

p {
    margin-bottom: 1.2rem;
    color: var(--gray-color);
    font-size: 1.05rem;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 4rem 0;
}

.text-center {
    text-align: center;
}

.text-center h2:after {
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    animation: expandLineCenter 1s 0.5s forwards;
}

/* Ensure text-center class centers h2 */
.text-center h2 {
    display: block;
    text-align: center;
    width: 100%;
}

@keyframes expandLineCenter {
    to { transform: translateX(-50%) scaleX(1); }
}

/* Animated Background Elements */
.animated-bg {
    position: absolute;
    z-index: -1;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Button Styles with Animation */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
    flex-wrap: nowrap;
}

/* Button icon alignment */
.btn i {
    flex-shrink: 0;
    font-size: 0.95em;
    line-height: 1;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #ffb300);
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-color), #08306b);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(10, 44, 90, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(10, 44, 90, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

/* Header with Animation */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
}

.logo:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.logo:hover:after {
    width: 100%;
}

.logo i {
    color: var(--secondary-color);
    margin-right: 0.7rem;
    font-size: 2.2rem;
    animation: spinLogo 20s linear infinite;
}

@keyframes spinLogo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo span {
    color: var(--secondary-color);
    position: relative;
}

.logo span:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.logo:hover span:after {
    transform: scaleX(1);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2.5rem;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.nav-menu a:hover:after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-menu a.active:after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--secondary-color), #ffb300);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4), 0 0 0 0 rgba(255, 193, 7, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: menuPulse 2s infinite;
}

@keyframes menuPulse {
    0%, 100% {
        box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4), 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    50% {
        box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4), 0 0 0 10px rgba(255, 193, 7, 0);
    }
}

.mobile-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.6);
    animation: none;
}

.mobile-toggle:active {
    transform: scale(0.95);
}

/* Animated Hamburger Icon */
.mobile-toggle i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-toggle.active {
    background: linear-gradient(135deg, #ff6b35, #ff3d00);
    border-color: rgba(255, 255, 255, 0.3);
    animation: none;
}

.mobile-toggle.active i::before {
    content: '\f00d';
}

/* Cart Icon */
.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-left: 1rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.cart-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
}

/* Hero Section with Particles */
.hero {
    margin-top: 0;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background: transparent;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 5;
    max-width: 90%;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.slide-content h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 2rem;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    font-weight: 800;
}

.slide-content .highlight {
    color: var(--secondary-color);
    display: inline-block;
}

.slide-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--secondary-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
    text-transform: capitalize;
}

.slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 193, 7, 0.6);
    background: #ffb300;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.dot.active {
    background: var(--secondary-color);
    border-color: var(--white);
    width: 14px;
    height: 14px;
}

/* Why Choose Us Section */
.why-us {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

/* Why Choose Us - 4 equal columns on desktop */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    z-index: 2;
}

.feature-card:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), #08306b);
    transition: height 0.5s ease;
    z-index: -1;
    border-radius: 15px;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover:after {
    height: 100%;
}

.feature-card:hover .feature-icon,
.feature-card:hover h3,
.feature-card:hover p {
    color: var(--white);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.feature-icon:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.feature-card h3 {
    font-size: 1.6rem;
    transition: var(--transition);
}

.feature-card p {
    transition: var(--transition);
}

/* Services Section with Hover Effects */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    height: 280px;
    background: #f8f9fa;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    padding: 1rem;
    box-sizing: border-box;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

.service-card:hover .service-icon img {
    transform: scale(1.05);
}

.service-icon:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
}

.service-card:hover .service-icon:after {
    animation: shine 1.5s ease;
}

@keyframes shine {
    100% { transform: translateX(100%); }
}

.service-content {
    padding: 2rem;
    position: relative;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-content p {
    margin-bottom: 1.5rem;
}

/* Projects Gallery with Hover Effects */
.projects {
    background-color: var(--light-gray);
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.project-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary-color), #08306b);
}

.project-item:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.project-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.project-item:hover img {
    transform: scale(1.2);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(10, 44, 90, 0.95));
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.5s 0.2s;
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.5s 0.3s;
}

.project-item:hover .project-overlay h3,
.project-item:hover .project-overlay p {
    transform: translateY(0);
}

/* Trust Indicators with Counter Animation */
.trust-indicators {
    background: linear-gradient(135deg, var(--primary-color), #08306b);
    color: var(--white);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.indicators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    text-align: center;
}

.indicator-item {
    position: relative;
    z-index: 1;
}

.indicator-item h3 {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.indicator-item p {
    color: var(--white);
    font-weight: 500;
    font-size: 1.2rem;
}

/* Quick Contact Strip */
.quick-contact {
    background: linear-gradient(90deg, var(--primary-color), #08306b);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.quick-contact .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.quick-contact h3 {
    color: var(--white);
    margin-bottom: 0;
    font-size: 1.8rem;
}

.quick-contact-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Work Samples Info Section */
.work-samples-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, #061e3e 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.work-samples-info h2 {
    color: var(--secondary-color);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.work-samples-info h2:after {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.work-samples-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.work-samples-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.work-samples-content strong {
    color: #fff;
    font-weight: 600;
}

.work-samples-content .tamil-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 2;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* SEO Content Section */
.seo-content-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #061e3e 100%);
    padding: 3rem 0;
}

.seo-title {
    color: var(--secondary-color) !important;
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.seo-title:after {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color)) !important;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 2rem;
}

.seo-item h3 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.seo-item p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    line-height: 1.65;
}

.seo-item strong {
    color: rgba(255, 255, 255, 0.9);
}

.seo-item-full {
    grid-column: 1 / -1;
}

.seo-tamil {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.seo-tamil h3 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.seo-tamil p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.82rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Modern Contact Page Styles */

/* Map Section */
.map-section {
    padding: 2.5rem 0;
    background: var(--light-gray);
}

.map-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    display: block;
}

.map-address-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #08306b);
    border-radius: 12px;
    color: var(--white);
}

.map-address-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.map-address-text {
    flex: 1;
}

.map-address-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.map-address-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
}

.map-dir-btn {
    white-space: nowrap;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #08306b 100%);
    color: var(--white);
    padding: 6rem 0 3rem;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}

.products-filter-section {
    padding: 3rem 0;
}

.products-filter-section .categories-showcase-inline {
    margin-top: 3rem;
}

.products-grid-section {
    padding: 3rem 0 4rem;
    background: linear-gradient(to bottom, var(--white), var(--light-gray));
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--white), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-item i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.stat-item span {
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation-delay: -10s;
}

/* Contact Info Strip */
.contact-strip {
    background: var(--white);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
    position: relative;
}

.strip-item:hover {
    background: var(--light-gray);
}

.strip-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.strip-text {
    flex: 1;
    min-width: 0;
}

.strip-text strong {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.strip-text span {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767px) {
    .strip-text span {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        word-break: break-word;
    }
}

.strip-arrow {
    font-size: 0.7rem;
    color: var(--gray-color);
    opacity: 0.5;
}

/* Contact Section Layout */
.contact-section {
    background: linear-gradient(to bottom, var(--light-gray), var(--white));
    position: relative;
}

/* Form Badge */
.form-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.1);
    color: var(--secondary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    text-align: center;
}

/* Store Hours Card */
.store-hours-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #08306b 100%);
    border-radius: 15px;
    padding: 1.2rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.store-hours-card::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.store-hours-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.store-hours-card h3 i {
    color: var(--secondary-color);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.8rem;
    margin-bottom: 0.5rem;
    border-left: 3px solid var(--secondary-color);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 0 8px 8px 0;
}

.hours-row span {
    font-size: 0.9rem;
}

.hours-row strong {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.walkin-note {
    margin-top: 0.8rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
}

.walkin-note i {
    color: #25D366;
    margin-right: 0.3rem;
}

/* What We Offer Card */
.offer-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.offer-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offer-card h3 i {
    color: var(--secondary-color);
}

.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.offer-grid p {
    font-size: 0.88rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
}

.offer-grid p i {
    color: #25D366;
    font-size: 0.75rem;
}

.offer-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.offer-link:hover {
    color: var(--secondary-color);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Modern Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.form-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.form-header h2 i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.form-header p {
    color: var(--gray-color);
    font-size: 1rem;
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modern-form-group {
    position: relative;
    margin-bottom: 0;
}

.modern-form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.modern-form-group label i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.modern-form-group input,
.modern-form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark-color);
}

.modern-form-group input:focus,
.modern-form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.1);
    transform: translateY(-2px);
}

.modern-form-group input::placeholder,
.modern-form-group textarea::placeholder {
    color: rgba(108, 117, 125, 0.5);
}

.modern-form-group textarea {
    min-height: 120px;
    resize: vertical;
    font-family: 'Poppins', sans-serif;
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 1.2rem;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.modern-form-group input:focus ~ .form-line,
.modern-form-group textarea:focus ~ .form-line {
    width: calc(100% - 2.4rem);
}

.modern-submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
}

.modern-submit-btn i {
    transition: transform 0.3s ease;
}

.modern-submit-btn:hover i {
    transform: translateX(5px);
}

/* Contact Info Cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.contact-info-wrapper .offer-card {
    flex: 1;
}

.modern-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(10, 44, 90, 0.05);
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.modern-card:hover::before {
    transform: scaleX(1);
}

.modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-icon-wrapper {
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), #ffb300);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
    transition: var(--transition);
}

.modern-card:hover .card-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(255, 193, 7, 0.4);
}

.modern-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-detail {
    color: var(--gray-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.contact-hours {
    color: var(--gray-color);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.card-link:hover {
    color: var(--secondary-color);
    gap: 0.8rem;
}

.card-link:hover::after {
    width: 100%;
}

/* Quick Contact Modern */
.quick-contact-modern {
    background: linear-gradient(135deg, var(--primary-color), #08306b);
    padding: 4rem 0;
    border-radius: 20px;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.quick-contact-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1), transparent);
    border-radius: 50%;
}

.quick-contact-modern h3 {
    text-align: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.quick-contact-btns-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.quick-action-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.quick-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.quick-action-btn:hover::before {
    left: 100%;
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.action-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.phone-icon {
    background: linear-gradient(135deg, var(--secondary-color), #ffb300);
    color: var(--primary-color);
}

.whatsapp-icon {
    background: linear-gradient(135deg, #25D366, #1da851);
    color: var(--white);
}

.email-icon {
    background: linear-gradient(135deg, var(--secondary-color), #ffb300);
    color: var(--primary-color);
}

.quick-action-btn:hover .action-icon {
    transform: rotate(5deg) scale(1.1);
}

.action-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.action-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.action-value {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Form Styles (Legacy - keeping for compatibility) */
.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
/* Clean Professional Footer Design */
footer {
    background: linear-gradient(180deg, #051a38 0%, #0a2854 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        var(--secondary-color) 0%,
        var(--accent-color) 50%,
        var(--secondary-color) 100%);
}

footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.footer-col {
    position: relative;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.footer-col a i.fa-chevron-right {
    font-size: 0.65rem;
    margin-right: 0.3rem;
    color: var(--secondary-color);
}

.footer-col a {
    text-decoration: none;
    display: block;
    transition: all 0.25s ease;
    padding: 0.35rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--secondary-color);
    padding-left: 0.5rem;
}

/* Social Icons - Clean Style */
.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 0;
}

.social-icons a:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

/* Colored Social Icons */
.social-icons a.social-fb {
    background: #1877f2;
    color: #fff;
}
.social-icons a.social-insta {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}
.social-icons a.social-google {
    background: #ea4335;
    color: #fff;
}

/* Footer Badges */
.footer-badges {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.35rem 0.7rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}
.footer-badge i {
    color: var(--secondary-color);
    font-size: 0.7rem;
}

/* Footer Bottom - Clean Style */
.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* Contact Info Icons */
.footer-col p i {
    color: var(--secondary-color);
    margin-right: 0.6rem;
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom p + p {
    margin-top: 0.3rem;
}

/* ========== Floating Action Buttons ========== */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 9999;
}

.floating-buttons a {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Call Button */
.call-float {
    background: linear-gradient(135deg, #0a2c5a, #1a5276);
    box-shadow: 0 4px 15px rgba(10, 44, 90, 0.4);
    animation: callPulse 2s infinite;
}

/* WhatsApp Button */
.whatsapp-float {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    animation: waPulse 2s infinite;
}

/* Hover Effects */
.call-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 25px rgba(10, 44, 90, 0.6);
    animation: none;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    animation: none;
}

/* Pulse Animations */
@keyframes callPulse {
    0% { box-shadow: 0 4px 15px rgba(10, 44, 90, 0.4), 0 0 0 0 rgba(10, 44, 90, 0.5); }
    70% { box-shadow: 0 4px 15px rgba(10, 44, 90, 0.4), 0 0 0 12px rgba(10, 44, 90, 0); }
    100% { box-shadow: 0 4px 15px rgba(10, 44, 90, 0.4), 0 0 0 0 rgba(10, 44, 90, 0); }
}

@keyframes waPulse {
    0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    z-index: 1001;
    transition: width 0.1s ease;
}

/* Modern Responsive Design */
/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) and (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    h1 { 
        font-size: clamp(2.5rem, 5vw, 3rem); 
    }
    h2 {
        font-size: clamp(2rem, 4vw, 2.4rem);
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    /* Why Choose Us - 4 columns on tablet landscape */
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    h1 { 
        font-size: clamp(2.2rem, 5vw, 2.6rem); 
    }
    h2 { 
        font-size: clamp(1.9rem, 4vw, 2.2rem); 
    }
    
    .hero {
        margin-top: 0;
        padding-top: 80px;
        height: 80vh;
        min-height: 500px;
    }

    .section-padding { 
        padding: clamp(3rem, 8vw, 4rem) 0; 
    }
    
    .container {
        padding: 0 clamp(1.5rem, 4vw, 2rem);
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    /* Why Choose Us - 2x2 grid on tablet */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .header-container {
        padding: 1rem clamp(1rem, 3vw, 2rem);
    }
    
    .logo {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .quick-contact .container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .quick-contact h3 {
        font-size: clamp(1.4rem, 3vw, 1.8rem);
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Premium Mobile Design with High-Level Graphics */
/* Mobile Landscape & Small Tablet (576px - 767px) */
@media (max-width: 767px) {
    /* Enhanced Mobile Header */
    header {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.95));
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
        border-bottom: 2px solid rgba(255, 193, 7, 0.4);
    }

    .header-container {
        padding: 0.6rem 1rem;
        min-height: 56px;
        align-items: center;
        gap: 0.4rem;
    }
    
    .logo {
        font-size: 1.6rem;
        position: relative;
    }
    
    .logo::after {
        display: none;
    }
    
    /* Logo image size on mobile */
    .header-container .logo img {
        height: 36px !important;
        width: auto !important;
    }

    /* Logo image size on mobile */
    .header-container .logo img {
        height: 36px !important;
        width: auto !important;
    }

    .mobile-toggle {
        display: flex !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        font-size: 0.85rem !important;
        background: linear-gradient(135deg, var(--secondary-color), #ffb300);
        box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px !important;
        position: relative;
        overflow: hidden;
        order: 3;
        animation: none !important;
    }
    
    .mobile-toggle::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }
    
    .mobile-toggle:active::before {
        width: 300px;
        height: 300px;
    }
    
    .mobile-toggle:hover {
        transform: rotate(90deg) scale(1.05);
        box-shadow: 0 12px 30px rgba(255, 193, 7, 0.5);
    }

    /* Cart Icon Mobile - Fully Visible */
    .cart-icon {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        font-size: 0.85rem !important;
        margin-left: auto !important;
        margin-right: 0.4rem !important;
        flex-shrink: 0;
        z-index: 1001;
        position: relative;
        align-items: center;
        justify-content: center;
    }

    .cart-count {
        top: -3px;
        right: -3px;
        min-width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }

    /* Header Container Mobile Layout */
    .header-container {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0;
    }

    .header-container .logo {
        flex: 0 0 auto;
    }

    .header-container .cart-icon {
        margin-left: auto;
        margin-right: 0.5rem;
        order: 2;
    }

    .header-container .mobile-toggle {
        flex: 0 0 auto;
        order: 3;
    }

    /* Premium Mobile Navigation */
    .nav-menu {
        position: fixed !important;
        top: 60px !important;
        right: 0 !important;
        left: auto !important;
        width: 50% !important;
        max-width: 220px !important;
        height: calc(100vh - 60px) !important;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        text-align: left;
        transition: transform 0.4s ease,
                    opacity 0.3s ease;
        padding: 1rem 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.25) !important;
        z-index: 999;
        overflow-y: auto;
        transform: translateX(100%);
        will-change: transform;
        opacity: 0;
        border-left: 3px solid var(--secondary-color);
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 20% 30%, rgba(255, 193, 7, 0.05) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(10, 44, 90, 0.05) 0%, transparent 50%);
        pointer-events: none;
        z-index: -1;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 0;
        width: 100%;
        border-bottom: 1px solid rgba(10, 44, 90, 0.08);
        position: relative;
        overflow: hidden;
    }
    
    .nav-menu li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(180deg, var(--secondary-color), var(--accent-color));
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform 0.3s ease;
    }
    
    .nav-menu li:hover::before,
    .nav-menu li.active::before {
        transform: scaleY(1);
    }
    
    .nav-menu a {
        display: flex;
        align-items: center;
        padding: 1rem 1.2rem;
        font-size: 0.9rem;
        font-weight: 600;
        white-space: nowrap;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        color: var(--primary-color);
    }
    
    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(90deg, 
            rgba(255, 193, 7, 0.15) 0%, 
            rgba(255, 193, 7, 0.05) 100%);
        transition: width 0.4s ease;
        z-index: -1;
    }
    
    .nav-menu a:hover::before,
    .nav-menu a.active::before {
        width: 100%;
    }
    
    .nav-menu a:hover {
        padding-left: 3rem;
        color: var(--secondary-color);
        transform: translateX(5px);
    }
    
    .nav-menu a.active {
        color: var(--secondary-color);
        font-weight: 700;
    }
    
    .nav-menu a:after {
        display: none;
    }
    
    h1 { 
        font-size: clamp(2rem, 6vw, 2.2rem);
        line-height: 1.2;
    }
    
    h2 { 
        font-size: clamp(1.8rem, 5vw, 1.9rem);
    }
    
    /* Ensure section headers stay centered on mobile */
    section h2,
    .section-padding h2,
    section > .container > h2,
    .section-padding > .container > h2 {
        text-align: center;
        display: block;
        width: 100%;
    }
    
    section h2:after,
    .section-padding h2:after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }
    
    /* Mobile Hero Section - margin-top pushes below fixed header, no inner gap */
    .hero {
        margin-top: 60px;
        padding-top: 0;
        height: auto;
        min-height: unset;
        aspect-ratio: 16 / 9;
    }

    .banner-slider {
        position: relative;
        height: 100%;
    }

    .slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .slide-content {
        max-width: 95%;
        padding: 0 0.5rem;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .slider-btn.prev {
        left: 6px;
    }

    .slider-btn.next {
        right: 6px;
    }

    .slider-dots {
        bottom: 10px;
        gap: 6px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .dot.active {
        width: 10px;
        height: 10px;
    }

    .slide-content h1 {
        font-size: clamp(1.2rem, 5vw, 2rem);
        margin-bottom: 0.8rem;
        text-shadow: 1px 2px 8px rgba(0, 0, 0, 0.7);
    }

    .slide-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 clamp(1rem, 4vw, 1.5rem);
    }
    
    .section-padding { 
        padding: clamp(2.5rem, 6vw, 3rem) 0; 
    }
    
    /* Section titles - smaller text on mobile */
    .section-padding h2.text-center,
    .why-us h2,
    .projects h2 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .section-padding > .container > p.text-center,
    .why-us > .container > p,
    .projects > .container > p {
        font-size: 0.8rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }

    /* Services & Why Choose Us - 2 boxes per row on mobile */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .feature-card {
        padding: 1.2rem 0.8rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .feature-icon {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
        display: block;
        width: 100%;
        text-align: center;
    }

    .feature-icon i {
        display: inline-block;
    }

    .feature-icon:after {
        width: 45px;
        height: 45px;
    }

    .feature-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
        text-align: center;
        width: 100%;
    }

    .feature-card p {
        font-size: 0.7rem;
        line-height: 1.45;
        text-align: center;
        width: 100%;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-item {
        height: 250px;
    }
    
    /* Clean Professional Mobile Footer */
    footer {
        padding: 1rem 0 0.5rem;
    }

    /* 2x2 grid - halves scroll length */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem 0.5rem;
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .footer-col {
        text-align: left;
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .footer-col h3 {
        font-size: 0.72rem;
        margin-bottom: 0.3rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--secondary-color);
    }

    .footer-col h3::after {
        display: none;
    }

    .footer-icon {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
        margin-right: 0.4rem;
    }

    .footer-badges {
        gap: 0.4rem;
        margin-top: 0.5rem;
    }

    .footer-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }

    .footer-col a {
        display: block;
        padding: 0.08rem 0;
        font-size: 0.68rem;
        color: rgba(255, 255, 255, 0.75);
        line-height: 1.35;
    }

    .footer-col a:hover {
        padding-left: 0;
        color: var(--secondary-color);
    }

    /* Social Icons compact for 2-col footer */
    .social-icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.35rem;
        margin-top: 0.4rem;
    }

    .social-icons a {
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        font-size: 0.72rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        padding: 0;
        line-height: 1;
    }

    /* Footer Bottom */
    .footer-bottom {
        padding-top: 0.5rem;
        margin-top: 0.5rem;
    }

    .footer-bottom p {
        font-size: 0.65rem;
        color: rgba(255, 255, 255, 0.5);
    }

    /* Contact Info Column (3rd child) */
    .footer-col:nth-child(3) p {
        display: flex;
        align-items: flex-start;
        gap: 0.25rem;
        margin-bottom: 0.15rem;
        font-size: 0.65rem;
        color: rgba(255, 255, 255, 0.75);
    }

    .footer-col:nth-child(3) p i {
        color: var(--secondary-color);
        font-size: 0.65rem;
        width: 12px;
        min-width: 12px;
        margin-top: 0.15rem;
    }

    .footer-col p {
        font-size: 0.65rem;
        margin-bottom: 0.15rem;
        line-height: 1.35;
    }

    /* Contact Strip Mobile */
    .contact-strip,
    .contact-section,
    .map-section {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .contact-strip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .strip-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.9rem;
    }

    .strip-text {
        overflow: hidden;
    }

    .strip-text strong {
        font-size: 0.6rem;
    }

    .strip-text span {
        font-size: 0.7rem;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        word-break: break-word;
        line-height: 1.3;
    }

    .strip-arrow {
        display: none;
    }

    .strip-item {
        padding: 0.5rem 0.4rem;
        gap: 0.4rem;
        align-items: flex-start;
    }

    .strip-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.85rem;
        margin-top: 0.1rem;
    }

    /* Store Hours & Offer Mobile */
    .store-hours-card {
        padding: 1rem;
    }

    .store-hours-card h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .hours-row {
        padding: 0.5rem 0.6rem;
        margin-bottom: 0.3rem;
    }

    .hours-row span,
    .hours-row strong {
        font-size: 0.78rem;
    }

    .walkin-note {
        font-size: 0.72rem;
        padding: 0.4rem 0.6rem;
    }

    .offer-card {
        padding: 1rem;
    }

    .offer-card h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }

    .offer-grid p {
        font-size: 0.78rem;
    }

    .offer-link {
        font-size: 0.78rem;
    }

    .form-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }

    /* Map Section Mobile */
    .map-section {
        padding: 1.5rem 0;
    }

    .map-section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .map-section .text-center {
        font-size: 0.78rem;
        margin-bottom: 0.8rem !important;
    }

    .map-wrapper iframe {
        height: 200px;
    }

    .map-address-bar {
        flex-wrap: wrap;
        padding: 0.8rem;
        gap: 0.6rem;
        margin-top: 0.6rem;
    }

    .map-address-icon {
        width: 35px;
        height: 35px;
        min-width: 35px;
        font-size: 0.9rem;
    }

    .map-address-text strong {
        font-size: 0.8rem;
    }

    .map-address-text span {
        font-size: 0.7rem;
    }

    .map-dir-btn {
        padding: 0.4rem 1rem;
        font-size: 0.72rem;
        width: 100%;
        text-align: center;
    }

    .trust-indicators {
        padding: 1.5rem 0;
    }

    .indicators-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .indicator-item h3 {
        font-size: 1.5rem;
        margin-bottom: 0.2rem;
    }

    .indicator-item p {
        font-size: 0.7rem;
    }

    .work-samples-info {
        padding: 2rem 0;
    }

    .work-samples-info h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .work-samples-content p {
        font-size: 0.85rem;
        line-height: 1.7;
        margin-bottom: 0.8rem;
    }

    .work-samples-content .tamil-text {
        font-size: 0.8rem;
        line-height: 1.7;
        padding-top: 0.8rem;
    }

    .seo-content-section {
        padding: 2rem 0;
    }

    .seo-title {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    .seo-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .seo-item h3 {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    .seo-item p {
        font-size: 0.72rem;
        line-height: 1.5;
    }

    .seo-tamil {
        margin-top: 1rem;
        padding-top: 0.8rem;
    }

    .seo-tamil h3 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .seo-tamil p {
        font-size: 0.7rem;
        line-height: 1.6;
    }

    .quick-contact {
        padding: 2.5rem 0;
    }
    
    .quick-contact-btns {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .quick-contact-btns .btn {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    /* Premium Mobile Contact Page */
    .contact-hero {
        margin-top: 56px;
        padding: 2.5rem 0 2rem;
        min-height: auto;
        position: relative;
        overflow: hidden;
    }
    
    .contact-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 30% 20%, rgba(255, 193, 7, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 70% 80%, rgba(255, 107, 53, 0.15) 0%, transparent 50%);
        pointer-events: none;
    }
    
    .contact-hero-content {
        position: relative;
        z-index: 1;
    }

    .products-filter-section {
        padding: 1rem 0;
    }

    .products-filter-section .categories-showcase-inline {
        margin-top: 0.5rem;
    }

    .products-filter-section .all-products-wrapper {
        margin-bottom: 1rem;
    }

    .products-grid-section {
        padding: 0.5rem 0;
    }

    .products-grid-section .medals-gallery:empty,
    .products-grid-section .text-center {
        padding: 1rem !important;
    }

    .quick-contact {
        margin-top: 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .contact-form-wrapper {
        padding: 1.2rem;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(10, 44, 90, 0.08);
    }

    .form-header h2 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    .form-header p {
        font-size: 0.78rem;
        margin-bottom: 0.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .modern-form-group label {
        font-size: 0.78rem;
        margin-bottom: 0.2rem;
    }

    .modern-form-group input,
    .modern-form-group textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .modern-form-group textarea {
        min-height: 80px;
    }

    .form-group {
        margin-bottom: 0.5rem;
    }

    .modern-submit-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .contact-info-wrapper {
        gap: 0.6rem;
    }

    .store-hours-card {
        padding: 0.8rem;
        border-radius: 10px;
    }

    .store-hours-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .hours-row {
        padding: 0.4rem 0.5rem;
        margin-bottom: 0.3rem;
    }

    .hours-row span,
    .hours-row strong {
        font-size: 0.72rem;
    }

    .walkin-note {
        font-size: 0.68rem;
        padding: 0.3rem 0.5rem;
        margin-top: 0.4rem;
    }

    .offer-card {
        padding: 0.8rem;
        border-radius: 10px;
    }

    .offer-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .offer-grid {
        gap: 0.3rem;
    }

    .offer-grid p {
        font-size: 0.72rem;
    }

    .offer-link {
        font-size: 0.72rem;
        margin-top: 0.5rem;
    }

    .modern-card {
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .modern-card h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .contact-detail {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .contact-hours {
        font-size: 0.75rem;
    }

    .card-link {
        font-size: 0.8rem;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
    }

    .card-icon i {
        font-size: 1.2rem;
    }

    .quick-contact-btns-modern {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .quick-action-btn {
        padding: 0.8rem 1rem;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    .action-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        font-size: 1rem;
    }

    .action-label {
        font-size: 0.7rem;
    }

    .action-value {
        font-size: 0.8rem;
    }

    .quick-contact-modern h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .contact-hero-stats {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 1.2rem 2rem;
        border-radius: 60px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.2);
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 1rem;
    }
    
    /* Premium Mobile Cards */
    .service-card,
    .feature-card {
        padding: 0;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        background: #fff;
        border: 1px solid rgba(10, 44, 90, 0.08);
        position: relative;
        overflow: hidden;
        transform: translateY(0);
        transition: all 0.3s ease;
    }
    
    .service-card::before,
    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, 
            var(--secondary-color) 0%, 
            var(--accent-color) 50%,
            var(--secondary-color) 100%);
        background-size: 200% 100%;
        animation: shimmer 3s linear infinite;
    }
    
    @keyframes shimmer {
        0% { background-position: -200% 0; }
        100% { background-position: 200% 0; }
    }
    
    .service-card::after,
    .feature-card::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, 
            rgba(255, 193, 7, 0.1) 0%, 
            transparent 70%);
        opacity: 0;
        transition: opacity 0.4s ease;
    }
    
    .service-card:hover::after,
    .feature-card:hover::after {
        opacity: 1;
    }
    
    .service-card:active,
    .feature-card:active {
        transform: translateY(-8px) scale(0.98);
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.15),
            0 8px 20px rgba(0, 0, 0, 0.1);
    }
    
    .service-icon {
        height: 120px;
        font-size: 3rem;
        border-radius: 12px 12px 0 0;
        position: relative;
        overflow: hidden;
        padding: 0.3rem;
        box-sizing: border-box;
        background: #f8f9fa;
    }

    .service-icon img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    
    .service-icon::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.3), 
            transparent);
        animation: shine 3s infinite;
    }
    
    @keyframes shine {
        0% { left: -100%; }
        100% { left: 100%; }
    }
    
    .feature-icon {
        font-size: 3.5rem;
        position: relative;
    }
    
    .feature-icon::after {
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, 
            rgba(255, 193, 7, 0.2) 0%, 
            transparent 70%);
        animation: pulse 2s ease-in-out infinite;
    }
    
    @keyframes pulse {
        0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
        50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
    }
    
    /* Mobile Floating Buttons */
    .floating-buttons {
        bottom: 1.2rem;
        right: 1.2rem;
        gap: 12px;
    }

    .floating-buttons a {
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
    }
    
    .logo i {
        font-size: 1.8rem;
    }
}

/* Show/Hide Utilities for Mobile */
@media (max-width: 767px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}

/* Mobile Portrait (up to 575px) */
@media (max-width: 575px) {
    h1 { 
        font-size: clamp(1.8rem, 7vw, 2rem);
    }
    
    h2 { 
        font-size: clamp(1.6rem, 6vw, 1.8rem);
    }
    
    /* Ensure section headers stay centered on small mobile */
    section h2,
    .section-padding h2,
    section > .container > h2,
    .section-padding > .container > h2 {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    section h2:after,
    .section-padding h2:after {
        left: 50% !important;
        transform: translateX(-50%) scaleX(0) !important;
        width: 80px !important;
    }
    
    .hero {
        margin-top: 60px;
        padding-top: 0;
        height: auto;
        min-height: unset;
        aspect-ratio: 16 / 9;
    }

    .slide-content h1 {
        font-size: clamp(1rem, 4.5vw, 1.6rem);
        margin-bottom: 0.6rem;
    }

    .slide-btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.8rem;
    }

    .container {
        padding: 0 1rem;
    }
    
    .section-padding { 
        padding: clamp(2rem, 5vw, 2.5rem) 0; 
    }
    
    .indicators-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .indicator-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0.15rem;
    }

    .indicator-item p {
        font-size: 0.65rem;
    }

    .work-samples-info {
        padding: 1.5rem 0;
    }

    .work-samples-content p {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .work-samples-content .tamil-text {
        font-size: 0.75rem;
    }
    
    .service-card,
    .feature-card {
        padding: 0;
    }

    /* Compact service cards for 2-column mobile */
    .service-icon {
        height: 100px;
        padding: 0.3rem;
    }

    .service-content {
        padding: 0.6rem;
    }

    .service-content h3,
    .feature-card h3 {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .service-content p,
    .feature-card p {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
        line-height: 1.4;
    }

    .service-content ul {
        margin-bottom: 0.5rem !important;
        padding-left: 1rem !important;
        font-size: 0.6rem;
    }

    .service-content ul li {
        margin-bottom: 0.1rem;
    }

    .service-content .btn {
        padding: 0.35rem 0.8rem;
        font-size: 0.65rem;
    }

    .service-icon img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    
    .project-item {
        height: 220px;
    }
    
    .project-overlay {
        padding: 1.5rem;
    }
    
    .project-overlay h3 {
        font-size: 1.3rem;
    }
    
    .project-overlay p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.2rem;
    }
    
    /* Premium Mobile Graphics - Small Screens */
    .contact-hero {
        margin-top: 56px;
        padding: 2rem 0 1.5rem;
        background-size: 300% 300%;
    }
    
    .contact-hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        text-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
    }
    
    .contact-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    }
    
    .contact-form-wrapper {
        padding: 1rem;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .form-header h2 {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.4rem;
    }

    .form-header h2 i {
        font-size: 1.2rem;
    }

    .modern-form-group input,
    .modern-form-group textarea {
        border-radius: 8px;
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(10, 44, 90, 0.1);
        padding: 0.5rem 0.7rem;
        font-size: 0.82rem;
    }

    .modern-form-group textarea {
        min-height: 70px;
    }

    .modern-form-group input:focus,
    .modern-form-group textarea:focus {
        box-shadow:
            0 0 0 3px rgba(255, 193, 7, 0.15),
            inset 0 2px 5px rgba(0, 0, 0, 0.05);
        border-color: var(--secondary-color);
    }
    
    .modern-submit-btn {
        border-radius: 15px;
        box-shadow: 
            0 15px 35px rgba(255, 193, 7, 0.4),
            0 5px 15px rgba(255, 193, 7, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .modern-submit-btn::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }
    
    .modern-submit-btn:active::after {
        width: 500px;
        height: 500px;
    }
    
    .modern-card {
        padding: 0.8rem;
        border-radius: 10px;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(10, 44, 90, 0.08);
    }

    .modern-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .contact-detail {
        font-size: 0.75rem;
        line-height: 1.35;
    }

    .card-link {
        font-size: 0.75rem;
    }

    .card-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        border-radius: 10px;
        box-shadow: 0 6px 15px rgba(255, 193, 7, 0.3);
        position: relative;
    }

    .card-icon::before {
        content: '';
        position: absolute;
        top: -3px;
        left: -3px;
        right: -3px;
        bottom: -3px;
        border-radius: 10px;
        background: linear-gradient(135deg, var(--secondary-color), #ffb300);
        opacity: 0.2;
        z-index: -1;
        animation: pulseGlow 2s ease-in-out infinite;
    }
    
    @keyframes pulseGlow {
        0%, 100% { transform: scale(1); opacity: 0.2; }
        50% { transform: scale(1.1); opacity: 0.3; }
    }
    
    .quick-contact-modern {
        padding: 3.5rem 1.5rem;
        border-radius: 25px;
        background: linear-gradient(135deg, 
            var(--primary-color) 0%, 
            #08306b 50%,
            var(--primary-color) 100%);
        background-size: 200% 200%;
        animation: gradientShift 15s ease infinite;
        position: relative;
        overflow: hidden;
    }
    
    .quick-contact-modern::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -20%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, 
            rgba(255, 193, 7, 0.15) 0%, 
            transparent 70%);
        animation: float 20s infinite ease-in-out;
    }
    
    .quick-contact-modern h3 {
        font-size: clamp(1.4rem, 4vw, 1.7rem);
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        position: relative;
        z-index: 1;
    }
    
    .quick-action-btn {
        padding: 1.5rem;
        flex-direction: row;
        text-align: left;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(15px);
        border: 2px solid rgba(255, 255, 255, 0.25);
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }
    
    .quick-action-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.2), 
            transparent);
        transition: left 0.5s ease;
    }
    
    .quick-action-btn:active::after {
        left: 100%;
    }
    
    .quick-action-btn:active {
        transform: translateY(-3px) scale(0.98);
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    
    .action-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        border-radius: 15px;
        box-shadow: 
            0 10px 25px rgba(0, 0, 0, 0.3),
            inset 0 2px 5px rgba(255, 255, 255, 0.2);
    }
    
    .action-value {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
        font-weight: 600;
    }
    
    /* Medals Section Mobile */
    .medal-categories {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .medal-category-card {
        padding: 1.5rem 1rem;
    }
    
    .medal-category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .medal-category-card h3 {
        font-size: 1.1rem;
    }
    
    .medals-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .medal-preview {
        padding: 0.75rem;
        height: 180px;
    }

    .medal-body {
        width: 100px;
        height: 100px;
    }
    
    .medal-body i {
        font-size: 2rem;
    }
    
    .medal-text {
        font-size: 1rem;
    }
    
    .medal-info {
        padding: 0.7rem 0.8rem 0.8rem;
        align-items: center;
        text-align: center;
    }

    .medal-info h3 {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .medal-options-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .medal-option-card {
        padding: 1.5rem;
    }
    
    .medal-option-card i {
        font-size: 2rem;
    }
    
    /* Premium Mobile Scroll Progress */
    .scroll-progress {
        height: 5px;
        box-shadow: 0 2px 10px rgba(255, 193, 7, 0.5);
    }
    
    /* Premium Mobile Section Backgrounds */
    .section-padding {
        position: relative;
    }
    
    .why-us::before,
    .projects::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 10% 20%, rgba(255, 193, 7, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 90% 80%, rgba(10, 44, 90, 0.03) 0%, transparent 50%);
        pointer-events: none;
        z-index: 0;
    }
    
    .why-us > .container,
    .projects > .container {
        position: relative;
        z-index: 1;
    }
    
    .btn {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
    }
    
    .header-container {
        padding: 0.8rem 1rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo i {
        font-size: 1.6rem;
        margin-right: 0.5rem;
    }
    
    .floating-buttons {
        bottom: 1rem;
        right: 1rem;
        gap: 10px;
    }

    .floating-buttons a {
        width: 46px;
        height: 46px;
        font-size: 1.25rem;
    }

    /* Mobile Footer Bottom */
    .footer-bottom {
        padding-top: 1.5rem;
        margin-top: 1.5rem;
        padding-bottom: 5rem; /* Space for WhatsApp button */
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    .footer-col p i {
        margin-right: 0.4rem;
        font-size: 0.85rem;
    }

    /* Compact footer on small mobile - keep 2 columns */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem 0.4rem;
        margin-bottom: 0.5rem;
    }

    .footer-col h3 {
        font-size: 0.65rem;
        margin-bottom: 0.25rem;
    }

    .footer-col a {
        padding: 0.05rem 0;
        font-size: 0.6rem;
    }

    .footer-col p {
        font-size: 0.6rem;
        margin-bottom: 0.12rem;
    }
    
    /* Better touch targets for mobile */
    .nav-menu a,
    .btn,
    .mobile-toggle {
        min-height: 44px; /* iOS recommended touch target */
        min-width: 44px;
    }
    
    /* Improved form inputs for mobile */
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        appearance: none;
        border-radius: 8px;
    }
    
    /* Better image responsiveness */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

/* Extra Small Devices (up to 375px) */
@media (max-width: 375px) {
    /* Floating Buttons */
    .floating-buttons {
        bottom: 0.8rem;
        right: 0.8rem;
        gap: 10px;
    }

    .floating-buttons a {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }

    .container {
        padding: 0 0.8rem;
    }

    .hero {
        margin-top: 60px;
        padding-top: 0;
    }

    .section-padding {
        padding: 2rem 0;
    }

    .service-card {
        padding: 1.2rem 1rem;
    }

    /* Services & Why Choose Us - 2 boxes per row on extra small */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }

    .service-icon {
        height: 80px;
    }

    .service-content {
        padding: 0.4rem;
    }

    .service-content h3 {
        font-size: 0.75rem;
    }

    .service-content p {
        font-size: 0.6rem;
    }

    .service-content ul {
        font-size: 0.55rem !important;
    }

    .service-content .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.6rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .feature-card {
        padding: 0.8rem 0.5rem;
    }

    .feature-icon {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .feature-icon:after {
        width: 40px;
        height: 40px;
    }

    .feature-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .feature-card p {
        font-size: 0.65rem;
        line-height: 1.4;
    }

    /* Social icons on extra small screens */
    .social-icons a {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 0.75rem;
    }

    .trust-indicators {
        padding: 1rem 0;
    }

    .indicators-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.3rem;
    }

    .indicator-item h3 {
        font-size: 1.1rem;
        margin-bottom: 0.1rem;
    }

    .indicator-item p {
        font-size: 0.55rem;
    }

    .work-samples-info {
        padding: 1.2rem 0;
    }

    .work-samples-info h2 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .work-samples-content p {
        font-size: 0.72rem;
        line-height: 1.6;
    }

    .work-samples-content .tamil-text {
        font-size: 0.68rem;
    }

    .seo-content-section {
        padding: 1.2rem 0;
    }

    .seo-title {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }

    .seo-item h3 {
        font-size: 0.72rem;
    }

    .seo-item p {
        font-size: 0.65rem;
        line-height: 1.45;
    }

    .seo-tamil h3 {
        font-size: 0.75rem;
    }

    .seo-tamil p {
        font-size: 0.62rem;
        line-height: 1.5;
    }

    .contact-form {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 400px;
    }

    .nav-menu {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        right: 0;
        left: auto;
    }
}

/* Print Styles */
@media print {
    .floating-buttons,
    .mobile-toggle,
    .scroll-progress,
    #particles-js {
        display: none !important;
    }
    
    header {
        position: relative;
    }
    
    .section-padding {
        padding: 2rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo i,
    .feature-icon,
    .service-icon {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Reduced Motion (Accessibility) */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .typing-text:after {
        animation: none;
    }
    
    .logo i {
        animation: none;
    }
}

/* Dark Mode Support (Future Enhancement) */
@media (prefers-color-scheme: dark) {
    /* Can be implemented later if needed */
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.zoom-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Particle Animation Controls */
.particles-control {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 10px;
}

.particle-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.particle-toggle:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Modern Responsive Utilities */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

/* Modern Grid Improvements */
@supports (grid-template-columns: repeat(auto-fit, minmax(0, 1fr))) {
    .services-grid,
    .features-grid,
    .projects-grid {
        grid-auto-rows: minmax(200px, auto);
    }
}

/* Modern Container Queries Support (Future) */
@container (min-width: 600px) {
    .service-card {
        display: grid;
        grid-template-columns: auto 1fr;
    }
}

/* Modern Mobile Menu - Base styles handled in media queries */

/* Better Touch Interactions */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .service-card,
    .feature-card,
    .project-item {
        -webkit-tap-highlight-color: rgba(255, 193, 7, 0.2);
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .service-card:active,
    .feature-card:active {
        transform: scale(0.99);
    }
}

/* Modern Scrollbar (Webkit) */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
}

/* Modern Focus States for Accessibility */
*:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Improved Image Styling */
img {
    object-fit: cover;
    max-width: 100%;
    height: auto;
}

/* Modern Text Selection */
::selection {
    background: var(--secondary-color);
    color: var(--primary-color);
}

::-moz-selection {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* Medals & Awards Showcase Styles */
.medals-showcase {
    position: relative;
    overflow: hidden;
}

.medals-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 193, 7, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(10, 44, 90, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.medals-showcase > .container {
    position: relative;
    z-index: 1;
}

/* Medal Categories */
.medal-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.medal-category-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.medal-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.medal-category-card:hover::before {
    transform: scaleX(1);
}

.medal-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.medal-category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #ffb300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
    transition: var(--transition);
}

.medal-category-card:hover .medal-category-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.4);
}

.medal-category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.medal-category-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin: 0;
}

/* Product Grid View System */
/* Grid Container with Enhanced Styling */
.medals-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
    position: relative;
}

/* Grid Loading Animation */
.medals-gallery.loading {
    opacity: 0.6;
    pointer-events: none;
}

.medals-gallery.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Grid Item Fade In Animation */
.medal-design-card.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.medal-design-card.fade-in:nth-child(1) { animation-delay: 0.1s; }
.medal-design-card.fade-in:nth-child(2) { animation-delay: 0.15s; }
.medal-design-card.fade-in:nth-child(3) { animation-delay: 0.2s; }
.medal-design-card.fade-in:nth-child(4) { animation-delay: 0.25s; }
.medal-design-card.fade-in:nth-child(5) { animation-delay: 0.3s; }
.medal-design-card.fade-in:nth-child(n+6) { animation-delay: 0.35s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.medal-design-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(10, 44, 90, 0.08);
    position: relative;
}

.medal-design-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.medal-design-card:hover::before {
    transform: scaleX(1);
}

.medal-design-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 44, 90, 0.15);
    border-color: var(--secondary-color);
}

.medal-preview {
    padding: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 170px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.medal-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 44, 90, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.medal-design-card:hover .medal-preview::after {
    opacity: 1;
}

.medal-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.medal-design-card:hover .medal-preview img {
    transform: scale(1.08);
}

.medal-front {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: floatMedal 3s ease-in-out infinite;
}

@keyframes floatMedal {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.medal-ribbon {
    width: 45px;
    height: 60px;
    background: linear-gradient(180deg, #dc3545 0%, #c82333 100%);
    border-radius: 22px 22px 0 0;
    position: relative;
    margin-bottom: -4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.medal-ribbon::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 22px solid transparent;
    border-right: 22px solid transparent;
    border-top: 12px solid #c82333;
}

.medal-body {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 -5px 15px rgba(0, 0, 0, 0.2);
    border: 8px solid rgba(255, 255, 255, 0.3);
}

.medal-body i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.medal-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* Gold Medal */
.gold-medal .medal-body {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    box-shadow: 
        0 10px 30px rgba(255, 215, 0, 0.4),
        inset 0 -5px 15px rgba(0, 0, 0, 0.2),
        inset 0 5px 15px rgba(255, 255, 255, 0.3);
}

.gold-medal .medal-ribbon {
    background: linear-gradient(180deg, #ffd700 0%, #ffb300 100%);
}

/* Silver Medal */
.silver-medal .medal-body {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 50%, #c0c0c0 100%);
    box-shadow: 
        0 10px 30px rgba(192, 192, 192, 0.4),
        inset 0 -5px 15px rgba(0, 0, 0, 0.2),
        inset 0 5px 15px rgba(255, 255, 255, 0.4);
}

.silver-medal .medal-ribbon {
    background: linear-gradient(180deg, #c0c0c0 0%, #a0a0a0 100%);
}

/* Bronze Medal */
.bronze-medal .medal-body {
    background: linear-gradient(135deg, #cd7f32 0%, #e6a857 50%, #cd7f32 100%);
    box-shadow: 
        0 10px 30px rgba(205, 127, 50, 0.4),
        inset 0 -5px 15px rgba(0, 0, 0, 0.2),
        inset 0 5px 15px rgba(255, 255, 255, 0.2);
}

.bronze-medal .medal-ribbon {
    background: linear-gradient(180deg, #cd7f32 0%, #a0522d 100%);
}

/* Academic Medal */
.academic-medal .medal-body {
    background: linear-gradient(135deg, #4169e1 0%, #6495ed 50%, #4169e1 100%);
    box-shadow: 
        0 10px 30px rgba(65, 105, 225, 0.4),
        inset 0 -5px 15px rgba(0, 0, 0, 0.2),
        inset 0 5px 15px rgba(255, 255, 255, 0.3);
}

.academic-medal .medal-ribbon {
    background: linear-gradient(180deg, #4169e1 0%, #1e3a8a 100%);
}

/* Corporate Medal */
.corporate-medal .medal-body {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    box-shadow: 
        0 10px 30px rgba(44, 62, 80, 0.4),
        inset 0 -5px 15px rgba(0, 0, 0, 0.3),
        inset 0 5px 15px rgba(255, 255, 255, 0.1);
}

.corporate-medal .medal-ribbon {
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
}

/* Custom Medal */
.custom-medal .medal-body {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 50%, #9b59b6 100%);
    box-shadow: 
        0 10px 30px rgba(155, 89, 182, 0.4),
        inset 0 -5px 15px rgba(0, 0, 0, 0.2),
        inset 0 5px 15px rgba(255, 255, 255, 0.3);
}

.custom-medal .medal-ribbon {
    background: linear-gradient(180deg, #9b59b6 0%, #6c3483 100%);
}

.custom-shape {
    border-radius: 20px !important;
    width: 140px !important;
    height: 140px !important;
}

.medal-info {
    padding: 1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.medal-info h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: var(--primary-color);
    line-height: 1.3;
    font-weight: 600;
    transition: color 0.3s ease;
}

.medal-design-card:hover .medal-info h3 {
    color: var(--secondary-color);
}

.medal-info p {
    color: var(--gray-color);
    margin-bottom: 0.65rem;
    line-height: 1.5;
    font-size: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Product Grid Enhancements */
.product-category-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), rgba(10, 44, 90, 0.9));
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(10, 44, 90, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-size-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--gray-color);
    background: var(--light-gray);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.product-size-tag i {
    font-size: 0.7rem;
    color: var(--secondary-color);
}

.product-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 44, 90, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
    z-index: 3;
}

.medal-design-card:hover .product-grid-overlay {
    opacity: 1;
}

.product-quick-info {
    transform: translateY(20px);
    transition: transform 0.3s ease;
    color: var(--white);
    text-align: center;
    width: 100%;
}

.medal-design-card:hover .product-quick-info {
    transform: translateY(0);
}

.product-quick-info p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.75rem;
    margin: 0;
}

.medal-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.medal-features li {
    padding: 0.3rem 0;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.medal-features li i {
    color: var(--secondary-color);
    font-size: 0.75rem;
}

.medal-info .btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

@media (max-width: 767px) {
    .medal-info .btn {
        align-self: center;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Medal Options Section */
.medal-options-section {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid var(--light-gray);
}

.medal-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.medal-option-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.medal-option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

.medal-option-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.medal-option-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.medal-option-card p {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* Medals Gallery Responsive */
@media (max-width: 991px) {
    .medals-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .medals-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   AWARDS CARD STYLES (object-fit: cover)
   ======================================== */

/* Awards Gallery Grid */
.awards-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Award Card */
.award-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.award-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Award Image Preview - Full Width */
.award-preview {
    padding: 0 !important;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-preview img {
    max-width: 85%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.award-card:hover .award-preview img {
    transform: scale(1.05);
}

/* Awards Gallery Responsive - Tablet (2 cards per row) */
@media (max-width: 992px) {
    .awards-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .award-preview {
        height: 280px;
    }
}

/* Awards Gallery Responsive - Mobile (2 cards per row) */
@media (max-width: 768px) {
    .awards-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .award-preview {
        height: 240px;
    }

    .award-card .medal-info {
        padding: 1rem;
    }

    .award-card .medal-info h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .award-card .medal-info p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    .award-card .medal-features {
        margin-bottom: 1rem;
    }

    .award-card .medal-features li {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .award-card .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Awards Gallery - Small Mobile (2 cards per row maintained) */
@media (max-width: 480px) {
    .awards-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .award-preview {
        height: 140px;
    }

    .award-card .medal-info {
        padding: 0.8rem;
    }

    .award-card .medal-info h3 {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .award-card .medal-info p {
        font-size: 0.75rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .award-card .medal-features {
        display: none;
    }

    .award-card .btn {
        width: 100%;
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ========================================
   CART PAGE STYLES
   ======================================== */

/* Cart Section */
/* ==========================================
   Cart Page - Mobile First Responsive Styles
   ========================================== */

/* Cart Hero Section - Mobile First */
.cart-hero {
    background: linear-gradient(135deg, var(--primary-color), #0d3a7a);
    padding: 6rem 1rem 1.25rem;
    text-align: center;
    margin-top: 0;
    overflow: hidden;
}

.cart-hero-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0.5rem 0.5rem 0;
    box-sizing: border-box;
}

.cart-hero-content h1 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.cart-hero-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

/* Tablet and up: increase hero spacing */
@media (min-width: 576px) {
    .cart-hero {
        padding: 6.5rem 1.5rem 1.5rem;
    }

    .cart-hero-content h1 {
        font-size: 1.75rem;
    }

    .cart-hero-content p {
        font-size: 0.95rem;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .cart-hero {
        padding: 7rem 2rem 2rem;
    }

    .cart-hero-content h1 {
        font-size: 2rem;
    }

    .cart-hero-content p {
        font-size: 1rem;
    }
}

/* Cart Section - Directly below hero */
.cart-section {
    background: linear-gradient(to bottom, var(--light-gray), var(--white));
    min-height: auto;
    padding: 1.25rem 0.75rem 2rem;
}

@media (min-width: 576px) {
    .cart-section {
        padding: 1.5rem 1rem 3rem;
    }
}

@media (min-width: 992px) {
    .cart-section {
        padding: 2rem 0 4rem;
    }
}

/* Empty Cart */
.empty-cart {
    text-align: center;
    padding: 2.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-cart-content {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.empty-cart-content > i {
    font-size: 3.5rem;
    color: var(--gray-color);
    margin-bottom: 1.25rem;
    opacity: 0.5;
    display: block;
}

.empty-cart-content h2 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.empty-cart-content p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Browse Products button - centered, icon left, text right */
.empty-cart-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    margin: 0 auto;
}

.empty-cart-content .btn i {
    flex-shrink: 0;
    font-size: 0.85rem;
    line-height: 1;
}

/* Tablet and Desktop */
@media (min-width: 576px) {
    .empty-cart {
        padding: 3.5rem 2rem;
    }

    .empty-cart-content > i {
        font-size: 4.5rem;
        margin-bottom: 1.5rem;
    }

    .empty-cart-content h2 {
        font-size: 1.5rem;
    }

    .empty-cart-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .empty-cart-content .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .empty-cart-content .btn i {
        font-size: 1rem;
    }
}

/* Cart Content Layout - Mobile First */
.cart-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    margin-top: 0;
}

/* Class-based visibility control - most reliable method */
.cart-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cart-visible {
    display: block !important;
}

/* Desktop: Side-by-side layout */
@media (min-width: 992px) {
    .cart-content:not(.cart-hidden) {
        display: grid;
        grid-template-columns: 1fr 350px;
        gap: 2rem;
        align-items: start;
    }
}

/* Cart Items Wrapper */
.cart-items-wrapper {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
    color: var(--white);
    position: relative;
    z-index: 15;
}

@media (min-width: 576px) {
    .cart-header {
        padding: 1.5rem 2rem;
    }
}

.cart-header h2 {
    color: var(--white);
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-header h2::after {
    display: none;
}

.btn-clear-cart {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    min-height: 36px;
    position: relative;
    z-index: 200;
    font-weight: 500;
}

@media (min-width: 576px) {
    .btn-clear-cart {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }
}

.btn-clear-cart:hover {
    background: rgba(239, 68, 68, 0.9);
    border-color: transparent;
}

.btn-clear-cart:active {
    transform: scale(0.96);
    background: rgba(220, 38, 38, 1);
}

/* Cart Items */
.cart-items {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--white);
}

@media (min-width: 576px) {
    .cart-items {
        padding: 1rem;
    }
}

/* Mobile-first cart item layout */
.cart-item {
    display: grid;
    grid-template-columns: 65px 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.5rem 0.75rem;
    align-items: center;
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    position: relative;
    background: var(--white);
}

/* Tablet and above: wider image with proper button spacing */
@media (min-width: 576px) {
    .cart-item {
        grid-template-columns: 80px 1fr minmax(140px, auto) 44px;
        grid-template-rows: auto;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
        align-items: center;
    }
}

/* Desktop: full layout with proper button spacing */
@media (min-width: 992px) {
    .cart-item {
        grid-template-columns: 90px 1fr minmax(150px, auto) 44px;
        gap: 1.5rem;
        padding: 1.25rem 1.5rem;
        align-items: center;
    }
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background: #f8fafc;
}

/* Cart Item Image - Mobile First */
.cart-item-image {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1;
    grid-row: span 2;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

@media (min-width: 576px) {
    .cart-item-image {
        width: 80px;
        height: 80px;
        grid-column: 1;
        grid-row: 1;
    }
}

@media (min-width: 992px) {
    .cart-item-image {
        width: 90px;
        height: 90px;
    }
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

/* Cart Item Details */
.cart-item-details {
    min-width: 0;
    overflow: hidden;
    grid-column: 2;
}

@media (min-width: 576px) {
    .cart-item-details {
        grid-column: 2;
        grid-row: 1;
    }
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 576px) {
    .cart-item-name {
        font-size: 1rem;
    }
}

.cart-item-category {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0;
    font-weight: 500;
}

@media (min-width: 576px) {
    .cart-item-category {
        font-size: 0.85rem;
    }
}

/* Quantity Controls - Mobile First */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    position: relative;
    z-index: 100;
    border: 1px solid #e2e8f0;
}

@media (min-width: 576px) {
    .cart-item-quantity {
        gap: 0.5rem;
        padding: 5px;
        grid-column: 3;
        grid-row: 1;
        justify-self: center;
    }
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--white);
    color: #475569;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
    z-index: 200;
    border: 1px solid #e2e8f0;
}

@media (min-width: 576px) {
    .qty-btn {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}

.qty-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.qty-btn:active {
    transform: scale(0.92);
    background: var(--primary-color);
    color: var(--white);
}

.qty-value {
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 28px;
    text-align: center;
    color: #1e293b;
}

@media (min-width: 576px) {
    .qty-value {
        min-width: 32px;
        font-size: 1rem;
    }
}

/* Remove Button - Mobile First (touch-friendly) */
.cart-item-remove {
    width: 36px;
    height: 36px;
    border: none;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    justify-self: end;
    position: relative;
    z-index: 200;
}

@media (min-width: 576px) {
    .cart-item-remove {
        width: 40px;
        height: 40px;
        grid-column: 4;
        grid-row: 1;
    }
}

.cart-item-remove:hover {
    background: #dc2626;
    color: var(--white);
}

.cart-item-remove:active {
    transform: scale(0.92);
    background: #b91c1c;
    color: var(--white);
}

/* Cart Summary - Mobile First */
.cart-summary {
    position: static;
    width: 100%;
}

@media (min-width: 992px) {
    .cart-summary {
        position: sticky;
        top: 100px;
    }
}

.summary-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 576px) {
    .summary-card {
        padding: 1.75rem;
    }
}

.summary-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    font-size: 1.1rem;
}

.summary-card h3 i {
    color: var(--primary-color);
}

.summary-card h3::after {
    display: none;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: #475569;
}

.summary-row span:last-child {
    font-weight: 600;
    color: #1e293b;
}

.summary-note {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: #fffbeb;
    border-radius: 10px;
    margin: 1.25rem 0;
    border: 1px solid #fef3c7;
}

.summary-note i {
    color: #d97706;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.summary-note p {
    color: #92400e;
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

@media (min-width: 576px) {
    .summary-note p {
        font-size: 0.85rem;
    }
}

.btn-full {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.btn-full:last-child {
    margin-bottom: 0;
}

.btn-full.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

.btn-full.btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.btn-full.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-full.btn-secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* Summary Contact */
.summary-contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
    border-radius: 16px;
    padding: 1.25rem;
    color: var(--white);
    text-align: center;
}

@media (min-width: 576px) {
    .summary-contact {
        padding: 1.5rem;
    }
}

.summary-contact h4 {
    color: var(--secondary-color);
    margin-bottom: 0.875rem;
    font-size: 1rem;
}

.summary-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.375rem 0;
    font-size: 0.9rem;
    opacity: 0.95;
}

.summary-contact p i {
    font-size: 0.85rem;
}

/* Cart Count Animation */
.cart-count-updated {
    animation: cartBounce 0.3s ease;
}

@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

/* Add to Cart Button Feedback */
.add-to-cart-btn.added-to-cart {
    background: #22c55e !important;
    color: var(--white) !important;
}

/* Cart Page - Additional Responsive Enhancements */

/* Mobile: Same structure as desktop */
@media (max-width: 575px) {
    /* Cart header - same row layout as desktop */
    .cart-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        text-align: left;
        padding: 1rem;
    }

    .cart-header h2 {
        font-size: 0.95rem;
        margin: 0;
        font-weight: 600;
    }

    .cart-header h2 i {
        font-size: 0.85rem;
    }

    /* Clear cart button - compact for mobile */
    .btn-clear-cart {
        padding: 0.4rem 0.65rem;
        font-size: 0.75rem;
        min-height: 32px;
        white-space: nowrap;
    }

    .btn-clear-cart i {
        font-size: 0.7rem;
    }

    /* Touch-friendly button sizes */
    .qty-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .cart-item-remove {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .summary-card {
        padding: 1.25rem;
    }

    .summary-card h3 {
        font-size: 1rem;
    }

    .cart-items {
        padding: 0.5rem;
    }

    /* Cart items wrapper - full width */
    .cart-items-wrapper {
        border-radius: 12px;
    }

    .btn-full {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .qty-value {
        min-width: 24px;
        font-size: 0.9rem;
    }
}

/* Cart Toast Notification */
.cart-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 340px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.cart-toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.cart-toast-content > i {
    font-size: 1.25rem;
    color: #22c55e;
}

.cart-toast-text {
    flex: 1;
}

.cart-toast-text strong {
    display: block;
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 2px;
}

.cart-toast-text p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.cart-toast-link {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cart-toast-link:hover {
    background: #1e3a8a;
    color: var(--white);
}

@media (max-width: 575px) {
    .cart-toast {
        left: 10px;
        right: 10px;
        bottom: 80px;
        max-width: none;
        padding: 0.875rem 1rem;
    }

    .cart-toast-text p {
        max-width: 120px;
    }
}

