@font-face {
    font-family: "Amperzand";
    src: url(./fonts/Amperzand.ttf);
}
@font-face {
    font-family: "Gilroy-Regular";
    src: url(./fonts/Gilroy-Regular.ttf);
}
@font-face {
    font-family: "Gilroy-Light";
    src: url(./fonts/Gilroy-Light.ttf);
}
@font-face {
    font-family: "Gilroy-SemiBold";
    src: url(./fonts/Gilroy-SemiBold.ttf);
}
@font-face {
    font-family: "Gilroy-Medium";
    src: url(./fonts/Gilroy-Medium.ttf);
}
@font-face {
    font-family: "Gilroy-Bold";
    src: url(./fonts/Gilroy-Bold.ttf);
}
@font-face {
    font-family: "Gilroy-Thin";
    src: url(./fonts/Gilroy-Thin.ttf);
}
@font-face {
    font-family: "Gilroy-UltraLight";
    src: url(./fonts/Gilroy-UltraLight.ttf);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background-color: #fcfaf8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}


a img {outline : none;}

#main {
    width: 100%;
    height: 100%;
}

/* Ensure navbar opacity works in index.html */
#main nav {
    opacity: 0.7;
    background-color: #e1e1e1;
}

/* Intro Screen */

#loader {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 999999;
    background-color: #111;
    color: #fcfaf8;
    pointer-events: none;
}

#loader #topHeading {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, 0);
}

#topHeading h5 {
    font-family: "Gilroy-Regular";
    text-align: center;
    text-transform: uppercase;
    font-size: clamp(0.7rem, 1.5vw, 1rem);
}

#loader h1 {
    font-family: "Gilroy-Regular";
    display: flex;
    justify-content: center;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(2rem, 5vw, 4rem);
}

.reveal .parent {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow-y: hidden;
}

.reveal .parent .child {
    display: block;
}

.child span {
    display: inline-block;
}

#green {
    position: fixed;
    top: 100%;
    width: 100%;
    z-index: 999;
    height: 100vh;
    background-color: #870A30;
    pointer-events: none;
}

/* Main Screen */

#home {
    position: relative;
    transition: background-color cubic-bezier(0.19, 1, 0.22, 1) 2s;
    width: 100%;
    background-color: #fcfaf8;
    min-height: 100vh;
    /* padding-bottom: 10vh;   bottom extra space */
}

/* Nav Section */

nav {
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4vw 7vw 4vw 7vw;
    width: 100%;
    z-index: 9999;
    background-color: #e1e1e1;
    opacity: 0.7;
    min-height: 80px;
}

nav a {
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(0.9rem, 1.2vw, 1.2rem);
    font-family: 'Gilroy-Medium';
    color: #000000;
    letter-spacing: 0.1vw;
    padding: 10px 15px;
    margin: 0 5px;
    display: inline-block;
    pointer-events: auto;
    z-index: 100000;
}

nav a .line {
    position: absolute;
    bottom: -3px;
    display: none;
    width: 100%;
    height: 1.5px;
    background-color: black;
}

.nav-link {
    color: black; /* Default color */
    transition: color 0.3s;
}

.nav-link.footer-active {
    color: black;
    font-weight: 600;
}

.footer-activeLine {
    position: absolute;
    bottom: -2px;
    display: inline-block;
    width: 100%;
    height: 1px;
    background-color: #870A30;
}


#line1 {
    left: 0;
    width: 0%;
    transition: cubic-bezier(0.19, 1, 0.22, 1) 1s;
    transition-delay: .1s;
}

#line2 {
    right: 0;
    width: 100%;
    transition: cubic-bezier(0.19, 1, 0.22, 1) 1s;
}

nav a:hover #line2{
    width: 0;
}

nav a:hover #line1{
    width: 100%;
}

/* Header Section */

#firstRow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 7vw;
    margin-top: 15vw;
    gap: 5vw;
}

#firstRow h1 {
    font-family: "Gilroy-SemiBold";
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 500;
    line-height: 1;
    margin: 0;
    padding: 0;
}

#firstRow .text {
    display: flex;
    flex-direction: column;
    gap: 0.5vw;
    min-width: 200px;
    justify-content: center;
}

