
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    outline-style: none;
}

html {
    font-size: 14px;
    color: #000;
    font-family: 'Roboto', "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body, h1, h2, h3, h4, h5, h6, p, a, span {
    font-family: 'Roboto', "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
    direction: ltr;
    unicode-bidi: normal;
}

:root{
    --txtaccent: #fff;
    --txtaccent1: #9D9D9F;
    --textaccent2: #73757E;
    --textaccent3: #484848;
    --txtaccent4: #000;
    --txtaccent5: #E5E5E5;
    --haccent: #FFCB0F;
    --haccent_withOpacity: rgba(255, 203, 15,0.6);
    --haccent2: #C79E23;
    --bgaccent: #1A1C27;
    --bgaccent_withOpacity: rgba(26, 28, 39,0.96);
}
.container{
    width: 95%;
    margin: 0px auto;
    padding: 0px;
}

/* SECTION ZERO = LANDING VIEW */
#sec-0{
    font-family: Roboto;
    background: linear-gradient(rgba(0,0,0,0.8),rgba(0,0,0,0.8)), url(../Images/banner.jpg) no-repeat top center/cover;
}
#sec-0 header.top {
    background-color: var(--haccent);
    font-size: 0.85rem;
    color: var(--txtaccent4);
    padding-top: 6px;
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards;
    animation-delay: 0.2s;
}
#sec-0 header.top .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
#sec-0 header.top p {
    display: flex;
    width: 45%;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0px;
}
#sec-0 header.top p:nth-of-type(2) {
    justify-content: flex-end;
}
#sec-0 .top p::before{
    font-family: fontAwesome;
    display: inline-flex;
    width: 2em;
    justify-content: center;
    font-size: 1.2em;
}
#sec-0 .top p:first-of-type::before{
    content: "\f3cd";
}
#sec-0 .top p:nth-of-type(2)::before{
    content: "\f0e0";
}
#sec-0 .top p:last-of-type::before{
    content: "\f017";
}
#sec-0 .top .social {
    display: flex;
    width: 45%;
    justify-content: flex-end;
    gap: 5px;
}
#sec-0 .top .social a{
    font-size: 1.2rem;
    display: inline-block;
    padding: 5px 0px 5px 5px;
    color: inherit;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}
#sec-0 .top .social a:hover{
    transform: scale(1.15);
}
#sec-0 .top .social a img{
    height: 1.2em;
    margin-top: -5px;
}
#sec-0 header:last-of-type{
    background-color: var(--bgaccent);
    position: relative;
    opacity: 0;
    animation: fadeInDown 1s ease-out forwards;
    animation-delay: 0.4s;
}
#sec-0 header:last-of-type .container{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0px;
    position: relative;
}
#sec-0 header:last-of-type h1{
    font-size: 1.5rem;
    font-style: italic;
    font-weight: bold;
    color: var(--haccent);
    padding: 0px;
    margin: 0px;
}
#sec-0 header:last-of-type h1>span{
    color: var(--txtaccent);
}
#sec-0 header:last-of-type h1 p{
    font-size: 0.85rem;
    font-style: normal;
    color: var(--textaccent2);
    margin: 0px;
}
#sec-0 header label{
    color: var(--haccent);
    font-size: 2rem;
}
#sec-0 header nav a {
    display: block;
    text-decoration: none;
    color: var(--txtaccent1);
    text-align: center;
    padding: 10px;
    transition: background-color 0.6s ease;
    border-bottom: solid 1px var(--txtaccent1);
}
#sec-0 header nav a:hover{
    background-color: var(--haccent_withOpacity);
    color: var(--txtaccent);
}
#sec-0 header nav i {
    display: flex;
    text-decoration: none;
    color: var(--haccent);
    text-align: center;
    align-items: center;
    padding: 10px;
    font-size: 1.2em;
    transition: transform 0.3s ease-in-out;
    width: fit-content;
    margin: 0px auto;
}
#sec-0 header nav i:hover {
    transform: scale(1.3);
    cursor:pointer;
}
#sec-0 #searchBar {
    justify-content: center;
    align-items: flex-start;
    background: linear-gradient(rgba(0,0,0,0.9),rgba(0,0,0,0.9));
    backdrop-filter: blur(4px);
    position: absolute;
    width: 100%;
    height: 110vh;
    top: 100%;
}
#sec-0 #searchBox {
    display: block;
    min-width: 45%;
    padding: 10px 15px;
    text-align: center;
    border-radius: 30px;
    border-style: none;
    transform: translateY(25px);
}
#sec-0 #searchBox:focus {
    box-shadow: inset 0px 0px 25px var(--haccent2);
}
.show{
    display: flex;
}
.hide{
    display: none;
}

