/* ContactUs.css - Redesigned for single-page fit */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #E31837;
    --primary-blue: #1E3A8A;
    --gradient-start: #1E3A8A;
    --gradient-end: #E31837;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--gradient-start) 0%, #4338CA 50%, var(--gradient-end) 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
header {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

nav {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    width: 120px;
    height: auto;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Profile Container */
.profile-container {
    position: relative;
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), #FF6B6B);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.profile-initials {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.profile-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown a,
.profile-dropdown button {
    display: block;
    width: 100%;
    padding: 10px 16px;
    text-align: left;
    border: none;
    background: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
    background: #f5f5f5;
}

/* Main Contact Section - Fits viewport */
.contact-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
}

.contact-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px 20px;
}

.contact-container {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

/* Left Side - Info */
.contact-info {
    color: #fff;
}

.contact-info .tagline {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.contact-info h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.contact-info h1 span {
    background: linear-gradient(135deg, #FF6B6B, #FFD93D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info .subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 400px;
}

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.contact-card .icon {
    width: 48px;
    height: 48px;
    background: rgba(227, 24, 55, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card .icon i {
    font-size: 20px;
    color: #FF6B6B;
}

.contact-card h3 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.contact-card p a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.contact-card p a:hover {
    text-decoration: underline;
}

.contact-card span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Right Side - Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.contact-form-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
    text-align: center;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(227, 24, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: none;
    min-height: 100px;
}

.text-danger {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-red), #FF6B6B);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(227, 24, 55, 0.4);
}

.submit-btn i {
    font-size: 16px;
}

/* Footer Integration */
.contact-page footer {
    background: transparent;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info h1 {
        font-size: 32px;
    }

    .contact-info .subtitle {
        margin: 0 auto 24px;
    }

    .contact-cards {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-main {
        padding: 20px;
    }
}

@media (max-width: 600px) {
    .contact-main {
        padding: 15px;
    }

    .contact-info h1 {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(30, 58, 138, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links a {
        display: block;
        padding: 12px 20px;
        text-align: center;
    }
}

/* Decorative elements */
.contact-page::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227, 24, 55, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-page::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(30, 58, 138, 0.4) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-main {
    position: relative;
    z-index: 1;
}

/* Phone input label */
.phone-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 8px;
}

/* intl-tel-input integration (scoped to contact form) */
.form-group .iti {
    width: 100%;
}

.form-group .iti__tel-input,
.form-group .iti__search-input {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* intl-tel-input dropdown theming (match site dark theme) */
.form-group .iti__dropdown-content,
.iti__dropdown-content {
    background: #1a1a2e !important;
    border: 1px solid rgba(227, 24, 55, 0.25) !important;
    color: #fff !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6) !important;
}

.form-group .iti__search-input,
.iti__search-input {
    background: #2a2a3e !important;
    border: 2px solid rgba(227, 24, 55, 0.3) !important;
    color: #fff !important;
    border-radius: 10px !important;
}

.form-group .iti__search-input::placeholder,
.iti__search-input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
}

.form-group .iti__country-list,
.iti__country-list {
    background: #1a1a2e !important;
}

.form-group .iti__country,
.iti__country {
    color: #fff !important;
}

.form-group .iti__country-name,
.iti__country-name {
    color: #fff !important;
}

.form-group .iti__dial-code,
.iti__dial-code {
    color: #E31837 !important;
}

.form-group .iti__country.iti__highlight,
.form-group .iti__country:hover,
.iti__country.iti__highlight,
.iti__country:hover {
    background: rgba(227, 24, 55, 0.2) !important;
}

.form-group .iti__divider {
    border-bottom: 1px solid rgba(227, 24, 55, 0.18);
}

.form-group .iti__selected-country:focus,
.form-group .iti__selected-country:hover {
    background: rgba(227, 24, 55, 0.08);
    border-radius: 10px;
}

.form-group .iti__arrow {
    border-top-color: rgba(227, 24, 55, 0.9);
}

/* Prevent Chrome/Edge autofill from turning inputs white */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #333;
    caret-color: #333;
    -webkit-box-shadow: 0 0 0px 1000px #fafafa inset;
    box-shadow: 0 0 0px 1000px #fafafa inset;
    border: 2px solid #e8e8e8;
    transition: background-color 9999s ease-in-out 0s;
}

/* ========== TOAST NOTIFICATIONS ========== */
.toast-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast-notification {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    max-width: 420px;
    padding: 16px 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: translateX(120%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
}

.toast-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-notification.hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    color: #10b981;
}

.toast-error .toast-icon {
    color: #ef4444;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #333;
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

@media (max-width: 480px) {
    .toast-container {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
    }

    .toast-notification {
        min-width: auto;
        max-width: none;
    }
}
