/* ======= General Styles ======= */
:root {
    --primary: #0F3460;
    --secondary: #16C79A;
    --accent: #E94560;
    --light: #F8F9FA;
    --dark: #1A1A2E;
    --gray: #6c757d;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--dark);
}

html, body {
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

section {
    position: relative;
}

.bg-light-alt {
    background-color: #F0F7FA;
}

/* ======= Custom Cursor ======= */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary);
}

@media (min-width: 1024px) {
    .cursor-dot,
    .cursor-outline {
        opacity: 1;
    }
}

/* ======= Page Transition ======= */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: 9999;
    transform: scaleY(0);
    transform-origin: bottom;
    pointer-events: none;
}

/* ======= Side Navigation ======= */
#side-nav {
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.05);
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    padding: 10px;
    border-radius: 12px;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* ======= Mobile Navigation ======= */
.hamburger {
    padding: 15px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

.hamburger--spin .hamburger-inner {
    transition-duration: 0.22s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin .hamburger-inner::before {
    transition: top 0.1s 0.25s ease-in, opacity 0.1s ease-in;
}

.hamburger--spin .hamburger-inner::after {
    transition: bottom 0.1s 0.25s ease-in, transform 0.22s cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.hamburger--spin.is-active .hamburger-inner {
    transform: rotate(225deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    background-color: #fff;
}

.hamburger--spin.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.1s ease-out, opacity 0.1s 0.12s ease-out;
    background-color: #fff;
}

.hamburger--spin.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.1s ease-out, transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
    background-color: #fff;
}

#mobile-nav {
    padding-top: 70px;
}

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

.mobile-nav-link {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--secondary);
}

.nav-number {
    font-size: 1rem;
    color: var(--secondary);
    margin-right: 1.5rem;
    opacity: 0.7;
}

