/* United Taxes Landing Page Styles */
:root {
    --primary-color: #135057;
    --secondary-color: #fec719;
    --accent-color: #0d3b40;
    --text-color: #333333;
    --light-bg: #F3F4F6;
    --white: #FFFFFF;
    --transition-speed: 0.3s;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(19, 80, 87, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(19, 80, 87, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e5b217 100%);
    color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(254, 199, 25, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(254, 199, 25, 0.4);
}

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

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

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 40px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.logo i {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links>a,
.nav-links>.nav-item-dropdown>.dropdown-trigger {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
    padding: 8px 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links>a:hover::after {
    width: 100%;
}

.nav-links>a:hover,
.nav-links>.nav-item-dropdown:hover>.dropdown-trigger {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-trigger i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 480px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-column {
    display: flex;
    flex-direction: column;
}

.dropdown-header {
    padding: 0 0 12px 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid var(--secondary-color);
    margin-bottom: 12px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    margin: 2px 0;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    border-radius: 6px;
}

.dropdown-menu a:hover {
    color: var(--primary-color);
    background: var(--light-bg);
    padding-left: 16px;
}

/* Dropdown arrow indicator */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--white);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.mobile-menu-btn:hover {
    background-color: var(--light-bg);
}

/* Mobile Menu */
/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    overflow-y: auto;
    /* Allow scrolling */
    transition: max-height 0.3s ease, padding 0.3s ease;
    z-index: 1000;
}

.mobile-menu.active {
    max-height: 80vh;
    /* Limit height to viewport height */
    padding: 20px;
    border-bottom: 2px solid var(--primary-color);
}

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Remove gap, use padding on links */
    margin-bottom: 20px;
    width: 100%;
}

.mobile-menu .nav-links>a,
.mobile-menu .nav-item-dropdown .dropdown-trigger {
    width: 100%;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
    display: flex;
    /* Ensure flex for dropdown trigger */
    justify-content: space-between;
    align-items: center;
}

.mobile-menu .nav-links>a:hover,
.mobile-menu .nav-item-dropdown .dropdown-trigger:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.mobile-menu .nav-links>a::after {
    display: none;
    /* Remove underline effect on mobile */
}

.mobile-menu .nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding-top: 10px;
}

.mobile-menu .btn {
    width: 100%;
    justify-content: center;
    display: flex;
}

/* Mobile Dropdown Handling */
.mobile-menu .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    display: flex;
}

.mobile-menu .dropdown-trigger {
    position: relative;
}

.mobile-menu .dropdown-trigger i {
    transition: transform 0.3s ease;
}

/* Rotate arrow when active */
.mobile-menu .nav-item-dropdown.active .dropdown-trigger i {
    transform: rotate(180deg);
}

.mobile-menu .dropdown-menu {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    padding: 0;
    margin: 0;
    min-width: 100% !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%) !important;
    grid-template-columns: 1fr !important;
    gap: 0;
    display: flex !important;
    flex-direction: column;
    border-left: 3px solid var(--secondary-color);
    border-radius: 0 !important;
}

/* When active, expand */
.mobile-menu .nav-item-dropdown.active .dropdown-menu {
    max-height: 600px !important;
    /* Enough to show all content */
    padding: 10px 0;
}

.mobile-menu .dropdown-column {
    display: flex;
    flex-direction: column;
}

.mobile-menu .dropdown-header {
    padding: 12px 20px 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    border-bottom: none;
    background: transparent;
}

.mobile-menu .dropdown-menu a {
    padding: 12px 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: #555;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.mobile-menu .dropdown-menu a:hover {
    background-color: rgba(19, 80, 87, 0.08);
    color: var(--primary-color);
    padding-left: 35px;
}

.mobile-menu .dropdown-menu a:last-child {
    border-bottom: none;
}

.mobile-menu .dropdown-menu::before {
    display: none;
    /* Remove arrow */
}

