/*
font-family: 'Arima Madurai', cursive;
font-family: 'Yeseva One', cursive;

color: #15374F;

*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #01121f;

}

/* =========================================
   BASE (Mobile First)
   ========================================= */
.hero {
    display: flex;
    flex-direction: column;      /* Mobile stack */
    gap: 30px;
    padding: 100px 20px;
    width: 100%;
    height: auto;
    background: none;            /* No background image on mobile */
    position: relative;
    z-index: 0;
    background-image: url(/img/hero/background-pattern-square.svg);
    background-position: initial;
    background-repeat: repeat;
    background-size: cover;
    justify-content: center;
}

.hero-left {
    flex: 1;
    max-width: 100%;
    text-align: center;
}

.hero-left h1 {
    font-size: 2.3rem;
    margin: 0;
    font-family: "Domine", serif;
    font-weight: 800;
    color: #fff;
}

.hero-left h2 {
    font-family: "Roboto", sans-serif;
    font-size: 1.3rem;
    margin: 10px 0;
    font-weight: 300;
    color: #fff;
}

.hero-left p {
    font-family: "Roboto", sans-serif;
    font-size: 0.95rem;
    margin: 20px 0;
    opacity: 0.85;
    color: #fff;
}

.info-box p {
    font-size: 16px;
    line-height: 1.6;
}

.cta-btn {
    display: inline-block;
    padding: 14px 26px;
    background: black;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.2s;
}

.cta-btn:hover {
    background: #333;
}

/* Remove right-side images entirely on mobile */
.hero-right {
    display: none;
}


/* 3 BOXES */

/* 3 BOXES SECTION */
.info-row {
    display: flex;
    flex-direction: column; /* stacked on mobile */
    gap: 24px;              /* smaller gap on mobile */
    margin: 60px 20px;
    opacity: 0;             /* for fade-up */
    transform: translateY(40px);
    max-width: 100%;
}

.info-box {
    position: relative;
    flex: 1 1 100%;
    text-align: left;
    padding: 28px 20px;
    border-radius: 16px;
    background: white;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    color: #01121f;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        background-color 0.35s ease;
}

.info-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(
        180deg,
        rgba(1, 18, 31, 0.08),
        rgba(6, 35, 55, 0.2)
    );
    opacity: 0.5;
    pointer-events: none;
}

.info-box img {
    width: 68px;
    height: 68px;
    margin-bottom: 16px;
    transition: transform 0.4s ease;
}

.info-box h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-family: "Domine", serif;
    line-height: 1.3;
}

.info-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: "Roboto", sans-serif;
}

