/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');


/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* Custom Fonts */
@font-face {
    font-family: 'HelloJourney';
    /* Adjusted path relative to foundation.css */
    src: url('../fonts/hello-journey/HelloJourney.ttf') format('truetype');
    font-weight: normal;
    /* Adjust as needed */
    font-style: normal;
}

body {
    font-family: 'Roboto', sans-serif;
    overscroll-behavior-y: none;
    /* Prevent scroll chaining when menu is open */
}

/* Add custom font families for Tailwind use */
.font-roboto {
    font-family: 'Roboto', sans-serif;
}

.font-hellojourney {
    font-family: 'HelloJourney', sans-serif;
}

.font-helvetica {
    font-family: Helvetica, Arial, sans-serif;
}

/* Fallback added */

/* Define primary color if used by JS/CSS (or rely on Tailwind) */
.bg-blue-primary {
    background-color: #4059AC;
}

/* Example definition */

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background-color: #aaa;
}

::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 5px;
}

/* Selection Styling */
::selection {
    background: #222;
    color: #fff;
}

::-moz-selection {
    background: #222;
    color: #fff;
}

/* Remove number input spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* --- ADDED: New Header/Menu Styles from homepage.css --- */

#hamburger span {
    /* Styles for hamburger lines are mostly handled by Tailwind */
    /* Ensure base background is white if not set by Tailwind */
    background-color: white;
}

/* Hamburger Open State Styling */
#hamburger.open span:nth-child(1) {
    /* Use values consistent with JS */
    transform: translateY(8px) rotate(45deg);
}

@media (min-width: 1280px) {

    /* xl */
    #hamburger.open span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
}

#hamburger.open span:nth-child(2) {
    opacity: 0;
}

#hamburger.open span:nth-child(3) {
    /* Use values consistent with JS */
    transform: translateY(-8px) rotate(-45deg);
}

@media (min-width: 1280px) {

    /* xl */
    #hamburger.open span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
}


#menuWrapper {
    /* Transition applied via Tailwind */
    /* Ensure initial state is correct if JS modifies it */
    height: 0;
    overflow: hidden;
}

#menuWrapper.menu-open {
    /* Class potentially added by JS */
    height: 100vh;
}

/* Optional: Menu Overlay/Gradient Effects (if desired) */
/*
#menuWrapper::before { ... }
#menuWrapper::after { ... }
*/

/* Base styling for menu links if needed beyond Tailwind */
#menuWrapper a:hover {
    /* Example hover effect if needed */
    color: #F4B941;
    /* Tailwind yellow-500 */
}

/* --- END ADDED: New Header/Menu Styles --- */


/* REMOVED OLD HEADER/HAMBURGER STYLES */
/*
#pageHeader .hamburger span { ... }
.hamburger.hamburger-open span { ... }
.hamburger.hamburger-open span:first-child { ... }
.hamburger.hamburger-open span:nth-child(2) { ... }
.hamburger.hamburger-open span:last-child { ... }
#menuWrapper.menu-open { ... }
.menuWrapper::before { ... }
.menuWrapper::after { ... }
.mainNavLink { ... }
.mainNavLink.active { ... }
.subNavLink { ... }
.bottomNavLink { ... }
*/

/* Footer Link (Kept) */
.footerLink {
    @apply hover:text-yellow-400 transition-colors duration-300 ease-in-out;
}

/* Animation Base Styles (Kept) */
.animateThis {
    position: relative;
    /* Needed for transforms */
    will-change: opacity, transform;
    opacity: 0;
}

.slideLeft {
    transition: all 1s ease;
    transform: translateX(50px);
}

.slideRight {
    transition: all 1s ease;
    transform: translateX(-50px);
}

.slideTop {
    transition: all 1s ease;
    transform: translateY(50px);
}

.slideDown {
    transition: all 1s ease;
    transform: translateY(-50px);
}

.fadeIn {
    transition: opacity 1s ease;
}

/* Animation In-View State (Applied by JS) (Kept) */
.animateThis.in-view {
    opacity: 1;
    transform: translate(0, 0);
}

/* Explicitly reset transform for fade in only */
.fadeIn.in-view {
    opacity: 1;
    transform: none;
    /* Ensure no lingering transform */
}

/* Tilt.js Card Styling (Kept) */
.foundation-offering-content.tilt-slide {
    transform-style: preserve-3d;
}

/* Visiting Program Border (Kept) */
.prog-box::before {
    content: '';
    border: 2px solid #F4B941;
    /* var(--yellowColor) */
    position: absolute;
    top: -10px;
    /* Adjust offset */
    left: -10px;
    /* Adjust offset */
    right: -10px;
    /* Adjust offset */
    bottom: -10px;
    /* Adjust offset */
    z-index: -1;
    pointer-events: none;
    /* So it doesn't interfere with clicks */
}

/* Testimonial Pagination (Kept) */
.testimonial-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #a8bbef;
    /* Lighter blue */
    opacity: 0.7;
    transition: all 0.3s ease;
    margin: 0 5px !important;
    /* Ensure spacing */
}

