/* ===========================
   YGND — Premium Stylesheet
   Cherry Cola & Pink Lemonade Palette
   =========================== */

@font-face {
    font-family: 'Recoleta';
    src: url('../fonts/recoleta.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Emitha';
    src: url('../fonts/emitha.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg: #F6F8FB; /* TMU Light Grey */
    --bg-light: #FFFFFF;
    --bg-card: #FFFFFF;
    --cherry: #14264A; /* TMU Navy */
    --cherry-light: #1A315F;
    --green: #2F7DF6; /* TMU Blue */
    --green-dark: #1E63D6;
    --cream: #F6F8FB;
    --off-white: #FFFFFF;
    --white: #FFFFFF;
    --text: #14264A;
    --text-muted: #51637F;
    --border: #E3E9F2;
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-accent: 'Space Grotesk', sans-serif;
    --font-cursive: 'Space Grotesk', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}



a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.sparkle {
    display: inline-block;
    color: var(--green);
    animation: pulse 2s infinite;
}

i.ph {
    color: var(--green);
}

@keyframes twinkle {
    0% { opacity: 0.5; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
    z-index: 200;
    background: transparent; /* Fully transparent at the top */
    pointer-events: auto;
    transition: background 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: translateY(0);
}

/* Navbar stays fully transparent even when scrolled */
.navbar.visible {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

.navbar > * {
    pointer-events: auto;
}

.nav-center {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.8rem; /* Slightly smaller */
    color: var(--cherry);
    text-transform: uppercase;
    letter-spacing: 0.2px; /* Tighter letter spacing */
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--cherry);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo .logo-text .char {
    opacity: 0;
    transform: translateY(15px);
    display: inline-block;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar.visible .nav-logo .logo-text .char {
    opacity: 1;
    transform: translateY(0);
}

/* Inner Page Nav */
body.inner-page {
    /* Removed padding-top to allow full-bleed hero banners */
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2vw, 1.3rem); /* dynamic font size to prevent overflow */
    color: var(--cherry);
    text-decoration: none;
    z-index: 110;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background: var(--green);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cherry);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.nav-cta i {
    color: inherit !important;
}

.nav-cta:hover {
    background: var(--cherry);
    color: var(--off-white);
}

.hero-controls .nav-cta {
    background: var(--green);
    color: var(--cherry);
}

.hero-controls .nav-cta:hover {
    background: var(--green-dark);
}

/* Burger - Circular floating widget */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    background: var(--off-white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    z-index: 200;
    transition: all 0.3s ease;
    padding: 0;
}

.burger:hover {
    background: var(--cherry);
}

.burger:hover .burger-line {
    background-color: var(--off-white);
}

.burger-line {
    display: block;
    width: 14px;
    height: 1.5px;
    background-color: var(--cherry);
    transition: all 0.4s cubic-bezier(0.77, 0, 0.18, 1);
    transform-origin: center;
    border-radius: 2px;
}

.burger.active .burger-line:first-child {
    transform: translateY(2.75px) rotate(45deg);
    background-color: var(--cherry);
}
.burger.active .burger-line:last-child {
    transform: translateY(-2.75px) rotate(-45deg);
    background-color: var(--cherry);
}

.burger.active:hover .burger-line {
    background-color: var(--off-white);
}

/* ============================
   HERO — Full Bleed
   ============================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 6rem clamp(1rem, 5vw, 4rem) 2rem;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Inner Page Hero Banner (Pattern + Glassmorphism) */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8rem, 15vh, 10rem) clamp(1rem, 5vw, 4rem) 4rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--cherry);
}

.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    padding: 4rem 5rem;
    max-width: 900px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
}

.hero-bento {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    max-height: calc(100vh - 9rem);
    min-height: 500px;
}

.bento-box {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bento-title {
    grid-column: 1;
    grid-row: 1;
    background: var(--bg); /* Soft pink */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 2rem;
}

.hero-giant-text {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 6vw, 6rem);
    line-height: 0.9;
    color: var(--cherry);
    letter-spacing: -2px;
}

.bento-photo {
    grid-column: 2;
    grid-row: 1;
    background: transparent;
    display: block;
    padding: 0;
}

.bento-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 30px;
}

.bento-title-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

.bento-cta {
    background: var(--green);
    color: var(--cherry);
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    border: 2px solid var(--cherry);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bento-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(221, 31, 40, 0.2);
}

