@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; 
}

header {
    background-color: #D8C4B6;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 200px;
}

.logo {
    text-decoration: none;
    color: #213555;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.navigation a {
    color: #213555;
    text-decoration: none !important;
    font-size: 1.2em;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: #4F709C !important;
}

section {
    padding: 80px 200px;
}

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(33,53,85,0.88) 0%, rgba(33,53,85,0.55) 40%, rgba(33,53,85,0) 70%), url(/images/new_background_main.png) no-repeat #D8C4B6;
    background-size: auto 200%;
    background-position: right top;
    background-attachment: scroll;
    padding-top: 70px;
    padding-bottom: 0;
}

.main h2 {
    color: #fff;
    font-size: 1.5em;
    font-weight: 500;
}

.main h2 span {
    display: inline-block;
    margin-top: 10px;
    color: #F5EFE7;
    font-size: 2.5em;
    font-weight: 600;
}

.main-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 48%;
    margin-top: 1.7em;
}

.main-btn {
    color: #D8C4B6;
    background-color: #213555;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    display: inline-block;
    padding: 0.9375em 2.1875em;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 40px;
    transition: 0.7s ease;
    text-align: center;
    min-width: max-content;
}

.main-btn:hover {
    background-color: #212121;
    transform: scale(1.1);
}

.social-icons a {
    color: #F5EFE7;
    font-size: 1.7em;
    padding-right: 30px;
}

.title {
    display: flex;
    justify-content: center;
    color: #213555;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 30px;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.card {
    background-color: #D8C4B6;
    width: 25em;
    box-shadow: 0 5px 25px rgba(1, 1, 1, 0.15);
    border-radius: 10px;
    padding: 25px;
    margin: 15px;
    transition: 0.7s ease;
}

.card:hover {
    transform: scale(1.1);
}

.card .icon {
    color: #213555;
    font-size: 8em;
    text-align: center;
}

.info {
    text-align: center;
}

.info h3 {
    color: #213555;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}

.projects {
    background-color: #fff;
}

.projects .content {
    margin-top: 30px;
}

.project-card {
    background-color: #F5EFE7;
    border: 1px solid #F5EFE7;
    min-height: 14em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.7s ease;
}

.project-card:hover {
   transform: scale(1.1);
}

.project-card:hover .project-image {
    opacity: 0.9;
}

.project-image img {
    width: 100%;
}

.project-info {
    padding: 1em;
}

.project-category {
    font-size: 0.8em;
    color: #000;
}

.project-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 10px;
}

.platforms {
    background-color: #ffffff;
}

.platform-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
}

.platform-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    width: 22em;
    min-height: 15em;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.platform-logo {
    font-size: 2.5em;
    color: #475569;
    display: flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.platform-tag {
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #475569;
    background-color: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
}

.platform-body {
    flex-grow: 1;
}

.platform-name {
    color: #213555;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 8px;
}

.platform-desc {
    font-size: 0.9em;
    color: #64748b;
    line-height: 1.6;
}

.platform-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
}
.platform-card:hover .platform-logo {
    transform: scale(1.1);
}

