﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
}

main {
    padding: 0.5rem 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Contact Info Section */
.contact-info {
    border-radius: 8px;
    text-align: justify;
}

.contact-info h1 {
    font-size: 2.2rem;
    color: black;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    display:flex;
    justify-content:center;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.contact-info h2 {
    font-size: 1.7rem;
    color: black;
    margin: 1.5rem 0 1rem;
    border-bottom: 1px solid #eee;
}

/* Contact Sections */
.contact-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 6px;
    border-left: 4px solid #22c55e;
}

.contact-section h3 {
    font-size: 1.4rem;
    color: #25a353;
    margin-bottom: 1rem;
}

.contact-section p {
    margin-bottom: 0.8rem;
    color: #4b5563;
}

.contact-section a {
    color: #7fb94ce0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-section a:hover {
    color: #25a353;
    text-decoration: underline;
}

@media(max-width:1024px) {
    main {
        margin-inline: 15%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    main {
        margin-inline: 10%;
    }

    .container {
        padding: 0;
    }

    .contact-info {
        padding: 0.5rem;
    }

    .contact-info h1 {
        font-size: 1.8rem;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-section h3 {
        font-size: 1.3rem;
    }

    .contact-section {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {

    main {
        margin-inline: 10px;
    }

    .contact-info {
        padding: 0;
    }

    .contact-info h1 {
        font-size: 1.3rem;
    }

    .contact-info h2 {
        font-size: 1.2rem;
    }

    .contact-section h3 {
        font-size: 1.1rem;
    }

    .contact-section,
    .office-address {
        padding: 1rem;
    }

    .contact-info p {
        font-size: 1rem;
    }
}

/* Animation for Contact Sections */
.contact-section {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