#sec-0 header input {
    display: none;
}
#sec-0 input + nav {
    display: none;
    width: 100%;
}
#sec-0 input:checked + nav {
    display: block;
}
#sec-0 article{
    display: flex;
    align-items: center;
    text-align: center;
    padding: 3rem 0px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.6s;
}
#sec-0 article h1 {
    font-weight: normal;
    font-size: 1.25rem;
    color: var(--txtaccent);
    margin-bottom: 20px;  /* increased from 10px */
}

#sec-0 article h2 {
    text-transform: uppercase;
    font-size: 1.85rem;
    color: var(--haccent);
    line-height: 1.2;    /* increased line-height for better readability */
    margin-bottom: 20px;  /* increased from 15px */
    font-weight: 700;
}

#sec-0 article p {
    color: var(--txtaccent);
    line-height: 1.6;   /* adjust line spacing within paragraphs */
    margin-bottom: 30px; /* increased from 3rem (if you are using rems consistently) */
    padding-left: 4rem;
    padding-right: 4rem;
}
#sec-0 article h2 span{
    color: var(--haccent);
}

#sec-0 article a{
    color: var(--haccent2);
    background-color: var(--txtaccent4);
    display: inline-block;
    padding: 8px 15px;
    margin-left: 5px;
    border: solid 1px var(--haccent2);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}
#sec-0 article a:hover{
    background-color: var(--haccent2);
    color: var(--txtaccent);
}
/* SECTION ONE */


/* Section Background and Padding */
#sec-1 {
background: linear-gradient(135deg, #f2f2f2, #ffffff);
padding: 60px 0;
}

/* Container for the two columns */
#sec-1 .welcome-container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 40px;
flex-wrap: wrap;
}

/* Text Column Styling */
#sec-1 .welcome-text {
flex: 1;
padding: 20px;
text-align: right;
opacity: 0;
animation: fadeInRight 1s ease-out forwards;
animation-delay: 0.3s;
}
#sec-1 .welcome-text h1 {
font-family: Roboto, sans-serif;
font-size: 3rem;
color: #2c3e50;
margin-bottom: 20px;
direction: ltr;
text-align: left;
}
#sec-1 .welcome-text h2 {
font-family: Roboto, sans-serif;
font-size: 2rem;
color: #34495e;
margin-bottom: 20px;
direction: ltr;
text-align: left;
}

#sec-1 .welcome-text p {
    font-family: Roboto, sans-serif;
    font-size: 1.2rem;
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

#sec-1 .welcome-text a {
    display: block;
    font-family: Roboto, sans-serif;
    text-decoration: none;
    color: #fff;
    background-color: #FFCB0F;
    padding: 12px 10px; /* decreased the right and left padding from 30px to 10px */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    width: fit-content; /* makes the button's width fit its content */
    max-width: 250px; /* sets a maximum allowed width for the button */
    margin: 0 auto;
}


#sec-1 .welcome-text a:hover {
background-color: #cfa50d;
transform: translateY(-3px);
}

/* Image Column Styling */
#sec-1 .welcome-image {
    flex: 1;
    text-align: center;
    opacity: 0;
    animation: fadeInLeft 1s ease-out forwards;
    animation-delay: 0.4s;
}
#sec-1 .welcome-image img {
max-width: 100%;
height: auto;
border-radius: 10px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
#sec-1 .welcome-container {
    flex-direction: column-reverse;
    text-align: center;
}
#sec-1 .welcome-text {
    text-align: center;
}
}



