/* contact-styles.css - Enhanced styles for Contact page */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    background: linear-gradient(135deg, #e9f0f7 0%, #d5e8f3 100%);
    color: #2c3e50;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

main {
    max-width: 900px;
    margin: 40px auto 60px;
    padding: 0 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

h2 {
    font-size: 2.8rem;
    color: #0a3d62;
    margin-bottom: 25px;
    border-bottom: 3px solid #f39c12;
    padding-bottom: 10px;
    font-weight: 700;
    transition: color 0.3s ease, border-color 0.3s ease;
}

p {
    font-size: 1.2rem;
    color: #34495e;
    margin: 10px 0 20px 0;
    line-height: 1.7;
}

.contact-section {
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    color: #0a3d62;
    background-color: #f9fbfd;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(10, 61, 98, 0.15);
    margin-bottom: 50px;
    transition: box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    animation: fadeIn 1s ease-out;
}

.contact-section h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #f39c12;
    padding-bottom: 10px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(10, 61, 98, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-item:hover {
    box-shadow: 0 4px 15px rgba(10, 61, 98, 0.2);
    transform: translateY(-2px);
}

.contact-item i {
    color: #f39c12;
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.contact-item p {
    margin: 0;
    font-size: 1.1rem;
    color: #34495e;
}

.contact-item a {
    color: #0a3d62;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    text-decoration: underline;
    color: #f39c12;
}

.social-links {
    display: flex;
    gap: 25px;
    font-size: 2rem;
}

.social-links a {
    transition: color 0.3s ease;
    color: #0a3d62;
}

.social-links a:hover {
    color: #f39c12;
}

#office-map {
    border: 3px solid #0a3d62;
    border-radius: 15px;
    width: 100%;
    height: 280px;
    box-shadow: 0 10px 30px rgba(10, 61, 98, 0.2);
    transition: box-shadow 0.3s ease;
}

#office-map:hover {
    box-shadow: 0 14px 40px rgba(243, 156, 18, 0.7);
}

#contact-form {
    margin-top: 40px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffffcc;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(10, 61, 98, 0.2);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

#contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #0a3d62;
    font-size: 1.1rem;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 25px;
    border: 2px solid #0a3d62;
    border-radius: 10px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    font-size: 1.1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #f39c12;
    box-shadow: 0 0 15px #f39c12;
    outline: none;
    background-color: #fff8e1;
}

#contact-form button[type="submit"] {
    background-color: #0a3d62;
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(10, 61, 98, 0.5);
}

#contact-form button[type="submit"]:hover {
    background-color: #f39c12;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.8);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    main {
        margin: 20px 15px 40px;
        padding: 20px;
    }
    .contact-section {
        padding: 20px 20px;
        margin-bottom: 30px;
    }
    #contact-form {
        padding: 25px;
    }
    #contact-form input,
    #contact-form textarea {
        padding: 12px;
        font-size: 1rem;
    }
    #contact-form button[type="submit"] {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
}

/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #0a3d62;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
    background-color: #f39c12;
}
.dropdown-content.show {
    display: block;
}

/* Burger menu styles */

        .burger-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
            width: 25px;
            height: 20px;
            justify-content: space-between;
            margin: 0 20px;
            z-index: 1100;
        }
        .burger-menu .bar {
            height: 3px;
            width: 100%;
            background-color: white;
            border-radius: 2px;
            transition: all 0.3s ease;
        }
        .burger-menu.active .bar:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        .burger-menu.active .bar:nth-child(2) {
            opacity: 0;
        }
        .burger-menu.active .bar:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }
        .nav-links {
            position: fixed;
            top: 0;
            left: -250px;
            width: 250px;
            height: 100%;
            background-color: #0a3d62;
            display: flex;
            flex-direction: column;
            padding-top: 60px;
            transition: left 0.3s ease;
            z-index: 1050;
        }
        .nav-links a {
            margin: 15px 20px;
            font-size: 1.2rem;
            color: white;
        }
        .nav-links.active {
            left: 0;
        }
        .nav-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0,0,0,0.5);
            z-index: 1040;
            display: none;
        }
        .nav-overlay.active {
            display: block;
        }
        .exit-button {
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            font-weight: bold;
            padding: 0 20px 20px 20px;
            text-align: left;
            cursor: pointer;
            outline: none;
        }
        @media (max-width: 768px) {
            .burger-menu {
                display: flex;
            }
            nav a {
                display: none;
            }
            .nav-links a {
                display: block;
            }
        }
        @media (min-width: 769px) {
            .burger-menu {
                display: none !important;
            }
            nav a {
                display: inline-block !important;
            }
            .nav-links {
                position: static;
                width: auto;
                height: auto;
                background-color: transparent;
                flex-direction: row;
                padding-top: 0;
                transition: none;
            }
            .nav-links a {
                color: inherit;
                margin: 0 20px;
                font-size: 1.1rem;
            }
            .nav-overlay {
                display: none !important;
            }
            .exit-button {
                display: none;
            }
        }
