* {
    margin: 0;
    padding: 0;
    font-family: "Encode Sans Expanded", sans-serif;
    font-weight: 100;
    font-style: normal;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
}

.top-bar-left {
    padding: 1em 1em;
}

.top-bar-left h4 {
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.social-icons-top {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icons-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-icons-top a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.social-icons-top svg {
    width: 18px;
    height: 18px;
}

.logo {
    display: flex;
    width: 10vw;
    padding: 1em 0;
    align-items: center;
    justify-content: center;
    border-right: solid rgb(116, 116, 116);
    border-width: 0.1px;
}

.logo img {
    width: 5em;
    height: 6em;
}


/* Responsive design for top bar */

@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    .top-bar-left h3 {
        font-size: 1rem;
        text-align: center;
    }
    .social-icons-top {
        gap: 0.5rem;
    }
    .social-icons-top a {
        width: 28px;
        height: 28px;
    }
    .social-icons-top svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .top-bar-left h3 {
        font-size: 0.9rem;
    }
    .social-icons-top a {
        width: 24px;
        height: 24px;
    }
    .social-icons-top svg {
        width: 14px;
        height: 14px;
    }
}


/* navbar ends */

.section-1 {
    display: flex;
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    margin: 0 auto;
    z-index: 1;
}

.section-1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    flex-shrink: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.section-1 img.active {
    opacity: 1;
    z-index: 1;
}

.info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    padding-left: 10%;
    /* More flexible than fixed 20vw */
    text-align: left;
    box-sizing: border-box;
    /* Prevents padding from causing overflow */
    font-weight: 300;
}

.info h1 {
    font-family: "Special Gothic Expanded One", sans-serif;
    font-weight: 700;
    font-style: normal;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    /* Scales font size responsively */
}

.info p {
    color: #fff;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    /* Responsive paragraph text */
    max-width: 80%;
    /* Prevents text from stretching too wide */
}

.info p {
    color: #fff;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 80%;
    cursor: pointer;
    transition: transform 0.2s;
}

button:hover {
    transform: scale(1.05);
    /* Subtle hover effect */
}

.subinfo {
    display: flex;
    flex-wrap: wrap;
    /* Allows items to wrap on smaller screens */
}

.subinfo-1 {
    background-color: #1c4884;
    width: 50%;
    min-height: 100px;
    color: white;
    padding: 1rem;
    box-sizing: border-box;
}

.subinfo-1 h1 {
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    /* Responsive heading */
    padding-top: 1rem;
}

.subinfo-2 {
    background-color: #a70000;
    width: 50%;
    min-height: 100px;
    color: white;
    padding: 1rem;
    box-sizing: border-box;
}

.subinfo-2 h1 {
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    /* Responsive heading */
    padding-top: 1rem;
}


/* Media Queries for Smaller Screens */

@media (max-width: 1200px) {
    .section-1 {
        width: 100%;
        height: 50vh;
        /* Slightly reduced width for better margins */
    }
    .section-1 img {
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .section-1 {
        width: 100%;
        height: 50vh;
    }
    .section-1 img {
        width: 100%;
        height: 50vh;
        object-fit: cover;
    }
    .section-1::before {
        font-size: clamp(1rem, 6vw, 2rem);
        top: clamp(0.5rem, 3vw, 1.5rem);
        left: clamp(0.5rem, 3vw, 1.5rem);
    }
}

@media (max-width: 680px) {
    .section-1 {
        height: 30vh;
        margin: 0 auto;
    }
    .section-1 img {
        height: 30vh;
    }
    .subinfo-1 {
        padding: 1rem;
        background-color: #1C4884;
        width: 100%;
        min-height: 100px;
        color: white;
        padding: 1rem;
        box-sizing: border-box;
    }
    .subinfo-2 {
        background-color: #a70000;
        width: 100%;
        min-height: 100px;
        color: white;
        padding: 1rem;
        box-sizing: border-box;
    }
}

@media (max-width: 400px) {
    .section-1 {
        width: 100%;
        height: 25vh;
    }
    .section-1 img {
        height: 25vh;
    }
}

.subinfo-2 h1 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
}