#firstRow .text h5 {
    font-family: "Gilroy-Regular";
    font-size: clamp(0.7rem, 1.5vw, 1rem);
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

#local-time {
    margin-left: auto;
    min-width: 150px;
}

.row{
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-content: flex-start;
    color: #333;
    padding: 0 clamp(1.5rem, 7vw, 5rem);
    padding-right: clamp(2rem, 12vw, 8rem);
    gap: 2vw;
}

.row h1 {
    font-family: "Gilroy-SemiBold";
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 500;
    line-height: 1;
    margin-top: 0;
}

.row .text h5{
    font-family: "Gilroy-Light";
    font-size: clamp(0.7rem, 1vw, 1rem);
    color: #AD8D9D;
    line-height: 1.4;
}

.row:nth-child(3) {
    margin-top: -3vw;
}

#svgContainer{
    width: clamp(3rem, 15vw, 10rem);
    margin-right: -5vw;
}

#uxSvg {
    width: 100%;
    animation: fill 1s ease forwards 4.8s;
}

#uxSvg path:nth-child(1) {
    stroke-dasharray: 859.1476440429688px;
    stroke-dashoffset: 859.1476440429688px;
    animation: line 1s ease forwards 4s;
}
#uxSvg path:nth-child(2) {
    stroke-dasharray: 1355.4295654296875px;
    stroke-dashoffset: 1355.4295654296875px;
    animation: line 1s ease forwards 4.3s;
}

@keyframes line{
    to{
        stroke-dashoffset: 0px;
    }
}

@keyframes fill {
    from{
        fill: transparent;
    }
    to{
        fill: #870A30;
    }
}

#downarrow{
    width: clamp(1.5rem, 4vw, 3rem);
}

#imagery {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 50vh;
    margin-top: clamp(5rem, 15vw, 10rem);
    padding: 0 clamp(1.5rem, 7vw, 5rem);
    z-index: 999;
    position: relative;
}

#imagery #imgleft {
    width: 35%;
    position: relative;
    z-index: 2;
}

#imgleft h1{
    font-size: clamp(0.9rem, 1.3vw, 1.5rem);
    font-weight: 400;
    color: #333;
    font-family: "Gilroy-Regular";
    line-height: 1.5;
}

#imgleft h1 span {
    font-size: clamp(1.2rem, 1.8vw, 2.2rem);
    color: #870A30;
    font-family: "Amperzand";
}

#imgright {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;    
    width: 60%;
    height: 20vw;
    z-index: 1;
}

#imgright .imgcontainer {
    position: absolute;
    width: 28vw;
    height: 45vw;
    border-radius: 3vw;
    filter: grayscale(1);
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
}

#imgright .imgcontainer:hover {
    filter: grayscale(0);
}

#imgright .imgcontainer:nth-child(1) {
    transform: translate(-15%, 0%) rotate(-4deg);
    background-image: url(https://res.cloudinary.com/dazkqpcy6/image/upload/v1740781811/suman1_jp4xyf.jpg);
    background-size: cover;
    background-position: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: ease-in-out 0.8s;
}

#imgright .imgcontainer:nth-child(2) {
    transform: translate(35%, 0%) rotate(4deg);
    background-image: url(https://res.cloudinary.com/dazkqpcy6/image/upload/v1740782250/suman2_gfbgns.jpg);
    background-size: cover;
    background-position: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: ease-in-out 0.8s;
}

#imgright .imgcontainer:nth-child(1):hover {
    transform: translate(-45%, 0%) rotate(-4deg);
}

#imgright .imgcontainer:nth-child(2):hover {
    transform: translate(35%, 0%) rotate(0deg);
}

#helpWith{
    margin-top: clamp(5rem, 12vw, 10rem);
    padding: 0 clamp(1.5rem, 7vw, 5rem);
}

#helpWith h5{
    margin-top: 2.5vw;
    margin-left: 10vw;
    font-size: clamp(0.7rem, 1vw, 1rem);
    font-family: "Gilroy-Regular";
    color: #AD8D9D;
    text-transform: uppercase;
}

#helpWith h3{
    margin-top: 1vw;
    margin-left: 10vw;
    font-size: clamp(0.8rem, 1.2vw, 1.4rem);
    font-family: "Gilroy-Regular";
    color: #202020;
    text-transform: uppercase;
    line-height: 1.5;
}

