/* ================= ROOT COLORS ================= */
:root {
    --primary: #C68E5B;
    --secondary: #F5E6D3;
    --accent: #4A2E1F;
    --white: #ffffff;
    --dark-caramel: #b37746;
}

/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: auto !important;
    background: #fff;
    color: var(--accent);
    line-height: 1.7;
    overflow-x: hidden;
}

section {
    padding: 110px 0;
    position: relative;
}

h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

p {
    color: #555;
    margin-bottom: 20px;
    font-size: 16px;
}

/* ================= BUTTON ================= */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 30px;
    background: linear-gradient(45deg, var(--primary), var(--dark-caramel));
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-top: 10px;
    transition: 0.4s;
}

.btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(198, 142, 91, 0.4);
}

/* ================= HEADER ================= */
header {
    background: white;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: 0.3s ease;
}

header.scrolled {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav img {
    height: 65px;
    transition: 0.3s;
}

nav img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 28px;
}

nav ul li a {
    text-decoration: none;
    color: var(--accent);
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

nav ul li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary);
}

/* ================= HERO ================= */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(245, 230, 211, 0.85)),
        url('../images/home_banner.jpg') center/cover;
}

.hero h1 {
    font-size: 54px;
}

.hero p {
    max-width: 750px;
    margin: auto;
}

/* ================= IMAGES ================= */
.section-img,
.hero img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: 0.4s ease;
}

.section-img:hover {
    transform: scale(1.03);
}

/* Goal small image improved */
.goal-img {
    width: 400px;
    height: 160px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    margin: 20px auto;
    display: block;
}

/* ================= CARD ================= */
.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.4s ease;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(198, 142, 91, 0.3);
}

/* ================= DIVIDER ================= */
.divider {
    height: 3px;
    width: 80px;
    background: var(--primary);
    margin: 20px auto 40px auto;
    border-radius: 5px;
}

/* ================= CTA ================= */
.cta {
    background: var(--secondary);
    text-align: center;
    border-radius: 30px;
    margin: 60px 20px;
    padding: 60px 20px;
}

/* ================= FOOTER ================= */
footer {
    background: var(--accent);
    color: #fff;
    padding: 60px 0 20px;
}

footer a {
    color: #ddd;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: #fff;
}

/* ================= ANIMATED BALLS ================= */
#ball-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.ball {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(3px);
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0px) scale(0.6);
    }

    50% {
        transform: translateY(50vh) translateX(50px) scale(1);
    }

    100% {
        transform: translateY(-10vh) translateX(-50px) scale(0.8);
    }
}

/* ================= RESPONSIVE ================= */
@media(max-width:992px) {
    h1 {
        font-size: 40px;
    }
}

@media(max-width:768px) {

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 26px;
    }

    nav ul {
        display: none;
    }

    .goal-img {
        width: 90%;
        height: 150px;
    }

    section {
        padding: 80px 0;
    }
}

h2 {
    text-align: center;
}

/* ================= About page ================= */

.about-banner {
    height: 90vh;

    background:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url('../images/home_banner.jpg') center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    color: white;
    padding: 20px;
}

.about-banner h1 {
    font-size: 60px;
    font-weight: 700;
}

.about-banner p {
    margin: auto;
    margin-top: 20px;
    color: white;
}

.tech-row {
    align-items: stretch;
}

.tech-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 25px;
}

/* Career Banner */

.career-banner {
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("../images/career_banner.jpg");
    background-size: cover;
    background-position: center;
}

.career-banner h3 {
    font-size: 48px;
    font-weight: 600;
}

.career-banner p {
    font-size: 18px;
    max-width: 700px;
    margin: auto;
    margin-top: 15px;
}

.contact-banner {
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("../images/contact_banner.jpg");
    background-size: cover;
    background-position: center;
}

.products-banner {
    background:
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url("../images/product_banner.avif");
    background-size: cover;
    background-position: center;
}

nav ul li a.active {
    color: var(--primary);
    font-weight: 600;
}

nav ul li a.active::after {
    width: 100%;
}

.founder-img {
    max-width: 350px;
    border-radius: 15px;
}

.founder-section {
    background: #fff;
}

.team-section {
    background: #F5E6D3;
    padding: 80px 0;
}

.team-subtitle {
    margin: auto;
    color: #555;
    max-width: 1100px;
}

.team-card {
    background: white;
    padding: 16px 14px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 14px;
}

.team-card h5 {
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.2;
    font-size: 18px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card p {
    color: #888;
    margin: 0;
    line-height: 1.35;
    font-size: 13px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
    .team-card {
        padding: 16px 14px;
    }

    .team-img {
        width: 120px;
        height: 120px;
    }

    .team-card h5 {
        font-size: 17px;
        min-height: auto;
    }

    .team-card p {
        font-size: 13px;
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .team-card {
        padding: 18px 12px;
    }

    .team-img {
        width: 100px;
        height: 100px;
    }

    .team-card h5 {
        font-size: 16px;
    }

    .team-card p {
        font-size: 12px;
        line-height: 1.35;
    }
}