@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-Bakh-FaNum-04-Regular.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Yekan Bakh';
    src: url('../fonts/Yekan-Bakh-FaNum-06-Bold.ttf') format('truetype');
    font-weight: bold;
}

:root {
    --brand-blue: #043060;
    --brand-blue-dark: #021f3f;
    --brand-blue-soft: #082f5a;

    --primary: #ffffff;
    --primary-dark: #f1f5f9;
    --accent: #ffffff;

    --dark: #043060;
    --dark-soft: #082f5a;

    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.72);

    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.16);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Yekan Bakh', sans-serif;
    background-color: var(--brand-blue);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--brand-blue-dark);
}

::-webkit-scrollbar-thumb {
    background: #ffffff;
    border-radius: 10px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(4, 48, 96, 0.88);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo,
.logo-image-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    color: #ffffff;
}

.logo i {
    color: #ffffff;
}

.site-logo {
    height: 54px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-site-logo {
    height: 58px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #ffffff;
    opacity: 0.75;
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.btn-primary {
    background: #ffffff;
    color: var(--brand-blue);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
    background: #f1f5f9;
    color: var(--brand-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.24);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.32);
    color: var(--text-light);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-fit {
    width: fit-content;
}

.btn-accent {
    border-color: rgba(255, 255, 255, 0.42);
    color: #ffffff;
}

/* Hero */
.hero {
    height: 100vh;
    min-height: 760px;
    display: flex;
    align-items: center;
    position: relative;

    background-color: var(--brand-blue);
    background-image: url('/images/landing/mgroup-hero.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: min(1100px, calc(100% - 90px)) auto;
    background-attachment: scroll;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    background: linear-gradient(to top, var(--brand-blue), transparent);
}

.hero-only-bg {
    height: 100vh;
    min-height: 760px;
}

/* Stats */
.stats {
    margin-top: -80px;
    position: relative;
    z-index: 20;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-item {
    padding: 30px;
    text-align: center;
}

.stat-item h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Sections */
.features,
.brands {
    padding: 120px 0;
    background-color: var(--brand-blue);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ffffff;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

/* Brand Cards */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.brand-card {
    padding: 40px;
    transition: all 0.4s;
    text-align: center;
}

.brand-card:hover {
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.11);
}

.brand-logo-box {
    width: 96px;
    height: 96px;
    margin: 0 auto 25px;
    border-radius: 24px;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.brand-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: #ffffff;
}

.brand-card p {
    color: var(--text-muted);
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px;
    transition: all 0.4s;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.11);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 24px;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: #ffffff;
}

.feature-card p {
    color: var(--text-muted);
}

/* Showcase */
.showcase {
    padding: 100px 0;
    background-color: var(--brand-blue-soft);
}

.showcase-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.showcase-text {
    flex: 1;
}

.showcase-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #ffffff;
}

.showcase-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.check-list {
    list-style: none;
    margin-bottom: 40px;
}

.check-list li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.check-list i {
    color: #ffffff;
    margin-left: 10px;
}

.showcase-image {
    flex: 1;
    position: relative;
}

.showcase-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* CTA */
.cta-section {
    padding: 120px 0;
    background-color: var(--brand-blue);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.cta-box {
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.cta-box h3 {
    font-size: 28px;
    color: #ffffff;
}

.cta-box p {
    color: var(--text-muted);
}

.cta-box > i {
    font-size: 40px;
}

.cta-primary {
    border-right: 4px solid #ffffff;
}

.cta-primary > i {
    color: #ffffff;
}

.cta-accent {
    border-right: 4px solid rgba(255, 255, 255, 0.55);
}

.cta-accent > i {
    color: #ffffff;
}

/* Form */
.form-section {
    padding: 100px 0;
    background-color: var(--brand-blue-soft);
}

.form-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
}

.form-header {
    margin-bottom: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    color: #ffffff;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: rgba(2, 31, 63, 0.55);
    border: 1px solid var(--glass-border);
    color: white;
    font-family: inherit;
    outline: none;
}

.form-control:focus {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(2, 31, 63, 0.75);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

select.form-control {
    background: rgba(2, 31, 63, 0.95);
    appearance: none;
}

.form-full {
    grid-column: span 2;
}

.submit-btn {
    width: 100%;
    padding: 15px;
}

.success-message {
    grid-column: span 2;
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(74, 222, 128, 0.3);
    text-align: center;
}

/* Footer */
footer {
    padding: 80px 0 30px;
    background: var(--brand-blue-dark);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 18px;
    color: #ffffff;
}

.footer-col p {
    color: var(--text-muted);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a,
.contact-list a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul a:hover,
.contact-list a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--glass);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
}

.social-link:hover {
    background: #ffffff;
    color: var(--brand-blue);
    transform: scale(1.1);
}

.footer-admin-action {
    margin-top: 22px;
}

.footer-admin-action .btn {
    padding: 9px 20px;
    font-size: 13px;
}

.contact-list {
    color: var(--text-muted);
}

.contact-list i {
    margin-left: 10px;
    color: #ffffff;
    min-width: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 14px;
}

.footer-credit {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brands-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .showcase-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .brand-logo-box {
        width: 88px;
        height: 88px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 14px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .logo {
        font-size: 22px;
    }

    .site-logo {
        height: 35px;
    }

    .footer-site-logo {
        height: 35px;
    }

    .hero {
        min-height: 620px;
        background-color: var(--brand-blue);
        background-size: calc(100% - 28px) auto;
        background-position: center center;
        background-attachment: scroll;
    }

    .hero-only-bg {
        min-height: 620px;
    }

    .stats {
        margin-top: -50px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .section-header p {
        font-size: 16px;
    }

    .features,
    .brands,
    .cta-section {
        padding: 80px 0;
    }

    .brand-card,
    .feature-card,
    .cta-box {
        padding: 30px;
    }

    .brand-logo-box {
        width: 82px;
        height: 82px;
        border-radius: 22px;
        padding: 12px;
    }

    .form-card {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-full,
    .success-message {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}