hr{
    height: 1px;
    margin-top: 8vw;
    margin-left: 17vw;
    margin-bottom: 8vw;
    margin-right: 10vw;
}

#work {
    position: relative;
    width: 100%;
    padding-bottom: 10vh;
}

#work::before{
    content: "";
    position: absolute;
    top: -6vw;
    width: 100%;
    height: 150px;
    transform: rotate(-180deg);
}

#work .workrow {
    display: flex;
    align-items: center;
    padding: 0 clamp(2rem, 10vw, 7rem) 0 clamp(3rem, 17vw, 12rem);
    justify-content: space-between;
    color: #333;
}

.workrow h1 {
    display: flex;
    align-items: baseline;
}

.headings{
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-family: "Gilroy-Medium";
    letter-spacing: 0.3vw;
}

.workrow h1 .mini {
    font-size: clamp(0.7rem, 1vw, 1rem);
    margin-left: 1.5vw;
    font-weight: 700;
}

.maz {
    color: #870A30;
    font-family: "Gilroy";
    font-style: italic;
    font-weight:600;
}

#helpWith .o-ui-arrow{
    width: clamp(1rem, 3vw, 2rem);
}

#work .o-ui-arrow{
    width: clamp(1rem, 3vw, 2rem);
    transform: rotate(90deg);
}

.o-ui-arrow path{
    stroke: rgb(158, 158, 158);
}

#images {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    position: relative;
    width: 100%;
    margin-top: 6vw;
    padding: 0 clamp(1.5rem, 7vw, 5rem);
}

.cnt {
    position: relative;
    object-fit: cover;
    overflow: hidden;
    border-radius: 2vw;
    margin: auto;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: ease-in-out 0.8s;
}

.cnt:hover {
    transform: scale(1.05);
}

.cnt1 {
    width: 50%;
    height: 70vh;
}

.cnt2 {
    width: 35%;
    height: 50vh;
}

.cnt3 {
    object-fit: cover;
    width: 55%;
    height: 75vh;
}

.cnt4 {
    width: 35%;
    height: 70vh;
    transform: translate(0%, 5%)
}

.cnt5 {
    width: 50%;
    height: 60vh;
}

.cnt img {
    position: absolute;
    transition: filter cubic-bezier(0.19, 1, 0.22, 1) 1s;
    width: 100%;
    z-index: 1;
}

.workInfo {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: clamp(1.5rem, 6vw, 4rem) clamp(1rem, 2vw, 1.5rem);
    z-index: 2;
    font-family: "Gilroy-Regular";
}

.wrkyear {
    display: inline-block;
    padding: clamp(0.5rem, 1vw, 0.8rem);
    background-color: #f2f2f2df;
    border-radius: 1vw;
    text-align: left;
    margin-bottom: 1vw;
    font-size: clamp(0.6rem, 0.7vw, 0.8rem);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: ease-in-out 0.8s;
}

.wrkrole {
    display: block;
    width: 90%;
    padding: clamp(0.5rem, 1vw, 0.8rem);
    background-color: #f2f2f2df;
    border-radius: 1vw;
    text-align: left;
    margin-bottom: 1vw;
    font-size: clamp(0.6rem, 0.7vw, 0.8rem);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: ease-in-out 0.8s;
}

.wrkplace {
    display: inline-block;
    padding: clamp(0.5rem, 1vw, 0.8rem);
    font-family: "Gilroy-SemiBold";
    background-color: #f2f2f2df;
    border-radius: 1vw;
    text-align: left;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: ease-in-out 0.8s;
}

#wrkimg{
    position: absolute;
    bottom: 0;
    left: 0;
    padding-bottom: 2vw;
    padding-left: 2vw;
    z-index: 2;
    width: 35%;
    opacity: 0.8;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    transition: ease-in-out 0.8s;
}

.cnt:hover .wrkplace {
    background-color: #ffffff;
}

.cnt:hover .wrkyear{
    background-color: #ffffff;
}

.cnt:hover .wrkrole {
    background-color: #ffffff;
}

.cnt:hover #wrkimg {
    opacity: 1;
}

#image3 {
    display: flex;
    justify-content: center;
    padding: 16vh clamp(1.5rem, 7vw, 5rem);
}

