/* Table of Contents
---------------------------------
1.  Variables & Root
2.  Reset & Base Styles
3.  Preloader
4.  Utility Classes
5.  Header & Navigation
6.  Hero Section
7.  Buttons & Forms
8.  Section Styles (General)
9.  Services Section
10. About Section
11. Process Section
12. Industries Section
13. Testimonials Section
14. CTA Section
15. Footer
16. Page Header (for subpages)
17. Legal Content Page
18. Contact Page
19. Popups & Widgets
20. Animations & Keyframes
21. Responsive Design (Media Queries)
--------------------------------- */


/* 1. Variables & Root
--------------------------------- */
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --dark-bg: #0f0c29;
    --dark-bg-2: #24243e;
    --dark-bg-3: #1a1a2e;
    --light-bg: #ffffff;
    --light-bg-2: #f4f4f9;
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --border-radius: 8px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

/* 2. Reset & Base Styles
--------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--dark-bg);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3. Preloader
--------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-logo img {
    width: 100px;
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
    width: 150px;
    height: 4px;
    background: var(--dark-bg-2);
    margin-top: 20px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: loading 2s ease-out forwards;
}

/* 4. Utility Classes
--------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 100px 0;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 5. Header & Navigation
--------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--dark-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 60px;
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-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;
}

/* 6. Hero Section
--------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow: hidden;
    padding-top: 80px;
    /* Header height */
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(106, 17, 203, 0.2), rgba(37, 117, 252, 0.2));
    filter: blur(80px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -10%;
    left: -10%;
    animation: move-bubble 15s infinite alternate;
}

.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -15%;
    right: -15%;
    animation: move-bubble 20s infinite alternate-reverse;
}

.shape-3 {
    width: 300px;
    height: 300px;
    top: 20%;
    right: 10%;
    animation: move-bubble 18s infinite alternate;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-title {
    color: var(--text-light);
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image-container {
    position: relative;
    perspective: 1000px;
}

.hero-image-3d {
    transform: rotateY(-20deg) rotateX(10deg);
    transition: transform 0.5s ease;
    border-radius: var(--border-radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.hero-image-container:hover .hero-image-3d {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.hero-image-3d img {
    border-radius: var(--border-radius);
}

.data-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s infinite ease-in-out;
}

.data-float i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.data-float span {
    font-size: 1.2rem;
    font-weight: 700;
}

.data-float p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.float-1 {
    bottom: 10%;
    left: -15%;
    animation-delay: 0s;
}

.float-2 {
    top: 10%;
    right: -10%;
    animation-delay: 1s;
}

/* 7. Buttons & Forms
--------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.btn-primary:hover {
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 117, 252, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--dark-bg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* 8. Section Styles (General)
--------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.services-section,
.process-section,
.industries-section {
    background-color: var(--light-bg-2);
}

/* 9. Services Section
--------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    cursor: pointer;
    height: 320px;
}

.service-card:hover {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 40px;
    text-align: center;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-front {
    background: var(--light-bg);
    box-shadow: var(--shadow);
}

.card-back {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    transform: rotateY(180deg);
}

.card-back h3 {
    color: var(--text-light);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    margin-bottom: 15px;
}

.card-back ul {
    margin: 15px 0;
    text-align: left;
}

.card-back li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.card-back li::before {
    content: '\f00c';
    /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
}

.btn-card {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    margin-top: 15px;
    font-weight: 600;
}

.btn-card:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

/* 10. About Section
--------------------------------- */
.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.1;
}

.about-content-wrapper .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.stats-counter {
    display: flex;
    gap: 40px;
    margin: 30px 0;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
}

.stat-item p {
    color: var(--text-dark);
    font-weight: 500;
}

/* 11. Process Section
--------------------------------- */
.process-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 45px;
    width: 2px;
    height: 100%;
    background: #e0e0e0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
    padding-left: 100px;
}

.process-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 90px;
    height: 90px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    border: 2px solid #e0e0e0;
    transition: var(--transition);
}

.process-step:hover .process-icon {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    border-color: transparent;
    transform: scale(1.1) rotate(15deg);
}

.process-content h3 {
    margin-bottom: 10px;
}

/* 12. Industries Section
--------------------------------- */
.industries-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.industry-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.industry-item:hover {
    transform: translateY(-10px);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.industry-item i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: var(--transition);
}

.industry-item h4 {
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.industry-item:hover i,
.industry-item:hover h4 {
    color: var(--text-light);
}


/* 13. Testimonials Section
--------------------------------- */
.testimonials-section {
    background-color: var(--dark-bg-3);
    color: var(--text-light);
}

.testimonials-section .section-header .section-title,
.testimonials-section .section-header p {
    color: var(--text-light);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
}

.testimonial-slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
    padding: 20px;
}

.testimonial-content {
    background: var(--dark-bg-2);
    padding: 40px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial-content::before {
    content: '\f10d';
    /* Font Awesome quote-left */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
}

.author-info h4 {
    color: var(--text-light);
    margin: 0;
}

.author-info span {
    color: var(--secondary-color);
    font-weight: 500;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    left: -60px;
    width: calc(100% + 120px);
}

.slider-controls button {
    background: var(--dark-bg-2);
    border: none;
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--primary-color);
}


/* 14. CTA Section
--------------------------------- */
.cta-section {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)),
        url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?q=80&w=2670&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    background-blend-mode: overlay;
    padding: 80px 0;
    color: var(--text-light);
    text-align: center;
}