.platform-card.fx-dv360:hover { border-color: #4285f4; }
.platform-card.fx-dv360:hover .platform-logo { color: #4285f4; }
.platform-card.fx-cm360:hover { border-color: #ea4335; }
.platform-card.fx-cm360:hover .platform-logo { color: #ea4335; }
.platform-card.fx-sa360:hover { border-color: #fbbc05; }
.platform-card.fx-sa360:hover .platform-logo { color: #fbbc05; }
.platform-card.fx-meta:hover { border-color: #0064e0; }
.platform-card.fx-meta:hover .platform-logo { color: #0064e0; }
.platform-card.fx-google:hover { border-color: #34a853; }
.platform-card.fx-google:hover .platform-logo { color: #34a853; }
.platform-card.fx-linkedin:hover { border-color: #0a66c2; }
.platform-card.fx-linkedin:hover .platform-logo { color: #0a66c2; }
.platform-card.fx-tiktok:hover { border-color: #000000; }
.platform-card.fx-tiktok:hover .platform-logo { color: #fe2c55; }
.platform-card.fx-snapchat:hover { border-color: #fffc00; }
.platform-card.fx-snapchat:hover .platform-logo { color: #fffc00; background: #000; padding: 2px; border-radius: 4px;}
.platform-card.fx-x:hover { border-color: #111111; }
.platform-card.fx-x:hover .platform-logo { color: #000000; }

.tools {
    background-color: #213555; 
}
.tools .title {
    color: #ffffff;
}

.tool-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 18em;
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.tool-icon {
    font-size: 2.2em;
    color: #D8C4B6;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.tool-name {
    color: #ffffff;
    font-size: 1.15em;
    font-weight: 600;
    margin-bottom: 10px;
}

.tool-desc {
    color: #cbd5e1;
    font-size: 0.88em;
    line-height: 1.5;
}

.tool-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #D8C4B6;
    transform: translateY(-4px);
}
.tool-card:hover .tool-icon {
    transform: rotate(5deg) scale(1.05);
}
.tool-card.dynamic-shopify:hover {
    border-color: #96bf48;
}
.tool-card.dynamic-shopify:hover .tool-icon {
    color: #96bf48;
}

.skills {
    background-color: #f8fafc;
}

.skill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 40px;
    margin-top: 40px;
}

.skill-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #213555; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: border-left-color 0.3s ease, transform 0.3s ease;
}

.skill-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.skill-number {
    font-size: 0.9em;
    font-weight: 700;
    color: #4F709C;
    background-color: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
}

.skill-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #213555;
}

.skill-text {
    font-size: 0.92em;
    color: #475569;
    line-height: 1.6;
    padding-left: 45px; 
}

.skill-item:hover {
    border-left-color: #4F709C;
    transform: translateX(4px); 
}

.contact {
    background-color: #4F709C;
    padding-top: 8em;
    padding-bottom: 8em;
}

.contact .icon {
    font-size: 4.5em;
}

.contact .info h3 {
    color: #213555;
}

.footer {
    background-color: #00001e;
    color: #fff;
    padding: 2em;
    padding-bottom: 6em;
    display: flex;
    justify-content: space-between;
}

.footer-title {
    font-size: 1.3em;
    font-weight: 600;
}

.footer-title span {
    color: #D8C4B6;
}

.footer .social-icons a {
    font-size: 1.3em;
    padding: 0 12px 0 0;
}

.float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #213555;
    color: #D8C4B6;
    padding: 14px 22px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95em;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: background 0.3s, transform 0.2s;
}

.float-btn:hover {
    background: #1a2b44;
    transform: scale(1.05);
}

.cta-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #fff;
}

.cta-center a {
    background: #213555;
    color: #D8C4B6;
    padding: 16px 44px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05em;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: background 0.3s, transform 0.2s;
}

.cta-center a:hover {
    background: #1a2b44;
    transform: scale(1.05);
}

.intake { 
    background-color: #4F709C; 
    padding-top: 6em; 
    padding-bottom: 6em; 
}

.intake .title { 
    color: #ffffff; 
}

.intake-form-wrap {
    max-width: 620px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.intake-field { 
    margin-bottom: 1.3rem; 
}

.intake-field > label {
    display: block;
    font-size: 0.8em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #213555;
    margin-bottom: 8px;
}

.intake-hint {
    text-transform: none;
    font-weight: 400;
    font-size: 0.9em;
    color: #94a3b8;
}

.intake-field input[type="text"],
.intake-field input[type="tel"],
.intake-field input[type="number"],
.intake-field select,
.intake-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.93em;
    color: #213555;
    background: #fafafa;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: auto;
}

.intake-field input:focus,
.intake-field select:focus,
.intake-field textarea:focus {
    outline: none;
    border-color: #4F709C;
    box-shadow: 0 0 0 3px rgba(79,112,156,0.15);
    background: #fff;
}

.budget-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px;
}

.platform-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.88em;
    color: #213555;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    user-select: none;
}

.check-item:hover {
    border-color: #4F709C;
    background: #eef3f9;
}

.check-item input[type="checkbox"] {
    width: auto;
    padding: 0;
    margin: 0;
    accent-color: #213555;
}

.check-item input[type="checkbox"]:checked + i,
.check-item input[type="checkbox"]:checked {
    accent-color: #213555;
}

.intake-field textarea { 
    resize: vertical; 
    min-height: 85px; 
}

.intake-btn {
    width: 100%;
    padding: 14px;
    background: #213555;
    color: #D8C4B6;
    border: none;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.03em;
    margin-top: 0.5rem;
    transition: background 0.3s, transform 0.2s;
}

.intake-btn:hover { background: #1a2b44; transform: scale(1.02); }
.intake-btn:disabled { background: #94a3b8; cursor: not-allowed; transform: none; }

.intake-status {
    text-align: center;
    margin-top: 14px;
    font-size: 0.9em;
    font-weight: 500;
    min-height: 22px;
}

@media (max-width: 1023px) {
    header {
        padding: 15px 30px;
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
    }
    .logo {
        font-size: 1.6em; 
    }
    .navigation {
        flex-direction: row; 
        align-items: center;
        gap: 20px; 
    }
    .navigation a {
        font-size: 1.1em;
        font-weight: 700;
    }
    .title {
        font-size: 1.8em;
    }
    section {
        padding: 60px 20px;
    }
    .content {
        flex-direction: column;
        align-items: center;
    }
    .skill-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .skill-text {
        padding-left: 0; 
        margin-top: 8px;
    }
    .tool-card {
        width: 100%; 
    }
}

@media (max-width: 800px) {
    body {
        font-size: 14px;
    }

    .main {
        background: linear-gradient(to bottom, rgba(33,53,85,0.55) 0%, rgba(33,53,85,0.15) 35%, rgba(33,53,85,0) 60%), url(/images/new_background_main.png) no-repeat #D8C4B6;
        background-size: auto 200%;
        background-position: center top;
        background-attachment: scroll;
        align-items: flex-start;
        padding-top: 220px;
        min-height: 100vh;
    }

    .main h2 {
        font-size: 1.7em;
        font-weight: 700;
        text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    }

    .main-buttons {
        margin-top: 1em; 
        width: 100%;
    }

    .main-btn {
        margin-bottom: 20px; 
        padding: 0.7em 1.5em; 
    }

    .social-icons {
        margin-top: 10px; 
    }

    .float-btn {
        bottom: 20px;
        right: 20px;
        font-size: 0.85em;
        padding: 12px 18px;
    }

    .intake-form-wrap { 
        padding: 24px 18px; 
    }
    
    .budget-row { 
        grid-template-columns: 1fr; 
    }

    .cta-center {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 15px;
    }
    .logo {
        font-size: 1.25em;
    }
    .navigation {
        gap: 12px;
    }
    .navigation a {
        font-size: 0.95em;
        font-weight: 600; 
    }
}
