/* GlobalCE Premium Design System Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- 1. Design Tokens & CSS Variables --- */
:root {
    --primary: #002db3;
    --primary-hover: #00228c;
    --primary-glow: rgba(0, 45, 179, 0.35);
    --accent: #0040ff;
    --accent-light: #e8efff;

    --dark-bg: #06122d;
    --dark-card: #0b1a36;
    --dark-border: #13274f;

    --light-bg: #f8fafc;
    --light-card: #ffffff;
    --light-accent-card: #e8efff;

    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;

    --white: #ffffff;
    --black: #000000;

    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 8px 24px rgba(0, 45, 179, 0.4);
    --shadow-glow-hover: 0 12px 32px rgba(0, 45, 179, 0.6);

    --container-width: 1200px;
}

/* --- 2. Base & Reset Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* --- 3. Typography Helpers --- */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 30px;
    }

    .section-subtitle {
        font-size: 16px;
    }
}

/* --- 4. Component Styles: Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    transition: var(--transition-smooth);
    font-size: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-glow {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-hover);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

/* --- 5. Header & Navigation --- */
.site-header {
    background-color: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--dark-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
}

.logo span {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    color: var(--gray-200);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta .btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* Hide mobile CTA on desktop by default */
.mobile-only-cta {
    display: none;
}

@media (max-width: 991px) {

    /* Hide desktop CTA on mobile view */
    .desktop-only-cta {
        display: none;
    }

    /* Show mobile CTA inside active drawer on mobile view */
    .mobile-only-cta {
        display: block;
    }
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 102;
}

.mobile-nav-toggle span {
    height: 2px;
    width: 100%;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--dark-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: 120px 40px 40px 40px;
        gap: 28px;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 101;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 18px;
        width: 100%;
    }

    .nav-cta {
        margin-top: 20px;
        width: 100%;
    }

    .nav-cta .btn {
        width: 100%;
    }

    .mobile-nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* --- 6. Hero Section --- */
.hero {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
    padding: 100px 0 120px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.hero-image:hover img {
    transform: scale(1.03);
}

/* Background blob decorations */
.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 45, 179, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 991px) {
    .hero {
        padding: 60px 0 80px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image img {
        height: 380px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* --- 7. Our Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--light-accent-card);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 45, 179, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent);
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background-color: var(--white);
    border-color: rgba(0, 45, 179, 0.15);
}

.service-card:hover::before {
    height: 100%;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.service-text {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px;
    }
}

/* --- 8. How We Help Section --- */
.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 40px;
    padding: 0 20px;
}

/* Connecting dashed line */
.process-flow::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    right: 5%;
    height: 2px;
    background-image: linear-gradient(to right, var(--gray-200) 60%, rgba(255, 255, 255, 0) 40%);
    background-size: 15px 2px;
    z-index: 1;
}

.process-step {
    width: 20%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid var(--accent-light);
    color: var(--primary);
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.step-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    padding: 0 10px;
}

@media (max-width: 991px) {
    .process-flow {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .process-flow::before {
        display: none;
    }

    .process-step {
        width: 100%;
        max-width: 320px;
    }

    .step-number {
        margin-bottom: 16px;
    }
}

/* --- 9. Why Choose Us Section --- */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.why-us-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.why-us-icon::before {
    content: '✓';
    color: var(--primary);
    font-weight: 800;
    font-size: 14px;
}

.why-us-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.why-us-item-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.why-us-item-text {
    font-size: 15px;
    color: var(--text-muted);
}

.why-us-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-us-image img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-image img {
        height: 320px;
    }
}

/* --- 10. Industries We Support --- */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

/* Top row: 3 cards each spanning 2 columns */
.industry-card:nth-child(1),
.industry-card:nth-child(2),
.industry-card:nth-child(3) {
    grid-column: span 2;
}

/* Bottom row: 2 cards each spanning 3 columns */
.industry-card:nth-child(4),
.industry-card:nth-child(5) {
    grid-column: span 3;
}

.industry-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: var(--white);
    transition: var(--transition-smooth);
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.industry-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.industry-card:hover .industry-image img {
    transform: scale(1.08);
}

.industry-title {
    padding: 16px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
    background-color: var(--accent-light);
    transition: var(--transition-fast);
}

