/* Defines */
:root {
    /* Colors */
    --theme: #f1ba50;
    --theme-background: #1d1d1b;
    --theme-foreground: #ffffff;
    --icon-pink: #ff2468;
    --icon-orange: #ff6004;
    --icon-yellow: #f2e502;
    --icon-cyan: #9ed9f1;
    --icon-blue: #1f23fa;

    /* Fonts */
    --font-main: "Akkordeon-Seven", sans-serif;
    --font-secondary: "Graphik", sans-serif;

    --border-radius: 3rem;
    --page-size: 1vw;
    /* --page-size: 21px; /* For Live */
}

@font-face {
    font-family: "Akkordeon-Seven";
    src: url("../fonts/Akkordeon-Seven (Main Font).ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Graphik";
    src: url("../fonts/GraphikLight (Body).otf") format("opentype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Graphik";
    src: url("../fonts/GraphikMedium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Graphik";
    src: url("../fonts/GraphikBlack.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.color-theme {
    color: var(--theme);
}

.color-white {
    color: var(--theme-foreground);
}

.color-black {
    color: var(--theme-background);
}

.bg-pink {
    background-color: var(--icon-pink);
}
.bg-orange {
    background-color: var(--icon-orange);
}
.bg-yellow {
    background-color: var(--icon-yellow);
}
.bg-blue {
    background-color: var(--icon-blue);
}
.bg-cyan {
    background-color: var(--icon-cyan);
}

.fg-yellow { color: var(--icon-yellow); }
.fg-pink   { color: var(--icon-pink); }
.fg-orange { color: var(--icon-orange); }
.fg-blue   { color: var(--icon-blue); }
.fg-cyan   { color: var(--icon-cyan); }

.transparent {
    opacity: 0;
}

.font-main {
    font-family: var(--font-main);
    font-weight: normal;
    text-transform: uppercase;
}

.font-secondary {
    font-family: var(--font-secondary);
    font-weight: 100;
}

.dark-10 {
    filter: brightness(90%);
}
.dark-20 {
    filter: brightness(80%);
}
.dark-30 {
    filter: brightness(70%);
}
.dark-40 {
    filter: brightness(60%);
}
.dark-50 {
    filter: brightness(50%);
}
.dark-60 {
    filter: brightness(40%);
}
.dark-70 {
    filter: brightness(30%);
}
.dark-80 {
    filter: brightness(20%);
}
.dark-90 {
    filter: brightness(10%);
}
.dark-100 {
    filter: brightness(0%);
}

.font-weight-100 {
    font-weight: 100;
}
.font-weight-400 {
    font-weight: 400;
}
.font-weight-500 {
    font-weight: 500;
}
.font-weight-800 {
    font-weight: 800;
}
.font-weight-1000 {
    font-weight: 1000;
}

.non-mobile {
    display: inherit;
}

.mobile-only {
    display: none;
}

/* End Defines */

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

html {
    font-size: var(--page-size);
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body.no-scroll {
    overflow: hidden;
}

.heading::after {
    content: ".";
    color: var(--theme);
}

.page-main-container {
    width: 100%;
    min-height: 100vh;
    background-color: var(--theme);
    font-family: var(--font-secondary);
    color: var(--theme-foreground);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem;
    overflow-x: hidden;
}

.page-container {
    position: relative;
    background-color: var(--theme-background);
    border-radius: var(--border-radius);
    /* max-width: 87.5rem; */
    /* min-width: 85.3rem; */
    width: 100vw;
    max-width: 1728px;
    padding: 2.5rem 0;
    padding-top: 0;
    overflow-x: hidden;
}

/* Navbar */

.banner-top {
    position: relative;
    /* top: 3rem; */
    left: 0;
    width: 99.9%;
    height: 8rem;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2.5rem;
    background-color: var(--theme-background);
    /* background-color: red; */
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    /* margin-left: 1px; */
    /* box-sizing: border-box; */
    margin: 1rem auto;
}

.banner-navbar {
    width: 100%;
    padding: 1rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    width: 10rem;
    height: 3.5rem;
    background-image: url("../media/logo.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
}

.navbar-pagination {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1rem;
    color: var(--theme-foreground);
    text-align: center;
}

.navbar-pagination li {
    font-size: 1.4rem;
    font-weight: lighter;

    position: relative;
    padding-bottom: 5px;
    background-image: linear-gradient(to right, var(--theme), var(--theme));
    background-repeat: no-repeat;
    background-size: 0% 2px;
    background-position: 0% 100%;
    transition: background-size 0.3s ease;
}

.navbar-pagination li:hover {
    /* text-decoration: underline; */
    text-decoration: none; /* remove default underline */
    background-size: 100% 2px;
}

/* End Navbar */

/* Sidebar */
.social-sidebar {
    position: sticky;
    top: 18rem; /* slightly under navbar */
    left: 2rem; /* inside the border */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;

    margin-top: 4rem;
    width: fit-content;
}

.social-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 5rem;
    align-items: flex-start;
    align-content: center;
    justify-content: flex-start;
}

.social-sidebar li {
    display: flex;
    transition: transform 0.3s;
}

.social-sidebar li:hover {
    transform: scale(1.5);
}

.sidebar-map-li {
    /* display: none !important; */
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(159deg) brightness(105%) contrast(104%);
}

.social-sidebar a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-sidebar img {
    width: 2rem;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.social-sidebar img.sidebar-arrow {
    /* width: 2rem; */
    aspect-ratio: 1/2.5;
    object-fit: none;
    transition: transform 0.3s;
}

img.sidebar-arrow-up {
    transform: rotate(180deg);
}

/* End Sidebar */

/* Text Defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    color: var(--theme-foreground);
}

p,
a,
li,
span,
small,
strong,
em {
    font-family: var(--font-secondary);
    color: var(--theme-foreground);
    font-size: 1rem;
    line-height: 1;
}

a {
    text-decoration: none;
}

section:first-of-type {
    /* padding-top: 2rem; */
    margin-top: -27rem;
}

section {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* HERO */
.section-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 5rem 1rem;
    padding-bottom: 0;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-family: var(--font-main);
    font-size: 8rem;
    line-height: 0.8;
    /* letter-spacing: -0.02rem; */
    width: auto;
    display: inline-block;
}

.hero-content h1 span {
    font-family: var(--font-main);
    font-size: 9rem;
    color: var(--theme-foreground);
    display: block;
}

.hero-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.hero-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    width: 8rem;
    transition: transform 0.3s;
}

.hero-icon:hover {
    transform: scale(1.2);
}

.hero-icon:active {
    transform: scale(0.9);
}

.icon-circle {
    display: flex;
    justify-content: center; /* center X */
    align-items: center; /* stick bottom Y */
    width: 5.5rem;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
}

.icon-circle img {
    max-width: 70%;
    max-height: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.icon-circle:hover {
    box-shadow: 0 0 1.5rem currentColor;
}

.hero-icon span {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1rem;
    color: var(--theme-foreground);
    text-align: center;
}

.hero-icon-about .icon-circle img {
    max-width: 70%;
    max-height: 90%;
}

.hero-icon-services .icon-circle img {
    max-width: 70%;
    max-height: 60%;
}

.hero-icon-projects .icon-circle {
    align-items: flex-end;
}

.hero-icon-clients .icon-circle img {
    max-width: 70%;
    max-height: 60%;
}

.hero-icon-contact .icon-circle {
    align-items: flex-end;
}

.hero-button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-button {
    background-color: var(--theme);
    color: var(--theme-background);
    font-family: var(--font-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.3rem;
    border: none;
    border-radius: 2rem;
    font-size: 1.25rem;
    cursor: pointer;
    transition: bakground-color 0.3s ease, transform 0.3s;
    letter-spacing: 0.1rem;
}

.hero-button:active {
    transform: scale(0.9);
}

@keyframes shake {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    50% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.hero-button:hover {
    background-color: var(--icon-orange);
}

.hero-button.clicked {
    animation: shake 0.5s;
}

.hero-button span {
    color: var(--theme-background);
    font-weight: normal;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    text-transform: uppercase;
}

.button-icon {
    width: 1.5rem;
    aspect-ratio: 1/1;
    object-fit: contain;
}

/* Intro Section */
.section-intro {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;

    padding-top: 8.5rem;
    padding-bottom: 35rem;
    background-image: url("../media/backgrounds/camel_background.webp");
    background-repeat: no-repeat;
    background-size: 125%;
    background-position: top 100% left 85%;
}

.section-title {
    font-size: 5rem;
}

.video-thumbnail {
    position: relative;
    width: 90%;
    max-width: 65rem;
    aspect-ratio: 8/5;
    border-radius: var(--border-radius);
    background-image: url("../media/backgrounds/video_thumbnail.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.video-thumbnail iframe {
    pointer-events: none;
}

.youtube-embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.section-intro h3 {
    font-size: 3.8rem;
}

/* Section Who We Are */
.section-about-camel-agency {
    position: relative;
    overflow: visible;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 5rem 1rem; */
    gap: 2rem;

    margin-top: -5rem; /* Hack to merge sections */
}

.about-camel-agency-container {
    position: relative;
    width: 75%;
    height: 23rem;
    max-width: 65rem;
    /* aspect-ratio: 2/1; */
    background-image: url("../media/backgrounds/map_full.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-camel-agency-glow {
    position: absolute;
    bottom: 0rem;
    left: 15rem;
    width: 100%;
    height: 35rem; /* enough height to spread */
    background: radial-gradient(
        circle,
        var(--theme) 0%,
        #ff000059 25%,
        transparent 50%
    );
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
    filter: blur(6rem);
}

.about-camel-agency-overlay {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* gap: 1rem; */
    width: 100%;
    padding-left: 4rem;
    z-index: 1;
}

.about-camel-agency-overlay span {
    line-height: 1;
}

.about-camel-agency-overlay-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.about-camel-agency-count {
    font-size: 5rem;
    font-family: var(--font-main);
    text-align: center;
}

.about-camel-agency-count .highlight {
    color: var(--icon-pink);
    font-size: inherit;
    font-family: inherit;
}

.about-camel-agency-countries {
    display: flex;
    gap: 4rem;
    text-align: center;
}

.country {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.country span {
    font-size: 5rem;
    font-family: var(--font-main);
    display: block;
}

.country small {
    font-size: 0.875rem;
    font-family: var(--font-secondary);
}

.country .main-office {
    color: var(--icon-pink);
}

.about-camel-agency-description {
    position: relative;
    width: 75%;
    height: 6rem;
    max-width: 65rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    text-align: left;
    vertical-align: top;
    gap: 1rem;
}

.about-camel-agency-description strong {
    color: var(--icon-pink);
    text-transform: capitalize;
    font-weight: 500;
    font-size: 1.2rem;
}

.about-camel-agency-description h2 {
    /* font-size: 7rem; */
    width: 65%;
    /* flex: 3; */
    text-align: right;
    height: 11rem;
}

.about-camel-agency-description h2::after {
    color: var(--icon-pink);
}

.about-camel-agency-description h2.highlight {
    color: var(--icon-pink);
}

.about-camel-agency-description-text {
    /* flex: 7; */
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-camel-agency-description p {
    font-size: 1rem;
    font-family: var(--font-secondary);
    color: var(--theme-foreground);
    text-align: justify;
}
/* 
.about-camel-agency-description p strong {
  font-weight: bold;
  font-size: 1.2rem;
} */

/* Services */

/* Section Our Services */
.section-our-services {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 9.5rem 4rem;
    gap: 2rem;
}

.services-main-container {
    width: 86%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services-hoof-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.services-hoof-grid.grid-right {
    position: relative;
    top: 5rem;
}

.services-hoof-grid.hoof-grid-left {
    position: relative;
}

.hoof {
    width: 2.3rem;
    aspect-ratio: 3/4;
    background: url("../media/icons/hoof.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.services-hoof-grid img {
    width: 2rem;
    height: auto;
}

.services-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 1.5rem;
}

.services-center-title {
    font-size: 8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.services-center-title span {
    /* font-size: inherit; */
    font-family: inherit;
}

.services-center-title span::after {
    color: var(--icon-orange);
}

.services-center-title img {
    margin-top: 2.3rem; /* Akkordeon font is stupid */
    font-size: inherit;
    height: 5.5rem;
    filter: brightness(0) saturate(100%) invert(43%) sepia(62%) saturate(3124%)
        hue-rotate(357deg) brightness(102%) contrast(101%);
}

.services-button {
    position: relative;
    display: flex;
    border: 1px solid var(--theme-foreground);
    color: var(--theme-foreground);
    background: none;
    border-radius: 2rem;
    font-family: var(--font-secondary);
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    width: 15rem;
    justify-content: space-between;

    padding: 0.8rem 0;
    padding-left: 2rem;
    padding-right: 1rem;
    z-index: 0;

    background: linear-gradient(
        to right,
        var(--icon-orange) 50%,
        transparent 50%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position 0.4s ease-in;
}

.services-button:hover {
    background-position: 0 0;
    /* color: var(--theme); */
}

.services-button > * {
    font-size: 1.2rem;
    font-weight: 100;
}

.services-cards {
    width: 75%;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap; /* Wrap on phone */
    cursor: pointer;
}

/* @media screen and (max-width: 1400px) {
    .services-cards {
        flex-wrap: wrap;
    }
} */

.service-card {
    width: 12rem;
    aspect-ratio: 5/7;
    background-color: #1f2026; /* Blue with opacity */
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-secondary);
    text-align: left;
    z-index: 1;
}

.service-card:hover {
    background-color: var(--icon-orange);
    transform: scale(1.1);
    transition: background-color 0.3s;
    transition: transform 0.3s;
    /* filter: brightness(120%); */
}
/* .service-card.active {
    background-color: var(--icon-orange);
    transform: scale(1.1);
    filter: brightness(100%);
} */

.service-card::before {
    /* position: relative; */
    content: "";
    /* background-color: #ffffff; */
    /* border: 2px solid #2d2e36; */
    border: 2px solid white;
    border-radius: 1rem;
    transform: scale(1.1);
    z-index: -1;
    width: 12rem;
    aspect-ratio: 5/7;
    opacity: 0.1;
}
.service-card:hover::before {
    /* border-color: #af4102; */
    /* border-color: black; */
    opacity: 0.4;
}

.service-card .service-desc {
    position: absolute;
    left: 12%;
    top: 33.3%;
    font-weight: 100;
    line-height: 1.2;
    font-size: 0.9rem;
    width: 70%;
    text-transform: uppercase;
}

.service-card-arrow {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 1.5rem;
    height: 1.5rem;
    /* border: 1px solid var(--theme-foreground); */
    border-radius: 50%;
    text-align: center;
    color: #ffffff88;
}

.service-card:hover .service-card-arrow {
    /* background-color: var(--theme-foreground); */
    color: var(--theme-background);
}

.services-right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 5rem; /* push to overlap */
}

.services-right img {
    width: 2rem;
    height: auto;
}

/* End Services */

/* Projects */

.section-projects {
    position: relative;
    width: 100%;
    padding: 5rem 0;
    display: flex;
    justify-content: center;
}

.projects-holder {
    position: relative;
    width: 80%;
}

.section-projects .heading {
    /* font-size: 6.5rem; */
    position: relative;
    left: 0;
    top: 0rem;
    z-index: 3;

    display: block;
    text-align: center;
    margin-bottom: 2rem;
}

.section-projects .heading::after {
    color: var(--icon-yellow);
}

.section-projects .tree-icon {
    width: 16rem;
    position: absolute;
    bottom: 4rem;
    right: -2rem;
    z-index: 3;
}

.projects-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
    min-height: 37.5rem; /* Occupy Space Vertically */ /* Or 79vh, check later */
}

.projects-holder::before {
    content: "";
    position: absolute;
    width: 100%;
    aspect-ratio: 2/1;
    background: url("../media/backgrounds/yellow_pattern.webp") no-repeat center;
    background-size: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes loading-pulse {
    0%,
    100% {
        background: radial-gradient(
            circle,
            var(--icon-yellow) 0%,
            var(--theme-background) 25%
        );
        background-size: 100% 100%;
        background-position: center center;
    }
    50% {
        background: radial-gradient(
            circle,
            var(--icon-yellow) 0%,
            var(--theme-background) 25%
        );
        background-size: 400% 400%;
        background-position: center center;
    }
}

.projects-carousel-item {
    position: relative;
    flex-shrink: 0;
    height: 36rem;
    aspect-ratio: 1/2;
    overflow: hidden;
    border-radius: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin-left: -6rem; */

    background: radial-gradient(
        circle,
        var(--theme) 0%,
        var(--theme-background) 100%
    );

    transition: height 0.3s ease, width 0.3s ease, outline-offset 0.2s ease,
        border-radius 0.5s ease;

    animation: loading-pulse 2s ease-in-out infinite;
}

.projects-carousel-item.loaded {
    background: none;
    animation: none;
}

.projects-carousel-item .play-button-project {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.projects-carousel-item .play-button-project::after {
    content: "";
    position: absolute;
    width: 4rem;
    aspect-ratio: 1 / 1;
    background: url("../media/play-button.svg") no-repeat center;
    background-size: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    z-index: 3;
    opacity: 0.8;
}

.projects-carousel-item .youtube-embed {
    object-fit: cover;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* .projects-carousel-item::after {
    content: "";
    position: absolute;
    width: 6rem;
    aspect-ratio: 1/1;
    background: url('../media/play-button.svg') no-repeat center;
    background-size: contain;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    pointer-events: auto;
} */

.projects-carousel-item:first-child {
    margin-left: 0;
}

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

.projects-carousel-item.fallback {
    background: white;
    position: relative;
}

.projects-carousel-item.fallback::after {
    content: "Preview Unavailable";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    pointer-events: none;
}

.carousel-0 {
    height: 18rem;
    width: 9rem;
}

.carousel-1,
.carousel-5 {
    height: 24rem;
    width: 12rem;
    z-index: 0;
}

.carousel-2,
.carousel-4 {
    height: 30rem;
    width: 15rem;
    z-index: 1;
}

.carousel-3 {
    height: 36rem;
    width: 18rem;
    outline: 2px solid var(--icon-yellow);
    outline-offset: 0.5rem;
    border-radius: 3rem;
    z-index: 2;
}

.projects-carousel-item:hover {
    outline: 2px solid var(--icon-yellow);
    outline-offset: 0.5rem;
}

.project-subtitle {
    margin: 0 auto;
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0;
}

/* End Projects */

/* Clients */
.section-clients {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.section-clients-holder {
    width: 90%;
    padding: 5rem 0;
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center;
    flex-direction: column;
}

.clients-container {
    position: relative;
    width: 71rem;
    height: 40rem;
    overflow: hidden;
}

/* Common logo style */
.client-logo {
    position: absolute;
    object-fit: contain;
    transition: all 0.5s ease;
    aspect-ratio: 1/1;
}

.client-logo:hover {
    animation: shake 0.5s;
}

/* Size classes */
.logo-small {
    width: calc(var(--cell-size) * 1);
    border-radius: 0.7rem;
}

.logo-medium {
    width: calc(var(--cell-size) * 2);
    border-radius: 15%;
}

.logo-large {
    width: calc(var(--cell-size) * 3);
}

.section-clients .clients-heading {
    /* font-size: 9rem; */
    z-index: 1;
}

.clients-heading::after {
    color: var(--icon-blue);
}

.clients-floater {
    position: absolute;

    top: 12rem;
    right: -14rem;

    width: 17rem;
    /* opacity: 0.3; */

    filter: brightness(0) saturate(100%) invert(16%) sepia(88%) saturate(6751%)
        hue-rotate(245deg) brightness(91%) contrast(117%);
    transform: rotate(-125deg);
    z-index: 0;
}

.clients-symbol {
    aspect-ratio: 3/4;
    background: url("../media/icons/swirl.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

/* End Clients (Gone but not forgetten) */

/* Contact */
.section-contact {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-contact .hero-button {
    margin-top: 3rem;
}

.contact-container {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-container-row {
    width: 80%;
    display: flex;
    flex-direction: row;
    font-size: 10rem;
    gap: 1rem;
}

.contact-container-row .sec {
    font-size: inherit;
    padding-bottom: 2rem;
    border-radius: 6rem;
    font-family: inherit;
    text-align: center;
    flex: 1;
}

.sec-1 {
    background-color: var(--theme);
    color: var(--theme-background);
    flex: 4 !important;
}

.sec-2 {
    border-radius: 50% !important;
    padding: 0rem 4rem 1rem 4rem !important;
    flex: 0 0 auto !important;
    background-color: var(--icon-orange);
    color: var(--theme-background);
}

.sec-3 {
    background-color: var(--icon-pink);
    color: var(--theme-foreground);
}

.sec-4 {
    background-color: var(--icon-blue);
    color: var(--theme-foreground);
}

.contact-buttons-container {
    display: flex;
    gap: 2rem;
    margin: 6rem 0;
    justify-content: center;
    align-items: center;
    width: 75%;
}

.contact-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    /* border: 1px solid #5d5d5d; */
    border-radius: 1.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-secondary);
    flex: 1;
    position: relative;
    z-index: 0;
    transition: background-color 0.3s ease;
    overflow: visible;
}

@keyframes border-hue {
    0% {
        background-position: 33.34% 0%;
    }
    100% {
        background-position: 66.67% 0%;
    }
}

.contact-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;

    animation: border-hue 3s linear infinite;

    padding: 2px;
    box-sizing: border-box;

    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
}

.contact-button img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.contact-button span {
    font-size: 1.5rem;
    font-weight: lighter;
}

.icon-circle-contact {
    width: 2.5rem;
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
}

.hoof-tracks-holder {
    width: 100%;
    height: 15rem;
    margin-bottom: 2rem;
    overflow-x: hidden;
}

.hoof-tracks {
    width: 100%;
    height: 15rem;
    background: url("../media/backgrounds/hoof_tracks.webp") no-repeat top right;
    background-size: contain;
    margin-left: 0.5rem;
}

.hoof-floater {
    position: absolute;

    top: 30rem;
    left: 0rem;

    width: 17rem;
    /* opacity: 0.3; */

    filter: brightness(0) saturate(100%) invert(43%) sepia(62%) saturate(3124%)
        hue-rotate(357deg) brightness(102%) contrast(101%);
    transform: rotate(30deg);
}

.colab-header {
    margin: 0 auto;
    width: 100%;
    font-size: 11rem;
    text-align: center;
}

.colab-header::after {
    content: "!";
    color: var(--theme);
}

.contact-phone {
    color: var(--icon-pink);
    border-color: var(--icon-pink);
    /* background: conic-gradient(
    var(--icon-pink),
    transparent,
    var(--icon-pink),
    transparent
  );
  background-size: 400% 400%; */
}
.contact-phone::before {
    background: conic-gradient(
        var(--icon-pink),
        transparent,
        var(--icon-pink),
        transparent
    );
    background-size: 400% 400%;
}
.contact-map {
    color: var(--icon-blue);
    border-color: var(--icon-blue);
    /* background: conic-gradient(
    var(--icon-blue),
    transparent,
    var(--icon-blue),
    transparent
  );
  background-size: 400% 400%; */
}
.contact-map::before {
    background: conic-gradient(
        var(--icon-blue),
        transparent,
        var(--icon-blue),
        transparent
    );
    background-size: 400% 400%;
}
.contact-mail {
    color: var(--icon-orange);
    border-color: var(--icon-orange);
    /* background: conic-gradient(
    var(--icon-orange),
    transparent,
    var(--icon-orange),
    transparent
  );
  background-size: 400% 400%; */
}
.contact-mail::before {
    background: conic-gradient(
        var(--icon-orange),
        transparent,
        var(--icon-orange),
        transparent
    );
    background-size: 400% 400%;
}

.heading {
    font-size: 8rem;
    font-family: var(--font-main);
    color: white;
    text-transform: uppercase;
    font-weight: normal;
}

.copyright-footer {
    font-size: 1.5rem;
    font-weight: 100;
}

/* End Contact */

/* Modals */

/* Modal Backdrop */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-form h1 {
    font-family: var(--font-secondary);
    font-weight: bold;
    width: 100%;
    text-align: center;
    text-transform: capitalize;
}

.custom-modal-backdrop {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(10px);
    z-index: 0;
}

/* Modal Content */
.custom-modal-content {
    position: relative;
    margin: 2vh auto;
    width: 80%;
    max-width: 900px;
    background: var(--theme-background);
    border-radius: 2rem;
    padding: 2rem 3rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid var(--theme);

    overflow: auto;
}

.services-popup .custom-modal-content {
    border-color: transparent;
    background-color: #1f2026;
    width: 25vw;
    height: 80vh;
    max-width: none;

    transform-style: preserve-3d;
    transform: rotateY(0deg) scale(0);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.services-popup .custom-modal-content::after {
    content: "";
    position: absolute;
    inset: 1rem;
    border: 2px solid white;
    border-radius: 1rem;
    z-index: -1;
    opacity: 0.1;
    pointer-events: none;
}
.services-popup .custom-modal-content.show {
    transform: rotateY(0deg) scale(1);
    opacity: 1;
}

.popup-modal-content-holder {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-content: center;
    text-align: left;
    gap: 0.5rem;
    height: 100%;
    padding-top: 0.5rem;
}

.popup-modal-body-holder {
    text-align: justify;
    height: 70%;
    overflow: auto;
    /* border-bottom: 1px solid var(--theme); */
}

.services-popup h1 {
    font-family: var(--font-secondary);
    font-weight: 100;
    width: 90%;
    text-align: left;
    text-transform: capitalize;
    color: var(--theme);
    font-size: 1.3vw;
    height: 10%;
    border-bottom: 1px solid var(--theme);
}

.services-popup p {
    font-weight: 100;
    line-height: 1.4rem;
    font-size: 1rem;
}

.services-popup .popup-contact {
    /* height: 10%; */
    /* width: 100%; */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
    border: 1px solid white;
    padding: 1rem 1rem;
    border-radius: 2rem;
    width: 75%;
    margin: 0 auto;

    background: none;
    cursor: pointer;

    background: linear-gradient(
        to right,
        var(--icon-orange) 50%,
        transparent 50%
    );
    background-size: 200% 100%;
    background-position: 100% 0;
    transition: background-position 0.4s ease-in;
}

.services-popup .popup-contact:hover {
    background-position: 0 0;
}

.modal-form-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 2rem;
    aspect-ratio: 1/1;
    background-color: transparent;
    border: none;
    border-radius: 1rem;
    color: var(--theme);
    font-size: 2rem;
    cursor: pointer;
}

/* Form Styles */
.custom-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    color: var(--theme-foreground);
}

.form-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    width: 100%;
}

.form-group label {
    flex: 0 0 20%;
    padding-right: 1rem;
    text-align: left;
    font-size: 0.9rem;
}

.form-input {
    flex: 1;
    padding: 0.7rem 1.2rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
}

/* Size Rules */
.size-1 .form-input { width: 100%; }
.size-2 .form-input { width: 48%; }
.size-3 .form-input { width: 30%; }
.size-4 .form-input { width: 22%; }
.size-5 .form-input { width: 16%; }

/* Submit Button */
.form-submit {
    margin-top: 1rem;
    padding: 0.7rem 2rem;
    background-color: var(--theme);
    border: none;
    border-radius: 0.5rem;
    color: var(--theme-background);
    font-weight: bold;
    cursor: pointer;
}

.input-error {
    border: 2px solid red !important;
}

/* End Modals */


/* Instagram Display */
#instagram-feed {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
}

#instagram-feed .heading {
    margin-bottom: 2rem;
    z-index: 1;
}

#instagram-feed .instagram-bg {
    position: absolute;
    width: 20rem;
    aspect-ratio: 1/1;
    top: -5%;
    left: 23%;
    z-index: 0;
}

#instagram-feed .instagram-media {
    z-index: 1;
}