/* ============================================
   Vastradhara Hosiery - Main Stylesheet
   Modern, Clean, Professional Design
   ============================================ */

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fafafa;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== Header & Navigation ===== */
header {
    background-color: #001641;
    color: #fff;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 22, 65, 0.3);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

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

.logo-img {
    height: 70px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav ul li a {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #f6eaa4;
    background-color: rgba(246, 234, 164, 0.1);
}

nav ul li a.active {
    color: #f6eaa4;
    background-color: rgba(216, 183, 98, 0.2);
    font-weight: 600;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background-color: #d8b762;
    border-radius: 3px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #d8b762;
    border-radius: 3px;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 80%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.menu-toggle:hover {
    color: #f6eaa4;
    transform: scale(1.1);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, #001641 0%, #022160 100%);
    color: #fff;
    padding: 8rem 2rem 6rem;
    text-align: center;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(216, 183, 98, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(246, 234, 164, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(250, 250, 250, 0.1), transparent);
    pointer-events: none;
}

/* Decorative underline for hero titles */
.hero h1 {
    position: relative;
    display: inline-block;
    padding-bottom: 1.5rem;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    z-index: 1;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d8b762, #f6eaa4);
    border-radius: 2px;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}


/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #d8b762 0%, #f6eaa4 100%);
    color: #001641;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(216, 183, 98, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(216, 183, 98, 0.4);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #f6eaa4 0%, #d8b762 100%);
    color: #001641;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d8b762 0%, #f6eaa4 100%);
}

/* ===== Sections ===== */
section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #001641;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d8b762, #f6eaa4);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #9a6c33;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ===== Product Grid ===== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 22, 65, 0.1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d8b762, #f6eaa4);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 22, 65, 0.15);
}

.product-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-card-content {
    padding: 2rem;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #001641;
    font-weight: 600;
}

.product-card p {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
}

/* ===== Image Gallery ===== */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background: #fff;
    border: 1px solid rgba(0, 22, 65, 0.1);
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(216, 183, 98, 0.1), rgba(246, 234, 164, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 22, 65, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===== About Section ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
}

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

.about-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.about-text ul li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
}

.about-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #d8b762;
    font-weight: bold;
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(216, 183, 98, 0.1);
    border-radius: 50%;
}

/* ===== Services Section ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.service-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    border-left: 5px solid #d8b762;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #d8b762, #f6eaa4);
    transition: width 0.4s ease;
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.service-card:hover {
    transform: translateX(8px) translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 22, 65, 0.12);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #001641;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.service-card h3 i,
.about-text h3 i {
    color: #d8b762;
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

.contact-info-item strong i,
.footer-section strong i {
    color: #d8b762;
    margin-right: 0.5rem;
}

.footer-section p i {
    margin-right: 0.5rem;
    color: #f6eaa4;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ===== Contact Form ===== */
.contact-section {
    background: linear-gradient(135deg, #fafafa 0%, #fff 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 22, 65, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #001641;
    font-size: 1rem;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d8b762;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(216, 183, 98, 0.1);
}

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

.form-group input.error,
.form-group textarea.error {
    border-color: #d32f2f;
    background: #fff5f5;
}

.contact-info {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 22, 65, 0.1);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #001641;
    font-weight: 600;
}

.contact-info-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 0.8rem;
    color: #001641;
    font-size: 1.1rem;
}

.contact-info-item p,
.contact-info-item a {
    color: #666;
    line-height: 1.9;
    font-size: 1rem;
}