#images4 {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    position: relative;
    width: 100%;
    padding: 0 clamp(1.5rem, 7vw, 5rem);
}

#seeMoreWorks {
    margin: 5vw clamp(1.5rem, 7vw, 5rem);
    border: 1px solid #dbdbdb;
    border-radius: 5vw;
    padding: 1.3vw;
    text-align: center;
    transition: ease-in-out 0.5s;
}

#seeMoreWorks:hover{
    background-color: #fff;
    border: 1px solid #ffffff;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

#seeMoreWorks h5 {
    font-size: clamp(0.8rem, 1vw, 1.2rem);
    font-family: "Gilroy-SemiBold";
    color: #333;
}

#cert {
    margin: 6vw clamp(1.5rem, 7vw, 5rem) 10vw clamp(1.5rem, 7vw, 5rem);
}

#certHead {
    margin-bottom: 5vw;
}

#certcolm {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#certgfx {
    width: 20%;
}

.certrows {
    width: 65%;
}

.certrows .certrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5vw;
    transition: ease-in-out 0.5s;
}

.certrow h1{
    width: 60%;
    font-family: "Gilroy-SemiBold";
    font-size: clamp(0.9rem, 1.2vw, 1.4rem);
}

.certrow h5{
    width: 30%;
    font-family: "Gilroy-Light";
    font-size: clamp(0.8rem, 1vw, 1.2rem);
    line-height: 1.2;
    color: #AD8D9D;
}

.certrow:hover {
    background-color: white;
    border-radius: 1vw;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.188) 0px 1px 1px -1px;
}

.certrow:hover img {
   width: 3%;
}

.certrow img {
    width: 0%;
    transition: ease-in-out 0.5s;
}

.certDivider {
    width: 100%;
    margin: 1vw 0;
    padding: 0;
}

#footer {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #703A4B;
    color: #f0f0f0;
    text-align: center;
    padding: 8vw clamp(1.5rem, 7vw, 5rem) 2vw clamp(1.5rem, 7vw, 5rem);
    overflow: hidden;
}

#footbg {
    position: absolute;
    width: 100%;
    top: 110%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

#footbg svg {
    width: 100%;
    z-index: 0;
    opacity: 0.6;
} 

#footcnt {
    width: 100%;
}

#footer h1 {
    font-family: "Gilroy-Medium";
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    line-height: 1.2;
    text-transform: uppercase;
}

#footerbtns {
    display: flex;
    justify-content: center;
    gap: 4vw;
}

.footbtn {
    width: 50%;
    margin: 6vw 0;
    border: 2px solid #ffffff49;
    border-radius: 5vw;
    padding: 2vw 0;
    text-align: center;
    transition: ease-in-out 0.8s;
    z-index: 2;
    color: #fff;
}

.footbtn:hover {
    background-color: #f0f0f0;
    color: #333;
    border: 2px solid #f0f0f0;
}

.footbtn h5{
    font-family: "Gilroy-Medium";
    font-size: clamp(0.8rem, 1vw, 1.2rem);
}

#footsls{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 7vw;
    z-index: 1;
}

.footslsrow {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1vw;
    padding: 1vw;
    border-radius: 1vw;
    z-index: 999;
    transition: ease-in-out 0.5s;
}

.slsrowcols {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: ease-in-out 0.5s;
}

.slsrowcols h2 {
    font-family: "Gilroy-Medium";
    font-size: clamp(0.9rem, 1.2vw, 1.4rem);
    color: #ffffff;
    transition: ease-in-out 0.5s;
}

.slsrowcols h2 span{
    font-family: "Gilroy-Regular";
    font-size: clamp(0.6rem, 0.7vw, 0.9rem);
    color: #f1f1f1;
    border-radius: 1vw;
    transition: ease-in-out 0.5s;
}

.slshr {
    width: 70%;
    height: 1px;
    margin: 0;
    transition: ease-in-out 0.5s;
    border-color: #ffffff49;
}

.slsrowcols img {
    width: 8%;
    transition: ease-in-out 0.5s;
}