#sec-2{
    background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url(../Images/bg4.jpg) no-repeat center center/cover;
    text-align: center;
    padding: 3rem 0px 1.8rem;
}
#sec-2 .container>h1{
    color: var(--haccent);
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}
#sec-2 .container>p {
    color: var(--txtaccent);
    margin-bottom: 30px;
}
#sec-2 article{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#sec-2 article figure{
    text-align: center;
    max-width: 63%;
    margin-top: 40px;
}
#sec-2 article .cont{
    background: linear-gradient(rgba(0,0,0,0.3),rgba(0,0,0,0.3));
    border-radius: 10px;
    padding: 95px 10px 20px;
    text-align: center;
    margin-top: -75px;
}
#sec-2 article figure div:first-of-type{
    width: 10em;
    height: 10em;
    background-color: var(--haccent2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0px auto;
    position: relative;
    z-index: 1;
}
#sec-2 article figure img{
    max-width: 55%;
}
#sec-2 article figure h2{
font-size: 1.2rem;
text-transform: uppercase;
font-weight: 700;
margin-bottom: 10px;
color: var(--haccent2);
}
#sec-2 article figure p{
color: var(--txtaccent);
font-size: 0.88rem;
text-shadow:1px 1px #73757E;
}

#sec-3{
    background-color: var(--txtaccent);
    padding-top: 30px;
    padding-bottom: 30px;
}
#sec-3 h1{
    text-transform: uppercase;
    font-size: 1.7rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--bgaccent);
    font-weight: 900;
}
#sec-3 .cont{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    align-content: space-around;
}
#sec-3 .card{
    width: 90%;
    margin-bottom: 30px;
}
#sec-3 .card p{
    text-align: justify;
    word-break: break-all;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}