.contact-info-item a:hover {
    color: #022160;
    text-decoration: underline;
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, #001641 0%, #022160 100%);
    color: #fff;
    padding: 4rem 2rem 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d8b762, #f6eaa4);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #f6eaa4;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: #e0e0e0;
    line-height: 1.9;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #f6eaa4;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(246, 234, 164, 0.2);
    color: #f6eaa4;
    font-size: 0.95rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #001641;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        padding: 1.5rem 0;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 1.2rem;
        border-bottom: 1px solid rgba(246, 234, 164, 0.1);
        border-radius: 0;
    }

    nav ul li a::after {
        display: none;
    }

    .hero {
        padding: 5rem 1.5rem 4rem;
        min-height: 45vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

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

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

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .image-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form,
    .contact-info {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 1rem;
        min-height: 50vh;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    section {
        padding: 2.5rem 1rem;
    }

    .product-card img {
        height: 220px;
    }

    .gallery-item img {
        height: 250px;
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

/* ===== Brands Section ===== */
.brands-section {
    background-color: #f9f9f9;
}

.brands-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.brands-gallery .gallery-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brands-gallery .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.brands-gallery .gallery-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 150px;
}

@media (max-width: 768px) {
    .brands-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .brands-gallery .gallery-item {
        padding: 1rem;
    }
    
    .brands-gallery .gallery-item img {
        max-height: 120px;
    }
}

/* ===== Homepage Section-Specific Designs ===== */

/* Introduction Section - Diagonal Pattern Design */
.intro-section {
    background: linear-gradient(135deg, #fafafa 0%, #fff 50%, #f6eaa4 100%);
    position: relative;
    overflow: hidden;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(216, 183, 98, 0.03) 10px,
        rgba(216, 183, 98, 0.03) 20px
    );
    pointer-events: none;
}

.intro-section .container {
    position: relative;
    z-index: 1;
}

/* Products Section - Gradient Background with Cards */
.products-section {
    background: linear-gradient(180deg, #f9f9f9 0%, #fff 50%, #f9f9f9 100%);
    position: relative;
}

.products-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d8b762, #f6eaa4, #d8b762);
}

.products-section .product-card {
    background: #fff;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.products-section .product-card:hover {
    border-color: #d8b762;
    box-shadow: 0 15px 45px rgba(216, 183, 98, 0.2);
}

/* Gallery Section - Dark Accent Design */
.gallery-section {
    background: linear-gradient(135deg, #001641 0%, #022160 100%);
    color: #fff;
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(216, 183, 98, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(246, 234, 164, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-section .section-title {
    color: #f6eaa4;
}

.gallery-section .section-title::after {
    background: linear-gradient(90deg, #d8b762, #f6eaa4);
}

.gallery-section .gallery-item {
    border: 3px solid rgba(246, 234, 164, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.gallery-section .gallery-item:hover {
    border-color: rgba(216, 183, 98, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.gallery-section .gallery-item img {
    position: relative;
    z-index: 2;
    cursor: pointer;
}

/* Services Section - Zigzag Pattern */
.services-section {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(216, 183, 98, 0.05) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(216, 183, 98, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(216, 183, 98, 0.05) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(216, 183, 98, 0.05) 75%);
    background-size: 30px 30px;
    background-position: 0 0, 0 15px, 15px -15px, -15px 0px;
    opacity: 0.5;
    pointer-events: none;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-section .service-card {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border-left: 5px solid #d8b762;
    box-shadow: 0 6px 25px rgba(0, 22, 65, 0.08);
}

.services-section .service-card:hover {
    background: linear-gradient(135deg, #f6eaa4 0%, #fff 100%);
    transform: translateY(-8px) translateX(5px);
}

/* Features Section - Masonry-style Cards */
.features-section {
    background: linear-gradient(180deg, #fff 0%, #f9f9f9 100%);
    position: relative;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d8b762, #f6eaa4, #d8b762);
}

.features-section .service-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-top: 4px solid #d8b762;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.features-section .service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(216, 183, 98, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.features-section .service-card:hover::before {
    opacity: 1;
}

.features-section .service-card:hover {
    border-color: #d8b762;
    box-shadow: 0 10px 35px rgba(216, 183, 98, 0.25);
    transform: translateY(-5px);
}

/* Process Section - Timeline Style */
.process-section {
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 50%, #f6eaa4 100%);
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d8b762, transparent);
    transform: translateY(-50%);
    z-index: 0;
}

.process-section .container {
    position: relative;
    z-index: 1;
}

.process-section .service-card {
    background: #fff;
    border: 2px solid #d8b762;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 22, 65, 0.1);
}

.process-section .service-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -15px;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #d8b762, #f6eaa4);
    border-radius: 50%;
    border: 4px solid #fff;
    transform: translateY(-50%);
    box-shadow: 0 0 0 3px #d8b762;
}

.process-section .service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(216, 183, 98, 0.3);
    border-color: #f6eaa4;
}

@media (max-width: 768px) {
    .process-section::before {
        display: none;
    }
    
    .process-section .service-card::after {
        display: none;
    }
}

/* ===== Image Modal Popup ===== */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.image-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.image-modal-close:hover {
    color: #f6eaa4;
    background-color: rgba(216, 183, 98, 0.3);
    border-color: #d8b762;
    transform: rotate(90deg);
}

.image-modal-close:active {
    transform: rotate(90deg) scale(0.9);
}

/* Make all images clickable except logos */
img {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

img:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Exclude logo and header/footer images from clickable */
.logo-img,
.logo img,
header img,
footer img,
img[src*="logo"],
img[src*="favicon"] {
    cursor: default;
}

.logo-img:hover,
.logo img:hover,
header img:hover,
footer img:hover,
img[src*="logo"]:hover,
img[src*="favicon"]:hover {
    transform: none;
    opacity: 1;
}

/* Special styling for gallery and product images */
.gallery-item img,
.product-card img,
.about-content img[src*="gallery_images"],
.image-gallery img {
    cursor: pointer;
}

.gallery-item img:hover,
.product-card img:hover,
.about-content img[src*="gallery_images"]:hover,
.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(216, 183, 98, 0.3);
}

@media (max-width: 768px) {
    .image-modal-close {
        top: 10px;
        right: 20px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
    
    .image-modal-content {
        padding: 10px;
        max-width: 95%;
    }
}