.testimonial-swiper-pagination .swiper-pagination-bullet-active {
    background-color: #F4B941;
    /* Brand Yellow */
    opacity: 1;
    width: 12px;
    /* Slightly larger active bullet */
    height: 12px;
}

/* Custom Fonts */
@font-face {
    font-family: 'HelloJourney';
    src: url('../fonts/hello-journey/HelloJourney.ttf') format('truetype');
    font-weight: normal;
    /* Adjust as needed */
    font-style: normal;
}

body {
    font-family: 'Roboto', sans-serif;
    /* Tailwind applies anti-aliasing by default */
    overscroll-behavior-y: none;
    /* Prevent scroll chaining when menu is open */
}

/* Add custom font families for Tailwind use */
.font-roboto {
    font-family: 'Roboto', sans-serif;
}

.font-hellojourney {
    font-family: 'HelloJourney', sans-serif;
}

/* Add other fonts like Helvetica if needed */
.font-helvetica {
    font-family: Helvetica, Arial, sans-serif;
}

/* Fallback added */


:root {
    --blueColor: #4059AC;
    /* Example: Use bg-blue-600, text-blue-600 etc. in Tailwind */
    --yellowColor: #F4B941;
    /* Example: Use bg-yellow-500, text-yellow-500 etc. */
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
    background-color: #aaa;
}

::-webkit-scrollbar-thumb {
    background-color: #333;
    border-radius: 5px;
}

/* Selection Styling */
::selection {
    background: #222;
    color: #fff;
}

::-moz-selection {
    background: #222;
    color: #fff;
}

/* Remove number input spinners */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}


#pageHeader .hamburger span {
    background-color: white;
}

/* Hamburger Open State */
.hamburger.hamburger-open span {
    background-color: white;
}

/* Ensure lines are white when open */
.hamburger.hamburger-open span:first-child {
    transform: rotate(135deg);
    top: 10px;
    /* Adjust based on final span height/positioning */
}

.hamburger.hamburger-open span:nth-child(2) {
    left: -50px;
    opacity: 0;
}

.hamburger.hamburger-open span:last-child {
    transform: rotate(-135deg);
    top: 10px;
    /* Adjust based on final span height/positioning */
}

/* Menu Wrapper Open State */
#menuWrapper.menu-open {
    height: 100vh;
}

/* Menu Overlays/Gradients (Example) */
.menuWrapper::before {
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(19, 64, 128, 0.9);
    /* Example overlay color */
    z-index: -1;
    transition: background 1s ease-in-out;
    opacity: 0;
    /* Start hidden */
}

#menuWrapper.menu-open::before {
    opacity: 1;
}

.menuWrapper::after {
    content: '';
    width: 100%;
    height: 160px;
    /* Adjust height as needed */
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(19, 64, 128, 0) 0%, rgba(19, 64, 128, 1) 80%);
    /* Adjust gradient */
    z-index: 1;
    /* Ensure it's above content but potentially below header */
}


/* Menu Link Styles (Refined) */
.mainNavLink {
    @apply block text-xl md:text-2xl lg:text-3xl xl:text-4xl font-light hover:text-yellow-400 hover:pl-1.5 transition-all duration-300 ease-in-out;
}

.mainNavLink.active {
    @apply text-yellow-400 pl-1.5;
}

.subNavLink {
    @apply block text-lg md:text-xl lg:text-2xl xl:text-3xl text-gray-300 hover:text-yellow-400 transition-colors duration-300 ease-in-out;
}

.bottomNavLink {
    @apply text-lg md:text-xl xl:text-2xl text-gray-300 hover:text-yellow-400 transition-colors duration-300 ease-in-out whitespace-nowrap;
}

.footerLink {
    @apply hover:text-yellow-400 transition-colors duration-300 ease-in-out;
}

/* Animation Base Styles */
.animateThis {
    position: relative;
    /* Needed for transforms */
    will-change: opacity, transform;
    opacity: 0;
}

.slideLeft {
    transition: all 1s ease;
    transform: translateX(50px);
}

.slideRight {
    transition: all 1s ease;
    transform: translateX(-50px);
}

.slideTop {
    transition: all 1s ease;
    transform: translateY(50px);
}

.slideDown {
    transition: all 1s ease;
    transform: translateY(-50px);
}

.fadeIn {
    transition: opacity 1s ease;
}

/* Animation In-View State (Applied by JS) */
.animateThis.in-view {
    opacity: 1;
    transform: translate(0, 0);
}

/* Explicitly reset transform for fade in only */
.fadeIn.in-view {
    opacity: 1;
    transform: none;
    /* Ensure no lingering transform */
}

/* Tilt.js Card Styling (Keep relevant parts) */
.foundation-offering-content.tilt-slide {
    transform-style: preserve-3d;

}

.prog-box::before {
    content: '';
    border: 2px solid #F4B941;
    /* var(--yellowColor) */
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
    pointer-events: none;
}


.testimonial-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #a8bbef;
    opacity: 0.7;
    transition: all 0.3s ease;
    margin: 0 5px !important;
}

.testimonial-swiper-pagination .swiper-pagination-bullet-active {
    background-color: #F4B941;
    opacity: 1;
    width: 12px;
    height: 12px;
}