#sec-3 .card>div{
    position: relative;
}
#sec-3 .caption{
    width: 100%;
    text-align: center;
    margin: 0px;
    color: var(--txtaccent);
    background-color: rgba(0,0,0,0.65);
    padding: 8px 15px 15px;
    position: absolute;
    bottom: 0px;
    font-size: 1.5rem;
    font-weight: 400;
}
#sec-3 a{
    color: var(--txtaccent);
    background-color: var(--haccent);
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 5px;
    display: inline-block;
}
/* SECTION 4 */
#sec-4{
    background: linear-gradient(rgba(78, 76, 70, 0.8),rgba(78, 76, 70, 0.8)), url(../Images/bg2.jpg) no-repeat center center/cover;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 4rem;
}
#sec-4 h1{
    text-transform: uppercase;
    font-size: 1.7rem;
    margin-bottom: 1.6rem;
    color: var(--txtaccent);
    font-weight: 800;
}
#sec-4 p{
    color: var(--txtaccent);
    font-size: 0.9rem;
    padding: 0px 6rem;
    margin-bottom: 2rem;
}
#sec-4 .filter{
    margin-bottom: 2rem;
    padding: 0px 6rem;
}
#sec-4 .filter a{
    display: inline-block;
    padding: 3px 20px 5px;
    border-radius: 15px;
    color: var(--txtaccent);
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.65s ease;
    font-size: 0.85rem;
}
#sec-4 .filter a:hover{
    background-color: var(--bgaccent);
}
#sec-4 .cont{
    width: 90%;
    margin: 0px auto;
}
#sec-4 .cont>img{
    width: 100%;
    display: block;
    margin: 0px auto 20px;
}
#sec-4 aside{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
#sec-4 aside img{
    margin-bottom: 10px;
    width: 48%;
}
/* SECTION 5 */
#sec-5{
    background: url(../Images/bg3.jpg) no-repeat center center/cover;
    text-align: center;
    padding-top: 2rem;
    font-size: 0.9rem;
}
#sec-5 h1{
    text-transform: uppercase;
    font-size: 1.7rem;
    margin-bottom: 1.6rem;
    color: var(--txtaccent4);
    font-weight: 800;
}
#sec-5 h1+p{
    color: var(--txtaccent4);
    padding: 0px 2rem;
    margin-bottom: 4rem;
}
#sec-5 .cont{
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 5vh;
}
#sec-5 article{
    width: 70%;
}
#sec-5 .quotetxt{
    display: flex;
    align-items: stretch;
    padding: 1.8em 1.7em 2em 1em;
    background-color: var(--txtaccent5);
    text-align: justify;
    word-break: break-all;    
    position: relative;
}
#sec-5 .quotetxt p:first-child{
    padding-right: 0.7em;
}
#sec-5 .quotetxt p:first-child img{
    min-width: 100%;
}
#sec-5 .quotetxt p:last-child{
    padding-top: 3px;
}
#sec-5 .arrow:after {
    content: '';
    position: absolute;
    border: 15px solid transparent;
    border-top-color: var(--txtaccent5);
    left: calc(50% - 15px);
    top: 100%;
}
#sec-5 figure{
    margin-top: 1.85rem;
}
#sec-5 .customer{
    display: block;
    margin: 0px auto;
    border-radius: 50%;
}
#sec-5 figcaption{
    text-transform: uppercase;
    font-weight: 600;
    text-shadow:1px 1px #73757E;
}
#sec-5 article:nth-of-type(2) div.quotetxt{
    color: var(--txtaccent);background-color: var(--haccent);
}
#sec-5 article:nth-of-type(2) .arrow:after{
    border-top-color: var(--haccent);
}
#sec-5 .contactUs{
    padding-top: 1.5rem;
    background-color: var(--haccent_withOpacity);
    border-bottom: solid 2rem var(--textaccent3);
}
#sec-5 .contactUs h1{
    color: var(--textaccent3);
    text-transform: uppercase;
    font-size: 1.52rem;
    font-weight: 800;
    margin: 0px;
}
#sec-5 .contactUs h2{
    font-size: 2rem;
    font-weight: normal;
    text-transform: uppercase;
    margin: 0px;
}
#sec-5 .contactUs form{
    padding: 10px 0px 1.7rem;
    position: relative;
}
#sec-5 .contactUs form input{
    padding: 6px 15px;
    margin: 0px 5px 10px 0px;
    border-radius: 6px;
    border-style: none;
    color: var(--textaccent3);
}
#sec-5 .contactUs form input[type=submit]{
    padding: 6px 20px;
    text-transform: uppercase;
    font-weight: 600;
    background-color: var(--textaccent3);
    color: var(--txtaccent5);
}
#sec-5 .contactUs form input:focus{
    box-shadow: inset 0px 0px 10px var(--txtaccent1);
}
#sec-5 .contactUs form input[type=submit]:hover{
    box-shadow: inset 0px 0px 10px var(--txtaccent1);
}
#sec-5 .contactUs form input+p{
    width: 100%;
    margin: 0px auto;
    color:#ff0000;
    font-style: italic;
    font-size: 0.8rem;
    line-height: 1.1em;
    padding: 0px 6px;
    position: absolute;
    bottom: 2px;
}
.invalid{
    box-shadow: inset 0px 0px 10px #e67a7a;
}
/* SECTION SIX */
#sec-6{
    background: linear-gradient(rgba(0, 0, 0,0.9),rgba(0, 0, 0,0.9)), url(../Images/rascacielos-nueva-york.jpg) no-repeat center center/cover;
    padding-top: 2rem;
    padding-bottom: 4rem;
    font-size: 0.8rem;
}
#sec-6 .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    row-gap: 15px;
    color: var(--txtaccent5);
}
#sec-6 h1{
    font-weight: 400;
    font-size: 1.25rem;
    margin-bottom: 1.1rem;
}
#sec-6 .about h2{
    font-size: 1.3rem;
    font-weight: 800;
    font-style: italic;
    color: var(--haccent);
    padding-bottom: 5px;
    margin-bottom: 1rem;
}
#sec-6 .about h2 p{
    color: var(--txtaccent1);
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 0px;
}
#sec-6 .about>p{
    margin-bottom: 1.5rem;
}
#sec-6 .about a{
    display: inline-flex;
    padding: 5px;
    width: 40px;
    height: 40px;
    margin-right: 5px;
    border-radius: 50%;
    background-color: var(--haccent);
    font-size: 1.25rem;
    color: var(--bgaccent);
    justify-content: center;
    align-items: center;
    transition: background-color ease-in;
    margin-top: 5px;
    text-decoration: none;
}
#sec-6 .about i{
    vertical-align: baseline;
}
#sec-6 .about a:hover{
    background-color: var(--txtaccent5);
}
#sec-6 .links a{
    color: inherit;
    text-decoration: none;
    display: block;
}
#sec-6 .links a{
    position: relative;
    padding: 0.2em;
    padding-left: 25px;
}
#sec-6 .links a::before{
    content: '';
    position: absolute;
    border: 0.35em solid transparent;
    border-left-color: var(--txtaccent5);
    left: 0px;
    top: 0.8em;
}
#sec-6 .links a:hover{
    text-decoration: underline;
}
#sec-6 .posts a{
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 10px;
    margin-bottom: 1.1em;
    transition: background-color 0.7s ease-out;
    margin-left: -5px;
}
#sec-6 .posts a:hover{
    background-color: var(--haccent_withOpacity);
    color: var(--txtaccent);
}
#sec-6 .posts a span{
    display: inline-flex;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    border: solid 2px var(--txtaccent5);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
    margin-right: 10px;
}
#sec-6 .contact p{
    margin-bottom: 15px;
    display: flex;
    margin-left: -1em;
}
#sec-6 .contact p::before{
    font-family: fontAwesome;
    display: inline-flex;
    min-width: 2em;
    justify-content: center;
    font-size: 1.2em;
}
#sec-6 .contact p:first-of-type::before{
    content: "\f3c5";
}
#sec-6 .contact p:nth-of-type(2)::before{
    content: "\f0e0";
}
#sec-6 .contact p:last-of-type::before{
    content: "\f3cd";
}
/* SECTION SEVEN */
#sec-7 {
    background-color: var(--bgaccent);
    padding: 20px 0px 10px;
    text-align: center;
    font-size: 0.7rem;
}
#sec-7 p{
    color: var(--txtaccent5);
}
#sec-7 p span{
    color: var(--haccent);
}

