/* Base Styles */
:root {
    --primary-color: #21aad4;
    --secondary-color: #003366;
    --text-color: #333;
    --background-light: #f8f9fa;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 20px;
    overflow-x: hidden;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--secondary-color);
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(33, 170, 212, 0.685),
        rgba(0, 51, 102, 0.329)
    );
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 0 20px;
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* Contact Cards Section */
.contact-cards {
    padding: 100px 0;
    background: var(--background-light);
}

.contact-cards h2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.4rem;
    color: #666;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 20px 0;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.contact-card h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-card p {
    font-size: 1.3rem;
    line-height: 1.8;  
}

.locationtitle {
    color: var(--primary-color);
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

/* Contact Form Section */
.contact-form {
    padding: 100px 0;
}

.form-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.form-container {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.form-container h2 {
    color: var(--secondary-color);
    margin-bottom: 40px;
    font-size: 2.5rem;
}

/* Enhanced Form Styles */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.input-field {
    width: 100%;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(33, 170, 212, 0.1);
}

.input-field::placeholder {
    color: #adb5bd;
}

.input-field:hover {
    border-color: #adb5bd;
}

.helper-text {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #6c757d;
}

.char-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    font-size: 0.85rem;
    color: #6c757d;
}

.input-status {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
}

.input-field:valid + .input-status {
    display: block;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234CAF50"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat center;
}

.input-field:invalid:not(:placeholder-shown) + .input-status {
    display: block;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23f44336"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>') no-repeat center;
}

/* Updated Button Styles */
.submit-btn {
    position: relative;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn:hover {
    background: #1890b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(33, 170, 212, 0.2);
}

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

.submit-btn.loading {
    background: #1890b3;
    pointer-events: none;
}

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    opacity: 1;
}

/* Alert Styles */
#alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.alert {
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 10px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    opacity: 0;
    transition: var(--transition);
}

.alert.success {
    border-left: 4px solid #4CAF50;
}

.alert.error {
    border-left: 4px solid #f44336;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 100%;
    min-height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .form-map-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        order: 2;
        min-height: 400px;
    }
    
    .form-container {
        order: 1;
    }
    
    .hero {
        height: 400px;
    }
    
    body {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-cards,
    .contact-form {
        padding: 60px 0;
    }

    .form-container {
        padding: 30px;
    }

    .contact-cards h2,
    .form-container h2 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 576px) {
    .hero {
        height: 300px;
    }

    .breadcrumb {
        font-size: 1.2rem;
    }

    .card-icon {
        width: 70px;
        height: 70px;
    }

    .contact-card h3 {
        font-size: 1.8rem;
    }

    .contact-card p {
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .hero-overlay {
        display: none;
    }

    .contact-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .map-container {
        display: none;
    }

    .submit-btn {
        display: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}




.thank-you-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.5s ease-out;
}

.thank-you-message h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin: 20px 0;
}

.thank-you-message p {
    color: #666;
    font-size: 1.2rem;
}

.checkmark {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px;
    animation: fill .4s ease-in-out .4s forwards;
}

.checkmark__circle {
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke: #fff;
    stroke-width: 2;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes fill {
    100% { box-shadow: inset 0 0 0 100px var(--primary-color); }
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}