/* Contact Widget CSS */
/* Colors derived from Tailwind Blue palette */
:root {
    --ccs-blue-50: #eff6ff;
    --ccs-blue-100: #dbeafe;
    --ccs-blue-200: #bfdbfe;
    --ccs-blue-600: #2563eb;
    --ccs-blue-700: #1d4ed8;
    --ccs-blue-800: #1e40af;
    --ccs-blue-900: #1e3a8a;
    --ccs-gray-100: #f3f4f6;
    --ccs-gray-200: #e5e7eb;
    --ccs-gray-300: #d1d5db;
    --ccs-gray-700: #374151;
}

.ccs-contact-wrapper {
    width: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--ccs-gray-700);
}

/* --- Hero Section --- */
.ccs-contact-hero {
    position: relative;
    padding: 8rem 1rem;
    background: linear-gradient(135deg, var(--ccs-blue-900), var(--ccs-blue-800), var(--ccs-blue-900));
    color: white;
    text-align: center;
    overflow: hidden;
}

.ccs-contact-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 50%, rgba(37, 99, 235, 0.3), transparent 50%);
    pointer-events: none;
}

.ccs-contact-hero-content {
    position: relative;
    z-index: 10;
    max-width: 48rem;
    margin: 0 auto;
    animation: ccsFadeInUp 1s ease-out;
}

.ccs-contact-hero-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    font-size: 5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ccsPulse 2s infinite;
}

.ccs-contact-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.ccs-contact-subtitle {
    font-size: 1.25rem;
    color: var(--ccs-blue-100);
}

@media (min-width: 768px) {
    .ccs-contact-title {
        font-size: 3.75rem;
    }
}

/* --- Main Content Section --- */
.ccs-contact-main {
    padding: 5rem 1rem;
    background: var(--ccs-blue-50);
}

.ccs-contact-container {
    max-width: 72rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .ccs-contact-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Info Column --- */
.ccs-section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--ccs-blue-900);
    margin-bottom: 2rem;
}

.ccs-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.ccs-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ccs-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.ccs-icon-box {
    flex-shrink: 0;
    background: var(--ccs-blue-600);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.ccs-icon-box i,
.ccs-icon-box svg {
    width: 1.25em;
    height: 1.25em;
    color: white;
    fill: white;
}

.ccs-info-content h3 {
    font-weight: 700;
    color: var(--ccs-blue-900);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.ccs-info-content p {
    color: var(--ccs-gray-700);
    line-height: 1.5;
    margin: 0;
}

/* --- Schedule Box --- */
.ccs-schedule-box {
    background: linear-gradient(135deg, var(--ccs-blue-900), var(--ccs-blue-800));
    border-radius: 1rem;
    padding: 2rem;
    color: white;
}

.ccs-schedule-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ccs-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ccs-schedule-item {
    border-left: 4px solid var(--ccs-blue-200);
    padding-left: 1rem;
}

.ccs-schedule-day {
    font-weight: 700;
    display: block;
}

.ccs-schedule-time {
    color: var(--ccs-blue-100);
    font-size: 0.95rem;
}

/* --- Form Column --- */
.ccs-form-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.ccs-form-group {
    margin-bottom: 1.5rem;
}

.ccs-form-label {
    display: block;
    color: var(--ccs-gray-700);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ccs-form-input,
.ccs-form-select,
.ccs-form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--ccs-gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.ccs-form-input:focus,
.ccs-form-select:focus,
.ccs-form-textarea:focus {
    border-color: var(--ccs-blue-600);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

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

.ccs-form-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to right, var(--ccs-blue-600), var(--ccs-blue-700));
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ccs-form-submit:hover {
    background: linear-gradient(to right, var(--ccs-blue-700), var(--ccs-blue-800));
    transform: scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* --- Map Section --- */
.ccs-map-section {
    padding: 5rem 1rem;
    background: white;
    text-align: center;
}

.ccs-map-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ccs-blue-900);
    margin-bottom: 2rem;
}

.ccs-map-wrapper {
    background: linear-gradient(to bottom right, var(--ccs-blue-50), white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: 56rem;
    margin: 0 auto;
}

.ccs-map-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--ccs-gray-200);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.ccs-map-desc {
    color: var(--ccs-gray-700);
    font-size: 1.125rem;
}

/* Animations */
@keyframes ccsFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ccsPulse {
    50% {
        opacity: 0.7;
    }
}

.ccs-success-msg {
    display: none;
    color: green;
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
}