/* ========================================
   FORMS CSS - CONTACT FORM STYLES
   ======================================== */

/* ========================================
   1. CSS VARIABLES & RESET
   ======================================== */
:root {
    --primary-color: #0054A1;
    --secondary-color: #1e40af;
    --accent-color: #007bff;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(0, 84, 161, 0.3);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #0056b3);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

/* ========================================
   2. HERO SECTION STYLES
   ======================================== */

/* Main Hero Section */
.contact-hero {
    background: url('../assets/forms/forms.png') center center/cover no-repeat;
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px !important;
    padding-bottom: 100px !important;
    min-height: 60vh;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Hero Content Section */
.hero-content-section {
    position: relative;
}

.hero-content-section h1 {
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-content-section .lead {
    color: var(--text-primary);
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   3. CONTACT FORM STYLES
   ======================================== */

/* Form Container */
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow-light);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

/* Form Sections */
.form-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Form Labels */
.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

/* Form Controls */
.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all var(--transition-normal);
    background-color: white;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 84, 161, 0.1);
    outline: none;
}

.form-control:hover, .form-select:hover {
    border-color: var(--accent-color);
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-control.is-valid, .form-select.is-valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Form Floating Labels */
.form-floating {
    margin-bottom: 20px;
}

.form-floating .form-control {
    height: 60px;
}

.form-floating label {
    padding: 20px 16px;
}

.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label {
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    color: var(--primary-color);
}

/* Checkbox Container */
.checkbox-container {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin: 20px 0;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Required Field Indicator */
.required-field::after {
    content: " *";
    color: #dc3545;
}

/* Submit Button */
.submit-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition-normal);
    color: white;
    min-width: 200px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px var(--shadow-heavy);
    background: var(--gradient-accent);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 84, 161, 0.3);
}

/* ========================================
   4. CONTACT INFORMATION STYLES
   ======================================== */

.contact-info {
    background: #f8fafc;
    padding: 40px;
    border-radius: 15px;
    margin-top: 40px;
}

.contact-info h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 0;
}

.contact-item .iconify {
    font-size: 20px;
    color: var(--primary-color);
    margin-right: 15px;
    width: 24px;
}

/* ========================================
   5. LOCATIONS SECTION STYLES
   ======================================== */

.locations-section {
    background: white;
    padding: 60px 0;
}

.locations-section-modern {
    background: #f8fafc;
    padding: 80px 0;
}

/* CTA buttons spacing in Locations block */
.locations-cta .cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px; /* space between buttons */
    flex-wrap: wrap;
}

/* Neutralize any individual margins so spacing is even */
.locations-cta .cta-buttons .btn {
    margin: 0 !important;
}

@media (max-width: 576px) {
    .locations-cta .cta-buttons {
        gap: 12px;
    }
}

/* Locations Header */
.locations-header {
    margin-bottom: 60px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px var(--shadow-heavy);
}

.locations-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.locations-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.locations-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow-light);
    min-width: 100px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Basic Location Cards */
.location-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

.location-card h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.location-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 14px;
}

.location-item .iconify {
    color: #6b7280;
    margin-right: 10px;
    margin-top: 2px;
    width: 16px;
}

/* Modern Location Cards */
.location-card-modern {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 8px 32px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.location-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow-medium);
}