/* ==================== HERO SECTION - PREMIUM DESIGN ==================== */
.hero {
    min-height: 90vh;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafa 0%, #e8f4f5 50%, #fff5d6 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Decorative Elements */
.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(254, 199, 25, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(19, 80, 87, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite 2s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e5b217 100%);
    color: var(--accent-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.15;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.hero-title span {
    color: var(--secondary-color);
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 35px;
    max-width: 500px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.hero-image {
    flex: 1;
    position: relative;
    animation: fadeInRight 0.8s ease 0.4s backwards;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(19, 80, 87, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* Floating Elements */
.hero-float-card {
    position: absolute;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.hero-float-card.reviews {
    bottom: -20px;
    left: -30px;
}

.hero-float-card.trust {
    top: -20px;
    right: -30px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-float-card i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.hero-float-card .rating {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-float-card .rating-text {
    font-size: 0.8rem;
    color: #666;
}

.google-reviews {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: fit-content;
    animation: fadeInUp 0.6s ease 0.5s backwards;
}

.google-reviews img {
    height: 24px;
}

.google-reviews .stars {
    color: #fbbc05;
    font-size: 1.1rem;
}

.google-reviews .review-text {
    font-size: 0.9rem;
    color: #666;
}

.google-reviews .rating-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animation Targets */
.animate-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-target.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
/* About Section */
.about {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
    z-index: 1;
}

.about-img-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(19, 80, 87, 0.15);
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: var(--white);
    padding: 25px 35px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: 5px solid var(--secondary-color);
    animation: float 4s ease-in-out infinite;
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    gap: 15px;
}

.section-tag::before {
    content: '';
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 5px;
}

.lead-text {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
    font-weight: 400;
}

.feature-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
}

.feature-item .feature-icon {
    width: 65px;
    height: 65px;
    background: rgba(19, 80, 87, 0.06);
    color: var(--primary-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(19, 80, 87, 0.2);
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Global Section Title */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
}

.section-title span {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-image {
        margin: 0 40px;
    }

    .experience-badge {
        left: -20px;
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .about-image {
        margin: 0;
    }

    .experience-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -30px;
        width: 80%;
    }

    /* Override animation for mobile centered badge */
    @keyframes float-mobile {

        0%,
        100% {
            transform: translateX(-50%) translateY(0);
        }

        50% {
            transform: translateX(-50%) translateY(-10px);
        }
    }

    .experience-badge {
        animation-name: float-mobile;
    }
}

/* Why Us */
.why-us {
    background-color: var(--light-bg);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--secondary-color);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-title i {
    color: var(--secondary-color);
}

/* Services */
.services {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-item {
    padding: 30px;
    border: 2px solid #eee;
    border-radius: 15px;
    transition: all var(--transition-speed);
    background: var(--white);
}

.service-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(19, 80, 87, 0.1);
}

.service-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Features List */
.features-list {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 100px 0;
}

.features-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.feature-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s;
}

.feature-list-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    background: var(--secondary-color);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* How It Works */
.how-it-works {
    padding: 100px 0;
    text-align: center;
    background: var(--white);
    position: relative;
}

.how-it-works .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Connecting Line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    height: 3px;
    background: #eee;
    z-index: 0;
}

.step-card {
    flex: 1;
    position: relative;
    z-index: 1;
    padding: 0 15px;
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-icon-wrapper {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    border: 3px solid var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.step-card:hover .step-icon-wrapper {
    border-color: var(--secondary-color);
    background: var(--primary-color);
}

.step-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: color 0.3s;
}

.step-card:hover .step-icon-wrapper i {
    color: var(--white);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.step-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.step-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .process-steps::before {
        display: none;
    }

    .step-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }

    .step-icon-wrapper {
        margin: 0;
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .step-icon-wrapper i {
        font-size: 2rem;
    }
}

/* FAQ */
.faq {
    background-color: var(--light-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(19, 80, 87, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.faq-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.faq-illustration {
    flex: 1;
    position: sticky;
    top: 100px;
}

.faq-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.faq-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.faq-image-wrapper:hover img {
    transform: scale(1.03);
}

.faq-contact-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-contact-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-contact-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.contact-action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.contact-action-btn.phone {
    background: rgba(19, 80, 87, 0.1);
    color: var(--primary-color);
}

.contact-action-btn.email {
    background: rgba(254, 199, 25, 0.15);
    color: #bfa300;
}

.contact-action-btn:hover {
    transform: translateY(-3px);
}

.contact-action-btn.phone:hover {
    background: var(--primary-color);
    color: var(--white);
}

.contact-action-btn.email:hover {
    background: var(--secondary-color);
    color: var(--accent-color);
}

.faq-content-area {
    flex: 1.5;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.accordion-item.active {
    border-color: rgba(19, 80, 87, 0.1);
    box-shadow: 0 10px 30px rgba(19, 80, 87, 0.08);
}

.accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.05rem;
    position: relative;
    background: transparent;
}

.accordion-header .toggle-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.accordion-item.active .accordion-header .toggle-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotate(180deg);
}

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

.accordion-content {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    padding: 0 25px 25px;
    max-height: 500px;
    opacity: 1;
}

.accordion-content p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}


/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 4rem;
    color: var(--light-bg);
    font-family: serif;
    line-height: 1;
}

.client-info {
    margin-top: 25px;
    font-weight: 600;
    color: var(--primary-color);
}

.client-location {
    font-size: 0.9rem;
    color: #666;
    font-weight: 400;
}

/* Footer */
/* ==================== SERVICE PAGES ==================== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a2a2e 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.service-content {
    padding: 60px 0;
    background: var(--light-bg);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-main {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-main h2,
.service-main h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.service-main p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li i {
    color: var(--secondary-color);
}

.alert-box {
    background: #e8f4f5;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 5px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 30px;
}

.alert-box i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.sidebar-widget h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 10px;
}

.sidebar-widget.contact-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    text-align: center;
    padding: 30px;
}

.sidebar-widget.contact-widget h4 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    font-size: 1.3rem;
}

.sidebar-widget.contact-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.sidebar-widget.contact-widget .btn {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-widget.contact-widget .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: var(--secondary-color);
    color: var(--accent-color);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-menu li:last-child {
    border-bottom: none;
}

.sidebar-menu a {
    display: block;
    padding: 12px 15px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: var(--light-bg);
    color: var(--primary-color);
    border-left-color: var(--secondary-color);
    padding-left: 20px;
}

.full-width {
    width: 100%;
}

@media (max-width: 900px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        order: -1;
        /* Show sidebar on top on mobile? Or bottom. Let's keep it default (bottom) for content focus, or -1 for nav focus. */
    }
}

/* ==================== FOOTER ==================== */
.footer {
    background: #0d3b40;
    /* Deep Teal Brand Color */
    padding: 80px 0 30px;
    color: var(--white);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    /* Golden Yellow */
    border-radius: 2px;
}

.footer-col p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '\f054';
    /* FontAwesome chevron right */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.7rem;
    margin-right: 10px;
    color: var(--secondary-color);
    opacity: 0;
    transition: all 0.3s;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--secondary-color);
    color: #0d3b40;
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 4px;
}

.footer-contact-item div {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-contact-item a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 15px;
    transition: color 0.3s;
}

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

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-bottom a {
        margin: 0 10px;
    }
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-float-card {
        display: none;
    }

    .google-reviews {
        margin: 0 auto;
    }

    .about-content {
        flex-direction: column;
    }

    .nav-links,
    .nav-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ==================== ADDITIONAL STYLES ==================== */

/* Hero CTA Group */
.hero-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-cta-group .btn i {
    margin-right: 8px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(19, 80, 87, 0.1);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

.trust-badge i {
    color: var(--secondary-color);
}

/* Hero Trust Elements */
.hero-trust-elements {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #555;
}

.trust-item i {
    color: var(--secondary-color);
}

/* Hero Image Overlay */
.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-image-overlay i {
    position: absolute;
    font-size: 2.5rem;
    color: var(--secondary-color);
    opacity: 0.8;
    animation: floatIcon 3s ease-in-out infinite;
}

.hero-icon-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-icon-2 {
    bottom: 20%;
    left: 5%;
    animation-delay: 1s;
}

.hero-icon-3 {
    top: 50%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

/* Services Header */
.services-header {
    text-align: center;
    margin-bottom: 20px;
}

/* Service Icon */
.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 15px;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 12px;
    color: var(--secondary-color);
}

/* Features List Header */
.features-list-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-list-header h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin: 10px 0;
}

/* FAQ Header & Search */
.faq-header {
    text-align: center;
    margin-bottom: 30px;
}

.faq-search {
    max-width: 500px;
    margin: 0 auto 30px;
    position: relative;
}

.faq-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.faq-search input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #eee;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.faq-search input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Testimonials */
.testimonials-header {
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-carousel {
    position: relative;
    max-width: 100%;
}

.testimonial-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    /* Changed to auto to allow natural scrolling */
    scroll-behavior: smooth;
    padding: 10px 5px 20px;
    /* Add padding for shadow clipping */
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    /* Enable Snapping */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.testimonial-grid::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.testimonial-grid {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.testimonial-card {
    flex: 0 0 320px;
    /* Fixed width for carousel items */
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border-left: 4px solid var(--secondary-color);
    margin-bottom: 0;
    /* Override any previous margin */
    scroll-snap-align: start;
    /* Snap to start of card */
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 4rem;
    color: var(--light-bg);
    font-family: serif;
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
}

.client-details {
    display: flex;
    flex-direction: column;
}

.client-location {
    font-size: 0.85rem;
    color: #666;
    font-weight: 400;
}

.client-location i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s;
}

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

/* Footer styles moved to main block */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(19, 80, 87, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(19, 80, 87, 0.4);
}

/* Button Pulse Animation */
.btn-pulse {
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(19, 80, 87, 0.3);
    }

    50% {
        box-shadow: 0 4px 25px rgba(19, 80, 87, 0.5), 0 0 30px rgba(254, 199, 25, 0.3);
    }
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scale In Animation */
.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Mobile responsive additions */
@media (max-width: 768px) {
    .hero-cta-group {
        justify-content: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .hero-trust-elements {
        justify-content: center;
    }

    .hero-image-overlay {
        display: none;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Floating CTA Buttons */
.floating-cta-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Positioned on left to avoid Back to Top button */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 12px 20px;
    border-radius: 50px;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.floating-btn i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #fff !important;
}

.pay-now-btn {
    background: linear-gradient(135deg, #6772e5 0%, #5469d4 100%);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

/* Mobile Responsiveness for Floating Buttons */
@media (max-width: 768px) {
    .floating-cta-container {
        bottom: 20px;
        left: 20px;
        right: auto;
        flex-direction: column;
        /* Keep vertical on mobile to save width, or stack above BTT */
        align-items: flex-start;
    }

    .floating-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* FAQ Mobile Optimization */
@media (max-width: 992px) {
    .faq-container {
        flex-direction: column;
        gap: 40px;
    }

    .faq-illustration {
        width: 100%;
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }

    .faq-content-area {
        width: 100%;
    }

    .faq-image-wrapper {
        display: none;
        /* Optional: hide large illustration on mobile to save space, or keep it */
    }

    /* Make the contact card stand out more on mobile if illustration is hidden */
    .faq-image-wrapper+.faq-contact-card {
        margin-top: 0;
    }
}

@media (min-width: 992px) {

    /* Ensure illustration is visible on desktop */
    .faq-image-wrapper {
        display: block;
    }
}