/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    line-height: 1.6;
    word-spacing: 0.1em; 
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('./images/NewHeroDesktop.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 5px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: brown;
}

.hero-content p {
    font-size: 1.2rem;
}

.hero-2 {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('./images/gallery.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.mobile-image, .mobile-image-2 {
    display: none;
}

/* General section styling */
.background-section {
    padding-left: 20px;
    padding-top: 5%;
}

.background-content {
    max-width: 1200px;
    margin: 0 auto;
}

.image-section {
    margin-top: -60px;
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 0;
}

.image-container img {
    width: 100%; 
    height: auto;
    object-fit: cover;
}

/* Title styling */
.section-title {
    text-align: center; 
    color: rgb(147, 37, 32); 
    margin-bottom: 20px;
    font-size: 34px; 
    font-weight: normal;
}

/* Paragraph styling */
.section-paragraph {
    text-align: justify; 
    color: rgb(16, 76, 136); 
    line-height: 1.6; 
    font-size: 16px;
    width: 70%; 
}

/* Highlight specific words within the paragraph */
.highlight {
    color: rgb(9, 114, 9); 
    font-weight: bold;
}

/* General section styling */
.two-column-section {
    padding: 40px 20px;
}

/* Styling for the main columns */
.main-columns {
    display: flex;
    gap: 20px;
}

.column-with-border {
    display: flex;
    flex-direction: column;
    width: 50%;
    border: 3px solid #E3CD95;
    border-radius: 1px;
    padding: 5px;
}

.image-text-row {
    display: flex;
}

.image-column img {
    width: 280px;
    height: 387px;
    border-radius: 1px;
}

.text-column p {
    color: rgb(16, 76, 136);
    font-size: 17px;
    line-height: 1.6;
    text-align: justify;
}

.text-column {
    width: 50%;
    padding: 20px;
}

.text-column.text-desktop .contact {
    padding-top: 20px; /* Padding top to move contact down */
}

.text-column.text-desktop .contact h4 {
    color: rgb(147, 37, 32);
    font-size: 20px;
    text-align: left;
    margin-bottom: 10px;
}

.text-column.text-desktop .contact p {
    color: rgb(16, 76, 136);
    font-size: 17px;
    line-height: 1.6;
    text-align: left;
    padding: 10px 0;
}

.text-column.text-desktop .contact a {
    color: #0000FF;
    text-decoration: none;
}

.text-column.text-desktop .contact a:hover {
    text-decoration: underline;
}

.single-column-section {
    max-width: 1270px;
    margin: 0 auto;
    padding: 10px;
    background-image: url('./images/background-4.png');
    background-size: 1250px auto;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    margin-bottom: 20px;
    min-height: 900px;
}

/* Container for the single column */
.column-container {
    display: flex;
    justify-content: center;
    padding: 10px;
    padding-top: 70px;
}

/* Styling for the content container */
.content {
    width: 23%;
    max-height: 800px;
    overflow-y: auto;
    padding: 20px;
    background-color: #0F2649;
    color: white;
    border-radius: 1px;
}

/* Text styling in the content */
.content h4 {
    color: rgb(45, 180, 45);
    font-size: 20px;
    margin-bottom: 0px;
    text-align: center;
}

.content p {
    font-size: 17px;
    line-height: 1.6;
    color: white;
    text-align: center;
    padding: 20px;
}

.ethos h4 {
    color: rgb(45, 180, 45);
    text-align: center;
}

.vision h4 {
    color: rgb(227, 205, 149);
    text-align: center;
}

.get-in-touch {
    width: 100%;
    padding: 50px;
    background-image: linear-gradient(to bottom, rgba(16, 76, 136, 0.61), rgba(16, 76, 136, 0.61)), url('./images/PROPOSED%20KA_page-0001.jpg');
    background-size: cover;
    background-position: center;
}

.section-heading {
    text-align: center;
    color: rgb(227, 205, 149);
    z-index: 2;
    padding-bottom: 15px;
    padding-top: 40px;
}

.section-heading h4, .section-heading h2 {
    text-align: center;
    color: rgb(227, 205, 149);
}

.contact-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.contact-details {
    flex: 1;
    padding: 20px;
    background-color: #013F80;
    border: 2px solid #E3CD95;
    color: white;
    height: 600px;
}

.contact-item h4 {
    color: white;
    margin-top: 22px;
    text-align: center;
}

.contact-item p {
    color: #E3CD95;
    margin-bottom: 5px;
    text-align: center;
}

/* Google Map Section */
.google-map {
    flex: 1;
    background-color: #fff;
    border: 2px solid #E3CD95;
    padding: 20px;
    z-index: 2;
    height: 600px;
}

.google-map iframe {
    width: 100%;
    border: none;
}

/* Footer Style */
footer {
    background-color: rgb(15, 38, 73);
    color: white;
    padding: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.copyright p {
    margin: 0;
    color: white;
}

.social-media a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 16px;
}

.social-media a:hover {
    color: #E3CD95;
}

.mobile-image {
    display: none;
}

.mobile-plan-section {
    display: none;
}

.mobile-image-3 {
    display: none;
}

.text-mobile {
    display: none;
}

.two-divs {
    display: none;
}

.team-contact-section {
    display: none;
}

.team-member-info,
.team-contact-details {
    flex: 1;
}

.team-contact-section p {
    margin: 0;
    color: rgb(16, 76, 136);
    font-size: 17px;
}

.mission {
    color: rgb(147, 37, 32);
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    .hero {
        background-image: url('./images/mobile-hero.jpg');
        height: 512.35px;
    }

    .section-paragraph-mobile {
        display: block;
        text-align: center;
    }

    .mobile-image {
        display: block;
        text-align: center;
    }

    .mobile-image img {
        width: 100%;
        height: auto;
    }

    .mobile-image-2 {
        display: block;
        text-align: center;
    }

    .mobile-image-2 img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }

    .background-section {
        padding: 0 15px; 
    }

    .background-section .section-paragraph {
        color: rgb(16, 41, 75); 
        text-align: justify; 
        word-spacing: 3px;
        line-height: 1.9;
        font-size: 17px;
        width: 100%;
    }

    .background-section .highlight {
        color: rgb(17, 59, 9); 
        font-weight: bold; 
    }

    .background-section .highlight.architetu-group {
        color: rgb(16, 41, 75); 
        font-weight: bold; 
    }

    .image-section {
        display: none;
    }

    .main-columns {
        flex-direction: column;
    }
    
    .column-with-border, .text-column {
        width: 100%;
    }

    .image-text-row {
        flex-direction: column;
    }

    .columns-container {
        flex-direction: column;
    }

    .content {
        width: 90%;
        max-height: none;
        overflow-y: visible;
    }
    
    .text-mobile {
        display: block;
    }
    
    .text-column {
        width: 100%;
        text-align: justify;
        color: rgb(15, 38, 73);
        line-height: 1.8;
    }

    .text-column p {
        color: rgb(15, 38, 73);
        font-size: 17px;
        line-height: 1.8;
    }

    .text-column.text-mobile .contact h4 {
        color: rgb(147, 37, 32);
        font-size: 20px;
        text-align: center;
        margin-bottom: 10px;
    }

    .text-column.text-mobile .contact p {
        color: rgb(15, 38, 73);
        font-size: 17px;
        line-height: 1.8;
        text-align: center;
        padding: 10px 0;
    }

    .text-column.text-mobile .contact a {
        color: #0000FF;
        text-decoration: none;
    }

    .text-column.text-mobile .contact a:hover {
        text-decoration: underline;
    }

    .text-desktop {
        display: none;
    }

    .image-column {
        width: 100%;
        margin-bottom: 0;
        display: flex;
        justify-content: center;
    }

    .image-column img {
        width: 151px;
        height: 206.87px;
        object-fit: cover;
        margin-bottom: 5px;
    }

    .mobile-image-3 {
        display: block;
        width: 100%;
        height: 123.72px;
        text-align: center;
    }

    .mobile-image-3 .zpimage-container {
        display: inline-block;
        vertical-align: top;
    }

    .mobile-image-3 .zpimage-container img {
        width: 100%;
        height: 123.72px;
        object-fit: cover;
    }

    .single-column-section {
        background-image: none;
        width: 100%;
        background-color: #0F2649;
        padding: 40px;
        min-height: auto;
    }

    .column-container {
        width: 100%;
        position: relative;
        min-block-size: 1px;
        padding-inline-start: 15px;
        padding-inline-end: 15px;
        flex: 0 0 auto;
        word-break: break-word;
        word-wrap: break-word; 
    }
    
    .content {
        padding: 0 20px;
    }

    .content h4 {
        font-size: 34px;
        text-align: center;
        font-weight: 100;
    }
    .content p {
        text-align: center;
    }

    .ethos, .vision {
        width: 100%;
        padding: 10px 0;
    }

    .mission {
        color: rgb(147, 37, 32);
    }

    .two-divs {
        display: flex;
        flex-direction: column;
    }

    .hero-2 {
        display: none;
    }

    .mobile-plan-section {
        display: block;
        padding: 0;
        text-align: center;
    }

    .mobile-plan-section img {
        width: 100%;
        border-radius: 5px;
        overflow-x: hidden;
    }

    .mobile-plan-section h4 {
        font-size: 17px;
        padding-top: 10%;
        padding-bottom: 5%;
    }

    .team-contact-section {
        display: none;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 25px;
    }

    .get-in-touch {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .contact-details {
        width: 95%;
        height: auto;
        text-align: center;
        font-size: 17px;
        padding: 50px;
    }

    .contact-details p {
        margin-top: 10px;
    }

    .google-map {
        width: 95%;
        height: auto;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .social-media {
        margin-top: 10px;
    }

    .social-media a {
        margin-left: 10px;
        margin-bottom: 10px;
    }
}