/* Thrive Fitness Health - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #2ECC71;
    --primary-dark: #27AE60;
    --secondary: #3498DB;
    --accent: #E74C3C;
    --dark: #1A2940;
    --gray-100: #F8FAFB;
    --gray-200: #EEF2F5;
    --gray-300: #D5DDE5;
    --gray-500: #8795A1;
    --gray-700: #4A5568;
    --white: #FFFFFF;
    --gradient-primary: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
    --gradient-hero: linear-gradient(135deg, #1A2940 0%, #2C3E50 60%, #2ECC71 130%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--gray-700);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 90px 0;
    position: relative;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.45);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    padding: 15px 0;
    transition: all 0.4s ease;
    background: #fff;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.navbar-brand {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand img{
    width: 240px;
}

.navbar-brand i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 8px 18px !important;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.navbar:not(.scrolled) .nav-link {
    color: rgba(5, 5, 5, 0.9) !important;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary) !important;
    background: rgba(46, 204, 113, 0.1);
}

.navbar:not(.scrolled) .nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: #1A2940;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(46,204,113,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 40%;
    height: 50%;
    background: radial-gradient(circle, rgba(52,152,219,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46,204,113,0.2);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 24px;
    border: 1px solid rgba(46,204,113,0.3);
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 35px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    background: var(--white);
    padding: 18px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: float 4s ease-in-out infinite;
}

.hero-floating-card.card-1 {
    bottom: 30px;
    left: -30px;
}

.hero-floating-card.card-2 {
    top: 40px;
    right: -20px;
    animation-delay: -2s;
}

.hero-floating-card .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.hero-floating-card h6 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.hero-floating-card p {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Page Header */
.page-header {
    background: var(--gradient-hero);
    padding: 160px 0 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 50%;
    height: 140%;
    background: radial-gradient(circle, rgba(46,204,113,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    justify-content: center;
    background: transparent;
    position: relative;
    z-index: 2;
}

.breadcrumb-item, .breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary);
}

/* Section Titles */
.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--gray-500);
    font-size: 1.05rem;
    max-width: 600px;
}

.text-center .section-desc {
    margin: 0 auto;
}

/* Cards */
.card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    overflow: hidden;
    background: var(--white);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Services */
.service-card {
    height: 100%;
    text-align: center;
    padding: 0;
}

.service-card .service-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-card .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-card .service-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--white), transparent);
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin: -35px auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 25px rgba(46,204,113,0.3);
}

.service-card .card-body {
    padding: 0 25px 30px;
}

.service-card h5 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-500);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

/* Why Choose Us */
.why-choose {
    background: var(--gray-100);
}

.feature-box {
    padding: 35px 28px;
    background: var(--white);
    border-radius: var(--radius);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-box:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(46,204,113,0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 22px;
    transition: all 0.4s ease;
}

.feature-box:hover .feature-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotate(-5deg) scale(1.05);
}

.feature-box h5 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--gray-500);
    font-size: 0.93rem;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.about-experience-badge .label {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 5px;
    display: block;
}

.about-checklist {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

.about-checklist li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--dark);
}

.about-checklist li i {
    width: 28px;
    height: 28px;
    background: rgba(46,204,113,0.15);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Testimonials */
.testimonials {
    background: var(--gray-100);
}

.testimonial-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius);
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card .quote-icon {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
}

.testimonial-card p {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h6 {
    margin-bottom: 2px;
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.testimonial-rating {
    color: #F59E0B;
    margin-top: 5px;
}

/* Blog */
.blog-card {
    height: 100%;
}

.blog-card .blog-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card .card-body {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card h5 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card h5 a {
    color: var(--dark);
}

.blog-card h5 a:hover {
    color: var(--primary);
}

.blog-card p {
    color: var(--gray-500);
    font-size: 0.93rem;
    margin-bottom: 18px;
}

.blog-card .read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card .read-more:hover {
    gap: 12px;
}

/* FAQ */
.faq-section {
    background: var(--gray-100);
}

.accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: var(--radius) !important;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--white);
}

.accordion-button {
    padding: 22px 28px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    background: var(--white);
    border: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-button::after {
    background-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
}

.accordion-body {
    padding: 0 28px 25px;
    color: var(--gray-500);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer h5 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-brand {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand i {
    color: var(--primary);
}

.footer-about p {
    margin-bottom: 22px;
    font-size: 0.93rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.93rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    gap: 14px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.93rem;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 5px;
    width: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 25px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary);
}

/* Contact Page */
.contact-info-card {
    background: var(--white);
    padding: 35px 28px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: all 0.4s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-info-card .icon-box {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 20px;
}

.contact-info-card h5 {
    margin-bottom: 10px;
    font-size: 1.15rem;
}

.contact-info-card p {
    color: var(--gray-500);
    font-size: 0.93rem;
    margin-bottom: 0;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 45px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-control, .form-select {
    padding: 13px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(46,204,113,0.15);
}

.form-label {
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Blog Page */
.blog-single-card {
    margin-bottom: 40px;
}

.blog-single-card .blog-img {
    height: 350px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 25px;
}

.blog-single-card .blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.sidebar-widget h5 {
    margin-bottom: 20px;
    font-size: 1.15rem;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-200);
}

.widget-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-links li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

.widget-links li:last-child {
    border-bottom: none;
}

.widget-links a {
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.93rem;
}

.widget-links a:hover {
    color: var(--primary);
    gap: 12px;
}

/* Newsletter Subscribe/Unsubscribe */
.newsletter-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 160px 0 80px;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(46,204,113,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
}

.newsletter-icon {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.2rem;
    margin: 0 auto 25px;
}

.newsletter-icon.danger {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

.newsletter-card h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter-card p {
    color: var(--gray-500);
    margin-bottom: 30px;
}

.newsletter-form .form-control {
    padding: 15px 22px;
    font-size: 1rem;
    text-align: center;
}

/* Policy Pages */
.policy-content {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.policy-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.policy-content h3:first-child {
    margin-top: 0;
}

.policy-content p, .policy-content li {
    color: var(--gray-700);
    margin-bottom: 12px;
    line-height: 1.8;
}

.policy-content ul {
    padding-left: 20px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    color: var(--white);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1199px) {
    .hero h1 { font-size: 3rem; }
    .hero-image img { height: 480px; }
}

@media (max-width: 991px) {
    section { padding: 70px 0; }
    .hero { padding-top: 120px; min-height: auto; padding-bottom: 80px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-image { margin-top: 50px; }
    .hero-image img { height: 400px; }
    .about-image-main img { height: 400px; }
    .about-experience-badge { right: 0; }
    .section-title { font-size: 2rem; }
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: var(--radius);
        margin-top: 10px;
        box-shadow: var(--shadow-md);
    }
    .navbar-collapse .nav-link {
        color: var(--dark) !important;
    }
}

@media (max-width: 767px) {
    section { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero-image img { height: 320px; }
    .hero-floating-card { display: none; }
    .section-title { font-size: 1.7rem; }
    .page-header { padding: 130px 0 60px; }
    .page-header h1 { font-size: 2.2rem; }
    .contact-form-wrapper, .policy-content, .newsletter-card { padding: 30px 20px; }
    .about-experience-badge { right: 20px; bottom: 20px; padding: 18px 22px; }
    .about-experience-badge .number { font-size: 1.8rem; }
    .cta-content h2 { font-size: 1.8rem; }
    .blog-single-card .blog-img { height: 250px; }
}

/* Utility classes for image placeholders (generated via gradient backgrounds) */
.img-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.hero-placeholder { background: linear-gradient(135deg, #1A2940 0%, #2ECC71 50%, #3498DB 100%); }
