/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables matching your color scheme */
:root {
    --e-global-color-primary: #2E4A7C;
    --e-global-color-secondary: #1A2A44;
    --e-global-color-text: #000000;
    --e-global-color-accent: #363636;
    --e-global-color-b3bae11: #DEDEDE;
    --e-global-color-3522c7f: #FFFFFF;
    --e-global-typography-primary-font-family: "Figtree";
    --e-global-typography-primary-font-size: 36px;
    --e-global-typography-primary-font-weight: 600;
    --e-global-typography-secondary-font-family: "Figtree";
    --e-global-typography-secondary-font-size: 25px;
    --e-global-typography-secondary-font-weight: 400;
    --e-global-typography-text-font-family: "Gilroy Custome";
    --e-global-typography-text-font-size: 14px;
    --e-global-typography-text-font-weight: 400;
    --e-global-typography-accent-font-family: "Gilroy Custome";
    --e-global-typography-accent-font-size: 18px;
    --e-global-typography-accent-font-weight: 500;
    
    /* Additional utility colors */
    --primary-gradient: linear-gradient(135deg, var(--e-global-color-primary) 0%, var(--e-global-color-secondary) 100%);
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--e-global-typography-text-font-family), "Gilroy Custome", sans-serif;
    line-height: 1.6;
    color: var(--e-global-color-text);
    background-color: #f8fafc;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FF8C00); /* Gold → Dark Orange */
    z-index: 9999;
    transition: width 0.1s ease;
}



/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(46, 74, 124, 0.8), rgba(26, 42, 68, 0.9)), 
    url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    margin: 40px 20px 60px 20px;
    box-shadow: 0 15px 40px rgba(46, 74, 124, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.03"><circle cx="7" cy="7" r="7"/></g></g></svg>');
    pointer-events: none;
    border-radius: 25px;
}
.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: var(--e-global-typography-primary-font-weight);
    color: var(--e-global-color-3522c7f);
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-section .highlight {
    color: #fbbf24;
    position: relative;
}

.hero-section .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 2px;
}

.hero-section p {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: var(--e-global-typography-secondary-font-size);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
    font-weight: var(--e-global-typography-secondary-font-weight);
}

/* Contact Section */
.contact-section {
    padding: 0 0 80px;

}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch; 
}

/* Form Wrapper */
.contact-form-wrapper {
    background: var(--e-global-color-3522c7f);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-header h2,
.info-header h2,
.map-header h2 {
    font-family: var(--e-global-typography-primary-font-family);
    font-size: var(--e-global-typography-secondary-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    color: var(--e-global-color-primary);
    margin-bottom: 1px;
}

.header-divider {
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    margin-bottom: 30px;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--e-global-color-b3bae11);
    border-radius: 10px;
    font-size: var(--e-global-typography-accent-font-size);
    font-family: inherit;
    background: var(--e-global-color-3522c7f);
    color: var(--e-global-color-text);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--e-global-color-primary);
    box-shadow: 0 0 0 3px rgba(46, 74, 124, 0.1);
    transform: translateY(-2px);
}

.form-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    appearance: none;
}

.form-label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--e-global-color-3522c7f);
    color: var(--e-global-color-primary);
    padding: 0 5px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    pointer-events: none;
}

.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label {
    opacity: 1;
    transform: translateY(0);
}

/* Submit Button */
.submit-btn {
    background: var(--primary-gradient);
    color: var(--e-global-color-3522c7f);
    padding: 18px 35px;
    border: none;
    border-radius: 10px;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid var(--e-global-color-3522c7f);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Contact Info Wrapper */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info {
    background: rgba(46, 74, 124, 0.08);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 35px;
    border: 1px solid rgba(46, 74, 124, 0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--e-global-color-b3bae11);
}

.info-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--e-global-color-3522c7f);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.info-content h4 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    color: var(--e-global-color-primary);
    margin-bottom: 8px;
}

.info-content p {
    color: var(--e-global-color-accent);
    line-height: 1.6;
}

.info-content a {
    color: var(--e-global-color-primary);
    text-decoration: none;
    transition: var(--transition);
}

.info-content a:hover {
    color: var(--e-global-color-secondary);
    text-decoration: underline;
}

/* Business Hours */
.business-hours {
    background: var(--e-global-color-3522c7f);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--e-global-color-b3bae11);
}

.business-hours h3 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    color: var(--e-global-color-primary);
    margin-bottom: 20px;
    text-align: center;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--e-global-color-b3bae11);
}

.hour-item:last-child {
    border-bottom: none;
}

.hour-item span:first-child {
    font-weight: 500;
    color: var(--e-global-color-text);
}

