﻿:root {
    /*--TechnificentColor: rgb(45, 82, 128);*/
    --TechnificentColor: rgb(0, 82, 128);
    --AlternativeColor: rgb(216 199 163);
    /*Orange rgb(255, 111, 0)*/
    /*Taupe rgb(202, 135, 124)*/
    --fs-xl: 2rem;
    --fs-40: 1.6rem;
    --fs-35: 1.4rem;
    --fs-30: 1.3rem;
    --fs-25: 1.2rem;
    --fs-20: 1.1rem;
    --fs-16: 1.0rem;
    --hero-img-crop-right: 15px;
    --hero-img-crop-bottom: 15px;
    --hero-height: 980px;
}

/*Test*/
@media (min-width: 40em){
    :root {
        --fs-xl: 3rem;
        --fs-40: 2.4rem;
        --fs-35: 2.1rem;
        --fs-30: 1.8rem;
        --fs-25: 1.6rem;
        --fs-20: 1.4rem;
        --fs-16: 1.2rem;
    }
}

.Hero, .Hero *, .Hero *::before, .Hero *::after {
    box-sizing: border-box;
}

/* ===== Hero section ===== */
.Hero {
    position: relative;
    display: flex;
    height: var(--hero-height);
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
}

/* ---- Text column: plain background, photo never reaches here ---- */
.HeroContent {
    position: relative;
    z-index: 1;
    flex: 0 0 33.333%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 56px;
    background: #ffffff;
}

.HeroEyebrow {
    display: inline-block;
    font-size: 30px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--TechnificentColor);
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.HeroHeadline {
    font-size: 44px;
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px 0;
}

.HeroSubtext {
    font-size: 17px;
    line-height: 1.6;
    color: #334155;
    margin: 0 0 32px 0;
}

.HeroButtons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 44px;
    max-width: 540px;
}

.HeroButtonPrimary,
.HeroButtonSecondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    justify-content: center;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    max-width: 300px;
}

.HeroButtonPrimary {
    color: var(--TechnificentColor);
    border: 3px solid var(--TechnificentColor);
}

    .HeroButtonPrimary:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
    }

.HeroButtonSecondary {
    background: #ffffff;
    color: #0f172a;
}

    .HeroButtonSecondary:hover {
        transform: translateY(-1px);
    }

.HeroArrow {
    transition: transform 0.15s ease;
}

.HeroButtonPrimary:hover .HeroArrow,
.HeroButtonSecondary:hover .HeroArrow {
    transform: translateX(3px);
}

