@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #00d4ff;
    --secondary-color: #0077b6;
    --dark-bg: #0a192f;
    --light-bg: #f0f4f8;
    --white: #ffffff;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light-bg);
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header & Navbar */
header {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 30px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
    flex-shrink: 0;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    flex-shrink: 0;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    white-space: normal;
    /* Allow wrapping */
    line-height: 1.2;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-links li a:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
}

/* Hero Section */
.hero {
    padding: 100px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 119, 182, 0.1) 100%);
}

.hero h2 {
    font-size: 56px;
    margin-bottom: 20px;
    color: var(--dark-bg);
    font-weight: 700;
}

.hero p {
    font-size: 22px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    color: #555;
}

.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.6);
}

/* Main Content Box */
#main-box {
    max-width: 1000px;
    margin: 0 auto 80px;
    padding: 50px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    position: relative;
    top: -40px;
}

#main-box h3 {
    font-size: 36px;
    color: var(--dark-bg);
    margin-bottom: 25px;
}

#main-box p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background: #f8fbfe;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--dark-bg);
    font-weight: 700;
}

.services-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    padding: 40px;
    width: 100%;
    max-width: 320px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-color);
}

.card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.card p {
    color: #666;
    font-size: 16px;
}

/* Pricing Page Styles */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.pricing-card {
    background: var(--white);
    padding: 50px;
    width: 100%;
    max-width: 340px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
}

.pricing-card h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--dark-bg);
}

.price {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-shadow: 0 2px 5px rgba(0, 212, 255, 0.2);
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
}

.features-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #555;
    font-size: 16px;
}

.features-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
}

/* Samples Page Styles */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px auto;
    max-width: 600px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.filter-btn {
    padding: 10px 25px;
    border: none;
    background: transparent;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--dark-bg);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(10, 25, 47, 0.2);
}

.samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.sample-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background: var(--white);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.sample-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sample-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.2));
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

.overlay-content {
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.overlay-content h3 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 5px;
}

.overlay-content p {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.view-btn {
    display: inline-block;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: var(--white);
    color: var(--dark-bg);
}

.sample-item:hover img {
    transform: scale(1.1);
}

.sample-item:hover .sample-overlay {
    opacity: 1;
}

.sample-item:hover .overlay-content {
    transform: translateY(0);
}

.sample-item.hide {
    display: none;
}

/* Contact Page Styles */
.contact-container {
    max-width: 1000px;
    margin: 50px auto 80px;
    padding: 60px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark-bg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: #a8b2d1;
    padding: 70px 0 0;
    font-size: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #a8b2d1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #050d1a;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 48px;
    }
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--white);
        margin: 5px 0;
        transition: 0.3s;
    }

    .navbar {
        padding: 15px 20px;
        flex-direction: row-reverse;
        /* Move hamburger to left, logo to right */
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        transform: translateX(100%);
        /* Slide out by default */
        width: 100%;
        /* Or 80% if sidebar style desired, keeping 100% per previous request */
        height: 100vh;
        background: var(--dark-bg);
        flex-direction: column !important;
        align-items: center;
        justify-content: center;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        /* Smooth slide */
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }

    .nav-links.active {
        transform: translateX(0);
        /* Slide in */
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    #main-box {
        padding: 30px;
        margin: 0 15px 40px;
        top: -20px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .services-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        /* Force 1 column on mobile */
        display: grid;
        /* Ensure grid display is active */
        gap: 20px;
    }

    .card,
    .pricing-card {
        width: 100%;
        max-width: 400px;
    }

    .contact-container {
        padding: 30px 20px;
        margin: 30px 15px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .services-section {
        padding: 50px 20px;
    }

    footer {
        padding: 50px 0 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    /* Samples Page Mobile Adjustments */
    .filter-container {
        flex-wrap: wrap;
        border-radius: 20px;
        padding: 15px;
        margin: 20px 15px;
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 14px;
        flex: 1 1 auto;
        text-align: center;
    }

    .samples-grid {
        grid-template-columns: 1fr;
        /* Force 1 column */
        gap: 20px;
        margin-bottom: 60px;
    }

    .sample-overlay {
        padding: 20px;
    }

    .overlay-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .logo h1 {
        font-size: 16px;
    }

    .logo img {
        width: 35px;
        height: 35px;
    }

    .card,
    .pricing-card {
        padding: 30px;
    }

    .pricing-card.featured {
        transform: scale(1) !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
}

/* Hide toggle on desktop */
.menu-toggle {
    display: none;
}