:root {
    --fb-primary: #1e6fd9;
    --fb-primary-dark: #1554a8;
    --fb-secondary: #0f3d6e;
    --fb-bg: #ffffff;
    --fb-bg-light: #f5f7fa;
    --fb-text: #222222;
    --fb-text-muted: #555555;
    --fb-card-bg: #f2f2f2;
    --fb-border: #dddddd;
    --fb-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    --fb-radius: 8px;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin: 0;
    margin-bottom: 60px;
    font-family: Tahoma, Arial, sans-serif;
    background-color: var(--fb-bg);
    color: var(--fb-text);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--fb-primary);
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ===== Portfolio Section ===== */

.portfolio-section {
    padding: 80px 20px 40px;
}

.portfolio-heading {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: bold;
    color: var(--fb-secondary);
}

.category-block {
    margin-bottom: 60px;
    text-align: center;
}

.category-title {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .category-title:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(15, 61, 110, 0.35);
    }

.category-title {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--fb-secondary), var(--fb-primary));
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 30px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 20px;
    box-shadow: 0 4px 12px rgba(15, 61, 110, 0.25);
}

    .category-title::after {
        content: "";
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 2px;
    }

.client-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.client-card {
    background-color: var(--fb-card-bg);
    padding: 20px;
    border-radius: var(--fb-radius);
    box-shadow: var(--fb-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.client-logo {
    max-width: 150px;
    max-height: 100px;
    flex-shrink: 0;
    object-fit: contain;
}

.client-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.client-name {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: var(--fb-text);
}

.client-phone {
    color: var(--fb-text-muted);
    font-size: 14px;
}

/* ===== Layout ===== */

.fb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.fb-header {
    background-color: var(--fb-secondary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.fb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.fb-logo {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 10;
    padding-bottom: 5px;
}

    .fb-logo:hover {
        color: var(--fb-primary);
    }

.fb-logo-img {
    height: 110px;
    width: 110px;
    display: block;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 0px;
    border: 4px solid #d97706;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    object-fit: contain;
    object-position: center;
    position: relative;
    top: 15px;
    margin-bottom: -40px;
}

.fb-logo-text {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.5px;
    position: relative;
    top: 20px;
}

.fb-nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

    .fb-nav a {
        color: #ffffff;
        text-decoration: none;
        font-size: 16px;
        padding: 6px 4px;
        border-bottom: 2px solid transparent;
        transition: border-color 0.2s ease, color 0.2s ease;
    }

        .fb-nav a:hover {
            color: var(--fb-primary);
            border-bottom-color: var(--fb-primary);
        }

.fb-main {
    min-height: calc(100vh - 200px);
}

.fb-footer {
    background-color: var(--fb-secondary);
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

    .fb-footer p {
        margin: 0;
        font-size: 14px;
        color: #d6e1f0;
    }

/* ===== Buttons ===== */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 26px;
    border-radius: var(--fb-radius);
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--fb-primary);
    color: #ffffff;
    border: 2px solid var(--fb-primary);
}

    .btn-primary:hover {
        background-color: var(--fb-primary-dark);
        border-color: var(--fb-primary-dark);
        color: #ffffff;
    }

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

    .btn-secondary:hover {
        background-color: #ffffff;
        color: var(--fb-secondary);
    }

/* ===== Hero ===== */

.hero {
    background-image: linear-gradient(rgba(15, 61, 110, 0.75), rgba(30, 111, 217, 0.75)), url('/images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-title {
    font-size: 38px;
    font-weight: bold;
    margin: 0;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 18px;
    max-width: 700px;
    line-height: 1.8;
    color: #e3ecf7;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

/* ===== Services ===== */

.services {
    padding: 70px 0;
    background-color: var(--fb-bg);
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: var(--fb-secondary);
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: var(--fb-bg-light);
    border-radius: var(--fb-radius);
    padding: 25px;
    box-shadow: var(--fb-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    }

    .service-card h3 {
        margin-top: 0;
        margin-bottom: 12px;
        color: var(--fb-primary);
        font-size: 20px;
    }

    .service-card p {
        margin: 0;
        color: var(--fb-text-muted);
        line-height: 1.7;
        font-size: 15px;
    }

/* ===== CTA ===== */

.cta {
    background-color: var(--fb-bg-light);
    padding: 60px 0;
    text-align: center;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cta h2 {
    margin: 0;
    font-size: 26px;
    color: var(--fb-secondary);
}

.cta p {
    margin: 0;
    color: var(--fb-text-muted);
    font-size: 17px;
}

/* ===== Contact ===== */

.contact-section {
    padding: 80px 0 60px;
    background-color: var(--fb-bg);
}

.contact-intro {
    text-align: center;
    color: var(--fb-text-muted);
    font-size: 17px;
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    background-color: var(--fb-bg-light);
    border-radius: var(--fb-radius);
    padding: 25px;
    box-shadow: var(--fb-shadow);
}

    .contact-info h3 {
        margin-top: 0;
        margin-bottom: 20px;
        color: var(--fb-primary);
        font-size: 20px;
    }

    .contact-info p {
        margin: 10px 0;
        color: var(--fb-text);
        font-size: 15px;
        line-height: 1.7;
    }

.contact-form {
    background-color: var(--fb-bg-light);
    border-radius: var(--fb-radius);
    padding: 25px;
    box-shadow: var(--fb-shadow);
}

.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .form-group label {
        font-weight: bold;
        color: var(--fb-text);
        font-size: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        border: 1px solid var(--fb-border);
        border-radius: var(--fb-radius);
        font-family: inherit;
        font-size: 15px;
        background-color: #ffffff;
        color: var(--fb-text);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--fb-primary);
            box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.15);
        }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

/* ===== Language Switch ===== */

.fb-lang-switch {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 14px;
    border: 1px solid #ffffff;
    border-radius: var(--fb-radius);
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

    .fb-lang-switch:hover {
        background-color: #ffffff;
        color: var(--fb-secondary);
    }

/* ===== Responsive ===== */

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 22px;
    }

    .fb-header-inner {
        justify-content: center;
        text-align: center;
    }

    .fb-nav {
        justify-content: center;
    }

    .fb-logo-img {
        height: 80px;
        width: 80px;
        padding: 8px;
        top: 10px;
        margin-bottom: -30px;
    }

    .fb-logo-text {
        font-size: 18px;
    }

    .portfolio-section {
        padding: 60px 20px 30px;
    }

    .contact-section {
        padding: 60px 0 40px;
    }
}
@keyframes fb-logo-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.fb-logo-img {
    animation: fb-logo-spin 8s linear infinite;
}
.social-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.contact-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--fb-text);
    font-weight: bold;
    font-size: 15px;
    padding: 10px 12px;
    background-color: #ffffff;
    border: 1px solid var(--fb-border);
    border-radius: var(--fb-radius);
    transition: background-color 0.2s ease, transform 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}
.contact-grid-single {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Vision ===== */

.vision-section {
    padding: 80px 0 60px;
    background-color: var(--fb-bg);
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
}

    .vision-content p {
        color: var(--fb-text);
        font-size: 17px;
        line-height: 1.9;
        margin-bottom: 20px;
        text-align: justify;
    }
/* ===== Privacy Policy ===== */

.privacy-section {
    padding: 80px 0 60px;
    background-color: var(--fb-bg);
}

.privacy-updated {
    text-align: center;
    color: var(--fb-text-muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
}

    .privacy-content h2 {
        color: var(--fb-primary);
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 12px;
    }

    .privacy-content p {
        color: var(--fb-text);
        font-size: 16px;
        line-height: 1.9;
        margin-bottom: 15px;
        text-align: justify;
    }
/* ===== Footer Links ===== */

.fb-footer-link {
    color: #d6e1f0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

    .fb-footer-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }

.fb-footer-sep {
    color: #6b8bb5;
    margin: 0 10px;
    font-size: 14px;
}

.fb-footer p {
    margin: 6px 0;
}

/* ===== Scroll Animation ===== */

.client-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .client-card.visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (prefers-reduced-motion: reduce) {
    .client-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
