/*
================================================
TABLE OF CONTENTS
================================================
1.  GLOBAL STYLES & VARIABLES
2.  HELPER CLASSES & UTILITIES
3.  PRELOADER
4.  HEADER & NAVIGATION
5.  HERO SECTION
6.  PAGE HEADER (for subpages)
7.  BUTTONS
8.  FORMS & INPUTS
9.  SECTION STYLES (Padding, Headers)
10. SERVICES SECTION & CARDS
11. ABOUT SECTION & 3D IMAGE
12. STATS COUNTER SECTION
13. PRICING SECTION
14. TESTIMONIALS SECTION & SLIDER
15. CTA (CALL TO ACTION) SECTION
16. LEGAL CONTENT PAGES
17. CONTACT PAGE
18. POPUP / MODAL
19. FOOTER
20. ANIMATIONS (Keyframes, Scroll)
21. RESPONSIVE DESIGN (Media Queries)
================================================
*/

/* 1. GLOBAL STYLES & VARIABLES
------------------------------------------------*/
:root {
    --primary-color: #4fd1c5;
    /* Teal */
    --primary-hover-color: #38b2ac;
    --secondary-color: #a78bfa;
    /* Purple */
    --secondary-hover-color: #9378e0;
    --bg-dark-1: #1a202c;
    /* Very Dark Blue/Gray */
    --bg-dark-2: #2d3748;
    /* Dark Blue/Gray */
    --bg-dark-3: #4a5568;
    /* Medium Blue/Gray */
    --text-light: #f7fafc;
    --text-medium: #a0aec0;
    --text-dark: #1a202c;
    --border-color: #4a5568;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-fast: all 0.2s ease-in-out;
    --transition-medium: all 0.4s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark-1);
    color: var(--text-light);
    font-family: var(--font-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--text-light);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-hover-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* 2. HELPER CLASSES & UTILITIES
------------------------------------------------*/
.text-center {
    text-align: center;
}

.section-padding {
    padding: 100px 0;
}

.subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.highlight {
    color: var(--primary-color);
}

/* 3. PRELOADER
------------------------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark-1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-logo img {
    max-width: 150px;
    filter: drop-shadow(0 0 10px rgba(79, 209, 197, 0.5));
}

.loader-bar {
    width: 150px;
    height: 3px;
    background-color: var(--bg-dark-3);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background-color: var(--primary-color);
    animation: loader-bar-anim 1.5s infinite ease-in-out;
    border-radius: 3px;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes loader-bar-anim {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--bg-dark-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-medium);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-hover-color);
    color: var(--bg-dark-1);
    transform: translateY(-5px);
}

/* 4. HEADER & NAVIGATION
------------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-medium);
}

.header.scrolled {
    background-color: rgba(26, 32, 44, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 80px;
    transition: var(--transition-medium);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--text-light);
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-light);
    transition: all 0.3s ease-in-out;
}

/* 5. HERO SECTION
------------------------------------------------*/
.hero-section {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -150px;
    animation: float 10s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -50px;
    right: -100px;
    animation: float 12s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-hover-color);
    bottom: 20%;
    left: 10%;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.1rem;
    margin: 2rem 0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image-container {
    position: relative;
    perspective: 1000px;
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-image {
    transform: rotateY(0) rotateX(0);
}

.hero-stat-card {
    position: absolute;
    background: rgba(45, 55, 72, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.hero-stat-card:hover {
    transform: translateY(-5px) scale(1.05);
}

.hero-stat-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.hero-stat-card.card-1 {
    bottom: 20px;
    left: -40px;
}

.hero-stat-card.card-2 {
    top: 20px;
    right: -40px;
}

/* 6. PAGE HEADER (for subpages)
------------------------------------------------*/
.page-header-section {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-section .container {
    position: relative;
    z-index: 2;
}

.page-header-section h1 {
    font-size: 3.5rem;
}

.page-header-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

/* 7. BUTTONS
------------------------------------------------*/
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-medium);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark-1);
}

.btn-primary:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(79, 209, 197, 0.2);
    color: var(--bg-dark-1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--bg-dark-3);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-dark-1);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* 8. FORMS & INPUTS
------------------------------------------------*/
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-dark-1);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-secondary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 209, 197, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

/* 9. SECTION STYLES (Padding, Headers)
------------------------------------------------*/
.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
}

.section-header p {
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
}

/* 10. SERVICES SECTION & CARDS
------------------------------------------------*/
.services-section {
    background-color: var(--bg-dark-2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-dark-1);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition-medium);
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--text-light);
    transition: var(--transition-medium);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(15deg);
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.card-link {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 1.5rem;
    display: inline-block;
}

.card-link i {
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* 11. ABOUT SECTION & 3D IMAGE
------------------------------------------------*/
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-part {
    perspective: 1500px;
}

.about-image-3d-wrapper {
    transform-style: preserve-3d;
    transition: transform 0.5s;
    position: relative;
}

.about-image-3d-wrapper img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.about-image-3d-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    transform: translateZ(-30px);
    opacity: 0.5;
}