.section-2 {
    margin: 4vh 4vh;
    display: flex;
    color: #1c4884;
    text-align: left;
    padding: 2vh;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4vw;
    min-height: 60vh;
}

.sec2-image-left,
.sec2-image-right {
    flex: 0 1 auto;
    max-width: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sec2-image-left img,
.sec2-image-right img {
    height: 50vh;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.sec2-content {
    flex: 1;
    max-width: 30%;
    text-align: center;
}

.sec2-title {
    width: 100%;
}

.sec2-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1c4884;
}

.sec2-title p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}


/* Animation classes */

.animate-from-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-from-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}


/* Scroll-triggered animation classes */

.animate-from-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.animate-from-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}


/* Remove the keyframe animations since we're using transitions now */

.sec-image img {
    height: 70vh;
    width: 35vw;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .sec2-image-left,
    .sec2-image-right {
        flex: 0 1 auto;
        max-width: 35%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .sec2-image-left img,
    .sec2-image-right img {
        height: 30vw;
        width: 100%;
        object-fit: cover;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
}


/* Responsive for mobile */

@media (max-width: 768px) {
    .section-2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3vh;
        min-height: auto;
    }
    .sec2-image-left,
    .sec2-image-right {
        max-width: 90vw;
        order: 1;
    }
    .sec2-image-left img,
    .sec2-image-right img {
        height: 30vh;
        width: 90vw;
    }
    .sec2-content {
        max-width: 90vw;
        order: 2;
    }
    .sec2-title {
        width: 90vw;
        margin-bottom: 2vh;
    }
    .sec2-title h2 {
        font-size: 1.8rem;
    }
    .sec2-title p {
        font-size: 1rem;
    }
}

.partners {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 2vh;
    font-weight: 600;
}

.partners-img {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 2vh;
}

.section-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.no-eff {
    position: relative;
    width: 40%;
    height: 60vh;
    overflow: hidden;
    color: white;
    padding: 3vh;
    box-sizing: border-box;
    background-image: url(/assets/no-eff.svg);
    background-size: cover;
}

.section {
    position: relative;
    width: 20%;
    height: 60vh;
    overflow: hidden;
    color: white;
    padding: 3vh;
    box-sizing: border-box;
    z-index: 2;
}


/* Make sure content is above overlay */

.section .content {
    position: relative;
    z-index: 2;
}


/* Shared styles for overlays */

#section2::after,
#section3::after,
#section4::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Section-specific overlay colors */

#section2::after {
    background-color: hsl(0, 100%, 33%, 0.9);
}

#section3::after {
    background-color: rgba(28, 72, 132, 0.9);
    /* Blue overlay */
}

#section4::after {
    background-color: rgba(0, 0, 0, 0.9);
    /* Dark overlay, if needed */
}

#section4::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    background-color: hsl(218, 100%, 18%, 0.9);
    /* 70% opacity blue overlay */
    opacity: 1;
}

#section4:hover::after {
    background-color: hsl(218, 100%, 18%, 0.9);
    /* 70% opacity blue overlay */
    opacity: 1;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.section h2,
.section p,
.section a {
    position: relative;
    z-index: 2;
    text-align: left;
}


/* Hide content initially */

.section h2,
.section p,
.section a {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}


/* Reveal on hover */

#section2 h2,
#section2 p,
#section2 a {
    opacity: 1;
    transform: translateY(0);
}

#section3 h2,
#section3 p,
#section3 a {
    opacity: 1;
    transform: translateY(0);
}

#section4 h2,
#section4 p,
#section4 a {
    opacity: 1;
    transform: translateY(0);
}

.sec3-btn {
    display: flex;
    justify-content: center;
}

@media (max-width:600px) {
    .sec3-btn {
        display: flex;
        justify-content: center;
        margin-top: 20px;
    }
}

.sec3-info {
    font-size: 1rem;
    justify-content: center;
}


/* Add background images per section */

#section2::before {
    background-image: url('/assets/industrial-landscape-building-crane-against-the-bl-8T3EXGK.svg');
}