/* Fade-up animation */
.fade-up.visible {
    animation: fadeUp 0.9s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TOP CENTER HEADING */

.top-center-heading-container {
    max-width: 1490px;
    margin: 100px auto 100px auto;
    text-align: center;
}

.top-center-capsule {
    align-self: flex-start; 
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    background-color: #7dc0fc;
    border-radius: 3px;
    padding: 5px 10px;
    color: #011321;
    margin-bottom: 20px;
}

.top-center-description {
    max-width: 1000px;
    margin: 20px auto;
    text-align: center;
}

.top-center-heading-container h1 {
    font-size: 2.3rem;
    margin: 0;
    font-family: "Domine", serif;
    font-weight: 800;
    color: #fff;
}

.top-center-heading-container h2 {
    font-family: "Roboto", sans-serif;
    font-size: 1.3rem;
    margin: 10px 10px;
    font-weight: 300;
    color: #fff;
    line-height: 1.3;
}

.top-center-heading-container p {
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    margin: 20px 0;
    opacity: 0.8;
    color: #fff;
}

/* HIGHLIGHTED PROJECT */

.gallery-card {
    width: 100%;
    max-width: 1490px;
    background: #fff;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    margin: 0 auto 100px auto;
    min-height: 780px;

}

.gallery-image {
    width: 65%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-info {
    width: 35%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
}

.gallery-card > .gallery-info > .thumbnail-gallery {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}


.gallery-card > .gallery-info > .thumbnail-gallery img {
    width: 145px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-thumbs img {
    width: 60px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-info > .primary_text {
    font-family: "Domine", serif;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 15px 0 5px 0;
}

.gallery-info > .primary_smaller_text {
    font-family: "Domine", serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 5px 0 5px;
}

.gallery-info > .secondary_text {
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 1.2px;
    padding: 5px 0;
    font-size: 18px;
}

.gallery-info > .top_text {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 1.2px;
    font-size: 15px;
}

.gallery-info > .capsule {
    align-self: flex-start; 
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    background-color: #011321;
    border-radius: 3px;
    padding: 5px 10px;
    color: #fff;
}

.gallery-info > ul.project-description-list {
    margin-bottom: 20px;
}

.gallery-info > ul.project-description-list > li {
    text-transform:initial;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    list-style: none;
    padding: 0 1em;
    color:#011321;
}

.gallery-info > ul.project-description-list > li::before {
    content: "";
    border-color: transparent #011321;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 0.9em;
    position: relative;
}



/* Responsive */
@media (max-width: 900px) {
.gallery-card {
flex-direction: column;
}

.gallery-image, .gallery-info {
width: 100%;
}

.gallery-info {
padding: 20px;
}

.gallery-thumbs {
flex-direction: row;
justify-content: flex-start;
}

.gallery-thumbs img {
width: 60px;
height: 90px;
}
}

/* CARDS HOMEPAGE */

.higlighted-cards-section {
max-width: 1490px;
margin: 0 auto 100px auto;
display: flex;
flex-wrap: wrap;
gap: 40px;
justify-content: space-between;
}


.higlighted-card {
background: #fff;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
width: calc(100% - 20px);
margin: 0 auto;
}

.higlighted-card-content {
display: flex;
gap: 20px;
padding: 20px;
border-radius: 5px;
}


.higlighted-card-left {
width: 50%;
min-height: 500px;
}


.higlighted-card-left img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 5px;
}


.higlighted-card-right {
width: 50%;
display: flex;
flex-direction: column;
gap: 15px;
justify-content: flex-start;
}


.higlighted-card > .thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 20px 20px 20px;
}

.higlighted-card > .thumbnail-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Hide images 3, 4, 5… on mobile */
.higlighted-card > .thumbnail-gallery img:nth-child(n+3) {
    display: none;
}


.higlighted-card-right > .primary_text {
    font-family: "Domine", serif;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 15px 0 5px 0;
}

.higlighted-card-right > .primary_smaller_text {
    font-family: "Domine", serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 5px 0 5px;
}

.higlighted-card-right > .secondary_text {
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 1.2px;
    padding: 5px 0;
    font-size: 18px;
}

.higlighted-card-right > .top_text {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 100;
    letter-spacing: 1.2px;
    font-size: 15px;
}

.higlighted-card-right > .capsule {
    align-self: flex-start; 
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    background-color: #011321;
    border-radius: 3px;
    padding: 5px 10px;
    color: #fff;
}

.higlighted-card-right > ul.project-description-list {
    margin-bottom: 20px;
}

.higlighted-card-right > ul.project-description-list > li {
    text-transform:initial;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    list-style: none;
    padding: 0 1em;
    color:#011321;
}

.higlighted-card-right > ul.project-description-list > li::before {
    content: "";
    border-color: transparent #011321;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 0.9em;
    position: relative;
}




/* FULL WIDTH SECTION */

.fullwidth-section {
    width: 100%;
    background-color: #231951;
    padding: 80px 0;
    background-image: url(/img/hero/background-pattern-square.svg);
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    z-index: 0;
}

.fullwidth-content-container {
    display: flex;
    flex-direction: column; /* mobile: stacked */
    align-items: center;
    gap: 60px;
    margin: 0 auto;
    position: relative;
    max-width: 1490px;
    justify-content: flex-start;
}

.fullwidth-text {
    flex: 1;
    text-align: center; /* centered until 1280px */
}

/* Hide images on mobile and tablet */
.fullwidth-image {
    display: none;
}

.fullwidth-image > img {
    border-radius: 20px;
    position: static; /* remove absolute for mobile */
    top: auto;
    right: auto;
    z-index: auto;
    box-shadow: none;
    max-width: 80%;
    margin: 0 auto;
}

.fullwidth-text h1 {
    font-family: "Domine", serif;
    margin-bottom: 20px;
    font-size: 2.3rem;
    color: #fff;
    font-weight: 800;
}

.fullwidth-text h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.4;
}

.fullwidth-text h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #fff;
    font-weight: 400;
    margin-bottom: 20px;
}

