/* Custom CSS for a clean look and smooth animations */
:root {
    --primary-red: #e63946;
    --secondary-blue: #a8dadc;
    --light-blue: #f1faee;
    --dark-text: #1d3557;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

.logo-font {
    font-family: 'Dancing Script', cursive;
}

/* Hero Text Animation Fix */
.animated-words {
    position: relative; /* Essential for positioning the words */
    display: inline-block;
    height: 3rem; /* Set a height to prevent the text from collapsing */
    width: 150px; /* A width to accommodate the longest word */
}

.animated-words .word {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.animated-words .word.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Nav Toggle animation */
.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Logo Zoom Effect on Hover */
.logo-link:hover .logo span {
    color: #e63946;
}

.logo-link:hover .logo {
    transform: scale(1.1); /* Zoom effect on the entire logo */
}

.logo-link .logo {
    transition: transform 0.3s ease;
}