/*MEDIA QUERRIES*/
/*Smart phones */
@media (min-width: 576px) {
    html{
        font-size: 13px;
    }
    .container {
        width: 520px;
    }
    #sec-0 header nav a {
        background-color: transparent;
        font-family: Roboto;
    }
    #sec-0 input + nav {
        background-color: var(--bgaccent_withOpacity);
        position: absolute;
        top: 100%;
        right: 0%;
        width: 35%;
        border-bottom-left-radius: 10px;
    }
    #sec-0 #searchBox {
        transform: translateY(25px);
    }
}
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    html{
        font-size: 14px;
    }
    .container {
        width: 720px;
    }
    #sec-0 header.top {
        padding-top: 0px;
    }
    #sec-0{
        background-position: center center;
    }
    #sec-0 header.top .container {
        justify-content: flex-start;
    }
    #sec-0 header.top p {
        width: fit-content;
        margin-right: 10px;
    }
    #sec-0 .top .social {
        width: fit-content;
        flex-grow: 1;
    }
    #sec-0 header label{
        display: none;
    }
    #sec-0 header nav a {
        border-style: none;
    }
    #sec-0 input + nav {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-end;
        width: fit-content;
        position: static;
        border-radius: none;
        font-size: 0.8rem;
    }
    #sec-0 input:checked + nav {
        display: flex;
    }
    #sec-0 article{
        padding: 5rem 0px;
    }
    #sec-0 article h1{
        font-size: 2rem;
    }
    #sec-0 article h2{
        font-size: 3.5rem;
    }
    #sec-0 #searchBox {
        min-width: 35%;
    }
    #sec-1 .container{ 
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #sec-1 article{
        padding: 0px;
        text-align: left;
        width:51%;
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
    }
    #sec-1 article p{
        padding-right: 1rem;
    }
    #sec-1 aside {
        width: 48%;
        margin: 0px;
        text-align: right;
    }
    #sec-2{
        padding: 4rem 0px 2.5rem;
        font-family: Roboto, sans-serif;
    }
    #sec-2 article{
        justify-content: space-between;
    }
    #sec-2 article figure{
        max-width: 40%;
    }
    #sec-2 article figure img{
        max-width: 55%;
    }
    #sec-3 {
        padding-top: 40px;
        padding-bottom: 50px;
        font-family: Roboto, sans-serif;
    }
    #sec-3 .cont{
        flex-direction: row;
    }
    #sec-3 .card{
        width: 48%;
    }
    #sec-3 .card:last-child{
        margin-left: auto;
        margin-right: auto;
    }
    #sec-4 .cont{
        width: 100%;
        margin: 0px;
    }
    #sec-4 aside img{
        margin-bottom: 15px;
        width: 48%;
    }
    #sec-5 h1+p{
        padding: 0px 6rem;
    }
    #sec-5 .cont{
        gap: 5vw;
    }
    #sec-5 article{
        width: 43%;
    }
    #sec-5 .contactUs form input+p{
        bottom: 4px;
    }
    #sec-6 .container{
        justify-content: space-between;
        row-gap: 25px;
    }
    #sec-6 .about{
        width: 65%;
    }
    #sec-6 .links{
        width: 20%;
    }
    #sec-6 .posts {
        width: 65%;
    }
    #sec-6 .contact {
        width: 20%;
    }
}
/* Standard PC screens */
@media (min-width: 1200px) {
    html{
        font-size: 15px;
    }
    .container {
        width: 1140px;
    }
    #sec-0 .top .social {
        gap: 10px ;
    }
    #sec-0 header:last-of-type .container{
        padding: 0.95rem 0px;
    }
    #sec-0 header nav a {
        margin-right: 10px;
        font-size: 0.92rem;
    }
    #sec-0 article p{
        padding-left: 14rem;
        padding-right: 14rem;
    }
    #sec-1 article h1{
        font-size: 2.7rem;
    }
    #sec-1 article h2{
        font-size: 1.8rem;
    }
    #sec-2{
        background-position: center top;
    }
    #sec-2 article{
        justify-content: space-evenly;
    }
    #sec-2 article figure{
        max-width: 21%;
    }
    #sec-3 {
        padding-top: 70px;
        padding-bottom: 60px;
    }
    #sec-3 .card{
        width: 31%;
    }
    #sec-3 .card:last-child{
        margin-left: 0px;
        margin-right: 0px;
    }
    #sec-4 .cont{
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
    }
    #sec-4 .cont>img{
        width: 50%;
        margin: 0px;
    }
    #sec-4 aside{
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        width: 49%;
        gap: 10px;
    }
    #sec-4 aside img{
        width: 49%;
        margin: 0px;
    }
    #sec-5{
        background-position: right center;
    }
    #sec-5 .cont{
        justify-content: space-between;
        gap: 0px;
        padding-bottom: 25px;
    }
    #sec-5 article{
        width: 30%;
    }
    #sec-5 .contactUs>.container {
        display: flex;
        justify-content: space-between;
    }
    #sec-5 .contactUs aside{
        width: 45%;
        text-align: left;
    }
    #sec-5 .contactUs form {
        width: 45%;
        padding-top: 0px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #sec-5 .contactUs form input {
        margin-right: 15px;
    }
    #sec-5 .contactUs form input:not(input[type=submit]) {
        flex-grow: 1;
    }
    #sec-5 .contactUs form input+p{
        text-align: left;
    }
    #sec-6 .container{
        justify-content: space-between;
        row-gap: 25px;
    }
    #sec-6 .about{
        width: 30%;
    }
    #sec-6 .links{
        width: 15%;
    }
    #sec-6 .posts {
        width: 20%;
    }
    #sec-6 .contact {
        width: 18%;
    }
}
@media (min-width: 1400px) {
    html{
        font-size: 17px;
    }
    .container {
        width: 1340px;
    }
}