.hero-controls-socials {
    display: flex;
    gap: 0.8rem;
}

.hero-controls-socials a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid var(--cherry);
    color: var(--cherry);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-controls-socials a i {
    color: inherit !important;
}

.hero-controls-socials a:hover {
    background: var(--cherry);
    color: var(--bg);
    transform: translateY(-2px);
}

.anim-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpBox 0.8s ease forwards var(--delay);
}

@keyframes fadeUpBox {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================
   MENU OVERLAY — Cherry Cola Theme
   ============================ */

/* Full Bleed Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh; /* Dynamic viewport height to fix mobile Safari bottom gap */
    background: var(--bg); /* Pink theme color */
    z-index: 105; /* Higher than navbar (100) */
    overflow-y: auto;
    pointer-events: none;
    visibility: hidden;
    /* Curtain drop down effect */
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1), visibility 0.6s;
    opacity: 1; /* Ensure it stays solid during animation */
}

.menu-overlay.active {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.menu-close-btn {
    display: none; /* Hidden — the burger button now serves as both open and close */
}

.menu-overlay-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    height: 100%;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
}

.menu-overlay-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.menu-overlay-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    max-height: 55vh;
    object-fit: cover;
    border-radius: 16px;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.18, 1) 0.2s;
}

.menu-overlay.active .menu-overlay-img {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.menu-overlay-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 4rem;
}

.menu-nav {
    display: flex;
    flex-direction: column;
}

.menu-link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0.8rem 1.5rem;
    margin-left: -1.5rem; /* offset padding */
    border-bottom: 1px solid rgba(203, 21, 27, 0.1);
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.77, 0, 0.18, 1);
    text-decoration: none;
    border-radius: 100px;
}

.menu-link:hover {
    border-color: transparent;
}

.menu-overlay.active .menu-link { opacity: 1; transform: translateX(0); }
.menu-overlay.active .menu-link:nth-child(1) { transition-delay: 0.15s; }
.menu-overlay.active .menu-link:nth-child(2) { transition-delay: 0.25s; }
.menu-overlay.active .menu-link:nth-child(3) { transition-delay: 0.35s; }
.menu-overlay.active .menu-link:nth-child(4) { transition-delay: 0.45s; }
.menu-overlay.active .menu-link:nth-child(5) { transition-delay: 0.55s; }
.menu-overlay.active .menu-link:nth-child(6) { transition-delay: 0.65s; }
.menu-overlay.active .menu-link:nth-child(7) { transition-delay: 0.75s; }

.menu-link::before {
    content: attr(data-num);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--green);
    opacity: 0.9;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.menu-link::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 0;
    background: var(--off-white);
    border-radius: 100px;
    z-index: -1;
    transition: width 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}

.menu-link:hover::after {
    width: 100%;
}

.menu-link-text {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--cherry);
    transition: color 0.4s ease;
    position: relative;
    z-index: 2;
}

.menu-link:hover .menu-link-text { 
    color: var(--pink); 
}

.menu-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--cherry);
    opacity: 0;
    transform: translateX(-30px) scale(0.8);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.18, 1);
    z-index: 2;
    margin-left: auto;
}

.menu-link-icon i.ph {
    color: var(--cherry);
    transition: color 0.5s ease;
}

.menu-link:hover .menu-link-icon {
    opacity: 1;
    transform: translateX(0) scale(1);
    color: var(--cherry);
}

.menu-link:hover .menu-link-icon i.ph {
    color: var(--cherry);
}

.menu-footer {
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.18, 1) 0.5s;
}

.menu-overlay.active .menu-footer { opacity: 1; transform: translateY(0); }

.menu-socials { display: flex; gap: 2rem; margin-bottom: 1rem; }

.menu-social-link {
    font-size: 0.9rem;
    color: var(--cherry);
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}
.menu-social-link i {
    color: inherit !important;
}
.menu-social-link:hover { color: var(--cherry-light); opacity: 1; }

.menu-copyright { font-size: 0.8rem; color: var(--cherry); opacity: 0.5; }

/* ============================
   SECTIONS
   ============================ */
.section { 
    padding: clamp(8rem, 15vw, 12rem) 0 clamp(6rem, 12vw, 10rem); 
    scroll-margin-top: 80px;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.label-num { font-size: 0.85rem; color: var(--cherry); font-weight: 500; }
.label-line { width: 40px; height: 1px; background: var(--cherry); }
.label-text {
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cherry);
    font-weight: 500;
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 8vw, 4.5rem);
    line-height: 1.2;
    color: var(--cherry);
    margin-bottom: 1.5rem;
}

