/* ===========================
   General Body & Typography
=========================== */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
    background-color: #f9f9f9;
}

h2, h3, h4, h5, h6 {
    color: #212529;
    margin-bottom: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

/* ===========================
   Buttons
=========================== */
.btn-success {
    background-color: #28a745;
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-success:hover, .btn-cta:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.btn-cta {
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
}

/* ===========================
   Navbar
=========================== */
.navbar-light .navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    position: relative;
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #28a745;
    transition: width 0.3s;
}

.navbar-light .navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ===========================
   Hero Carousel & Parallax
=========================== */
.carousel-item {
    height: 70vh;
    min-height: 400px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

.parallax {
    background-attachment: fixed;
}

.carousel-caption {
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 10px;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    animation: fadeInUp 1s ease forwards;
}

.carousel-caption p {
    font-size: 1.2rem;
    animation: fadeInUp 1.2s ease forwards;
}

.carousel-caption a {
    animation: fadeInUp 1.4s ease forwards;
}

/* ===========================
   Cards Hover
=========================== */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* ===========================
   Testimonials
=========================== */
.testimonials .carousel-item img {
    border: 5px solid #fff;
    transition: transform 0.3s;
}

.testimonials .carousel-item img:hover {
    transform: scale(1.05);
}

/* ===========================
   App Download Section
=========================== */
.app-download img {
    transition: transform 0.3s;
}

.app-download img:hover {
    transform: scale(1.05);
}

/* ===========================
   Footer
=========================== */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: #1db954;
}

footer h5, footer h6 {
    color: #212529;
}

/* ===========================
   Animations
=========================== */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Back to Top Button
=========================== */
#backToTop {
    background-color: #28a745;
    color: #fff;
    cursor: pointer;
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

#backToTop:hover {
    background-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* ===========================
   Responsive Adjustments
=========================== */
@media (max-width: 767px) {
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .btn-cta {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}
/* Footer Links & Social Icons Hover */
.footer-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
    color: #1db954;
    transform: translateY(-2px);
}

.footer-icon {
    color: #fff;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-icon:hover {
    color: #1db954;
    transform: scale(1.2);
}

.footer-app img {
    transition: transform 0.3s ease;
}

.footer-app img:hover {
    transform: scale(1.05);
}
/* ===========================
   Footer Animation
=========================== */
footer {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

footer.active {
    opacity: 1;
    transform: translateY(0);
}

/* Testimonials Fade-In */
.testimonial-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateY(0);
}
/* Glassy card style with visible text */
.glass-card {
    background: rgba(255, 255, 255, 0.12); /* semi transparent */
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    color: #fff; /* white text */
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

/* Make headings stand out more */
.glass-card h5 {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Paragraph readability */
.glass-card p {
    color: #f1f1f1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Fade-in when active */
.carousel-item.active .glass-card {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effect */
.glass-card:hover {
    transform: translateY(-5px) scale(1.03);
}
/* ===========================
   Services Section Text Styling
=========================== */
/* Force white text in App Download section */
#app-download,
#app-download h2,
#app-download p {
    color: #ffffff !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6); /* readability boost */
}