/* ======= Hero Section ======= */
.hero-section {
    position: relative;
    background-color: var(--light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.pretitle {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--secondary);
    display: inline-block;
    position: relative;
}

.pretitle::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 540px;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(15, 52, 96, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    transition: var(--transition);
    transform: scaleX(0);
    transform-origin: right;
    z-index: -1;
}

.btn-primary:hover {
    box-shadow: 0 15px 25px rgba(22, 199, 154, 0.3);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    transition: var(--transition);
    transform: scaleX(0);
    transform-origin: right;
    z-index: -1;
}

.btn-secondary:hover {
    color: #fff;
}

.btn-secondary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

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

.image-container {
    position: relative;
    overflow: hidden;
}

.image-badge {
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    margin-bottom: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 2px;
    animation: scroll 1.5s ease infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 1px;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* ======= Section Headers ======= */
.section-header {
    margin-bottom: 4rem;
}

.title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

/* ======= Services Section ======= */
.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light);
    background-image: radial-gradient(rgba(22, 199, 154, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    z-index: 0;
}

.service-card {
    perspective: 1000px;
    height: 400px;
    margin-bottom: 30px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.service-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
}

.card-front {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(22, 199, 154, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-description {
    color: var(--gray);
}

.card-back {
    background-color: var(--primary);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    transform: rotateY(180deg);
}

.service-title-back {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.service-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.service-features li i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 0.875rem;
    margin-top: 5px;
}

.btn-tertiary {
    display: block;
    text-align: center;
    background-color: var(--secondary);
    color: var(--primary);
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-tertiary:hover {
    background-color: #fff;
}

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

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

.image-frame img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.experience-badge {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(22, 199, 154, 0.3);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pattern-dots {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(var(--primary) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(22, 199, 154, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--primary);
}

.feature-text p {
    color: var(--gray);
    font-size: 0.875rem;
    margin: 0;
}

.cta-box {
    margin-top: 2rem;
}

.phone-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(15, 52, 96, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-right: 1rem;
    transition: var(--transition);
}

.phone-text {
    display: flex;
    flex-direction: column;
}

.phone-text .font-bold {
    color: var(--primary);
    transition: var(--transition);
}

.phone-text .text-sm {
    color: var(--gray);
    font-size: 0.75rem;
}

a:hover .phone-icon {
    background-color: var(--primary);
    color: #fff;
}

a:hover .phone-text .font-bold {
    color: var(--secondary);
}

/* ======= Process Section ======= */
.process-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 0;
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 0;
    z-index: 1;
}

.progress-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: rgba(15, 52, 96, 0.1);
    transform: translateX(-50%);
}

.progress-line::before,
.progress-line::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
}

.progress-line::before {
    top: 0;
}

.progress-line::after {
    bottom: 0;
}

.process-step {
    position: relative;
    display: flex;
    margin-bottom: 5rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 2rem;
    z-index: 1;
}

.step-content {
    flex: 1;
    max-width: calc(50% - 5rem);
    padding: 2rem;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.step-description {
    color: var(--gray);
    margin: 0;
}

.step-icon {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100px;
    background-color: rgba(22, 199, 154, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--secondary);
}

.process-step:nth-child(odd) .step-icon {
    right: -50px;
}

.process-step:nth-child(even) .step-icon {
    left: -50px;
}

@media (max-width: 991px) {
    .progress-line {
        left: 30px;
    }

    .process-step {
        flex-direction: row !important;
    }

    .step-content {
        max-width: calc(100% - 7rem);
    }

    .step-icon {
        display: none;
    }
}

/* ======= Before/After Section ======= */
.comparison-slider-wrapper {
    margin-bottom: 2rem;
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-image {
    z-index: 1;
    clip-path: polygon(0 0, var(--x, 50%) 0, var(--x, 50%) 100%, 0 100%);
}

.before-image img,
.after-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-label {
    position: absolute;
    top: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.875rem;
}

.before-image .image-label {
    left: 20px;
}

.after-image .image-label {
    right: 20px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: var(--x, 50%);
    width: 4px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
    z-index: 2;
    cursor: ew-resize;
}

.handle-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.benefit-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(22, 199, 154, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--secondary);
}

.benefit-icon i {
    font-size: 1.75rem;
    color: var(--secondary);
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon i {
    color: #fff;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.benefit-description {
    color: var(--gray);
    margin: 0;
}

/* ======= Pricing Section ======= */
.pricing-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-image: linear-gradient(0deg, rgba(22, 199, 154, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 199, 154, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
}

.pricing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
    margin: 0 10px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: var(--transition);
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    transition: var(--transition);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--secondary);
}

input:checked + .slider:before {
    transform: translateX(28px);
}

.pricing-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--secondary);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    z-index: 3;
}

.card-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-right: 5px;
    margin-bottom: 5px;
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.period {
    font-size: 0.875rem;
    color: var(--gray);
    margin-left: 5px;
    margin-bottom: 5px;
}

.plan-description {
    color: var(--gray);
    font-size: 0.875rem;
}

.card-body {
    padding: 2rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.plan-features li i {
    margin-right: 10px;
    color: var(--secondary);
}

.plan-features li.disabled {
    color: #ccc;
}

.plan-features li.disabled i {
    color: #ccc;
}

.card-footer {
    padding: 2rem;
    text-align: center;
}

.btn-pricing {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: #f1f5f9;
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-pricing:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-pricing.featured {
    background-color: var(--secondary);
    color: #fff;
}

.btn-pricing.featured:hover {
    background-color: var(--primary);
}

.custom-quote-section {
    background-color: rgba(15, 52, 96, 0.05);
}

.satisfaction-badge {
    display: flex;
    justify-content: center;
}

.badge-inner {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px dashed var(--secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.percentage {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    line-height: 1.2;
    margin-top: 0.5rem;
}

/* ======= Testimonials Section ======= */
.testimonials-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    z-index: 0;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    margin: 20px;
}

.testimonial-content {
    padding: 2rem;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: rgba(22, 199, 154, 0.1);
}

.testimonial-text {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.rating {
    display: flex;
    margin-bottom: 1rem;
}

.rating i {
    color: #ffc107;
    margin-right: 5px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: var(--primary);
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 3px solid #fff;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    color: #fff;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.testimonial-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* ======= CTA Section ======= */
.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 2rem;
}

.timer-unit {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    min-width: 80px;
    text-align: center;
}

.timer-separator {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0.5rem;
    color: #fff;
}

.timer-value {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.timer-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
}

.btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: #fff;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary);
    transition: var(--transition);
    transform: scaleX(0);
    transform-origin: right;
    z-index: -1;
}

.btn-light:hover {
    color: #fff;
    box-shadow: 0 15px 25px rgba(22, 199, 154, 0.3);
}

.btn-light:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.cta-image-container {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======= Contact Section ======= */
.contact-info {
    padding: 3rem;
    background-color: var(--primary);
    color: #fff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.method-icon i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.method-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.method-details a {
    color: #fff;
    transition: var(--transition);
}

.method-details a:hover {
    color: var(--secondary);
}

.hours {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

.contact-social {
    position: relative;
    z-index: 1;
}

.contact-social h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--secondary);
    transform: translateY(-5px);
}

.contact-form-container {
    padding: 3rem;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(22, 199, 154, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.form-checkbox input {
    margin-top: 5px;
    margin-right: 10px;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--gray);
}

.form-checkbox label a {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.form-checkbox label a:hover {
    color: var(--secondary);
}

.btn-full {
    width: 100%;
}

/* ======= Footer ======= */
.footer-top {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
}

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

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.footer-menu li a::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary);
    transition: var(--transition);
}

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

.footer-menu li a:hover::before {
    width: 100%;
}

.newsletter-form .form-group {
    position: relative;
    margin-bottom: 0;
}

.newsletter-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    padding-right: 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50px;
    color: #fff;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background-color: var(--secondary);
    color: #fff;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: #fff;
    color: var(--secondary);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: var(--transition);
}

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

/* ======= Back to Top Button ======= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

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

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

/* ======= Responsive Styles ======= */
@media (max-width: 1199px) {
    .ml-24 {
        margin-left: 6rem;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .title {
        font-size: 2rem;
    }

    .satisfaction-badge {
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {


    .ml-24 {
        margin-left: 0;
    }

    main {
        margin-left: 0 !important;
    }

    #side-nav {
        display: none;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }

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

    .title {
        font-size: 1.75rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .testimonial-stats {
        gap: 2rem;
    }

    .countdown-timer {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .timer-separator {
        display: none;
    }
}

/* ======= Animations ======= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(22, 199, 154, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(22, 199, 154, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(22, 199, 154, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes typing {
    from {
        width: 0
    }
    to {
        width: 100%
    }
}

@keyframes blink {
    50% {
        border-color: transparent
    }
}