.section-heading em {
    font-family: var(--font-accent);
    color: var(--cherry-light);
    font-style: italic;
}

.cursive-accent {
    font-family: var(--font-cursive) !important;
    font-style: normal !important;
    text-transform: none;
    letter-spacing: 0;
    font-size: 1.15em;
    color: var(--cherry-light);
    display: inline-block;
    transform: rotate(-3deg);
    white-space: normal; /* Allow wrapping on narrow screens */
}

.profile-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

.profile-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.profile-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--cherry);
    color: var(--cherry);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.profile-socials a i {
    color: inherit;
}

.profile-socials a:hover {
    background: var(--cherry);
    color: var(--off-white);
    transform: translateY(-3px);
}

.section-intro {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 550px;
    line-height: 1.8;
}

/* About */
.section-about { 
    border-bottom: none; 
    position: relative;
    z-index: 1;
}

.profile-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    max-width: 1200px;
    margin: clamp(3rem, 6vw, 5rem) auto 0;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.profile-block-reverse { direction: rtl; }
.profile-block-reverse > * { direction: ltr; }

.profile-image { overflow: hidden; border-radius: 16px; border: 1px solid var(--border); }
.profile-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.6s ease;
}
.profile-image:hover img { transform: scale(1.03); }

.profile-content { padding: 2rem 0; }
.profile-num { font-size: 0.85rem; color: var(--cherry); display: block; margin-bottom: 1rem; font-weight: 500; }
.profile-name {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--cherry);
    margin-bottom: 1.5rem;
}

.profile-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.profile-tags span {
    padding: 0.4rem 1rem;
    border: 1px solid var(--cherry);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--cherry);
    transition: all 0.3s ease;
}
.profile-tags span:hover { background-color: var(--cherry); color: var(--bg); }
.profile-bio { font-size: 1rem; font-weight: 400; color: var(--text-muted); line-height: 1.8; }

/* Services */
.section-services { 
    background: var(--cream); 
    border-bottom: none; 
    border-radius: clamp(30px, 8vw, 80px) clamp(30px, 8vw, 80px) 0 0;
    position: relative;
    z-index: 2;
    margin-top: -40px;
}
.services-list { margin-top: 3rem; }

.service-row {
    display: grid;
    grid-template-columns: 60px 1fr 1.5fr 40px;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    cursor: default;
}
.service-row:hover { padding-left: 1rem; }
.service-row:hover .service-name { color: var(--cherry-light); }

.service-num { font-size: 0.85rem; color: var(--cherry); font-weight: 500; }
.service-name {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--cherry);
    transition: color 0.3s ease;
}
.service-desc { font-size: 0.95rem; color: var(--text-muted); font-weight: 400; }
.service-arrow { font-size: 1.2rem; color: var(--cherry); transition: all 0.3s ease; justify-self: end; }
.service-row:hover .service-arrow { transform: translate(4px, -4px); }

/* Contact */
.section-contact { 
    border-bottom: none;  
    background-color: var(--bg-light);
    background-image: 
      linear-gradient(45deg, var(--bg) 25%, transparent 25%, transparent 75%, var(--bg) 75%, var(--bg)),
      linear-gradient(45deg, var(--bg) 25%, transparent 25%, transparent 75%, var(--bg) 75%, var(--bg));
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    border-radius: clamp(30px, 8vw, 80px) clamp(30px, 8vw, 80px) 0 0;
    position: relative;
    z-index: 3;
    margin-top: -40px;
}
.contact-form-wrapper { 
    margin: 3rem auto 0; 
    max-width: 700px; 
    background: transparent;
    padding: 0;
    position: relative;
}
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cherry);
}
.form-group input,
.form-group textarea {
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 16px; /* Must be at least 16px to prevent iOS auto-zoom */
    color: var(--cherry);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--cherry); box-shadow: 0 0 0 3px rgba(203, 21, 27, 0.1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(203, 21, 27, 0.4); }

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: var(--green);
    color: var(--cherry);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}
.btn-submit:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(187, 203, 120, 0.4);
}

