/* --- 10/10 PREMIUM STYLES FOR CONTACT PAGE --- */

/* Main Page Layout */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    min-height: 80vh;
    padding: 60px 0;
}

.contact-info-panel {
    grid-column: 2 / span 5;
    padding-right: 40px;
    animation: fadeInSlideUp 1s ease-out forwards;
}

.contact-form-panel {
    grid-column: 7 / span 5;
    background-color: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    animation: fadeInSlideUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

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

.form-container {
    padding: 40px;
}

/* Contact Info Panel Styling */
.contact-info-panel h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}
.contact-info-panel p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #555;
}
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.info-item i {
    font-size: 1.5rem;
    color: var(--button-default-blue);
    margin-right: 20px;
    margin-top: 5px;
    width: 25px;
    text-align: center;
}
.info-item strong { display: block; font-size: 1.2rem; margin-bottom: 5px; }
.info-item address, .info-item a { font-style: normal; text-decoration: none; color: #333; transition: color 0.3s ease; }
.info-item a:hover { color: var(--button-default-blue); }

/* CORRECTED #4: Black and White Social Links */
.contact-social-links { margin-top: 40px; padding-top: 25px; border-top: 1px solid var(--border-color); }
.contact-social-links a { font-size: 2rem; color: #000000; margin-right: 18px; transition: color 0.3s, transform 0.3s; display: inline-block; }
.contact-social-links a:hover { color: var(--button-default-blue); transform: translateY(-3px); }

/* Premium Contact Form */
.form-container h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}
.form-group {
    position: relative;
    margin-bottom: 30px;
}
/* CORRECTED #1: Normal Bold Font */
.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 10px 10px 5px;
    border: none;
    border-bottom: 2px solid #ccc; /* Lighter default border */
    background-color: transparent;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500; /* Normal bold */
    position: relative;
    z-index: 2;
    transition: border-color 0.3s ease;
}
.form-group label {
    position: absolute;
    top: 15px;
    left: 5px;
    color: #999;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
/* Floating Label Animation */
.form-group input:focus + label, .form-group input:valid + label,
.form-group textarea:focus + label, .form-group textarea:valid + label {
    top: -10px;
    font-size: 0.8rem;
    color: var(--button-default-blue);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--button-default-blue);
}

/* CORRECTED #1: Premium Button */
.form-container .btn {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background-color: var(--light-color);
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    position: relative;
    font-weight: 600;
    transition: all 0.4s ease;
}
.form-container .btn span {
    transition: transform 0.3s ease-out;
}
.form-container .btn i {
    position: absolute;
    right: 20px;
    transform: translateX(100px);
    transition: transform 0.3s ease-out;
    color: var(--light-color); /* Make arrow white */
}
.form-container .btn:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
}
.form-container .btn:hover span {
    transform: translateX(-15px);
}
.form-container .btn:hover i {
    transform: translateX(0);
}

/* CORRECTED #3: Map Section */
.map-section {
    width: 100%;
    height: 450px; /* Full-width map */
}

.active-submenu {
    color: #a8cfff !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-info-panel, .contact-form-panel {
        grid-column: 1 / -1;
        padding-right: 15px;
        padding-left: 15px;
    }
    .contact-info-panel { text-align: center; }
    .info-item {
        text-align: left;
    }
}

/* --- RESPONSIVE FONT STYLES --- */
@media (max-width: 768px) {
    .contact-info-panel h1 {
        font-size: 1.8rem; /* Smaller main title */
    }
    .contact-info-panel p {
        font-size: 1rem; /* Slightly smaller paragraph text */
    }
    .info-item i {
        font-size: 1.2rem; /* Smaller icons */
    }
    .info-item strong {
        font-size: 1.1rem;
    }
    .contact-social-links a {
        font-size: 1.8rem; /* Smaller social icons */
    }
    .form-container h2 {
        font-size: 1.8rem; /* Smaller form title */
    }
    .title-wrapper h2{
        text-align: center; /* Center align titles on smaller screens */
        font-size: 1.5rem; /* Smaller title size */ 
        
    }
}