.industry-card:hover .industry-title {
    background-color: var(--primary);
    color: var(--white);
}

@media (max-width: 991px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .industry-card:nth-child(1),
    .industry-card:nth-child(2),
    .industry-card:nth-child(3),
    .industry-card:nth-child(4),
    .industry-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* --- 11. Frequently Asked Questions --- */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: var(--radius-md);
    background-color: var(--gray-100);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-header {
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
}

.faq-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    transition: var(--transition-fast);
}

.faq-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.faq-icon-circle::before {
    content: '+';
    font-size: 20px;
    color: var(--primary);
    font-weight: 700;
    transition: var(--transition-smooth);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
    padding: 0 30px 24px 30px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* Active FAQ Item State */
.faq-item.active {
    background-color: var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-header {
    padding-bottom: 12px;
}

.faq-item.active .faq-title {
    color: var(--primary);
}

.faq-item.active .faq-icon-circle {
    background-color: var(--primary);
    transform: rotate(180deg);
}

.faq-item.active .faq-icon-circle::before {
    content: '−';
    color: var(--white);
}

@media (max-width: 576px) {
    .faq-header {
        padding: 16px 20px;
    }

    .faq-title {
        font-size: 15px;
    }

    .faq-content-inner {
        padding: 0 20px 16px 20px;
    }
}

/* --- 12. Support CTA Block --- */
.cta-block-section {
    padding: 60px 0;
}

.cta-card {
    background-color: var(--dark-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    box-shadow: var(--shadow-lg);
}

.cta-card-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.cta-card-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.cta-card-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 16px;
    max-width: 500px;
}

.cta-card-image {
    height: 100%;
    min-height: 350px;
}

.cta-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .cta-card {
        grid-template-columns: 1fr;
    }

    .cta-card-content {
        padding: 40px;
        text-align: center;
        align-items: center;
    }

    .cta-card-image {
        min-height: 250px;
        height: 250px;
    }
}

/* --- 13. Consultation Form Area (Inline) --- */
.consultation-form-section {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.form-card {
    background-color: var(--accent-light);
    border-radius: var(--radius-lg);
    padding: 60px;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.form-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.5;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-main);
    font-size: 15px;
    transition: var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 64, 255, 0.15);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    background-color: var(--primary);
    color: var(--white);
    transition: var(--transition-smooth);
}

.form-submit-btn:hover {
    background-color: var(--primary-hover);
    box-shadow: var(--shadow-glow);
}

@media (max-width: 768px) {
    .form-card {
        padding: 30px;
    }

    .form-title {
        font-size: 28px;
    }
}

/* --- 14. Bottom Visual Banner --- */
.bottom-banner-section {
    padding: 0;
    margin: 0;
    background-color: var(--light-bg);
}

.bottom-banner-image {
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.bottom-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .bottom-banner-image {
        height: 300px;
    }
}

/* --- 15. Footer Section --- */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 80px 0 30px 0;
    border-top: 1px solid var(--dark-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-logo span {
    color: var(--accent);
}

.footer-description {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-light);
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-light);
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* --- 16. Dynamic Modal Component --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 18, 45, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: #ebf1ff;
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    padding: 32px;
    position: relative;
    box-shadow: 0 24px 60px rgba(6, 18, 45, 0.18);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-container .form-header {
    margin-bottom: 24px;
}

.modal-container .form-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.modal-container .form-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

.modal-container .consultation-form {
    gap: 12px;
}

.modal-container .form-input,
.modal-container .form-select,
.modal-container .form-textarea {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    background-color: var(--white);
    color: var(--text-main);
}

.modal-container .form-textarea {
    min-height: 80px;
}

.modal-container .form-submit-btn {
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    background-color: #002db3;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--text-muted);
    font-size: 16px;
}

.modal-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.08);
    color: var(--text-main);
}

@media (max-width: 576px) {
    .modal-container {
        padding: 24px 20px;
    }
}

/* --- 17. Toast Notifications --- */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background-color: var(--white);
    border-left: 4px solid var(--accent);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 380px;
}

.toast.active {
    transform: translateX(0);
}

.toast-success {
    border-left-color: #10b981;
}

.toast-error {
    border-left-color: #ef4444;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}