:root {
    /* Loading Screen Variables */
    --loading-bg-color: #fff0f7;
    --loader-color: var(--warm-orange);
    --loading-text-color: var(--text-dark);
    --loading-fade-duration: 1s;

    --pink-pastel:    #ffd1e8; /* very light pink */
    --mint-pastel:   #ffe6f2; /* almost white rose */
    --lavender-pastel:#f4e3ff; /* pale lavender with pink warmth */
    --gold-accent:    #ffe8a0; /* soft buttery gold */
    --warm-orange:    #ffb88d; /* muted peach */
    --text-dark:      #4a3b46; /* dark plum‑brown for contrast */
    --text-medium:    #7a6679; /* mid‑tone dusty mauve */
    --white:          #ffffff; /* unchanged */
    --soft-yellow:    #fff4d8; /* very pale cream */
    --baby-blue:      #ffdbea; /* blush‑toned “blue” */
}


body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

h2.section-title {
    font-family: 'Bubblegum Sans', cursive;
    color: var(--text-dark);
}

p {
    font-weight: 300;
    color: var(--text-medium);
    line-height: 1.7;
}

.no-scroll {
    overflow: hidden;
    height: 100%;
  }

  
/* Navbar */
.navbar {
    transition: all 0.4s ease;
    padding: 15px 0;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.5rem;
}

.navbar-brand span {
    color: var(--warm-orange);
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--warm-orange);
}

/* Cards */
.card {
    border-radius: 24px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card:before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ff9e5a' d='M378.9 38.6c-38.1 0-69.3 31.2-69.3 69.3 0 38.1 31.2 69.3 69.3 69.3s69.3-31.2 69.3-69.3c0-38.1-31.2-69.3-69.3-69.3zm-245.8 0c-38.1 0-69.3 31.2-69.3 69.3 0 38.1 31.2 69.3 69.3 69.3s69.3-31.2 69.3-69.3c0-38.1-31.2-69.3-69.3-69.3zm-25.6 242.6c-38.1 0-69.3 31.2-69.3 69.3 0 38.1 31.2 69.3 69.3 69.3s69.3-31.2 69.3-69.3c0-38.1-31.2-69.3-69.3-69.3zm297 0c-38.1 0-69.3 31.2-69.3 69.3 0 38.1 31.2 69.3 69.3 69.3s69.3-31.2 69.3-69.3c0-38.1-31.2-69.3-69.3-69.3zM256 335.9c-38.1 0-69.3 31.2-69.3 69.3 0 38.1 31.2 69.3 69.3 69.3s69.3-31.2 69.3-69.3c0-38.1-31.2-69.3-69.3-69.3z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    top: 10px;
    right: 10px;
    transform: rotate(45deg);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--pink-pastel), var(--lavender-pastel));
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-img {
    position: absolute;
    bottom: 0;
    right: 5%;
    width: 45%;
    max-width: 500px;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--text-medium);
}

/* Buttons */
.btn-primary {
    background-color: var(--warm-orange);
    border: none;
    border-radius: 50px;
    padding: 14px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Quicksand', sans-serif;
    box-shadow: 0 4px 8px rgba(255, 158, 90, 0.3);
}

.btn-primary:hover {
    background-color: var(--warm-orange);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 158, 90, 0.4);
}

