/* Modern Design System for Threeyem Printing */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #00AEEF;
    /* Cyan - Printing color */
    --secondary: #EC008C;
    /* Magenta - Printing color */
    --accent: #FFF200;
    /* Yellow - Printing color */
    --dark: #1A1A1A;
    --light: #F8F9FA;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: #fff;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

h1 {
    font-size: 4.5rem;
    font-weight: 700;
}

h2 {
    font-weight: 600;
}

h3,
h4,
h5,
h6 {
    font-weight: 500;
}

/* Header & Mega Menu */
#navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.modern-nav {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;
    /* padding moved to nav-link to fix hover gap */
    transition: var(--transition);
}

.mega-menu {
    position: static !important;
}

.mega-menu .dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    border: none;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: none;
    background: #fff;
}

.mega-menu .dropdown-menu.show {
    display: block;
}

/* Desktop Only Mega Menu Hover */
@media (min-width: 992px) {
    .mega-menu:hover .dropdown-menu {
        display: block;
        animation: slideUp 0.4s ease;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-col h6 {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--secondary);
    padding-left: 10px;
}

.mega-col ul {
    list-style: none;
    padding: 0;
}

.mega-col ul li a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 0.4rem 0;
    transition: var(--transition);
}

.mega-col ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.modern-nav .navbar-nav .nav-link {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Breadcrumb */
.modern-breadcrumb {
    background: var(--light);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-breadcrumb .breadcrumb {
    margin-bottom: 0;
}

.modern-breadcrumb .breadcrumb-item a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.modern-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary);
}

.modern-breadcrumb .breadcrumb-item.active {
    color: var(--dark);
    font-weight: 600;
}

/* Mouse Overlay / Card Glow Effect */
.glow-card {
    position: relative;
}

.glow-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(0, 174, 239, 0.08), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* Gallery Grid */
.gallery-grid-item {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gallery-grid-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
    border-color: var(--secondary);
}

.gallery-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-content {
    padding: 1.2rem;
}

.gallery-content h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
}

/* FAQ Accordion Modern */
.modern-faq .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.modern-faq .accordion-button {
    font-weight: 500;
    padding: 1.2rem;
    background: #fff;
    color: var(--dark);
}

.modern-faq .accordion-button:not(.collapsed) {
    background: var(--light);
    color: var(--primary);
    box-shadow: none;
}

.modern-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300AEEF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-modern {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* AEO Info Box */
.aeo-box {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-bottom: 4px solid var(--secondary);
}

.aeo-box h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .border-lg-start {
        border-left: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
}

/* Service Cards */
.service-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.service-icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary);
}

/* Sticky Contact */
.sticky-cta {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
}

.sticky-cta .btn.rounded-circle {
    width: 50px;
    height: 50px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99;
}

.btn-modern {
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary-modern {
    background: var(--primary);
    border: none;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 174, 239, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 174, 239, 0.4);
    background: #0099d1;
}

/* Footer Social Icons Perfect Circle */
.footer .btn-sm.rounded-circle {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

    .mega-menu .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 1rem;
    }
}