.about-features {
    margin-top: 2rem;
}

.about-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1rem;
}

.about-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 5px;
}

.about-content-part .btn {
    margin-top: 2rem;
}

/* 12. STATS COUNTER SECTION
------------------------------------------------*/
.stats-section {
    background: linear-gradient(rgba(45, 55, 72, 0.9), rgba(45, 55, 72, 0.9)), url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    background-attachment: fixed;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* 13. PRICING SECTION
------------------------------------------------*/
.pricing-section {
    background-color: var(--bg-dark-2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background-color: var(--bg-dark-1);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition-medium);
    text-align: center;
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(79, 209, 197, 0.2);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: -45px;
    background-color: var(--primary-color);
    color: var(--bg-dark-1);
    padding: 5px 40px;
    font-weight: 600;
    transform: rotate(45deg);
    font-size: 0.9rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
}

.pricing-header p {
    min-height: 48px;
    margin-top: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 2rem 0;
}

.price sup {
    font-size: 1.5rem;
    font-weight: 500;
    top: -1.2em;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-medium);
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i {
    font-size: 1.2rem;
}

.pricing-features .fa-check {
    color: var(--primary-color);
}

.pricing-features .fa-times {
    color: var(--bg-dark-3);
}

.pricing-card .btn {
    width: 100%;
}

/* 14. TESTIMONIALS SECTION & SLIDER
------------------------------------------------*/
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    background-color: var(--bg-dark-2);
    border-radius: 15px;
    text-align: center;
}

.testimonial-slide p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.testimonial-author h4 {
    margin-bottom: 0;
}

.testimonial-author span {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.slider-controls button {
    width: 45px;
    height: 45px;
    background-color: var(--bg-dark-3);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-controls button:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark-1);
}

/* 15. CTA (CALL TO ACTION) SECTION
------------------------------------------------*/
.cta-section {
    padding: 80px 0;
}

.cta-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.cta-content h2 {
    font-size: 2.2rem;
    color: var(--bg-dark-1);
    margin: 0;
}

.cta-content p {
    color: var(--bg-dark-1);
    opacity: 0.9;
    margin: 0.5rem 0 0;
    max-width: 500px;
}

.cta-action .btn {
    background-color: var(--text-light);
    color: var(--bg-dark-1);
    border-color: var(--text-light);
}

.cta-action .btn:hover {
    background-color: transparent;
    color: var(--text-light);
}

/* 16. LEGAL CONTENT PAGES
------------------------------------------------*/
.legal-content-wrapper {
    background-color: var(--bg-dark-2);
    padding: 50px;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content-wrapper h2 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.legal-content-wrapper li {
    margin-bottom: 0.5rem;
}

/* 17. CONTACT PAGE
------------------------------------------------*/
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background-color: var(--bg-dark-2);
    padding: 40px;
    border-radius: 15px;
}

.contact-info-block h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-dark-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-text h4 {
    margin: 0;
}

.info-text p {
    margin: 0;
}

.info-text p a {
    color: var(--text-medium);
}

.info-text p a:hover {
    color: var(--primary-color);
}

.contact-form-block {
    background-color: var(--bg-dark-1);
    padding: 40px;
    border-radius: 15px;
}

/* 18. POPUP / MODAL
------------------------------------------------*/
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--bg-dark-2);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 450px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--text-medium);
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.popup-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.popup-content .btn {
    margin-top: 1.5rem;
}

/* 19. FOOTER
------------------------------------------------*/
.footer {
    background-color: var(--bg-dark-2);
    padding: 80px 0 0;
    font-size: 0.95rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
}

.footer-about .footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: var(--bg-dark-3);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark-1);
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul a,
.footer-contact ul a {
    color: var(--text-medium);
}

.footer-links ul a:hover,
.footer-contact ul a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.footer-bottom {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal a {
    color: var(--text-medium);
    margin: 0 10px;
}

.footer-legal span {
    color: var(--text-medium);
}

/* 20. ANIMATIONS (Keyframes, Scroll)
------------------------------------------------*/
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

.animate-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

.animate-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 21. RESPONSIVE DESIGN (Media Queries)
------------------------------------------------*/
@media (max-width: 1200px) {
    .pricing-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image-container {
        order: 1;
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image-part {
        margin-bottom: 40px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--bg-dark-2);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        justify-content: center;
        gap: 40px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
        z-index: 1001;
        /* Above nav menu */
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        display: none;
        /* easier to swipe on mobile */
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .hero-stat-card {
        padding: 10px;
        font-size: 0.8rem;
    }

    .hero-stat-card i {
        font-size: 1rem;
    }

    .hero-stat-card.card-1 {
        left: -10px;
    }

    .hero-stat-card.card-2 {
        right: -10px;
    }

    .legal-content-wrapper {
        padding: 30px 20px;
    }

    .contact-page-wrapper,
    .contact-form-block {
        padding: 20px;
    }
}