.footslsrow:hover{
    background-color: #ffffff1d;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

.footslsrow:hover #arrow1{
    width: 7%;    
}
.footslsrow:hover #arrow3{
    width: 7%;    
}
.footslsrow:hover #arrow2{
    width: 7%;    
}
.footslsrow:hover .slshr{
    width: 98%;   
    border-color: #ededed; 
}

#arrow1{
    width: 0%;
    transition: ease-in-out 1s;
}

#arrow2{
    width: 0%;
    transition: ease-in-out 1s;
}

#arrow3{
    width: 0%;
    transition: ease-in-out 1s;
}

#foot{
    margin-top: 6vw;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

#foot h3 {
    font-family: "Gilroy-Regular";
    font-weight: 400;
    font-size: clamp(0.6rem, 0.7vw, 0.9rem);
    color: #ffebef;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    #imagery {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
        margin-top: 4rem;
    }

    #imagery #imgleft {
        width: 100%;
        order: 2;
    }

    #imgright {
        width: 100%;
        height: auto;
        order: 1;
    }

    #imgright .imgcontainer {
        width: 45vw;
        height: 60vw;
        position: relative;
    }

    #imgright .imgcontainer:nth-child(1) {
        transform: translate(-5%, 0%) rotate(-4deg);
    }

    #imgright .imgcontainer:nth-child(2) {
        transform: translate(5%, 0%) rotate(4deg);
    }

    #helpWith h5, #helpWith h3 {
        margin-left: 0;
    }
    
    hr {
        margin-left: 5vw;
        margin-right: 5vw;
    }
    
    #work .workrow {
        padding: 0 5vw;
    }
    
    #images, #images4 {
        flex-direction: column;
        gap: 2rem;
    }
    
    .cnt1, .cnt2, .cnt3, .cnt4, .cnt5 {
        width: 100%;
        height: 50vh;
        transform: none !important;
    }
    
    #certcolm {
        flex-direction: column;
        gap: 2rem;
    }
    
    #certgfx {
        width: 50%;
    }
    
    .certrows {
        width: 100%;
    }
    
    #footerbtns {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footbtn {
        width: 100%;
    }
    
    #footsls {
        flex-direction: column;
        gap: 2rem;
    }

    .row {
        justify-content: flex-start;
        gap: 1vw;
    }
    
    .row h1 {
        margin-top: 0;
    }
    
    #svgContainer {
        margin-right: -3vw;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 3vw 20px 3vw 20px;
        justify-content: space-around;
        min-height: 60px;
    }
    
    nav a {
        font-size: 1rem;
        padding: 12px 15px;
        margin: 0;
    }
    
    #firstRow {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
        margin-top: 10rem;
    }

    #firstRow .text {
        gap: 0.5rem;
        min-width: auto;
        margin-top: 0;
        order: 1;
    }

    #firstRow h1 {
        order: 2;
    }

    #local-time {
        display: flex;
        margin-left: 0;
        min-width: auto;
    }
    
    .row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 1.5rem;
    }
    
    .row h1 {
        margin-top: 0;
    }
    
    #svgContainer {
        margin-right: 0;
        margin-bottom: -2rem;
    }
    
    #imagery {
        gap: 2rem;
        margin-top: 3rem;
        padding: 0 2rem;
    }

    #imagery #imgleft {
        width: 100%;
        order: 2;
    }

    #imgright {
        width: 100%;
        height: 80vw;
        order: 1;
    }

    #imgright .imgcontainer {
        width: 100%;
        height: 80vw;
        transform: none !important;
    }

    #imgright .imgcontainer:nth-child(1) {
        margin-bottom: 2rem;
    }
    
    #work .workrow {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .workrow h1 {
        font-size: 2.5rem;
    }
    
    .workrow h1 .mini {
        font-size: 0.8rem;
        margin-left: 0.5rem;
    }
    
    #certgfx {
        width: 80%;
    }
    
    .certrows .certrow {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .certrow h1, .certrow h5 {
        width: 100%;
    }
    
    #footer {
        height: auto;
        padding: 5rem 1.5rem 2rem;
    }
    
    #footer h1 {
        font-size: 2.5rem;
    }
    
    #foot {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 2.5vw 15px 2.5vw 15px;
        min-height: 50px;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 10px 12px;
    }
    
    #firstRow .text {
        display: none;
    }
    
    .mobile-local-time {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 2rem;
        order: 3;
        width: 100%;
        padding: 0 1rem;
        border: none;
        align-items: flex-end;
        background: none;
        box-shadow: none;
    }
    
    .mobile-local-time h5 {
        font-size: clamp(0.8rem, 2vw, 1rem);
        font-weight: 400;
        color: #333;
        line-height: 1.5;
        margin: 0;
        text-transform: uppercase;
        font-family: "Gilroy-Regular";
        text-align: right;
        background: none;
        box-shadow: none;
        border: none;
    }
    
    #firstRow {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
        margin-top: 10rem;
    }

    #firstRow h1 {
        order: 1;
    }

    #designer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        order: 2;
    }
    
    #downarrow {
        order: 2;
        margin-top: 1rem;
    }
    
    .row h1 {
        font-size: 2.5rem;
    }
    
    #imagery {
        padding: 0 1rem;
        margin-top: 2rem;
        gap: 1.5rem;
    }

    #imgleft h1 {
        font-size: 1rem;
        line-height: 1.4;
    }

    #imgleft h1 span {
        font-size: 1.4rem;
    }

    #imgright {
        height: auto;
    }

    #imgright .imgcontainer {
        width: 100%;
        height: 90vw;
        margin: 0;
    }

    #imgright .imgcontainer:nth-child(1) {
        margin-bottom: 1.5rem;
    }
    
    #certgfx {
        width: 100%;
    }
    
    #footer h1 {
        font-size: 2rem;
    }
}

