﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    background-color: #FFFFFF;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 12px;
}

h6 {
    font-size: 10px;
}

p {
    font-size: 16px;
}

main {
    background: white;
    /*text-align: justify;*/
}

.header{
    background-color:white;
}

main .container{
    margin: 1rem auto
}

#mainContainer {
    margin-top: 0px;
}

/* Contact Info Section */
.contact-info {
    background: white;
    border-radius: 8px;
    text-align: justify;
    margin-inline: 9%;
}

.contact-info h1 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    /*border-bottom: 2px solid  #6a62fe;*/
    text-align: center;
}

.contact-info p {
    color: #555;
    font-size: 1.05rem;
}

.contact-info h2 {
    font-size: 1.7rem;
    color: #2c3e50;
    margin: 1rem 0 1rem;
    border-bottom: 1px solid #eee;
}

/* Contact Sections */
.contact-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 6px;
    border-left: 4px solid  #6a62fe;
}

.contact-section h3 {
    font-size: 1.4rem;
    color:  #6a62fe;
    margin-bottom: 1rem;
}

.contact-section p {
    margin-bottom: 0.8rem;
    color: #555;
}

.contact-section a {
    color:  #6a62fe;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-section a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.site-footer {
    margin-inline: 15%;
}

@media (max-width: 1024px) {
    #mainContainer {
        margin-top: 25px;
    }
    main .container {
        margin: 0rem auto;
    }

}
/* Responsive Design */
@media (max-width: 768px) {

    main {
        padding: 0;
    }

    main .container {
        margin: 0rem auto;
    }
    #mainContainer {
        margin-top: 0px;
    }

    .contact-info {
        padding: 0rem 0;
        margin-inline: 10%;
    }

    .contact-info h1 {
        font-size: 1.8rem;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-section h3 {
        font-size: 1.3rem;
    }

    .site-footer {
        margin-inline: 10%;
    }
}

@media (max-width: 480px) {
    #mainContainer {
        margin-top: 45px;
    }

    .contact-info {
        padding: 0;
        margin-inline: 0%;
    }

    .contact-info h1 {
        font-size: 1.6rem;
    }

    .contact-section {
        padding: 1rem;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .site-footer {
        margin-inline: 0%;
    }
}

/* 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);
}

/* Dark Mode Styles */
.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.dark-mode .container {
    background-color: #121212;
}

.dark-mode .contact-info {
    background-color: #121212;
    /*box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);*/
    border-color: #333;
}

.dark-mode .contact-info h1,
.dark-mode .contact-info h2,
.dark-mode .office-address strong {
    color: #f8f9fa;
    border-color: #444;
}

.dark-mode .contact-info p,
.dark-mode address {
    color: #b0b0b0;
}

.dark-mode .contact-section {
    background-color: #2d2d2d;
    border-left-color: #4dabf7;
}

.dark-mode .contact-section h3 {
    color: #4dabf7;
}

.dark-mode .contact-section p {
    color: #d0d0d0;
}

.dark-mode .contact-section a {
    color: #64b5f6;
}

.dark-mode .contact-section a:hover {
    color: #90caf9;
}

.dark-mode .office-address {
    background-color: #2d2d2d;
    border-left-color: #2ecc71;
}

/* Interactive Elements */
.dark-mode .contact-section:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

    /* Form Elements (if you add them later) */
.dark-mode input,
.dark-mode textarea,
.dark-mode select {
    background-color: #2d2d2d;
    color: #e0e0e0;
    border-color: #444;
}

.dark-mode input::placeholder {
    color: #999;
}

/* Footer (if included) */
.dark-mode footer {
    background-color: #1e1e1e;
    color: #b0b0b0;
    border-top-color: #333;
}

.dark-mode footer a {
    color: #64b5f6;
}

.dark-mode footer a:hover {
    color: #90caf9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dark-mode .contact-info {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 480px) {
    .dark-mode .contact-section,
    .dark-mode .office-address {
        border-left-width: 3px;
    }
}
