/* ================== GOOGLE FONTS ================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Playfair+Display:wght@700&display=swap');

/* ================== CSS VARIABLES ================== */
:root {
    --color-orange: #FF7B54;
    --color-yellow: #FFB26B;
    --color-aqua: #22a6b3;
    --color-sky: #55ccd7;
    --color-lime: #A2E4B8;
    --color-raspberry: #D92027;
    --gradient-primary: linear-gradient(90deg, var(--color-aqua), var(--color-lime));
    --gradient-hover: linear-gradient(90deg, var(--color-yellow), var(--color-orange));
    --color-text: #333;
    --color-text-light: #666;
    --color-heading: #111;
    --color-white: #FFF;
    --color-bg: #F9F9F9;
    --color-bg-light: #FFFFFF;
    --color-border: #E0E0E0;
    --font-body: 'Montserrat', sans-serif;
    --font-heading: 'Montserrat', serif;
    --header-height: 3.5rem;
    --border-radius: 12px;
    --box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ================== BASE STYLES ================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; background-color: var(--color-bg); color: var(--color-text); line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-heading); font-weight: 700; }
ul { list-style: none; }
a { text-decoration: none; color: var(--color-orange); transition: var(--transition); }
a:hover { color: var(--color-yellow); }
img { max-width: 100%; height: auto; }

/* ================== REUSABLE COMPONENTS ================== */
.containersm { margin-left: auto; margin-right: auto; padding: 0 2rem; }
.container { max-width: 90vw; margin-left: auto; margin-right: auto; padding: 0 1rem; }
.grid { display: grid; gap: 1.5rem; }
.section { padding: 0 0; }
.section__title { font-size: 2rem; text-align: center; margin-bottom: 3rem; position: relative; }
.section__title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--gradient-primary); border-radius: 2px; }
.button { display: inline-block; background: var(--gradient-primary); color: var(--color-white); padding: 1rem 2rem; border-radius: var(--border-radius); font-weight: 500; transition: var(--transition); border: none; cursor: pointer; background-size: 200% 100%; }
.button:hover { background-position: 100% 0; box-shadow: 0 10px 20px rgba(255, 123, 84, 0.4); transform: translateY(-3px); color: var(--color-white); }

/* ================== HEADER / NAVBAR ================== */
.header { width: 100%; background-color: var(--color-bg-light); position:fixed; top: 0; left: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav { height: var(--header-height); display: flex; justify-content: space-between; align-items: center; }
.nav__logo { color: var(--color-heading); font-weight: 700; font-family: var(--font-heading); font-size: 1.5rem; }
.nav__toggle, .nav__close { font-size: 1.5rem; cursor: pointer; color: var(--color-heading); }
.nav__list { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.nav__link { color: var(--color-text); font-weight: 500; position: relative; }
.nav__link::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: var(--gradient-primary); transition: var(--transition); }
.nav__link:hover::after, .active-link::after { width: 100%; }
.nav__link:hover, .active-link { color: var(--color-aqua); }

@media screen and (max-width: 767px) {
    .nav__menu { position: fixed; background-color: var(--color-bg-light); width: 80%; height: 100%; top: 0; right: -100%; padding: 6rem 2rem 4rem; transition: var(--transition); box-shadow: -2px 0 10px rgba(0,0,0,0.1); border-radius: 1rem 0 0 1rem; }
}
.show-menu { right: 0; }
.nav__close { position: absolute; top: 1rem; right: 1.25rem; }

/* ================== FOOTER ================== */
.footer { background-color: var(--color-heading); color: #A0A0A0; padding: 4rem 0 2rem; }
.footer__container { text-align: center; }
.footer__content { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer__title { color: var(--color-white); font-size: 1.2rem; margin-bottom: 1rem; }
.footer__links ul li { margin-bottom: 0.5rem; }
.footer__links a, .footer__description { color: #A0A0A0; }
.footer__links a:hover { color: var(--color-white); }
.footer__social a { color: var(--color-white); font-size: 1.5rem; margin: 0 0.5rem; }
.footer__social a:hover { color: var(--color-orange); }

/* ================== FLOATING BUTTON ================== */
.floating-btn { position: fixed; bottom: 2rem; right: 2rem; width: 60px; height: 60px; background: var(--gradient-primary); color: var(--color-white); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 10; animation: bounce 2s ease-in-out infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-10px);} 60% {transform: translateY(-5px);} }

/* ================== SCROLL ANIMATIONS ================== */
.animate-on-scroll { opacity: 0; transition: opacity 0.6s ease-out, transform 0.6s ease-out; transition-delay: var(--delay, 0s); }
.fade-up { transform: translateY(30px); }
.slide-in-left { transform: translateX(-30px); }
.slide-in-right { transform: translateX(30px); }
.animate-on-scroll.is-visible { opacity: 1; transform: none; }

/* ================== WINDING TITLE ANIMATION ================== */
.winding-title { position: relative; z-index: 1; white-space: nowrap; }
.winding-icon { width: 10px; height: 10px; position: absolute; top: 50%; left: 0; z-index: 2; }

/* ================== RESPONSIVENESS (COMMON) ================== */
@media screen and (min-width: 992px) {
    .nav__list { flex-direction: row; gap: 2.5rem; }
    .nav__toggle, .nav__close { display: none; }
    .footer__content { grid-template-columns: repeat(3, 1fr); text-align: left; }
}
@media screen and (min-width: 1024px) {
    .section__title { font-size: 3rem; }
}