.HeroLogos {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.HeroLogoItem {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.HeroLogoName {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.siemensLogo {
    color: #009999;
}

.eplanLogo {
    color: #E85C0D;
}

.omacLogo {
    color: #009FC3;
}

.HeroLogoSub {
    font-size: 12px;
    color: #64748b;
}

/* ---- Visual column: the photo lives ONLY here ---- */
.HeroVisual {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.HeroBackgroundImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    object-position: calc(100% + var(--hero-img-crop-right)) calc(100% + var(--hero-img-crop-bottom));
}

/* Soft seam: fades from the page's own background color to fully
   transparent within roughly the first quarter of the visual column.
   The photo does not exist to the left of .HeroVisual at all — this
   only softens the hard edge where the two columns meet. */
.HeroOverlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 30%;
    background: linear-gradient( to right, #ffffff 0%, rgba(255, 255, 255, 0.7) 40%, rgba(255, 255, 255, 0) 100% );
}

/* ===== Smaller desktop / tablet landscape ===== */
@media (max-width: 1200px) {
    .HeroContent {
        flex: 0 0 42%;
        padding: 40px 32px;
    }

    .HeroHeadline {
        font-size: 34px;
    }

    .HeroLogos {
        gap: 20px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 900px) {
    .Hero {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        border-radius: 12px;
    }

    .HeroContent {
        flex: none;
        order: 2;
        padding: 32px 24px 40px;
    }

    .HeroVisual {
        order: 1;
        height: 520px;
        flex: none;
    }

    .HeroOverlay {
        display: none;
    }

    .HeroHeadline {
        font-size: 28px;
    }

    .HeroSubtext {
        font-size: 15px;
    }

    .HeroButtons {
        grid-template-columns: 1fr;
        max-width: none;
        width: 100%;
        margin-bottom: 32px;
        justify-items: center;
    }

    .HeroButtonPrimary,
    .HeroButtonSecondary {
        width: 100%;
        justify-content: center;
    }

    .HeroLogos {
        display: grid;
        grid-template-columns: repeat(2, auto);
        justify-content: space-evenly;
        gap: 16px 0;
        text-align: center;
    }
}

/* ===== Small mobile ===== */
@media (max-width: 420px) {
    .HeroHeadline {
        font-size: 24px;
    }

    .HeroLogos {
        gap: 16px;
    }

    .HeroLogoName {
        font-size: 14px;
    }
}


.skyline-background {
    height: 800px;
    width: 100%;
    object-fit: cover;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.Slogan {
    position: absolute;
    top: 625px;
    left: 60px;
    font-weight: bold;
    font-size: var(--fs-xl);
    color: white;
}

.SloganLower {
    font-size: var(--fs-40);
    
}

.BulletPoints {
    width: 10px;
}

/* Styles for spans*/

.Highlight {
    font-weight: 600;
}

.HighlightHeavy {
    font-weight: bold;
}

.HighlightItalic {
    font-style: italic
}

.HighlightBackground {
    text-decoration: underline;
    line-height: 1.5;
}

.Text30 {
    font-size: var(--fs-30);
}

.Text35 {
    font-size: var(--fs-35);
}

/* Sections style*/

.Sections {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 0px;
    padding-right: 0px;
}

.SectionHeader {
    text-align: center;
    color: var(--TechnificentColor);
    font-size: var(--fs-30);
    font-weight: bold;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 30px;
}

.SectionText {
    text-align: center;
    color: var(--TechnificentColor);
    font-size: var(--fs-25);
    margin-top: 0px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}


/* Seperator style*/

.SectionSeperator {
    background-color: var(--TechnificentColor);
    max-width: 1400px;
    margin-top: 30px;
    margin-left: 100px;
    margin-right: 100px;
    height: 5px;
    border-radius: 5px;
}

/* Starter style*/

.SectionStarter{

}

.StarterHeader {
    background-color: var(--TechnificentColor);
    text-align: center;
    color: white;
    border-radius: 6px;
    font-size: var(--fs-30);
    margin: 10px;
    padding: 10px;
}

.StarterText {
    text-align: center;
    color: var(--TechnificentColor);
    font-size: var(--fs-20);
    margin: 10px;
    padding: 10px;
}

.YourPartnerTextHeader{
    cursor: pointer;
}

/* Your partner style*/
.SectionYourPartner {
    width: 100%;
    display: flex;
    padding-top: 30px;
}

.YourPartnerInsideBox {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
    position: relative;
}

.InsideBoxBuilder {
    width: calc(100% + 16px);
    margin-left: -8px;
    margin-right: -8px;
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 10px;
    justify-content: center;
}

.YourPartnerPhoto {
    align-content: center;
    text-align: center;
    width: 25%;
    padding: 8px;
    height: 300px;
    margin-top: auto;
    margin-bottom: auto;
    border-radius: 40px;
    box-shadow: 12px 12px 2px 1px rgb(45, 82, 128);
    background-color: white;
    background-size: cover;
    background-position: center;
}

.YourPartnerText {
    margin-left: 2%;
    width: 70%;
    padding: 8px;
    color: var(--TechnificentColor);
    font-size: var(--fs-20);
}


@media(max-width: 1252px) {
    .YourPartnerPhoto {
        width: 80%;
        display: block;
        max-width: 400px;
    }

    .YourPartnerText {
        width: 100%;
        display: block;
        margin-top: 30px;
        margin-left: 0px;
    }
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 2fr));
    gap: 1.5rem;
    justify-items: center;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    margin-top: 30px;
}

/*Mobile responsiveness*/
@media(max-width: 1540px) {
    .grid-container {
        max-width: 1070px;
        margin: 0 auto;
    }
}

@media(max-width: 1130px) {
    .grid-container {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
}

.tile {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
    color: white;
    display: flex;
    --scroll-translate: translateX(-200px);
    --hover-translate: translateY(0);
    transform: var(--scroll-translate) var(--hover-translate);
    opacity: 0;
    transition: transform 1s ease-out, opacity 1s ease-out;
    will-change: transform, opacity;
    max-width: 550px;
}

.overlay {
    background: var(--TechnificentColor);
    padding: 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* space between top and bottom */
    height: 100%;
    transition: background 0.3s ease;
}

    .overlay:hover {
        background: rgba(0, 0, 0, 0.5);
    }

.content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.icon {
    background: white;
    color: black;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

    .icon svg {
        width: 28px;
        height: 28px;
        stroke: white; /* or whatever color fits your design */
        fill: none;
    }

h2 {
    font-size: 1.5rem;
}

.content h2 {
    height: 110px;
}

p {
    font-size: 1rem;
}

.content p {
    /*margin-bottom: 0;
    height: 190px;
    align-content: end;*/
}

.button-wrapper {
    margin-bottom: 3.5rem;
}


.btn {
    background: white;
    color: black;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #ddd;
}

.arrow-wrapper {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: flex;
    justify-content: flex-end;
}

.fa-solid.fa-arrow-right {
    font-weight: 900;
    font-size: 20px;
    transition: transform 1s ease;
    cursor: pointer;
}
/* When scrolled into view */
.tile.visible {
    --scroll-translate: translateX(0);
    opacity: 1;
}

/* Hover effect ONLY if can-hover is added */
.tile.can-hover:hover {
    --hover-translate: translateY(-8px);
}

.tile.can-hover:hover .fa-solid.fa-arrow-right {
    transform: scale(1.5);
    color: var(--AlternativeColor);
}

/* Animation base state 
.animate-on-scroll {
    opacity: 0;
    transform: translateX(-200px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

Animation when visible 
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}*/

/*
.ContactButton {
    background-color: rgba(255, 111, 0, 0.8);
    padding: 10px;
    border-radius: 5px;
    color: white;
    max-width: 300px;
    margin: 0 auto;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ContactButton:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}*/

.ContactButton {
    /*background-color: rgba(255, 111, 0, 0.8);*/
    background-color: var(--AlternativeColor);
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    max-width: 300px;
    margin: 0 auto;
    margin-top: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: visible;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ContactButton:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

    .ContactButton.HeroButtonSecondary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 24px;
        margin: 0;
        font-size: 18px;
        line-height: 1;
        white-space: nowrap;
        border-radius: 8px;
    }

        .ContactButton.HeroButtonSecondary:hover {
            transform: translateY(-1px);
            border-color: #94a3b8;
        }

.rocket-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
}

.rocket {
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease;
    position: relative;
    /*z-index: 2;*/
}

.smoke {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(white, transparent);
    opacity: 0;
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* Raket trilt bij hover — maar niet meer zodra hij daadwerkelijk lanceert */
.ContactButton:hover .rocket:not(.launching) {
    animation: rocketRumble 0.3s linear infinite;
}

@keyframes rocketRumble {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(0.5px, -0.5px) rotate(-1deg);
    }

    50% {
        transform: translate(-0.5px, 0.5px) rotate(1deg);
    }

    75% {
        transform: translate(0.5px, 0.5px) rotate(-0.5deg);
    }

    100% {
        transform: translate(-0.5px, -0.5px) rotate(0.5deg);
    }
}

.rocket.launching {
    animation: rocket-launch 1s ease-out forwards;
}

.smoke.launching {
    animation: smoke-puff 0.8s ease-out;
}

@keyframes rocket-launch {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateX(170px) translateY(-150px) rotate(15deg);
        opacity: 0;
    }
}


@keyframes smoke-puff {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(3);
    }
}



/* Services style*/

.SectionServices {
    color: var(--TechnificentColor);
    max-width: 80%;
    align-content: center;
    margin: auto;
}

.Servicesgrid {
    display: grid;
    gap: 2rem;
    margin-top: 30px;
}

.ServiceRow {
    display: grid;
    min-height: 290px;
    grid-template-areas: "image text";
    grid-template-columns: 1fr 2fr;
    gap: 10rem;
    align-items: stretch;
}

.ServiceRow:nth-child(even) {
    grid-template-columns: 2fr 1fr;
    grid-template-areas: "text image";
}

.ServicePhoto, .Service{
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.ServicePhoto {
    display: block;
    grid-area: image;
    align-content: center;
    text-align: center;
    border-radius: 40px;
    box-shadow: 12px 12px 2px 1px rgb(45, 82, 128);
}

.Service {
    grid-area: text;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
    box-shadow: 12px 12px 2px 1px rgb(45, 82, 128);
    border-radius: 40px;
}

.ServiceHeader {
    font-size: var(--fs-20);
    text-align: left;
    font-weight: bold;
    padding: 5px;
}

.ServiceText {
    font-size: var(--fs-16);
    padding: 5px;
}

/*Mobile responsiveness*/
@media(max-width: 768px) {
    .ServiceRow, .ServiceRow:nth-child(even){
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "text";
    }

    .ServicePhoto {
        height: 200px;
    }
}

/* Why style*/
.SectionWhy {

}

.SectionWhy .SectionHeader {
    cursor: pointer;
}


.ReasonsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 15px;
    justify-content: center;
    justify-items: center;
    grid-auto-rows: 1fr;
}

.ProjectsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    grid-auto-rows: 1fr;
}

@media (max-width: 1280px) {
    .ProjectsGrid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Laatste kaart alleen op de rij (bij oneven totaal): centreren */
    .ProjectCard:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 7.5px); /* kolombreedte: 50% minus halve gap */
    }
}

