:root {
    --navy-blue: #074359;
    --gold: #8B4513;       
    --light-gold: #A0522D;  
    --dark-blue: #376677;   
    --light-blue: #5da1ad;  
    --white: #ffffff;
    --off-white: #f5f5f5;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}

body {
    background-color: var(--off-white);
    color: var(--dark-gray);
    line-height: 1.6;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    margin-top: 100px;
}

.section {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section h2 {
    background: linear-gradient(to bottom, #407284, #ffffff, #407284);
    width: 50%;
    margin-left: 320px;
    border-bottom-right-radius: 50px;
    border-top-left-radius: 50px;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

@keyframes titleUnderline {
    to {
        transform: scaleX(1);
    }
}

.section p {
    color: var(--gold);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Main Content Layout */
.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.left-section {
    flex: 1 1 45%;
    min-width: 300px;
}

.right-section {
    flex: 1 1 45%;
    min-width: 300px;
}

/* Working Hours Section */
.hours-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    animation: fadeInLeft 1s ease;
    border-top: 5px solid var(--gold);
}

.hours-title {
    color: var(--navy-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hours-title i {
    color: var(--gold);
    font-size: 1.8rem;
}

.hours-list {
    list-style: none;
}

.hours-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 5px;
    transition: var(--transition);
    background: rgba(93, 161, 173, 0.1);
    border-left: 3px solid var(--gold);
}

.hours-item:hover {
    transform: translateX(5px);
    background: var(--gold);
    color: var(--white);
}

.hours-item:hover .day {
    color: var(--white);
}

.hours-item:hover .time {
    color: var(--white);
}

.day {
    flex: 0 0 120px;
    font-weight: 600;
    color: var(--navy-blue);
}

.time {
    color: var(--gray);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    animation: fadeInRight 1s ease;
    border-top: 5px solid var(--navy-blue);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--navy-blue);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}

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

.submit-btn {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Details Section */
.contact-details {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInLeft 1s ease;
    border-top: 5px solid var(--navy-blue);
}

.contact-card {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    transition: var(--transition);
    background: rgba(93, 161, 173, 0.1);
    border-left: 3px solid var(--navy-blue);
}

.contact-card:hover {
    transform: translateX(5px);
    background: var(--gold);
}

.contact-card:hover .contact-icon {
    background: var(--white);
    color: var(--gold);
}

.contact-card:hover .contact-text {
    color: var(--white);
}

.contact-card:hover .contact-text a {
    color: var(--white);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--navy-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.contact-text {
    color: var(--gray);
}

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

/* Social Links */
.social-section {
    margin-top: 2rem;
}

.social-title {
    color: var(--navy-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-link {
    display: flex;
    gap: 1rem;
}

.social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px) rotate(10deg);
}


/* Map Section */
.map-container {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInRight 1s ease;
    border: 2px solid var(--gold);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* Success message */
.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        margin-top: 80px;
        padding: 1.5rem;
    }
    
    .contact-row {
        flex-direction: column;
    }
    
    .left-section, .right-section {
        flex: 1 1 100%;
    }
    
    .section h2 {
        font-size: 2rem;
        margin-left: 0px;
        width: 100%;
    }
    
    .hours-container, 
    .contact-form, 
    .contact-details {
        padding: 1.5rem;
    }
    
    .map-container iframe {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 1rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .day {
        flex: 0 0 100px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}