:root {
    --navy: #16166b;
    --navy-light: #16166b;
    --navy-dark: #16166b;
    --gray-bg: #f5f5f5;
    --gray-light: #e8e8e8;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-medium: #4a4a4a;
    --gradient-overlay: linear-gradient(180deg, rgba(0,40,85,0) 0%, rgba(22, 22, 107, 0.4) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(10px);
    padding: 25px 30px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
}

.menu-toggle {
    background: var(--white);
    border: 2px solid var(--navy);
    border-radius: 16px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s ease;
}

.menu-toggle.active {
    background: var(--navy);
}

.menu-toggle.active span {
    background: var(--white);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    margin-top: 95px;
    padding: 80px 30px;
    background: var(--white);
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(38px, 8vw, 58px);
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1;
    text-align: left;
}

.hero p {
    font-size: clamp(16px, 4vw, 22px);
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    text-align: left;
}

.cta-button {
    background: var(--navy);
    color: var(--white);
    padding: 12px 32px;
    align-items: center;
    text-align: center;
    border-radius: 24px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    background: var(--navy-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30,58,95,0.3);
}

/* Cardboard Types Section */
.cardboard-types {
    padding: 40px 30px;
    background: var(--gray-bg);
}

.cardboard-container {
    max-width: 1300px;
    margin: 0 auto;
}

.cardboard-title {
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 500;
    color: var(--navy);
    text-align: left;
    margin-bottom: 30px;
    line-height: 1;
}

.cardboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.cardboard-card {
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    height: 380px;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.cardboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.cardboard-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cardboard-card-1 .cardboard-image {
    background-image: url('./thirdlayer.png');
}

.cardboard-card-2 .cardboard-image {
    background-image: url('./fifthlayer.jpg');
}

.cardboard-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-overlay);
    padding: 35px 25px;
    color: var(--white);
}

.cardboard-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cardboard-content p {
    font-size: 18px;
    line-height: 1.1;
    opacity: 0.75;
}

/* Categories */
.categories {
    padding: 0 30px;
    padding-top: 10px;
    padding-bottom: 40px;
    background: var(--white);
}

.categories-container {
    max-width: 1300px;
    margin: 0 auto;
}

.categories-title {
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 500;
    color: var(--navy);
    text-align: left;
    margin-top: 20px;
    margin-bottom: 30px;
    line-height: 1;
}

.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    display: flex;
    justify-items: center;
    padding: 8px 12px;
    border-radius: 24px;
    font-size: 12px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    align-items: center;
    white-space: nowrap;
    border: 2px solid transparent;
}
/*
.category-tag.primary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
*/

.category-tag.secondary {
    background: var(--gray-light);
    color: var(--navy);
    border-color: var(--gray-light);
}

.category-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Services Section */
.services {
    padding: 40px 30px;
    background: var(--gray-bg);
}

.services-container {
    max-width: 1300px;
    margin: 0 auto;
}

.services-title {
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    line-height: 1;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--gray-bg);
    border-radius: 32px;
    padding: 0 25px;
    padding-bottom: 45px;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-number {
    position: relative;
    font-size: 56px;
    font-weight: 700;
    color: var(--navy);
    opacity: 0.2;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0px;
    color: var(--navy);
    line-height: 1.1;
}

.service-card p {
    font-size: 18px;
    line-height: 1;
    opacity: 0.75;
    color: var(--text-medium);
    line-height: 1;
    margin-top: 8px;
}

/* Timeline Info */
.timeline-info {
    background: var(--navy);
    color: var(--white);
    padding: 50px 35px;
    border-radius: 24px;
    margin: 60px 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 15px 40px rgba(30,58,95,0.25);
}

.timeline-info div{
    height: 30px;
}

.timeline-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0px;
}

.timeline-info p {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 300;
    opacity: 1;
}

.timeline-info p strong {
    font-weight: 700;
    color: var(--white);
}

.timeline-info small {
    display: block;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.75;
    line-height: 1.5;
}

/* Contact Form */
.contact-form {
    padding: 0px 30px;
    padding-top: 20px;
    padding-bottom: 40px;
    background: var(--gray-bg);
}

.form-container {
    max-width: 650px;
    margin: 0 auto;
}

.form-title {
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    line-height: 1.2;
}

.form-subtitle {
    font-size: clamp(16px, 4vw, 22px);
    color: var(--text-medium);
    margin-bottom: 20px;
    margin-top: 8px;
    line-height: 1.2;
    text-align: left;
}

.form-group {
    margin-bottom: 22px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 18px 22px;
    border: 2px solid var(--gray-light);
    border-radius: 24px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    resize: none;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--navy);
    background: var(--white);
}

.form-textarea {
    min-height: 130px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    background: var(--navy);
    color: var(--white);
    padding: 20px;
    border-radius: 24px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-button:hover {
    background: var(--navy-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(30,58,95,0.3);
}

/* Footer */
footer {
    background: var(--navy-dark);
    color: var(--white);
    padding: 45px 30px;
    text-align: center;
}

footer p {
    opacity: 0.85;
    font-size: 15px;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 50px 20px;
        padding-top: 120px;
    }

    .hero h1,
    .hero p {
        text-align: left;
    }

    .cardboard-title,
    .categories-title,
    .services-title,
    .form-title,
    .form-subtitle {
        text-align: left;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cardboard-grid {
        grid-template-columns: 1fr;
    }

    .service-card h3 {
        margin-top: 50px;
    }

    .service-number {
        font-size: 48px;
    }

    header {
        padding: 20px;
    }

    .logo-img {
        height: 38px;
    }

    .timeline-info {
        margin: 40px 20px;
        padding: 35px 25px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    .hero {
        width: 100%;
        display: grid;
        grid-column: 1;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cardboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    
}

@media (min-width: 769px) {
    .hero h1,
    .hero p {
        display: grid;
        grid-column: 1;
        justify-content: center;
        text-align: center;
    }

    .cardboard-title,
    .categories-title,
    .services-title {
        text-align: center;
    }

    .form-title,
    .form-subtitle {
        text-align: center;
    }

    .categories-grid{
        justify-content: center;
    } 
}

@media (min-width: 1025px) {
    .hero {
        width: 100%;
        display: flex;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cardboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Success message */
.success-message {
    display: none;
    background: #10b981;
    color: white;
    padding: 18px 22px;
    border-radius: 16px;
    margin-top: 22px;
    text-align: center;
    font-weight: 500;
}

.success-message.show {
    display: block;
    animation: slideIn 0.4s ease;
}

.policy-row {
    margin-top: 10px;
    margin-bottom: 20px;
}

.policy-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-medium);
    cursor: pointer;
}

.policy-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