/* --- Initial State for Animated Elements --- */
#sec-2 .container > h1,
#sec-2 .container > p,
#sec-2 article figure,
#sec-2 article figure .cont {
  opacity: 0;
  visibility: hidden; /* hide the element so it doesn’t flash before animation */
  transform: translateY(20px); /* slight offset so the animation has a visible effect */
}

/* --- Keyframe Definitions --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- When the section is active, run animations and force visibility --- */
#sec-2.active .container > h1 {
  visibility: visible;
  animation: fadeInDown 1s ease-out forwards;
  animation-delay: 0.3s;
}

#sec-2.active .container > p {
  visibility: visible;
  animation: fadeInDown 1s ease-out forwards;
  animation-delay: 0.5s;
}

/* Force figures into a single row */
#sec-2 article {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
}

/* Animate each figure with staggered delays */
#sec-2.active article figure:nth-of-type(1) {
  visibility: visible;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.7s;
}
#sec-2.active article figure:nth-of-type(2) {
  visibility: visible;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.9s;
}
#sec-2.active article figure:nth-of-type(3) {
  visibility: visible;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 1.1s;
}
#sec-2.active article figure:nth-of-type(4) {
  visibility: visible;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 1.3s;
}
#sec-2.active article figure .cont {
  visibility: visible;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 1.5s;
}