#section3::before {
    background-image: url('/assets/crane-and-building-construction-site-on-background-BPZXL3M.svg');
}

#section4::before {
    background-image: url('/assets/new-build-houses-3HYUECX (1).svg');
}

@media (max-width: 768px) {
    .no-eff {
        display: none;
    }
    .section {
        width: 90vw;
        height: auto;
        margin-bottom: 4vh;
    }
    .section::before,
    #section2::after,
    #section3::after,
    #section4::after {
        filter: none;
        opacity: 1;
    }
    .section h2,
    .section p,
    .section a {
        opacity: 1;
        transform: none;
        text-align: center;
    }
    .section a .BTN {
        margin: 2vh auto;
        display: block;
    }
}


/* end */

.sec-title {
    margin: 5vh 5vw;
    text-align: center;
}

.sec-title h1 {
    font-weight: 600;
    color: #1c4884;
}

.sec-title p {
    color: #a70000;
}

.sec-title img {
    height: 70vh;
}

.section-5 {
    display: flex;
    margin: 4vh 4vw;
    justify-content: center;
    height: 70vh;
    align-items: center;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    gap: 2rem;
}

.ceo-image img {
    height: 70vh;
    max-width: 100%;
    object-fit: cover;
}

.ceo-text {
    width: 50vw;
}


/* Responsive for mobile */

@media (max-width: 768px) {
    .section-5 {
        flex-direction: column;
        height: auto;
        margin: 2vh 4vw;
        text-align: center;
    }
    .ceo-image img {
        height: auto;
        width: 50vw;
    }
    .ceo-text {
        width: 90vw;
    }
}

.testimonials {
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5em;
    color: #1a2a44;
    margin-bottom: 40px;
    font-family: Arial, sans-serif;
}

.slideshow-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.slide {
    display: none;
    background: #ffffff;
    padding: 20px;
    max-width: 60vw;
    text-align: left;
}

.slide.active {
    display: flex;
}