.btn-primary:before {
    content: "";
    position: absolute;
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23ffffff' opacity='0.3' d='M378.9 38.6c-38.1 0-69.3 31.2-69.3 69.3 0 38.1 31.2 69.3 69.3 69.3s69.3-31.2 69.3-69.3c0-38.1-31.2-69.3-69.3-69.3zm-245.8 0c-38.1 0-69.3 31.2-69.3 69.3 0 38.1 31.2 69.3 69.3 69.3s69.3-31.2 69.3-69.3c0-38.1-31.2-69.3-69.3-69.3zm-25.6 242.6c-38.1 0-69.3 31.2-69.3 69.3 0 38.1 31.2 69.3 69.3 69.3s69.3-31.2 69.3-69.3c0-38.1-31.2-69.3-69.3-69.3zm297 0c-38.1 0-69.3 31.2-69.3 69.3 0 38.1 31.2 69.3 69.3 69.3s69.3-31.2 69.3-69.3c0-38.1-31.2-69.3-69.3-69.3zM256 335.9c-38.1 0-69.3 31.2-69.3 69.3 0 38.1 31.2 69.3 69.3 69.3s69.3-31.2 69.3-69.3c0-38.1-31.2-69.3-69.3-69.3z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    top: -15px;
    right: -15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover:before {
    opacity: 1;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--warm-orange);
}

/* Why Cats Section */
#why-cats {
    background-color: var(--white);
}

.cat-card {
    padding: 30px;
    height: 100%;
    background-color: var(--white);
}

.cat-card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--mint-pastel);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s ease;
}

.cat-card-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.cat-card-icon:after {
    content: "";
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--soft-yellow);
    border-radius: 50%;
    bottom: -5px;
    right: -5px;
}

.cat-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Adopt Section */
#adopt {
    background-color: var(--pink-pastel);
    position: relative;
}

.adopt-card {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}

.adopt-card img {
    transition: transform 0.5s;
}

.adopt-card:hover img {
    transform: scale(1.05);
}

.testimonial {
    background-color: var(--white);
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
}

.testimonial:before {
    position: absolute;
    top: 5px;
    left: 15px;
    font-size: 60px;
    color: var(--lavender-pastel);
    font-family: serif;
    opacity: 0.7;
}

/* Care Section */
#care {
    background-color: var(--white);
}

.care-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.care-icon {
    min-width: 50px;
    margin-right: 20px;
}

.warning-box {
    background-color: rgba(255, 158, 90, 0.1);
    border-left: 4px solid var(--warm-orange);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

/* Fun Facts Section */
#fun-facts {
    background-color: var(--mint-pastel);
}

.fact-card {
    perspective: 1000px;
    height: 250px;
    margin-bottom: 30px;
}

.fact-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.fact-card:hover .fact-card-inner {
    transform: rotateY(180deg);
}

.fact-card-front, .fact-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.fact-card-front {
    background-color: var(--white);
}

.fact-card-back {
    background-color: var(--lavender-pastel);
    transform: rotateY(180deg);
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 10px;
}

.footer-title {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 15px;
    display: block;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--warm-orange);
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--warm-orange);
    transform: translateY(-3px);
}

.newsletter-form {
    position: relative;
    margin-top: 20px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 100px 12px 20px;
    border-radius: 50px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    border-radius: 50px;
    padding: 7px 20px;
    background-color: var(--warm-orange);
    border: none;
    color: var(--white);
    font-weight: 600;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--loading-bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--loading-fade-duration) ease;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid var(--loader-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 20px;
    color: var(--loading-text-color);
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Map */
#mapContainer {
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 2;
}

/* Quiz styling */
#catQuiz {
    background-color: var(--white);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

#quizResult {
    display: none;
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: var(--lavender-pastel);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-img {
        width: 35%;
        right: 0;
    }
    
    section {
        padding: 70px 0;
    }
}

@media (max-width: 767px) {
    .hero-content {
        text-align: center;
        padding: 140px 0 80px;
    }
    
    .hero-img {
        position: relative;
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
        right: auto;
        display: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cat-card, .fact-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 570px) {
    .hero-content {
        text-align: center;
        padding:15px;
    }
    
    .hero-img {
        position: relative;
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
        right: auto;
        display: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cat-card, .fact-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 992px) {
    #mainNav .navbar-collapse {
        background-color: #ffffff;
opacity: 0.8;
background-image: radial-gradient(#ffbdd6 0.5px, #ffffff 0.5px);
background-size: 10px 10px;
    }
  }