/* Modern Card Header */
.card-header-modern {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.country-flag {
    font-size: 3rem;
    margin-bottom: 15px;
}

.location-info {
    margin-bottom: 15px;
}

.country-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.company-name {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-accent);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern Card Body */
.card-body-modern {
    padding: 25px;
    flex: 1;
}

.contact-grid {
    display: grid;
    gap: 20px;
}

.contact-item-modern {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px var(--shadow-heavy);
}

.contact-icon .iconify {
    font-size: 1.2rem;
    color: white;
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-value {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Modern Card Actions */
.card-actions {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.btn-action {
    flex: 1;
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-action:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

/* ========================================
   6. REGION SECTION STYLES
   ======================================== */

.region-section {
    margin-bottom: 60px;
}

.region-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.region-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.3);
}

.region-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin: 0;
    flex: 1;
}

.region-line {
    height: 3px;
    background: linear-gradient(90deg, #007bff, transparent);
    flex: 1;
    border-radius: 2px;
}

/* ========================================
   7. MAP PREVIEW STYLES
   ======================================== */

.map-preview-container {
    position: relative;
    margin-bottom: 60px;
}

.map-preview {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
}

    .map-stats {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 20px 40px;
        border-radius: 50px;
        box-shadow: 0 15px 40px var(--shadow-light);
        display: flex;
        gap: 40px;
        align-items: center;
        min-width: 300px;
        justify-content: center;
        text-align: center;
        margin: 0 auto;
    }

.map-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.map-stat .iconify {
    font-size: 20px;
    color: var(--primary-color);
}

/* ========================================
   8. RESPONSIVE DESIGN
   ======================================== */

/* Large Desktop (1200px+) */
@media (max-width: 1200px) {
    .map-preview {
        height: 180px;
    }
    
    .map-stats {
        gap: 30px;
        padding: 18px 35px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .map-stat .iconify {
        font-size: 18px;
    }
}

/* Desktop (992px+) */
@media (max-width: 992px) {
    .map-preview {
        height: 160px;
        border-radius: 16px;
    }
    
    .map-stats {
        gap: 25px;
        padding: 16px 30px;
        border-radius: 40px;
    }
    
    .map-stat {
        font-size: 14px;
    }
    
    .map-stat .iconify {
        font-size: 16px;
    }
}

/* Tablet (768px+) */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 20px;
        margin: 0 15px;
        margin-top: -30px;
    }
    
    .contact-hero {
        padding: 100px 0 60px;
        height: 50vh;
        min-height: 300px;
        background-position: center center;
        background-size: cover;
    }
    
    .submit-btn {
        width: 100%;
        padding: 15px 20px;
        min-width: auto;
    }
    
    .form-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .map-preview-container {
        margin-bottom: 40px;
    }
    
    .map-preview {
        height: 140px;
        border-radius: 14px;
    }
    
    
    .map-stat {
        justify-content: center;
        font-size: 13px;
    }
    
    .map-stat .iconify {
        font-size: 18px;
    }
    
    .hero-content-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-content-section .lead {
        font-size: 1.1rem;
    }
    
    .locations-title {
        font-size: 2.25rem;
    }
    
    .locations-subtitle {
        font-size: 1.1rem;
    }
    
    .locations-stats {
        gap: 25px;
    }
    
    .stat-item {
        min-width: 90px;
        padding: 18px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Mobile (576px+) */
@media (max-width: 576px) {
    .contact-form-container {
        margin: 0 15px;
        padding: 25px;
        margin-top: -30px;
    }
    
    .map-preview {
        height: 120px;
        border-radius: 12px;
        margin: 0 10px;
    }
    
    .map-stats {
        padding: 16px 20px;
        border-radius: 20px;
        min-width: 180px;
        gap: 12px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .map-stat {
        font-size: 12px;
        gap: 8px;
    }
    
    .map-stat .iconify {
        font-size: 16px;
    }
    
    .contact-hero {
        height: 40vh;
        min-height: 250px;
        background-position: center center;
        background-size: cover;
        margin: 0;
        padding: 0;
    }
    
    .hero-content-section h1 {
        font-size: 2rem;
    }
    
    .hero-content-section .lead {
        font-size: 1rem;
    }
    
    .locations-title {
        font-size: 2rem;
    }
    
    .locations-subtitle {
        font-size: 1.1rem;
    }
    
    .locations-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 12px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .region-section {
        margin-bottom: 40px;
    }
    
    .card-header-modern,
    .card-body-modern,
    .card-actions {
        padding: 20px;
    }
    
    .country-flag {
        font-size: 2rem;
    }
    
    .country-name {
        font-size: 1.25rem;
    }
    
    .contact-grid {
        gap: 15px;
    }
    
    .contact-item-modern {
        gap: 12px;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .contact-icon .iconify {
        font-size: 1rem;
    }
    
    .contact-value {
        font-size: 13px;
    }
}

/* Small Mobile (480px+) */
@media (max-width: 480px) {
    .contact-form-container {
        margin: 0 10px;
        padding: 20px;
        margin-top: -20px;
    }
    
    .contact-hero {
        height: 35vh;
        min-height: 200px;
        background-position: center center;
        background-size: cover;
        width: 100%;
        overflow: hidden;
    }
    
    .hero-content-section {
        padding: 2rem 1rem;
    }
    
    .hero-content-section h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-content-section .lead {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .locations-title {
        font-size: 1.75rem;
    }
    
    .locations-subtitle {
        font-size: 1rem;
    }
    
    .map-preview {
        height: 100px;
        border-radius: 10px;
        margin: 0 5px;
    }
    
    .map-stats {
        padding: 12px 16px;
        border-radius: 18px;
        min-width: 160px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .map-stat {
        font-size: 11px;
    }
    
    .map-stat .iconify {
        font-size: 14px;
    }
    
    .card-header-modern,
    .card-body-modern,
    .card-actions {
        padding: 15px;
    }
    
    .country-flag {
        font-size: 1.75rem;
    }
    
    .country-name {
        font-size: 1.1rem;
    }
    
    .contact-grid {
        gap: 12px;
    }
    
    .contact-icon {
        width: 30px;
        height: 30px;
    }
    
    .contact-icon .iconify {
        font-size: 0.9rem;
    }
    
    .contact-value {
        font-size: 12px;
    }
}

/* Extra Small Mobile (360px+) */
@media (max-width: 360px) {
    .map-preview {
        height: 90px;
        border-radius: 8px;
    }
    
    .map-stats {
        padding: 10px 14px;
        border-radius: 15px;
        min-width: 140px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .map-stat {
        font-size: 10px;
        gap: 6px;
    }
    
    .map-stat .iconify {
        font-size: 12px;
    }
}

/* ========================================
   9. UTILITY CLASSES
   ======================================== */

/* Text utilities */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Background utilities */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Border utilities */
.border-primary {
    border-color: var(--primary-color) !important;
}

.border-secondary {
    border-color: var(--secondary-color) !important;
}

/* ========================================
   10. ANIMATIONS & TRANSITIONS
   ======================================== */

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-medium);
}

/* ========================================
   END OF FORMS CSS
   ======================================== */ 