@charset "utf-8";

/* --- Root CSS Variables (Inherited from main.css) --- */
:root {
    --primary-blue: #293B7D; 
    --accent-red: #DD2727;
    --bg-white: #ffffff;
    --text-black: #1a1a1a;
    --text-gray: #555555;
    --bg-light-gray: #f9f9f9;
    --gradient-blue: linear-gradient(135deg, #293B7D 0%, #1a2550 100%);
}

/* --- Breadcrumb & Page Hero --- */
.page-hero {
    margin-top: 90px;
	background: var(--gradient-blue);
    padding: 100px 0;
    text-align: center;
    color: var(--bg-white);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;	
/*    background: url('../images/slider-contact.png?auto=format&fit=crop&w=1920&q=80') center/cover;*/
    opacity: 0.2;
    z-index: 0;
}

.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: 2.8rem; font-weight: 700; margin-bottom: 15px; }

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 22px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.breadcrumb a { color: #e2e8f0; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent-red); }
.breadcrumb .separator { color: rgba(255,255,255,0.5); }
.breadcrumb .current { color: var(--bg-white); font-weight: 600; }

/* --- Raising Info Cards Section --- */
.contact-cards-section {
    padding: 80px 0 40px;
    background-color: var(--bg-light-gray);
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--bg-white);
    border: 1px solid #eaeaea;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease;
}

/* Raising Card Elevation Effect on Hover */
.info-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(41, 59, 125, 0.12);
    border-color: var(--primary-blue);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(41, 59, 125, 0.08);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.info-card:hover .card-icon {
    background-color: var(--accent-red);
    color: var(--bg-white);
    transform: scale(1.1);
}

.info-card h3 {
    font-size: 1.35rem;
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-weight: 700;
}

.info-card p, .info-card a {
    color: var(--text-gray);
    font-size: 0.98rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--accent-red);
}

/* --- Main Form & Map Layout --- */
.contact-main-section {
    padding: 60px 0 100px;
    background-color: var(--bg-light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    border: 1px solid #eaeaea;
}

.section-title.left-aligned {
    text-align: left;
    margin-bottom: 30px;
}

.section-title.left-aligned h2 {
    font-size: 2.1rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.section-title.left-aligned p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.map-wrapper {
    width: 100%;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* --- Form Controls --- */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-black);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #eaeaea;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.98rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: var(--bg-light-gray);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(41, 59, 125, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--accent-red);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #b81b1b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(221, 39, 39, 0.3);
}

/* --- Stylish Modal Popup --- */
.text-center { text-align: center; }

.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #fff;
    padding: 40px 35px;
    border-radius: 20px;
    width: 90%;
    max-width: 480px;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 28px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover { color: var(--accent-red); }

.success-icon {
    font-size: 65px;
    color: #25D366;
    margin-bottom: 15px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-content h3 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.ok-btn {
    padding: 12px 35px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.ok-btn:hover {
    background: #172452;
    transform: translateY(-2px);
}

@keyframes popIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

/* --- Responsive Configurations --- */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .map-wrapper { height: 320px; }
}

@media (max-width: 768px) {
    .page-hero { padding: 50px 0; }
    .page-hero h1 { font-size: 2rem; }
    .contact-wrapper { padding: 20px; }
}