/* ============================================
   Custom Styles for Get5.biz - Blue/White Theme
   ============================================ */

:root {
    --primary-color: #1e5fbb;
    --primary-light: #3b7dd8;
    --primary-dark: #164a94;
    --secondary-color: #2980b9;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --light-bg: #f8fbff;
    --dark-text: #1a1a2e;
    --gray-text: #5a6a7a;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 50%, #f8fbff 100%);
    min-height: 100vh;
}

main {
    min-height: calc(100vh - 200px);
}

/* ----- Navbar ----- */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(30, 95, 187, 0.08);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-text) !important;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* ----- Buttons ----- */
.btn-primary {
    background: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 95, 187, 0.25);
}

.btn-success {
    background: var(--success-color);
    border: none;
}

.btn-success:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.25);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ----- Hero Section ----- */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 70px 0;
    border-radius: 0 0 40px 40px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.hero-section h1 {
    font-size: 2.3rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.15rem;
    opacity: 0.95;
}

/* ----- Form Card ----- */
.form-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(30, 95, 187, 0.12);
    padding: 35px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(30, 95, 187, 0.08);
}

.form-label {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid #e1e8f0;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 95, 187, 0.1);
}

.form-text {
    color: var(--gray-text);
    font-size: 0.85rem;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* ----- Two Column Row ----- */
.row-two-cols .col-md-6 {
    padding-right: 10px;
    padding-left: 10px;
}

/* ----- File Upload ----- */
.file-upload-wrapper {
    border: 2px dashed #c5d5e8;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    transition: all 0.3s ease;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, #eef5ff 0%, #ffffff 100%);
}

.file-upload-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* ----- Checkbox Custom ----- */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(30, 95, 187, 0.15);
}

/* ----- Newsletter Checkbox ----- */
.newsletter-checkbox {
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    border: 1px solid #d5e3f5;
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
}

.newsletter-checkbox .form-check-label {
    font-size: 0.9rem;
    color: var(--gray-text);
}

/* ----- Google Map ----- */
#mapContainer {
    border: 2px solid #e1e8f0;
    box-shadow: 0 4px 15px rgba(30, 95, 187, 0.1);
}

/* ----- Alerts ----- */
.alert-info {
    background: linear-gradient(180deg, #e8f4ff 0%, #f5faff 100%);
    border: 1px solid #c5ddf5;
    color: var(--primary-dark);
}

.alert-success {
    background: linear-gradient(180deg, #e8f8ef 0%, #f5fff9 100%);
    border: 1px solid #b5e8c9;
    color: #1d7a45;
}

/* ----- Feature Cards ----- */
.feature-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(30, 95, 187, 0.08);
    padding: 30px;
    height: 100%;
    border: 1px solid rgba(30, 95, 187, 0.06);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(30, 95, 187, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 1.8rem;
    color: white;
}

/* ----- Footer ----- */
footer {
    background: linear-gradient(135deg, #1a2a3a 0%, #243447 100%);
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .form-card {
        padding: 20px;
        margin-top: -30px;
    }
    
    .row-two-cols .col-md-6 {
        margin-bottom: 15px;
    }
}

/* ----- Google Autocomplete ----- */
.pac-container {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(30, 95, 187, 0.15);
    margin-top: 5px;
    border: 1px solid #e1e8f0;
}

.pac-item {
    padding: 12px 15px;
    border: none;
}

.pac-item:hover {
    background: #f0f7ff;
}


.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 95, 187, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.spinner-wrapper {
    text-align: center;
    z-index: 100000;
    position: relative;
}

#countdown {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 10px;
    color: #fff;
}