.fullwidth-section-button {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    position: initial;
    display: inline-block;
    padding: 15px 20px;
    background-color: #c1defd;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #01121f;
    cursor: pointer;
    transition: all 0.3s ease 0s;
    z-index: 10;
}

.fullwidth-section-button:hover {
    background-color: #01121f;
    color: white;
    border: 1px solid #fff;
}


/* SOCIAL ICONS */


.fa {
    padding: 8px;
    font-size: 40px;
    line-height: 60px;
    transition: .6s;
    width: 30px;
    text-align: center;
    text-decoration: none;
    margin: 5px 5px 5px 0;
    border-radius: 50%;
}

.fa:hover {
    opacity: 0.8;
}

.fa:active {
    opacity: 1;
}

.fa-instagram,
.fa-twitter,
.fa-facebook {
    background-color: rgba(21, 55, 79, 0.8);
    color: white;
}

#social-icons {
    background-color: #01121f;
}

/* FOOTER */

footer {
    background-color: #01121f;
}

/* Main footer container */
.main-footer {
    display: flex;
    flex-direction: column; /* mobile first: stacked */
    justify-content: center;
    align-items: center;
    padding: 30px 10px; /* small horizontal padding for mobile */
    max-width: 1460px; /* max width for larger screens */
    margin: 0 auto; /* center the footer */
}

/* Social text */
.socials-text {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    color: #fff;
    font-size: 12px;
}

/* Footer icons */
#footer-social-icons {
    background-color: #f8f8ff;
    color: #01121f;
}

/* Copyright */
.copyright {
    text-align: center;
    color: #01121f;
    padding: 15px 0;
    font-size: 10px;
    font-family: 'Open Sans', sans-serif;
    background-color: #fff;
}


/* MODAL */

.modal {
    z-index: 1;
    display: none;
    padding-top: 10px;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.8)
}

.modal-content {
    margin: auto;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-content img {
    max-width: 90%;
    border: 1px solid #fff;
}

.modal-hover-opacity {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-backface-visibility: hidden;
}

.modal-hover-opacity:hover {
    opacity: 0.90;
    filter: alpha(opacity=90);
    -webkit-backface-visibility: hidden;
}


.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-right: 20px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}


/***********************************************************************
************************************************************************
************************************************************************
*********************** MOBILE FIRST BASE STYLES ***********************
************************************************************************
************************************************************************
***********************************************************************/



/***********************************************************************
******************************* SM 640px *******************************
***********************************************************************/

@media (min-width: 640px) { /* sm */
  /* small devices */

    /* 3 BOXES */

    .info-row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 40px;
        margin: 80px 40px;
    }
    .info-box {
        flex: 1 1 calc(50% - 40px);
        padding: 32px 24px;
    }

        .higlighted-card > .thumbnail-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Hide images 3, 4, 5… on mobile */
    .higlighted-card > .thumbnail-gallery img:nth-child(n+3) {
        display: initial;
    }

    /* Only hide images from the 4th onward */
    .higlighted-card > .thumbnail-gallery img:nth-child(n+4) {
        display: none;
    }

}




/***********************************************************************
******************************* MD 768px *******************************
***********************************************************************/

@media (min-width: 768px) { /* md */
  /* tablets */

  .hero {
        flex-direction: row;
        align-items: center;
        height: 600px;
        background-position: center;
    }

    .hero-left {
        text-align: center;
        max-width: 600px;
    }

    .hero-left h1 {
        font-size: 50px;;
    }

    .hero-left h2 {
        font-size: 1.5rem;
    }

    .hero-left p {
        font-size: 1rem;
    }

    /* Tablet still hides images unless you prefer showing them */
    .hero-right {
        display: none;
    }
}