/* (Keep existing styles for layout, margins, etc. as before) */
#sec-2 {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(../Images/bg4.jpg) no-repeat center center/cover;
  text-align: center;
  padding: 3rem 0px 1.8rem;
}

#sec-2 article figure {
  flex: 1;
  margin: 40px 10px;
  text-align: center;
}

#sec-2 article .cont {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
  border-radius: 10px;
  padding: 95px 10px 20px;
  text-align: center;
  margin-top: -75px;
}

#sec-2 article figure div:first-of-type {
  width: 10em;
  height: 10em;
  background-color: var(--haccent2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px auto;
  position: relative;
  z-index: 1;
}

#sec-2 article figure img {
  max-width: 55%;
}

#sec-2 article figure h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--haccent2);
}

#sec-2 article figure p {
  color: var(--txtaccent);
  font-size: 0.88rem;
  text-shadow: 1px 1px #73757E;
}

/* Optionally, on narrower screens, allow wrapping */
@media (max-width: 768px) {
  #sec-2 article {
    flex-wrap: wrap;
  }
  #sec-2 article figure {
    flex-basis: 45%;
    margin: 20px 5px;
  }
}


/* Initial hidden state for the header and cards */
#sec-3 .container > h1,
#sec-3 .cont .card {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

/* When the section becomes active (via JS), animate the header and cards */
#sec-3.active .container > h1 {
  visibility: visible;
  animation: fadeInDown 1s ease-out forwards;
  animation-delay: 0.3s;
}

#sec-3.active .cont .card:nth-of-type(1) {
  visibility: visible;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.5s;
}

#sec-3.active .cont .card:nth-of-type(2) {
  visibility: visible;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.7s;
}

#sec-3.active .cont .card:nth-of-type(3) {
  visibility: visible;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.9s;
}

.card-overlay {
    position: relative;
    overflow: hidden;
}

/* The image will transition to a darker version on hover */
.card-overlay img {
    display: block;
    width: 100%;
    transition: filter 0.3s ease-in-out;
}

.card-overlay:hover img {
    filter: brightness(70%);
}

/* The caption is absolutely positioned over the image.
    Initially, it is positioned near the bottom of the container. */
.card-overlay .caption {
    position: absolute;
    left: 50%;
    top: 90%; /* Adjust initial top position as needed */
    transform: translate(-50%, -50%);
    transition: all 0.4s ease-in-out;  /* Smooth transition for all properties */
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    /* You can include padding, background, etc. if needed */
    }

/* On hover, the caption animates to the center */
.card-overlay:hover .caption {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: translate(0, 0); /* Remove the initial translate */
    display: flex;             /* Use flexbox to center the text */
    justify-content: center;
    align-items: center;
  }


.card-body {
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
    flex-direction: column; /* Keeps the content stacked */
}
      

.card-body p {
   /* ensure right-to-left text is treated correctly */
  direction: ltr;
  unicode-bidi: isolate-override;

  /* disable all mid-word wrapping */
  word-break: keep-all !important;
  -ms-word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}


.card-body a {
    display: inline-block;
    font-family: Roboto, sans-serif;
    text-decoration: none;
    color: #fff;
    background-color: #FFCB0F;
    padding: 12px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
  
.card-body a:hover {
    background-color: #cfa50d;
    transform: translateY(-3px);
}

.main-nav {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.lang-links {
  display: inline-flex;
  align-items: center;
  font-weight: bold;
  font-size: 0.9rem;
  gap: 0; /* we’ll manage spacing manually */
}

.lang-links a {
  color: var(--txtaccent1);
  text-decoration: none;
  padding: 4px 8px;
  display: inline-block;
}

.lang-links a:hover,
.lang-links a.active {
  color: var(--haccent);
}

.lang-links .divider {
  color: var(--txtaccent1);
  padding: 0 6px;  /* ← balance visual spacing */
  font-size: 1rem;
  line-height: 1;
  display: inline-block;
  user-select: none;
}