.slide img {
    width: 15vw;
    height: auto;
    margin-right: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.quote {
    font-size: 7em;
    color: #1a2a44;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

.text {
    font-size: 1em;
    color: #1C4884;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

.author {
    font-size: 0.9em;
    color: #1C4884;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.position {
    font-size: 0.9em;
    color: #a70000;
    font-family: Arial, sans-serif;
}

.dots {
    text-align: center;
    margin-top: 20px;
}

.dot {
    height: 0.1px;
    width: 0.1px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: #1a2a44;
}

@media screen and (max-width: 786px) {
    .slide img {
        display: none;
    }
}


/* footer */

footer {
    display: flex;
    width: 100%;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

.fixed-footer {
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: white;
}

.footer-left {
    background-color: #A70000;
    width: 30%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.footer-logo img {
    height: 20vh;
}

.footer-left h3 {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-left p {
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons svg {
    width: 20px;
    height: 20px;
}

.footer-right {
    background-color: #1C4884;
    width: 70%;
    padding: 2rem;
    display: flex;
    justify-content: space-around;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.footer-column a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #cccccc;
}


/* Responsive Design */

@media (max-width: 768px) {
    footer {
        flex-direction: column;
    }
    .footer-left,
    .footer-right {
        width: 100%;
    }
    .footer-right {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-left,
    .footer-right {
        padding: 1.5rem;
    }
    .footer-left h3 {
        font-size: 1rem;
    }
    .footer-left p {
        font-size: 0.9rem;
    }
    .social-icons a {
        width: 35px;
        height: 35px;
    }
    .social-icons svg {
        width: 18px;
        height: 18px;
    }
    .footer-column h4 {
        font-size: 1rem;
    }
    .footer-column a {
        font-size: 0.9rem;
    }
}

.container {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.box {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 20vw;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box.address {
    border-left: 5px solid #c8102e;
}

.box h3 {
    margin: 0 0 10px 0;
    font-size: 0.8rem;
    font-weight: bold;
    color: #333;
}

.box p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.phone-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #c8102e;
    border-radius: 50%;
    margin-right: 10px;
    text-align: center;
    line-height: 20px;
    color: white;
    font-size: 12px;
}

.email-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #0055a5;
    border-radius: 50%;
    margin-right: 10px;
    text-align: center;
    line-height: 20px;
    color: white;
    font-size: 12px;
}

@media (max-width: 620px) {
    .box h3 {
        margin: 0 0 10px 0;
        font-size: 0.4rem;
        font-weight: bold;
        color: #333;
    }
    .box p {
        margin: 0;
        font-size: 0.4rem;
        color: #666;
        line-height: 1.5;
    }
    .email-image {
        display: none;
    }
    .phone-image {
        display: none;
    }
}

@media (max-width: 320px) {
    .box h3 {
        margin: 0 0 10px 0;
        font-size: 0.2rem;
        font-weight: bold;
        color: #333;
    }
    .box p {
        margin: 0;
        font-size: 0.2rem;
        color: #666;
        line-height: 1.5;
    }
    .email-image {
        display: none;
    }
    .phone-image {
        display: none;
    }
}

.ourEnd {
    object-fit: cover;
}

.ourEnd img {
    height: 80vh;
    width: 100vw
}

@media (max-width:1200px) {}

.carousel-container {
    width: 100%;
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    position: relative;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    /* Prevent slides from shrinking */
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
}

.carousel-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dot.active {
    background: #ffffff;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    z-index: 3;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-button.prev {
    left: 20px;
}

.carousel-button.next {
    right: 20px;
}

@media (max-width: 768px) {
    .carousel-content h2 {
        font-size: 1.8rem;
    }
    .carousel-content p {
        font-size: 1rem;
    }
    .carousel-button {
        padding: 0.8rem;
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
    }
}

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

.marquee-content {
    display: inline-block;
    position: relative;
    animation: scroll 50s linear infinite;
}

.marquee span {
    display: inline-block;
    color: #fff3f3;
    font-family: Arial, sans-serif;
    font-size: 4em;
}

.marquee-content h3 {
    font-weight: 800;
    color: white;
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: #A70000;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.last-img img {
    height: 30vw;
    width: 100%;
}


/* SECTION 6: Authorised Channel Partner */

.section-6 {
    display: flex;
    height: 45vh;
}

.section-6-left {
    display: flex;
    background-color: rgb(255, 216, 223);
    padding: 1em;
    width: 50vw;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.section-6-text {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 1.2em;
}

.section-6-text p {
    font-weight: 600;
}

.section-6-right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.section-6-end {
    background-color: rgb(255, 216, 223);
    ;
    width: 20vw;
    color: rgb(255, 216, 223);
    ;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

@media (max-width:600px) {
    .section-6-text {
        text-align: center;
        width: 100%;
    }
    .section-6-right {
        display: flex;
        flex-direction: column;
    }
    .section-6-right img {
        height: 150px;
        width: 150px;
    }
}

.director {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(/assets/director-background.svg);
    height: 50vh;
    padding-top: 4 0px;
    margin-top: -80px;
}

.message {
    /* padding: 1em; */
    color: #A70000;
}

.message h2 {
    font-weight: 600;
    font-size: 1.5em;
}

.message h3 {
    font-weight: 500;
    font-size: 1.2em;
}

.row1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.row1 img {
    height: 40vh;
    transition: all 0.3s ease;
    cursor: pointer;
}

.row1 img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.row2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.row2 img {
    height: 40vh;
    transition: all 0.3s ease;
    cursor: pointer;
}

.row2 img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

@media (max-width:1000px) {
    .row1 {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .row1 img {
        height: 20vh;
    }
    .row2 {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .row2 img {
        height: 20vh;
    }
    .ribbon-left {
        display: none;
    }
    .ribbon-right {
        display: none;
    }
    .director-message-container {
        width: 80vw;
        padding: 1em;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .row1 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .row2 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .director h2 {
        font-size: 0.9em;
    }
    .director h3 {
        font-size: 0.9em;
    }
    .sec-title h3 {
        font-size: 0.9em;
    }
    .box {
        height: 15vh;
    }
    .box.address p {
        font-size: .01em;
    }
    .email-details p {
        font-size: 4px;
    }
}


/* WhatsApp CTA Button */

.whatsapp-cta {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.whatsapp-cta:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

.whatsapp-cta:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.whatsapp-text {
    white-space: nowrap;
}


/* Social Media CTA Group */

.social-cta-group {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-cta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    padding: 0;
}

.social-cta-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #333;
}

.social-cta-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-cta-text {
    display: none;
}


/* Individual social media colors */

.social-cta-linkedin {
    border: 2px solid #0077B5;
}

.social-cta-linkedin:hover {
    background: #0077B5;
    color: white;
}

.social-cta-linkedin:hover svg {
    fill: white;
}

.social-cta-youtube {
    border: 2px solid #FF0000;
}

.social-cta-youtube:hover {
    background: #FF0000;
    color: white;
}

.social-cta-youtube:hover svg {
    fill: white;
}

.social-cta-mail {
    border: 2px solid #EA4335;
}

.social-cta-mail:hover {
    background: #EA4335;
    color: white;
}

.social-cta-mail:hover svg {
    fill: white;
}

.social-cta-instagram {
    border: 2px solid #E1306C;
}

.social-cta-instagram:hover {
    background: #E1306C;
    color: white;
}

.social-cta-instagram:hover svg {
    fill: white;
}


/* WhatsApp button animation */

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
}

.whatsapp-cta {
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-cta:hover {
    animation: none;
}


/* Responsive design for WhatsApp CTA */

@media (max-width: 768px) {
    .whatsapp-cta {
        bottom: 20px;
        left: 20px;
        padding: 10px 16px;
        font-size: 13px;
    }
    .whatsapp-cta svg {
        width: 18px;
        height: 18px;
    }
    /* Social CTA Group responsive */
    .social-cta-group {
        right: 20px;
        gap: 10px;
    }
    .social-cta-item {
        width: 45px;
        height: 45px;
    }
    .social-cta-item svg {
        width: 18px;
        height: 18px;
    }
    /* Back to Top Button responsive */
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .whatsapp-cta {
        bottom: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 12px;
        gap: 6px;
    }
    .whatsapp-cta svg {
        width: 16px;
        height: 16px;
    }
    .whatsapp-text {
        display: none;
    }
    .whatsapp-cta {
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
        padding: 0;
    }
    /* Social CTA Group mobile responsive */
    .social-cta-group {
        right: 15px;
        gap: 8px;
    }
    .social-cta-item {
        width: 40px;
        height: 40px;
    }
    .social-cta-item svg {
        width: 16px;
        height: 16px;
    }
    /* Back to Top Button mobile responsive */
    .back-to-top {
        bottom: 80px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

.nav {
    display: flex;
}

.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.nav-item {
    position: relative;
    margin: 0;
}

.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #a70000;
    background-color: #f8f9fa;
}

.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 0.3rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}


/* Dropdown Menu Styles */

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    border: 1px solid #e0e0e0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #a70000;
    padding-left: 2rem;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}


/* Active state for current page */

.nav-link.active {
    color: #a70000;
    background-color: #f8f9fa;
    border-bottom: 2px solid #a70000;
}


/* Responsive Design for Navbar */

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-item {
        border-bottom: 1px solid #e0e0e0;
    }
    .nav-link {
        padding: 1rem;
        text-align: center;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .dropdown:hover .dropdown-menu {
        max-height: 200px;
    }
    .dropdown-menu a {
        padding: 0.75rem 2rem;
        border-bottom: 1px solid #e0e0e0;
    }
    .dropdown-menu a:hover {
        padding-left: 2.5rem;
    }
}

@media (max-width: 480px) {
    .nav-link {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    .dropdown-menu a {
        font-size: 0.8rem;
        padding: 0.5rem 1.5rem;
    }
}


/* Hamburger Menu Styles */

.hamburger-menu {
    display: none;
    cursor: pointer;
    padding: 1rem;
}

.hamburger-icon {
    width: 25px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1c4884;
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* Hamburger Animation */

.hamburger-menu.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}


/* Responsive Design for screens below 900px */

@media (max-width: 900px) {
    .nav {
        flex-direction: column;
    }
    .logo {
        border-right: none;
        width: 100%;
        justify-content: center;
        padding: 1rem 0;
    }
    .navbar {
        width: 100%;
        position: relative;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        flex-direction: row;
    }
    .nav-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        z-index: 1000;
        padding: 0;
    }
    .nav-container.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-item {
        border-bottom: 1px solid #e0e0e0;
    }
    .nav-link {
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
        border-radius: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .dropdown.active .dropdown-menu {
        max-height: 200px;
    }
    .dropdown-menu a {
        padding: 0.75rem 2rem;
        border-bottom: 1px solid #e0e0e0;
    }
    .dropdown-menu a:hover {
        padding-left: 2.5rem;
    }
    /* Show hamburger menu */
    .hamburger-menu {
        display: block;
        order: 2;
    }
    /* Hide regular nav menu by default */
    .nav-container {
        display: none;
    }
    .nav-container.active {
        display: block;
    }
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
}

#backToTop:hover {
    background-color: #e20909;
}

.map {
    display: flex;
}

.map img {
    width: 50vw;
}


/* Right-aligned flyout submenu for Group Companies > Services */

.nav-menu .dropdown .dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
    margin-top: -1px;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    min-width: 180px;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1100;
}

.nav-menu .dropdown:hover>.dropdown-menu,
.nav-menu .dropdown .dropdown-menu .dropdown:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-menu .dropdown .dropdown-menu>.dropdown {
    position: relative;
}


/* Ensure parent dropdown-menu is visible when hovering submenu */

.nav-menu .dropdown .dropdown-menu .dropdown:hover>.dropdown-menu {
    display: block;
}

.custom-footer {
    display: flex;
    width: 100vw;
    min-height: 180px;
    font-family: 'Encode Sans Expanded', Arial, sans-serif;
    font-size: 0.98em;
    margin: 0;
    padding: 0;
    position: relative;
}

.footer-left-red {
    background: #b40000;
    color: #fff;
    flex: 1.1;
    padding: 2em 1.5em 1.5em 2em;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 320px;
}

.footer-logo-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-company-names {
    font-size: 1em;
    margin-top: 0.5em;
    line-height: 1.3em;
}

.footer-description {
    font-size: 0.95em;
    margin-top: 1em;
    font-weight: 500;
    text-align: justify;
    margin-bottom: 9em;
}

.footer-right-blue {
    background: #1c4884;
    color: #fff;
    flex: 2;
    padding: 2em 2em 1.5em 2em;
    display: flex;
    align-items: flex-start;
    min-width: 400px;
}

.footer-cols {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 2em;
}

.footer-col {
    flex: 1;
    min-width: 180px;
}

.footer-col h4 {
    font-size: 1.05em;
    font-weight: 700;
    margin-bottom: 0.7em;
    letter-spacing: 0.04em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.4em;
    font-size: 0.98em;
    color: #fff;
    font-weight: 300;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 400;
}

.footer-col ul li a:hover {
    color: #c8102e;
}

.footer-col address {
    font-size: 0.97em;
    color: #fff;
    margin-bottom: 0.7em;
}

.footer-contact-bar {
    width: 75%;
    height: 1.5em;
    margin-top: 1.2em;
    border-radius: 3px;
}

.footer-contact-bar img {
    height: 25px;
}

@media (max-width: 900px) {
    .custom-footer {
        flex-direction: column;
        min-width: 0;
    }
    .footer-left-red,
    .footer-right-blue {
        min-width: 0;
        width: 100%;
        padding: 1.2em 1em;
    }
    .footer-cols {
        flex-direction: column;
        gap: 1.5em;
    }
    .footer-col {
        min-width: 0;
    }
    .footer-contact-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
}

.branding {
    display: flex;
}

.branding-text {
    display: flex;
    align-items: center;
    padding-left: 1em;
}

.branding-text h3 {
    font-weight: 600;
}