/***********************************************************************
******************************* LG 1024px ******************************
***********************************************************************/

@media (min-width: 1024px) { /* lg */
  /* laptops */

     /* 3 BOXES */

        .info-row {
        max-width: 1490px;
        margin: 90px auto;
        gap: 40px;
    }

        .info-box {
        flex: 1 1 calc(33.333% - 40px); /* 3 columns */
        padding: 40px 28px;
    } 

     .fullwidth-content-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .higlighted-card  {
        width: calc(50% - 20px);
    }  


    .higlighted-card-left > img {
        height: 700px;
    }

    
    /* FOOTER */

    .main-footer {
        flex-direction: row; /* side-by-side on desktop */
        justify-content: space-between;
        align-items: center;
    }
}



/***********************************************************************
******************************* XL 1280px ******************************
***********************************************************************/

@media (min-width: 1280px) { /* xl */
  /* large desktops */

    .hero {
        gap: 80px;
        width: 1250px;
        margin: 0 auto;
        justify-content: center;
        
    }

    .hero-left {
        text-align: left;
    }


    .hero-right {
        display: flex;
        flex: 1;
        gap: 20px;
        justify-content: flex-end;
        height: 100%;
        position: relative;
    }

    .hero-right > img {
        border-radius: 20px;
        position: absolute;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2),
                    0 6px 20px rgba(0,0,0,0.19);
    }

    .hero-right > img:nth-of-type(1) {
        top: 30px;
        right: 0;
        z-index: 3;
        max-width: 300px;
    }

    .hero-right > img:nth-of-type(2) {
        top: -40px;
        right: 220px;
        z-index: 2;
        max-width: 300px;
    }

    .higlighted-card > .thumbnail-gallery {
        grid-template-columns: repeat(4, 1fr);
    }

    .higlighted-card > .thumbnail-gallery img {
        display: block;
    }

    /* Only hide images from the 4th onward 
    */
    .higlighted-card > .thumbnail-gallery img:nth-child(n+4) {
        display: initial;
    }


    /* Hide only images from the 5th onward (if any) 
    */
    .higlighted-card > .thumbnail-gallery img:nth-child(n+5) {
        display: none;
    }

    .fullwidth-content-container {
        flex-direction: row; /* side-by-side layout */
        align-items: center;
        justify-content: space-between;
        min-height: 500px;
    }

    /* Show images */
    .fullwidth-image {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: auto;
        align-items: flex-start;
        order: 0;
    }

    /* Text wider and aligned left */
    .fullwidth-text {
        flex: 1.5;
        text-align: left; /* restore original desktop alignment */
    }

    /* Restore original absolute positioning for images */
    .fullwidth-image > img:nth-of-type(1) {
        display: block;
        border-radius: 20px;
        position: absolute;
        top: 70px;
        right: 0;
        z-index: 3;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),
                    0 6px 20px 0 rgba(0,0,0,0.19);
        max-width: none;
        margin: 0;
    }

    .fullwidth-image > img:nth-of-type(2) {
        display: block;
        border-radius: 20px;
        position: absolute;
        top: 10px;
        right: 300px;
        z-index: 2;
        box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),
                    0 6px 20px 0 rgba(0,0,0,0.19);
        max-width: none;
        margin: 0;
    }
}


/***********************************************************************
******************************* XL 1460px ******************************
***********************************************************************/
@media (min-width: 1460px) { /* 2xl */
  /* extra large screens */
    
  .hero {
    width: 1460px;
  }
  
}


/***********************************************************************
******************************* XL 1536px ******************************
***********************************************************************/


@media (min-width: 1536px) { /* 2xl */
  /* extra large screens */
}




/***********************************************************************
******************************* XL 1920px ******************************
***********************************************************************/

@media (min-width: 1921px) { /* 3xl */
/* Full HD screens (larger than 1920px) */




}