/*
================================================
TABLE OF CONTENTS
================================================
1.  VARIABLES & RESET
2.  GLOBAL STYLES & UTILITIES
3.  PRELOADER
4.  HEADER & NAVIGATION
5.  HERO SECTION
6.  SERVICES SECTION
7.  ABOUT US SECTION
8.  PROCESS SECTION
9.  TESTIMONIALS SECTION
10. FAQ SECTION
11. CTA SECTION
12. FOOTER
13. PAGE-SPECIFIC STYLES (Contact, Legal)
14. INTERACTIVE ELEMENTS (Buttons, Forms, Popups)
15. ANIMATIONS & KEYFRAMES
16. RESPONSIVE DESIGN (Media Queries)
================================================
*/

/* 1. VARIABLES & RESET */
:root {
    --primary-color: #C4F82A;
    /* Lime Green from logo */
    --dark-bg: #121212;
    --section-bg: #1A1A1A;
    --card-bg: #1F1F1F;
    --light-text: #EAEAEA;
    --medium-text: #A0A0A0;
    --white-color: #FFFFFF;
    --border-color: rgba(255, 255, 255, 0.1);

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-secondary);
    background-color: var(--dark-bg);
    color: var(--medium-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--light-text);
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--white-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    position: relative;
    background-color: var(--dark-bg);
}

/* 2. GLOBAL STYLES & UTILITIES */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--section-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    position: relative;
}

.section-header .subtitle::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    right: -40px;
    top: 50%;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3. PRELOADER */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    flex-direction: column;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader .loader-logo {
    animation: pulse 1.5s infinite ease-in-out;
}

.preloader .loader-logo img {
    max-width: 200px;
    filter: brightness(0) invert(1);
}

.preloader .loader-bar {
    width: 200px;
    height: 3px;
    background: var(--border-color);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.preloader .loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: var(--primary-color);
    animation: loader-bar-anim 1.5s infinite linear;
}

/* 4. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo img {
    height: 90px;
    filter: brightness(0) invert(1);
    transition: all var(--transition-speed) ease;
}


.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--light-text);
    font-family: var(--font-primary);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) 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;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--light-text);
    transition: all var(--transition-speed) ease-in-out;
}

/* 5. HERO SECTION */
.hero-section {
    padding: calc(var(--header-height) + 80px) 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, rgba(18, 18, 18, 0.95), rgba(26, 26, 26, 0.95)), url('https://www.toptal.com/designers/subtlepatterns/uploads/double-bubble-outline.png');
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-text h1 .highlight {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.1rem;
    max-width: 550px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-visual {
    width: 350px;
    height: 350px;
    background-color: var(--section-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 50px rgba(196, 248, 42, 0.1);
}

.hero-visual i {
    font-size: 150px;
    color: var(--primary-color);
    animation: spin 30s linear infinite, icon-glow 3s ease-in-out infinite alternate;
}

.hero-visual::before,
.hero-visual::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    animation: pulse-ring 4s ease-out infinite;
    opacity: 0;
}

.hero-visual::after {
    animation-delay: 1s;
}

.hero-stats {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px;
    background-color: var(--section-bg);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.stat-item p {
    margin: 0;
    font-weight: 500;
}

.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn-up 0.8s ease forwards;
}

.hero-text h1 {
    animation-delay: 0.2s;
}

.hero-text p {
    animation-delay: 0.4s;
}

.hero-buttons {
    animation-delay: 0.6s;
}

.hero-image-container {
    animation-delay: 0.3s;
}

.hero-stats {
    animation-delay: 0.8s;
}

/* 6. SERVICES SECTION */
.services-section {
    background-color: var(--section-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(196, 248, 42, 0.1), transparent 40%);
    transition: opacity 0.5s ease;
    opacity: 0;
    transform: rotate(0deg);
}

.service-card:hover::before {
    opacity: 1;
    animation: rotate-gradient 4s linear infinite;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
}

.card-link {
    display: inline-block;
    margin-top: 20px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.card-link i {
    margin-left: 5px;
    transition: transform var(--transition-speed) ease;
}

.service-card:hover .card-link i {
    transform: translateX(5px);
}

/* 7. ABOUT US SECTION */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-content img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-text-content .subtitle {
    margin-bottom: 15px;
}

.about-text-content h2 {
    margin-bottom: 20px;
}

.about-features {
    margin: 30px 0;
}

.about-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-features i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 8. PROCESS SECTION */
.process-section {
    background-color: var(--section-bg);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-top: 80px;
    text-align: center;
}

.timeline-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all var(--transition-speed) ease;
}

.timeline-item:hover .timeline-icon {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    transform: translateX(-50%) scale(1.1);
    border-color: var(--primary-color);
}

.timeline-step-number {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--dark-bg);
}

.timeline-content h3 {
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.9rem;
}