.hour-item span:last-child {
    color: var(--e-global-color-primary);
    font-weight: 600;
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: var(--e-global-color-3522c7f);
}

.map-header {
    text-align: center;
    margin-bottom: 50px;
}

.map-header p {
    color: var(--e-global-color-accent);
    font-size: var(--e-global-typography-accent-font-size);
    margin-bottom: 20px;
}

.map-header .header-divider {
    margin: 20px auto 0;
}

.map-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--e-global-color-3522c7f);
    border: 1px solid var(--e-global-color-b3bae11);
}

.map-wrapper iframe {
    width: 100%;
    height: 450px;
    border: none;
    transition: var(--transition);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(46, 74, 124, 0.1);
    max-width: 250px;
}

.overlay-content h4 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    color: var(--e-global-color-primary);
    margin-bottom: 8px;
}

.overlay-content p {
    color: var(--e-global-color-accent);
    font-size: var(--e-global-typography-text-font-size);
    line-height: 1.5;
    margin-bottom: 15px;
}

.directions-btn {
    display: inline-block;
    background: var(--primary-gradient);
    color: var(--e-global-color-3522c7f);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: var(--e-global-color-3522c7f);
    margin: 15% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.3s ease-out;
    overflow: hidden;
}

.modal-header {
    background: var(--primary-gradient);
    color: var(--e-global-color-3522c7f);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: var(--e-global-typography-secondary-font-family);
    font-size: var(--e-global-typography-secondary-font-size);
    font-weight: var(--e-global-typography-primary-font-weight);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--e-global-color-3522c7f);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 40px 30px;
    text-align: center;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--e-global-color-3522c7f);
    margin: 0 auto 20px;
    animation: pulse 2s infinite;
}

.modal-body p {
    color: var(--e-global-color-accent);
    font-size: var(--e-global-typography-accent-font-size);
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        margin: 0 15px 50px 15px;
        padding: 100px 0 60px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper,
    .contact-info {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        margin: 0 10px 40px 10px;
        padding: 80px 0 50px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .contact-form-wrapper,
    .contact-info,
    .business-hours {
        padding: 25px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .map-overlay {
        position: relative;
        top: 0;
        left: 0;
        margin: 20px;
        max-width: none;
    }
    
    .hour-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        margin: 0 5px 30px 5px;
        padding: 60px 0 40px;
        border-radius: 0 0 15px 15px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .contact-form-wrapper,
    .contact-info,
    .business-hours {
        padding: 20px;
    }
    
    .form-input {
        padding: 14px 16px;
        font-size: 16px;
    }
    
    .submit-btn {
        padding: 16px 30px;
        font-size: 16px;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .container {
        padding: 0 10px;
    }
    /* Contact Info Wrapper */
    .contact-info-wrapper {
        padding: 20px;
    }

    /* Each info item looks like a card */
    .contact-info .info-item {
        display: flex;
        align-items: center;  /* align icon + text at top */
        gap: 15px;
        padding: 15px;
        margin-bottom: 15px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    }

    /* Icon styling */
    .contact-info .info-icon {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: var(--primary-color, #123456);
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
    }

    /* Text section */
    .contact-info .info-content {
        flex: 1;
    }

    .contact-info .info-content h4 {
        font-size: 1rem;
        margin: 0 0 5px;
        color: var(--primary-color, #123456);
    }

    .contact-info .info-content p,
    .contact-info .info-content a {
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.4;
        color: #333;
        word-break: break-word;
    }

    /* Business hours list structured */
    .hours-list {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-top: 5px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Apply animations */
.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.contact-form-wrapper {
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.contact-info-wrapper {
    animation: fadeInRight 0.8s ease-out 0.4s both;
}

.map-section {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Focus and Accessibility */
.form-input:focus,
.submit-btn:focus,
.directions-btn:focus,
.modal-close:focus {
    outline: 2px solid var(--e-global-color-primary);
    outline-offset: 2px;
}

.info-content a:focus {
    outline: 2px solid var(--e-global-color-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Form validation styles */
.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.error-message {
    color: #ef4444;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.success-message {
    color: #10b981;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Loading states */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

/* Print styles */
@media print {
    .hero-section {
        background: none;
        color: black;
    }
    
    .modal {
        display: none;
    }
    
    .map-wrapper iframe {
        display: none;
    }
    
    .contact-form-wrapper,
    .contact-info {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .submit-btn {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-input {
        border-width: 3px;
    }
    
    .submit-btn {
        border: 2px solid transparent;
    }
    
    .info-icon {
        border: 2px solid var(--e-global-color-primary);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .loading-spinner {
        animation: none;
    }
}



/* custom */