/* Design Samples Section */
#design-samples {
    padding: 8vw 7vw;
    width: 100%;
    overflow: visible;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    width: 100%;
}

.design-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    aspect-ratio: 1;
}

.design-item:hover {
    transform: translateY(-5px);
}

.design-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.design-item:hover img {
    transform: scale(1.05);
}

.design-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.design-item:hover .design-overlay {
    opacity: 1;
    transform: translateY(0);
}

.design-overlay h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 0.5rem;
}

.design-overlay p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    opacity: 0.8;
}

.design-item.large {
    grid-column: span 1;
}

.design-item.tall {
    grid-row: span 1;
    
}

/* Responsive Design */
@media (max-width: 1024px) {
    .design-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    #design-samples {
        padding: 6vw 5vw;
    }
}

@media (max-width: 768px) {
    .design-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .design-item.large {
        grid-column: span 1;
    }

    .design-item.tall {
        grid-row: span 2;
    }

    .design-overlay {
        padding: 1.5rem;
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    }
    
    #design-samples {
        padding: 5vw 4vw;
    }
}

@media (max-width: 480px) {
    .design-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .design-overlay {
        padding: 1rem;
    }
    
    #design-samples {
        padding: 4vw 3vw;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 3vw, 2rem);
        margin-bottom: 1.5rem;
    }
}

#designer-row {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

#designer-row h1 {
    margin: 0;
    padding: 0;
    line-height: 1;
}

@media (max-width: 768px) {
    #designer-row {
        margin-top: 1rem;
    }
    
    #designer-row h1 {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }
}

/* Mobile-only local-time div */
.mobile-local-time {
    display: none;
}

@media (max-width: 480px) {
    #local-time {
        display: none;
    }
    
    .mobile-local-time {
        display: flex;
    }
    
    #firstRow {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
        margin-top: 10rem;
    }

    #firstRow h1 {
        order: 1;
    }

    #designer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        order: 2;
    }
    
    #downarrow {
        order: 2;
        margin-top: 1rem;
    }
    
    .row h1 {
        font-size: 2.5rem;
    }
    
    #imagery {
        padding: 0 1rem;
        margin-top: 2rem;
        gap: 1.5rem;
    }

    #imgleft h1 {
        font-size: 1rem;
        line-height: 1.4;
    }

    #imgleft h1 span {
        font-size: 1.4rem;
    }

    #imgright {
        height: auto;
    }

    #imgright .imgcontainer {
        width: 100%;
        height: 90vw;
        margin: 0;
    }

    #imgright .imgcontainer:nth-child(1) {
        margin-bottom: 1.5rem;
    }
    
    #certgfx {
        width: 100%;
    }
    
    #footer h1 {
        font-size: 2rem;
    }


    


}


img.custom-img
{
    overflow: visible;
}