@media (max-width: 877px) {
    .ProjectsGrid {
        grid-template-columns: 1fr;
    }

    .ProjectCard:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
        justify-self: center;
    }
}

.ReasonCard {
    background-color: rgb(255, 255, 255);
    border-radius: 30px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 575px;
}

.ReasonCard:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

@media (max-width: 400px) {
    .ReasonCard {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .ProjectCard {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
}


.ReasonHeader {
    font-size: var(--fs-20);
    color: var(--TechnificentColor);
    text-align: center;
    font-weight: bold;
    padding: 10px;
    padding-top: 15px;
}



.ReasonText {
    font-size: var(--fs-16);
    color: rgb(0, 0, 0);
    text-align: left;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
}

/* Reviews style*/
.SectionReviews {
}

.SectionReviews .SectionHeader {
    cursor: pointer;
}

.testimonial-container {
    /*min-height: 100vh;*/
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.slide-container {
    max-width: 1120px;
    width: 100%;
    padding: 40px 0;
}

.slide-content {
    margin: 0 40px;
}

.col {
    transition: 0.5s;
    width: 320px;
    opacity: 0.3;
}

    .col:hover {
        transform: translateY(-15px);
        cursor: pointer;
    }

.swiper-slide.swiper-slide-next {
    opacity: 1;
}

@media (max-width: 1024px) {
    .swiper-slide {
        opacity: 0.3;
    }

        .swiper-slide.swiper-slide-active {
            opacity: 1;
        }
}

@media (max-width: 768px) {
    .swiper-slide {
        opacity: 0.3;
    }

        .swiper-slide.swiper-slide-next {
            opacity: 0.3;
        }

        .swiper-slide.swiper-slide-active {
            opacity: 1;
        }
}


.testimonial {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #00000030;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .testimonial img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
    }

.name h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.position p {
    margin: 0 0 20px 0;
    font-size: 16px;
    font-weight: 500;
}

.stars {
    color: var(--AlternativeColor);
    margin-bottom: 20px;
}

/* Projects style*/
.SectionProjects {
}

.SectionProjects .SectionHeader {
    cursor: pointer;
}

.ProjectsGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 15px;
    justify-content: center;
    justify-items: center;
    grid-auto-rows: 1fr;
}

.ProjectCard {
    background-color: rgb(242,242,242);
    border-radius: 30px;
    /*color: var(--TechnificentColor);*/
    color: white;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 575px;
    min-height: 250px;
    background-size: cover;
    background-position: center;
}

.ProjectCard:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-4px);
}

