/* ==========================================
   Contact Page - Blagweb
========================================== */

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #3b82f6;
    --bg: #0f172a;
    --card: #1e293b;
    --border: rgba(255, 255, 255, .08);
    --text: #ffffff;
    --text-light: #94a3b8;
    --shadow: 0 15px 40px rgba(0, 0, 0, .35);
}

main * {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}


/* ==============================
   HERO SECTION
================================= */

.contact-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image:
        linear-gradient(90deg,
            rgba(5, 10, 25, 0.96) 0%,
            rgba(5, 10, 25, 0.88) 45%,
            rgba(5, 10, 25, 0.3) 70%,
            rgba(5, 10, 25, 0.1) 100%),
        url("../images/contact/Contact.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0 80px;
    box-sizing: border-box;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 0 50px;
    justify-content: center;
    flex-grow: 1;
}

.hero-left {
    width: 100%;
    max-width: 650px;
    margin: 0;
}

.hero-left h1 {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 25px;
}

.hero-left h1 span {
    background: linear-gradient(135deg, #00d2ff, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left p {
    max-width: 600px;
    margin: 0 0 20px;
    font-size: clamp(1.02rem, 1.8vw, 1.15rem);
    color: #e2e8f0;
    font-weight: 400;
    line-height: 1.75;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 35px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(37, 99, 235, 0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, .2);
    color: #fff;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #fff;
    color: #2563eb;
    transform: translateY(-3px);
}

.hero-stats-full {
    width: 100%;
    max-width: 100%;
    padding: 60px 40px 80px;
    box-sizing: border-box;
    z-index: 2;
    position: relative;
    background: #050a19;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.08), rgba(255, 255, 255, 0.01));
    box-shadow: 0 25px 45px rgba(2, 12, 27, 0.35);
}

.stat-card i {
    font-size: 36px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s ease;
}

.stat-card:hover i {
    transform: scale(1.15);
}

.stat-card h3 {
    font-size: 40px;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card p {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

/* =====================
Responsive
===================== */

@media(max-width:992px) {

    .hero-left h1 {

        font-size: 52px;

    }

    .hero-stats {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media(max-width:768px) {

    .contact-hero {

        min-height: auto;

        padding: 140px 0 80px;

    }

    .hero-left {

        text-align: center;

        max-width: 100%;

    }

    .hero-buttons {

        justify-content: center;

    }

    .hero-left h1 {

        font-size: 42px;

    }

    .hero-left p {

        font-size: 17px;

    }

    .hero-stats {

        grid-template-columns: 1fr;

    }

    .btn-primary,
    .btn-outline {

        width: 100%;

        justify-content: center;

    }

}

/* ==========================
   Contact Section
========================== */

.contact-section {
    padding: 90px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
}

.contact-card {
    background: rgba(30, 41, 59, .75);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-card>p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ==========================
   Form
========================== */

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

input,
textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #0f172a;
    color: #fff;
    font-size: 15px;
    transition: .3s;
}

select {
    width: 100%;
    padding: 16px 40px 16px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: #0f172a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") no-repeat calc(100% - 16px) center;
    background-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: #fff;
    font-size: 15px;
    transition: .3s;
    cursor: pointer;
}

select option {
    background: #0f172a;
    color: #fff;
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .15);
}

textarea {
    resize: none;
    margin-bottom: 25px;
}

button {
    width: 100%;
    border: none;
    border-radius: 14px;
    padding: 17px;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: .3s;
}

button i {
    margin-left: 8px;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, .4);
}

/* ==========================
   Contact Info
========================== */

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 28px;
}

.info-item i {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, .15);
    color: var(--primary);
    border-radius: 50%;
    font-size: 20px;
}

.info-item h4 {
    margin-bottom: 4px;
}

.info-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #0f172a;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: .3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* ==========================
   Features
========================== */

.contact-features {
    padding: 100px 0;
    background: #0b0f19;
}

.contact-features .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.contact-features .section-title {
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.contact-features .section-title h2 {
    color: #ffffff !important;
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
    font-weight: 800 !important;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.contact-features .section-title p {
    color: #94a3b8 !important;
    font-size: clamp(1rem, 1.8vw, 1.15rem) !important;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 40px;
}

.feature-box {
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.feature-box:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.feature-box i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #3b82f6 !important;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.feature-box:hover i {
    transform: rotate(360deg) scale(1.1);
    color: #60a5fa !important;
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(37, 99, 235, 0.1));
}

.feature-box h3 {
    font-size: 1.02rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0;
    line-height: 1.4;
}

/* ==========================
   Google Map
========================== */

.map-section {
    padding: 0 0 80px;
}

.map-section iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 20px;
}

/* ==========================
   CTA
========================== */

.contact-cta {
    padding: 90px 20px;
    text-align: center;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-radius: 25px;
    margin: 0 auto 90px;
    width: min(1200px, 95%);
}

.contact-cta h2 {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.contact-cta p {
    color: #dbeafe;
    max-width: 650px;
    margin: auto auto 35px;
}

.cta-btn {
    display: inline-block;
    padding: 16px 38px;
    background: #fff;
    color: #2563eb;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.cta-btn:hover {
    transform: translateY(-4px);
}

/* ==========================
   Animations
========================== */

.contact-card,
.feature-box,
.contact-cta {
    animation: fadeUp .8s ease;
}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* ==========================
   Responsive
========================== */

@media(max-width:992px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .help-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

}

@media(max-width:768px) {

    .row {
        grid-template-columns: 1fr;
    }

    .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-hero {
        padding: 110px 20px 80px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-card {
        padding: 30px;
    }

    .contact-cta h2 {
        font-size: 2rem;
    }

}

@media(max-width:480px) {

    .hero-btn,
    .cta-btn {
        width: 100%;
    }

    .contact-card {
        padding: 25px;
    }

    .info-item {
        gap: 12px;
    }

    .info-item i {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

}

/* ==========================
   Success Modal
========================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 25, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px;
}

.modal-card h2 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: none;
    letter-spacing: normal;
}

.modal-card p {
    color: #94a3b8;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 28px;
    text-shadow: none;
}

.modal-btn {
    width: auto;
    padding: 12px 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}