/* 9. TESTIMONIALS SECTION - CORRECTED STYLES */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    /* Set the max-width on the wrapper to define the "viewport" */
    margin: 0 auto;
    /* Center the viewport */
    overflow: hidden;
    /* Hide the parts of the slider that are off-screen */
}

.testimonial-slider {
    display: flex;
    /* This creates the horizontal track for the slides */
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    flex: 0 0 100%;
    /* Each slide takes up exactly 100% of the wrapper's width */
    box-sizing: border-box;
    padding: 0 15px;
    /* Add some padding if you want space around the card */
}

.testimonial-card {
    /* The card itself no longer needs max-width or margin: auto */
    background-color: var(--section-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
    width: 100%;
    /* Ensure it fills the slide container */
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.author-info {
    text-align: left;
}

.author-info h4 {
    margin-bottom: 0;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--medium-text);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-rating {
    color: #FFC107;
}

.slider-controls {
    text-align: center;
    margin-top: 40px;
}

.slider-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--light-text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
    margin: 0 10px;
}

.slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
}

/* Add responsive adjustment for smaller screens */
@media (max-width: 768px) {
    .testimonial-slide {
        padding: 0;
        /* Remove padding on smaller screens if desired */
    }

    .testimonial-card {
        padding: 40px 20px;
    }
}

/* 10. FAQ SECTION */
.faq-section {
    background-color: var(--section-bg);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 25px 0;
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--light-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    transition: transform var(--transition-speed) ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
}

.faq-answer p {
    padding-bottom: 25px;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Adjust as needed */
}

/* 11. CTA SECTION */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--primary-color), #a2d200);
}

.cta-content {
    text-align: center;
    color: var(--dark-bg);
}

.cta-content h2 {
    color: var(--dark-bg);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-content .btn-primary {
    background-color: var(--dark-bg);
    color: var(--white-color);
    border: 2px solid var(--dark-bg);
}

.cta-content .btn-primary:hover {
    background-color: transparent;
    color: var(--dark-bg);
}

/* 12. FOOTER */
.footer {
    background-color: var(--section-bg);
    padding: 80px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about .footer-logo img {
    height: 110px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--medium-text);
    margin-right: 10px;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: var(--medium-text);
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-legal a {
    color: var(--medium-text);
    margin: 0 10px;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-legal span {
    color: var(--border-color);
}

/* 13. PAGE-SPECIFIC STYLES (Contact, Legal) */
.page-header {
    padding: calc(var(--header-height) + 60px) 0 60px;
    text-align: center;
    background-color: var(--section-bg);
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.contact-page-section,
.legal-content {
    background-color: var(--dark-bg);
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--section-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-info-block h3,
.contact-form-block h3 {
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--card-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.info-text h4 {
    margin-bottom: 5px;
}

.info-text p,
.info-text p a {
    margin: 0;
    color: var(--medium-text);
}

.info-text p a:hover {
    color: var(--primary-color);
}

.legal-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--section-bg);
    padding: 50px;
    border-radius: var(--border-radius);
}

.legal-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.last-updated {
    font-style: italic;
    color: var(--medium-text);
    margin-bottom: 30px;
}


/* 14. INTERACTIVE ELEMENTS (Buttons, Forms, Popups) */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: scale(1.1);
    color: var(--dark-bg);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--light-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--light-text);
    font-family: var(--font-secondary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 248, 42, 0.2);
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility 0s var(--transition-speed);
}

.popup.visible {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--transition-speed) ease, visibility 0s;
}

.popup-content {
    background-color: var(--section-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    width: 90%;
    max-width: 500px;
    transform: scale(0.9);
    transition: transform var(--transition-speed) ease;
}

.popup.visible .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.popup h3 {
    margin-bottom: 10px;
}

.popup p {
    margin-bottom: 30px;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--medium-text);
}

.popup-close:hover {
    color: var(--light-text);
}


/* 15. ANIMATIONS & KEYFRAMES */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes loader-bar-anim {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

@keyframes fadeIn-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes icon-glow {
    from {
        text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    }

    to {
        text-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes rotate-gradient {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 16. RESPONSIVE DESIGN */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--section-bg);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        justify-content: center;
        gap: 40px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .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);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-container {
        margin-top: 40px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image-content {
        margin-bottom: 40px;
    }

    .about-text-content {
        text-align: center;
    }

    .about-features {
        text-align: left;
        max-width: 400px;
        margin: 30px auto;
    }

    .process-timeline {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }

    .process-timeline::before {
        display: none;
    }

    .timeline-item {
        padding-top: 90px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        margin-bottom: 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 40px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links ul,
    .footer-contact ul {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }

    .contact-page-wrapper {
        padding: 30px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 0 15px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-section {
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-visual {
        width: 280px;
        height: 280px;
    }

    .hero-visual i {
        font-size: 120px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        text-align: left;
        padding: 20px 20px 20px 90px;
    }

    .timeline-icon {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
    }
}