.ProjectType {
    font-size: var(--fs-20);
    text-align: center;
    font-weight: bold;
    padding: 10px;
    padding-top: 15px;
    height: 30px;
    clip-path: ellipse(90% 100% at 50% 0%);
    background: var(--AlternativeColor);
    border-top-left-radius: 25px 25px;
    border-top-right-radius: 25px 25px;
}

.Projects {
    font-size: var(--fs-16);
    text-align: left;
    margin-top: 25px;
    margin-left: 15px;
    margin-bottom: 15px;
    color: var(--TechnificentColor);

}

/* About style*/
.SectionAbout {
    width: 100%;
    display: flex;
    padding-top: 30px;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.SectionAboutTextHeader {
    cursor: pointer;
}

.AboutInsideBox {
    box-sizing: border-box;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.AboutPhoto {
    width: 25%;
    padding: 8px;
    height: 300px;
    margin-top: auto;
    margin-bottom: auto;
    border-radius: 40px;
    box-shadow: 12px 12px 2px 1px rgb(45, 82, 128);
    align-content: center;
    text-align: center;
    background-color: white;
    background-size: cover;
    background-position: center;
}

.AboutText {
    margin-left: 2%;
    width: 70%;
    padding: 8px;
    color: var(--TechnificentColor);
    font-size: var(--fs-20);
}


@media(max-width: 1252px) {
    .AboutPhoto {
        width: 80%;
        max-width: 400px;
        display: block;
        left: -30px;
        position: relative;
    }

    .AboutText {
        width: 100%;
        display: block;
        margin-left: 0px;
        margin-top: 15px;
    }
}

/*Contact section*/
.contact-grid-section {
    background: url('your-background-image.jpg') center center;
    padding: 20px 20px;
    color: white;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: auto;
    padding: 30px 30px;
    border-radius: 10px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s;
    text-decoration: none;
}

.contact-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

    .contact-item i {
        font-size: 2rem;
        margin-bottom: 10px;
        margin-top: 10px;
        color: var(--TechnificentColor);
    }

    .contact-item img {
        margin-top: 10px;
    }

    .contact-item p {
        font-size: 1.1rem;
        margin: 0;
        line-height: 1.5;
        color: var(--TechnificentColor);
    }

/* Responsive layout */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
}


/* ===================================
   SCROLL ANIMATIONS
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

    .reveal-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

    .reveal-right.visible {
        opacity: 1;
        transform: translateX(0);
    }

/* Stagger children */
.stagger > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