.cta-content h2 {
    color: var(--text-light);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-content .btn-primary {
    background: var(--light-bg);
    color: var(--primary-color);
}

.cta-content .btn-primary:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 15. Footer
--------------------------------- */
.footer {
    background: var(--dark-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--text-light);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.footer-social a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.footer h3 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-top: 5px;
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 10px;
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.3);
}

/* 16. Page Header (for subpages)
--------------------------------- */
.page-header {
    background: var(--dark-bg);
    padding: 150px 0 80px;
    text-align: center;
    color: var(--text-light);
}

.page-header h1 {
    color: var(--text-light);
    font-size: 3rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* 17. Legal Content Page
--------------------------------- */
.legal-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

/* 18. Contact Page
--------------------------------- */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--light-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info-block {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 40px;
    border-radius: var(--border-radius);
}

.contact-info-block h3,
.contact-info-block h4 {
    color: var(--text-light);
}

.contact-info-block p,
.contact-info-block a {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
}

.info-icon {
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-form-block h3 {
    margin-bottom: 30px;
}


/* 19. Popups & Widgets
--------------------------------- */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    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: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.chat-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: var(--transition);
}

.chat-widget:hover {
    transform: scale(1.1) rotate(10deg);
}

/* 20. Animations & Keyframes
--------------------------------- */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes loading {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes move-bubble {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, -50px);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.hero-title.animate-up {
    animation-delay: 0.2s;
}

.hero-text.animate-up {
    animation-delay: 0.4s;
}

.hero-buttons.animate-up {
    animation-delay: 0.6s;
}

.hero-image-container.animate-up {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* 21. Responsive Design
--------------------------------- */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        justify-content: center;
        background-color: var(--dark-bg);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 16px 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);
    }

    .hero {
        height: auto;
        padding: 150px 0 100px;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        margin: 20px auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-container {
        margin-top: 50px;
    }

    .about-section .container {
        grid-template-columns: 1fr;
    }

    .about-content-wrapper {
        text-align: center;
    }

    .stats-counter {
        justify-content: center;
    }

    .process-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .process-step {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
    }

    .process-icon {
        position: static;
        margin: 0 auto;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .form-row {
        flex-direction: column;
    }

    .slider-controls {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 20px;
        justify-content: center;
        gap: 20px;
    }

    .contact-page-wrapper {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-about {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .chat-widget {
        display: none;
    }
}