/* Footer */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); }
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--cherry);
}
.footer-center { display: flex; gap: 2rem; }
.footer-center a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.3s; font-weight: 500; }
.footer-center a:hover { color: var(--cherry); }
.footer-right { display: flex; gap: 1.5rem; }
.footer-right a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.3s; font-weight: 500; }
.footer-right a:hover { color: var(--cherry); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--cherry); font-weight: 600; }

/* Scroll Animations */
.anim-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-in.visible { opacity: 1; transform: translateY(0); }
.anim-in:nth-child(2) { transition-delay: 0.1s; }
.anim-in:nth-child(3) { transition-delay: 0.2s; }

.funky-text-parent {
    opacity: 1 !important;
    transform: none !important;
}

.illuminate-word {
    display: inline-block;
    opacity: 0;
}

.anim-in.visible .illuminate-word {
    animation: trueIlluminate 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes trueIlluminate {
    0% {
        opacity: 0;
        filter: brightness(0.2) blur(8px);
        transform: scale(0.9) translateY(15px);
        color: var(--bg);
    }
    40% {
        opacity: 1;
        filter: brightness(1.5) blur(0);
        transform: scale(1.05) translateY(-5px);
        color: var(--cherry);
        text-shadow: 0 0 15px var(--pink), 0 0 30px var(--cherry);
    }
    100% {
        opacity: 1;
        filter: brightness(1) blur(0);
        transform: scale(1) translateY(0);
        color: inherit;
        text-shadow: none;
    }
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
    /* Hide desktop links earlier to prevent them overflowing the navbar */
    .desktop-only { display: none !important; }
}

@media (max-width: 900px) {
    .hero { height: auto; min-height: 100vh; padding-top: 7rem; }
    .hero-bento { max-height: none; }
    .menu-overlay-inner { grid-template-columns: 1fr; }
    .menu-overlay-left { display: none; }
    .menu-overlay-right { padding: 1.5rem; }
    .profile-block, .profile-block-reverse { grid-template-columns: 1fr; }
    .profile-block-reverse { direction: ltr; }
    .profile-image img { height: 350px; }
    .service-row { grid-template-columns: 40px 1fr 40px; }
    .service-desc { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-center, .footer-right { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
    .menu-link-text { font-size: 2rem; }
    .profile-image img { height: 280px; }

    /* Mobile Navbar Text Adjustments */
    .navbar { padding: 1rem 1.5rem; }
    .navbar .nav-cta {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    .nav-logo .logo-text { 
        display: none;
    }
    .nav-logo .sparkle {
        font-size: 1.5rem;
    }

    /* Mobile Hero Layout */
    .hero-banner {
        min-height: 400px;
        padding-top: 7rem;
    }
    
    .glass-card {
        padding: 3rem 1.5rem;
        border-radius: 25px;
    }

    .hero-bento {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .bento-title {
        grid-column: 1;
        grid-row: 2;
        padding: 3rem 2rem;
    }

    .bento-photo {
        grid-column: 1;
        grid-row: 1;
        min-height: 400px;
        padding-top: 0;
    }
    
    .bento-title-actions {
        gap: 1.5rem;
    }

    .hero-giant-text {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-bottom {
        left: 0;
        right: 0;
        width: 100%;
        padding: 0 1.5rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        bottom: 1.5rem;
    }

    .hero-socials {
        gap: 1rem;
    }

    .hero-socials a {
        width: 42px;
        height: 42px;
        font-size: 1.25rem;
        border: 2px solid var(--bg);
    }

    .hero-eyebrow {
        text-align: center;
        font-size: 0.75rem;
        width: 100%;
    }

    /* Generous Contact Form Spacing */
    .section-contact .container {
        padding: 0 1.5rem;
    }
    .contact-form-wrapper {
        margin-top: 2.5rem !important;
    }
    .contact-form {
        gap: 2rem !important;
    }
    .form-group {
        gap: 0.75rem !important;
    }
    .form-group input,
    .form-group textarea {
        padding: 1.2rem !important;
        font-size: 16px !important; /* Force 16px on mobile to prevent zoom */
    }
    .btn-submit {
        margin-top: 1rem;
        padding: 1.2rem 2.5rem !important;
    }
}

/* ========================================= */
/*               PRELOADER                   */
/* ========================================= */
.tn-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: var(--bg);
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    padding: clamp(1rem, 4vw, 3rem);
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
}

.tn-counter {
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 800;
    color: var(--cherry);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin: 0;
}

.tn-preloader.hide {
    transform: translateY(-100%);
}

/* ============================
   TREVOR NOAH STYLE FOOTER
   ============================ */
.footer-trevor {
    background-color: var(--bg);
    color: var(--cherry);
    display: flex;
    flex-direction: column;
    padding: 4rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 900px) {
    .footer-trevor {
        flex-direction: row;
        padding: 6rem 4rem 2rem;
    }
}

/* Left Side: Sticker & Bubble */
.ft-left {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2rem;
}

@media (min-width: 900px) {
    .ft-left {
        justify-content: flex-start;
        padding-bottom: 0;
    }
}

.ft-sticker-container {
    position: relative;
    max-width: 300px;
    margin-top: 4rem;
}

@media (min-width: 900px) {
    .ft-sticker-container {
        max-width: 400px;
    }
}

.ft-bubble {
    position: absolute;
    top: -40px;
    right: -40px;
    background: var(--off-white);
    color: var(--cherry);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transform: rotate(8deg);
    z-index: 2;
    border: 2px solid var(--cherry);
}

.ft-sticker {
    width: 100%;
    height: auto;
    border: 10px solid var(--bg);
    border-radius: 200px 200px 20px 20px;
    transform: rotate(-2deg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    object-fit: cover;
    aspect-ratio: 3/4;
    background: var(--off-white);
}

/* Right Side: Links */
.ft-right {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.ft-nav {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    border-top: 1px solid rgba(203, 21, 27, 0.1);
}

.ft-link {
    display: flex;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(203, 21, 27, 0.1);
    text-decoration: none;
    color: var(--cherry);
    transition: all 0.3s ease;
}

.ft-link:hover {
    padding-left: 2rem;
    color: var(--green);
}

.ft-num {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.5;
    margin-right: 3rem;
    transition: opacity 0.3s ease;
}

.ft-link:hover .ft-num {
    opacity: 1;
}

.ft-text {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
}

/* Bottom Bar */
.ft-bottom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(203, 21, 27, 0.1);
}

@media (min-width: 900px) {
    .ft-bottom {
        flex-direction: row;
    }
}

.ft-copy {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.8rem;
    opacity: 0.6;
}

.ft-copy a {
    color: var(--cherry);
    text-decoration: none;
}

.ft-copy a:hover {
    text-decoration: underline;
}

.ft-socials {
    display: flex;
    gap: 1rem;
}

.ft-socials a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(203, 21, 27, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cherry);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.ft-socials a i {
    color: inherit !important;
}

.ft-socials a:hover {
    background: var(--cherry);
    color: var(--off-white) !important;
}

/* ========================================= */
/*       PREMIUM HEADING WORD ANIMATION      */
/* ========================================= */
.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding: 0.1em 0.15em; /* Prevent descender and edge cutoff */
    margin: -0.1em -0.15em;
}

.word-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    will-change: transform;
}

.word-reveal .word-inner {
    transform: translateY(0%);
}

/* ==========================================================================
   FAQ ACCORDION STYLES
   ========================================================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid rgba(210, 10, 31, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(210, 10, 31, 0.02);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(210, 10, 31, 0.08);
    transform: translateY(-2px);
}

.faq-item[open] {
    border-color: var(--cherry);
}

.faq-question {
    font-family: 'Space Grotesk', sans-serif;
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    font-size: 1.25rem;
    color: var(--cherry);
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    position: relative;
    padding-right: 2rem;
}

/* Hide default arrow in webkit */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(210, 10, 31, 0.2);
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Animated Icons */
.icon-anim-pulse {
    transition: transform 0.3s ease, filter 0.3s ease;
}
.bento-card:hover .icon-anim-pulse {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(56, 143, 255, 0.8));
    animation: icon-pulse 1.5s infinite;
}
@keyframes icon-pulse {
    0% { transform: scale(1.1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.1); }
}

.icon-anim-spin {
    transition: transform 0.3s ease;
}
.bento-card:hover .icon-anim-spin {
    animation: icon-spin 2s linear infinite;
}
@keyframes icon-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.icon-anim-drive {
    transition: transform 0.3s ease;
}
.bento-card:hover .icon-anim-drive {
    animation: icon-drive 1s ease-in-out infinite alternate;
}
@keyframes icon-drive {
    0% { transform: translateX(0); }
    100% { transform: translateX(10px); }
}
