/* Universal Tags */
/* fade up animation */
/* Base state: hidden + translated down */
.fade-up{
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
/* When in view */
.fade-up.show{
    opacity: 1;
    transform: translateY(0);
}
/* Styling for scrollbar */
/* width  */
body::-webkit-scrollbar {
    /* display: none; */
    width: 4px;
}
/* Track */
body::-webkit-scrollbar-track{
    border-radius: 90px;
    box-shadow: inset 0 0 5px var(--main-background);
}
/* Handle */
body::-webkit-scrollbar-thumb {
    border-radius: 90px;
    background: var(--button-hv);
}
:root{
    --white: #fafafa;
    --header-text: #A7ED1D;
    --button-hv: #6ed80b;
    --serif: "Tinos", serif;
    --section-break: #9FB195;
    --secondary-text: #171219;
    --sans-serif: "Montserrat", sans-serif;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 8px 20px rgba(0, 0, 0, 0.1);
}
a{
    color: inherit;
    text-decoration: none;
}
li{
    list-style: none;
}
h2{
    font-size: 40px;
    font-weight: 500;
    color: var(--header-text);
    font-family: var(--sans-serif);
}
body{
    margin: 0;
    padding: 0;
    font-size: 18px;
    overflow-x: hidden;
    box-sizing: border-box;
    font-family: var(--serif);
    background-color: #f9f9f9;
}
/* Hero-section */
.hero-section{
    height: 360px;
    margin-top: 100px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: 20% bottom;
    background-image: url("images/portfolio.jpg");
}
.hero-section .text{
    margin: 4px auto;
    padding: 14px 28px;
    width: max-content;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-section h1{
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: var(--sans-serif);
}
.hero-section button{
    transition: .48s ease;
}
.hero-section p {
    margin: 0 auto;
    font-size: 1.2rem;
    /* max-width: 600px; */
}
button{
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin: 10px auto;
    padding: 8px 28px;
    position: relative;
    border-radius: 20px;
    letter-spacing: -1px;
    transition: .48s ease;
    font-family: var(--serif);
    color: var(--secondary-text);
    background-color: var(--button-hv);
}
button:hover{
    transform: translateY(-6px);
    background-color: var(--header-text);
}
/* Portfolio */
.portfolio{
    padding: 60px;
}
.portfolio .portfolio-container{
    display: flex;
    flex-direction: row;
}
.portfolio .portfolio-container .portfolio-box{
    width: 25%;
    margin: 4px;
    box-sizing: border-box;
    box-shadow: var(--shadow);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: #d1f7d7;
}
.portfolio .portfolio-container .portfolio-box img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
}
.portfolio .portfolio-container .portfolio-box .text{
    padding: 12px 16px;
    border-radius: 12px;
    height: max-content;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Case Studies */
.case-studies{
    padding: 60px 20px;
}
.case-studies .cta{
    left: 80%;
    top: 60%;
    position: relative;
}
/* Container */
.case-study-container{
    /* display: flex; */
    /* padding: 40px 20px; */
    text-align: center;
    justify-content: center;
    background: #f8f9fc;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}
/* Case Study Item */
.case-study-item{
    /* width: 100%; */
    padding: 25px;
    max-width: 25%;
    margin: 4px;
    background: #fff;
    display: inline-block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.case-study-item:hover{
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
/* Heading */
.case-study-item h3{
    gap: 10px;
    color: #333;
    display: flex;
    font-size: 22px;
    margin-bottom: 15px;
    align-items: center;
}
.case-study-item h3 i{
    color: #ff6f61;
    font-size: 1.3rem;
}
/* Paragraph Titles */
.case-study-item p{
    color: #444;
    font-weight: 500;
    margin-top: 15px;
    font-family: var(--serif);
}
/* Warning Section */
.warning {
    padding: 15px;
    margin-top: 10px;
    list-style: none;
    border-radius: 8px;
    background: #f9e6e6;
    border-left: 5px solid #ff4b4b;
}

.warning li {
    margin: 8px 0;
    color: #d32f2f;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.warning li i {
    color: #ff4b4b;
}

/* Solution Section */
.solution {
    background: #90e67f;
  border-left: 5px solid #007bff;
    padding: 15px;
    margin-top: 10px;
    border-radius: 8px;
    list-style: none;
}

.solution li {
    margin: 8px 0;
    color: #0d47a1;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution li i {
    color: #007bff;
}

/* Result Highlight */
.result {
    font-weight: bold;
    color: #28a745;
}

.result i {
    color: #28a745;
}
/* Contact */
.contact input{
    width: 30%;
    margin: 4px;
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 40px;
    font-family: inherit;
    transition: .48s ease;
    border: 1px solid var(--section-break);
}
.contact input:focus{
    outline: none;
    background-color: var(--header-text);
}
.contact button{
    border: none;
    margin-top: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: .48s;
    padding: 12px 32px;
    color: var(--secondary-text);
    font-family: var(--sans-serif);
    background-color: var(--button-hv);
}
.contact button:hover{
    border-radius: 40px;
    background-color: var(--header-text);
}
/* Contact */
.contact{
    /* width: 55%; */
    padding: 60px;
    font-size: 20px;
    text-align: center;
    font-family: var(--serif);
    /* border-left: 2px solid var(--button-hv); */
}
/* Footer */
.footer{
    padding: 60px;
    color: #aaa;
    text-align: center;
    padding-bottom: 20px;
    background-color: #272727;
    /* color: var(--white); */
    /* background-color: var(--button-hv); */
}
.footer .footer-container{
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    text-align: center;
    flex-direction: row;
}
.footer .footer-container .box a{
    color: #aaa;
}
.footer .footer-container .box{
    width: 25%;
    padding: 20px;
    color: #aaa;
    text-align: center;
    box-sizing: border-box;
    border-left: 1px solid var(--button-hv);
}
.footer .footer-container .box:nth-child(1){
    border-left: none;
}
.footer .footer-container .box:nth-child(4) i{
    cursor: pointer;
    transition: .48s ease;
}
.footer .footer-container .box:nth-child(4) i:hover{
    color: #9ce476;
}
.footer .footer-container .box li{
    padding: 8px;
    display: inline-block;
}
.footer .footer-container h2{
    font-size: 14px;
    text-align: center;
    color: var(--button-hv);
}
.footer .copyright{
    padding: 0px;
    font-size: 14px;
    color: var(--white);
}
