/* === SERVICES PAGE STYLES === */

/* Hero Section */
.hero {
    background-color: var(--bg-color);
    padding: 2rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-light) 0%, rgba(59, 162, 246, 0.1) 70%);
    z-index: 0;
    opacity: 0.6;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-subheading {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-tertiary {
    background-color: transparent;
    color: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-tertiary:hover {
    background-color: rgba(1, 112, 185, 0.1);
}

.hero-visual {
    position: relative;
    margin: 0;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

/* Dark Mode Styles */
body.dark-mode .hero {
    background-color: var(--dm-sidebar);
}

body.dark-mode .hero::before {
    background: radial-gradient(circle, var(--dm-primary) 0%, rgba(3, 164, 228, 0.1) 70%);
    opacity: 0.3;
}

body.dark-mode .hero-header h1,
body.dark-mode .hero-subheading {
    color: var(--dm-text);
}

body.dark-mode .hero-description {
    color: var(--dm-gray);
}

body.dark-mode .btn-tertiary {
    color: var(--dm-primary);
}

body.dark-mode .btn-tertiary:hover {
    background-color: rgba(3, 164, 228, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2rem;
    }

    .hero-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-visual {
        order: 1;
        max-width: 80%;
        margin: 0 auto;
    }

    .hero-header h1 {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0 3rem;
    }

    .hero-container {
        padding: 0 1.5rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-visual {
        max-width: 100%;
    }
}

/* Trusted Badges Section */
.trusted-section {
    padding: 2.5rem 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

body.dark-mode .trusted-section {
    background: var(--dm-sidebar);
}

.trusted-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.trusted-heading {
    font-size: clamp(1.5rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

body.dark-mode .trusted-heading {
    color: var(--dm-text);
}

.trusted-subheading {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

body.dark-mode .trusted-subheading {
    color: var(--dm-gray);
}

.trusted-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 0 auto 1.5rem;
    max-width: 100%;
}

.trusted-badge {
    background: var(--bg);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

body.dark-mode .trusted-badge {
    background: var(--dm-card);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.trusted-badge:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(1, 112, 185, 0.2);
    border-color: var(--primary);
}

body.dark-mode .trusted-badge:hover {
    border-color: var(--dm-primary);
    box-shadow: 0 6px 20px rgba(3, 164, 228, 0.25);
}

.badge-logo {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.badge-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
    transition: transform 0.2s ease;
}

.trusted-badge:hover .badge-logo img {
    transform: scale(1.08);
}

.badge-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.badge-rating {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1;
}

body.dark-mode .badge-rating {
    color: var(--dm-primary);
}

.stars {
    color: var(--secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
    line-height: 1;
}

.stars .half {
    position: relative;
    display: inline-block;
}

.stars .half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--secondary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .trusted-section {
        padding: 1.5rem 0;
    }

    .trusted-badges {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 0.75rem;
    }

    .trusted-badge {
        padding: 1rem;
    }

    .badge-logo {
        height: 36px;
    }

    .badge-rating {
        font-size: 1rem;
    }

    .stars {
        font-size: 0.85rem;
    }

    .trusted-subheading {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .trusted-container {
        padding: 0 0.75rem;
    }

    .trusted-heading {
        font-size: clamp(1.25rem, 2vw, 1.5rem);
    }

    .trusted-subheading {
        font-size: clamp(0.8rem, 1.5vw, 0.85rem);
        max-width: 90%;
    }

    .trusted-badges {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 0.5rem;
    }

    .trusted-badge {
        padding: 0.75rem;
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .badge-logo {
        height: 32px;
    }

    .badge-info {
        align-items: center;
    }

    .trusted-cta {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

/* Featured Services Section */
.featured-services {
    padding: 4rem 0;
    background-color: var(--bg-soft);
}

body.dark-mode .featured-services {
    background-color: var(--dm-card);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.section-header .subtitle {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.6;
}

body.dark-mode .section-header h2 {
    color: var(--dm-text);
}

body.dark-mode .section-header .subtitle {
    color: var(--dm-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background: var(--bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.featured-service {
    grid-column: span 1;
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-content p {
    margin-bottom: 1.5rem;
    color: var(--gray);
    flex-grow: 1;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-weight: 700;
    color: var(--primary);
}

/* Dark Mode Styles */
body.dark-mode .service-card {
    background-color: var(--dm-card);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.dark-mode .service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

body.dark-mode .service-content h3 {
    color: var(--dm-primary);
}

body.dark-mode .service-content p {
    color: var(--dm-gray);
}

body.dark-mode .price {
    color: var(--dm-primary);
}

/* All Services Section */
.all-services {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

body.dark-mode .all-services {
    background-color: var(--dm-sidebar);
}

.all-services .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: var(--icon-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .services-grid {
        gap: 1.5rem;
    }

    .featured-service {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {

    .featured-services,
    .all-services {
        padding: 3rem 0;
    }

    .featured-service {
        grid-column: span 1;
    }

    .service-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .featured-services,
    .all-services {
        padding: 2rem 0;
    }

    .service-content {
        padding: 1.25rem;
    }

    .service-content h3 {
        font-size: 1.3rem;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    position: relative;
    padding: 3rem 0;
    background-color: var(--bg-lavender);
    overflow: hidden;
}

/* Background image with lazy loading */
.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/background/services-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
    transition: opacity 0.5s ease;
}

/* Dark mode background image */
body.dark-mode .why-choose-us {
    background-color: var(--dm-bg);
}

body.dark-mode .why-choose-us::before {
    opacity: 0.2;
}

.why-choose-us>.container {
    position: relative;
    z-index: 1;
}

.why-choose-us .section-header h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
}

.feature-card {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: var(--primary);
    margin: 0 0.75rem;
}

.icon-decorator {
    display: inline-block;
    height: 1px;
    width: 30px;
    background: var(--border);
    position: relative;
}

.icon-decorator.left::before,
.icon-decorator.right::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    top: -2.5px;
}

.icon-decorator.left::before {
    left: -3px;
}

.icon-decorator.right::before {
    right: -3px;
}

.feature-card h3 {
    color: var(--dark);
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* Dark Mode Styles */
body.dark-mode .feature-card {
    background-color: var(--dm-card);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

body.dark-mode .feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.dark-mode .feature-card h3 {
    color: var(--dm-text);
}

body.dark-mode .feature-icon i {
    color: var(--dm-primary);
}

body.dark-mode .icon-decorator,
body.dark-mode .icon-decorator::before {
    background: var(--dm-border);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .why-choose-us {
        padding: 2rem 0;
    }

    .why-choose-us::before {
        background-position: 60% center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }
}

/* Stats Section - Enhanced */
.stats-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-soft);
}

body.dark-mode .stats-section {
    background-color: var(--dm-card);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

body.dark-mode .section-header h2 {
    color: var(--dm-text);
}

body.dark-mode .section-header h2::after {
    background: var(--dm-primary);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

body.dark-mode .subtitle {
    color: var(--dm-gray);
}

.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    background: var(--bg);
    padding: 2rem 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(1, 112, 185, 0.2);
    border-color: var(--primary);
}

.stat-item:hover::before {
    opacity: 0.1;
}

body.dark-mode .stat-item {
    background: var(--dm-card);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body.dark-mode .stat-item:hover {
    border-color: var(--dm-primary);
    box-shadow: 0 15px 30px rgba(3, 164, 228, 0.25);
}

body.dark-mode .stat-item::before {
    background: linear-gradient(135deg, var(--dm-primary), #00c6ff);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.75rem;
    font-family: 'Cabin Condensed', sans-serif;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-number {
    color: var(--primary-dark);
}

body.dark-mode .stat-number {
    color: var(--dm-primary);
}

body.dark-mode .stat-item:hover .stat-number {
    color: #00b4ff;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
    color: var(--dark);
}

body.dark-mode .stat-label {
    color: var(--dm-gray);
}

body.dark-mode .stat-item:hover .stat-label {
    color: var(--dm-text);
}

.stars {
    color: var(--secondary);
    letter-spacing: 2px;
    font-size: 1.1rem;
    display: inline-block;
    position: relative;
}

.stars::before {
    content: '★★★★★';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    overflow: hidden;
    color: rgba(245, 158, 11, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .stats-grid {
        gap: 1rem;
    }

    .stat-item {
        min-width: 160px;
        padding: 1.75rem 0.75rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 4rem 0;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        max-width: 600px;
    }

    .stat-item {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: 4rem 0;
    background-image: url('../assets/background/testimonials-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 100;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.testimonials-viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 2rem auto;
}

.testimonials-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1rem);
    background: var(--bg);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

.testimonial-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    color: var(--text);
}

.testimonial-subject {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-content p {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.testimonial-rating {
    color: var(--secondary);
    font-size: 0.9rem;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.testimonial-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-prev {
    left: 10px;
}

.testimonial-next {
    right: 10px;
}

/* Dark Mode Styles */
body.dark-mode .testimonials-section {
    background-color: var(--dm-card);
}

body.dark-mode .testimonial-card {
    background-color: var(--dm-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

body.dark-mode .testimonial-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

body.dark-mode .testimonial-name {
    color: var(--dm-text);
}

body.dark-mode .testimonial-content p {
    color: var(--dm-text);
}

body.dark-mode .testimonial-subject {
    color: var(--dm-gray);
}

body.dark-mode .testimonial-img {
    border-color: var(--dm-primary);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .testimonial-nav {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 2.5rem 0;
    }

    .testimonials-track {
        gap: 1rem;
    }

    .testimonial-card {
        padding: 1.25rem;
    }
}

/* FAQ Section */
.faq-section {
    position: relative;
    padding: 4rem 0;
    background-color: var(--bg);
    /* Fallback */
}

.faq-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/background/faq.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.faq-section>.container {
    position: relative;
    z-index: 1;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.25rem;
    background: var(--bg);
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer[aria-hidden="false"] {
    padding: 0 1.25rem 1.25rem;
    max-height: 500px;
}

.faq-answer p {
    margin-top: 1rem;
    color: var(--text);
}

.faq-answer ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

/* Dark Mode Styles */
body.dark-mode .faq-section {
    background-color: var(--dm-sidebar);
}

body.dark-mode .faq-overlay {
    opacity: 0.05;
}

body.dark-mode .faq-question {
    background-color: var(--dm-card);
    color: var(--dm-text);
}

body.dark-mode .faq-question:hover {
    color: var(--dm-primary);
}

body.dark-mode .faq-answer p {
    color: var(--dm-text);
}

/* Responsive Styles */
@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .faq-section {
        padding: 3rem 0;
    }

    .faq-question {
        padding: 1rem;
    }
}

/* CTA Banner */
.banner {
    background-color: var(--bg-color);
    padding: 0rem 0 0rem;
    position: relative;
    overflow: hidden;
}

.cta-banner {
    position: relative;
    background-color: var(--primary);
    background-image: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    animation: fadeIn 0.5s ease-out;
}

.exclusive-badge {
    position: absolute;
    top: 20px;
    left: -30px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--secondary) 0%, #e67e22 100%);
    color: var(--dark);
    padding: 0.4rem 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.exclusive-badge i {
    font-size: 0.9rem;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.cta-text {
    flex: 1;
    margin-left: 50px;
}

.cta-text h2 {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
}

.cta-text p.text-light {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.countdown-container {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 0.6rem;
    min-width: 65px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    display: block;
    line-height: 1;
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--text-light);
    opacity: 0.8;
    text-transform: uppercase;
}

.discount-text {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 1rem;
}

.discount-text strong {
    color: var(--secondary);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 200px;
}

/* Dark Mode Styles */
body.dark-mode .cta-banner {
    background-image: linear-gradient(135deg, var(--dm-primary) 0%, #0e4a8a 100%);
}

body.dark-mode .banner {
    background-color: var(--dm-bg);
}


body.dark-mode .exclusive-badge {
    color: var(--dark);
}

body.dark-mode .countdown-box {
    background: rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .countdown-container {
        justify-content: center;
    }

    .cta-actions {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .exclusive-badge {
        left: -35px;
        font-size: 0.75rem;
        padding: 0.3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .cta-banner {
        padding: 1.5rem;
    }

    .cta-text h2 {
        font-size: 1.5rem;
    }

    .countdown-box {
        min-width: 55px;
        padding: 0.5rem;
    }

    .countdown-value {
        font-size: 1.25rem;
    }
}

/* Content Section */
.content-section {
    padding: 4rem 0;
    background-image: url('../assets/background/services-content-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

body.dark-mode .content-section::before {
    background-color: rgba(10, 25, 47, 0.9);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    margin: 0 auto;
    border-radius: 2px;
}

.intro-content {
    background-color: var(--bg);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-text {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 1.5rem;
}

.see-more-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem auto 0;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.see-more-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.see-more-btn:focus {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

.see-more-icon {
    transition: transform 0.3s ease;
}

.see-more-btn[aria-expanded="true"] .see-more-icon {
    transform: rotate(180deg);
}

.see-more-btn[aria-expanded="true"] .see-more-text::after {
    content: ' Less';
}

/* Dark Mode Styles */
body.dark-mode .intro-content {
    background-color: var(--dm-card);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .intro-text {
    color: var(--dm-text);
}

body.dark-mode .see-more-btn {
    background-color: var(--dm-primary);
}

body.dark-mode .see-more-btn:hover {
    background-color: var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .intro-content {
        padding: 2rem;
    }

    .intro-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .intro-content {
        padding: 1.5rem;
    }

    .see-more-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes btn-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(3, 164, 228, 0.4);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(3, 164, 228, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(3, 164, 228, 0);
    }
}

/* Accessibility Focus Styles */
.btn:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

body.dark-mode .btn:focus-visible,
body.dark-mode a:focus-visible {
    outline-color: var(--dm-primary);
}

/* Visually hidden utility for screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}