/* --- Holographic Reality Deck Theme --- */

/* 1. CSS Variables & Global Styles
/* 2. Preloader & Utility Classes
/* 3. Header & Navigation
/* 4. Hero Section & Canvas
/* 5. Section Styles (Headers, Padding)
/* 6. Services Section (3D Flip Cards)
/* 7. About Section (Holographic Image)
/* 8. Process Section (Timeline)
/* 9. Testimonials Section (Glassmorphism)
/* 10. CTA Section
/* 11. Footer
/* 12. Page-Specific Styles (Contact, Legal)
/* 13. Interactive Elements (Popup, Widgets)
/* 14. Animations & Keyframes
/* 15. Responsive Design (Media Queries)
/*-------------------------------------------*/

/* 1. CSS Variables & Global Styles
/*-------------------------------------------*/
:root {
    --color-background: #01041D;
    --color-background-light: #0A0D2B;
    --color-primary: #00F6FF;
    --color-secondary: #FF00E6;
    --color-accent: #7D26C9;
    --color-text: #E0E0E0;
    --color-text-muted: #a0a8c2;
    --color-border: rgba(0, 246, 255, 0.2);
    --color-glow: rgba(0, 246, 255, 0.5);

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    --header-height: 80px;
    --border-radius: 8px;
    --section-padding: 100px 0;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-glow: 0 0 15px var(--color-glow), 0 0 30px var(--color-glow);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-background);
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-background-light);
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 10px;
    border: 2px solid var(--color-background-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: #FFFFFF;
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-secondary);
    text-shadow: 0 0 8px var(--color-secondary);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. Preloader & Utility Classes
/*-------------------------------------------*/
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease;
}

.preloader.fade-out {
    opacity: 0;
}

.loader-logo img {
    width: 100px;
    filter: invert(1);
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
    width: 150px;
    height: 4px;
    background: var(--color-border);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    animation: scan 1.5s infinite linear;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 250%;
    height: 250%;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    color: var(--color-background);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* 3. Header & Navigation
/*-------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background-color: rgba(1, 4, 29, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--color-border);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo img {
    height: 45px;
    filter: invert(1);
    transition: var(--transition-smooth);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--color-text);
    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(--color-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active,
.nav-link:hover {
    color: #FFFFFF;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* 4. Hero Section & Canvas
/*-------------------------------------------*/
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#particle-canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    animation: fadeIn 1.5s ease-out forwards;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 246, 255, 0.3);
}

.highlighted-text {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    padding-right: 5px;
}

/* Typewriter cursor */
#typewriter::after {
    content: '|';
    animation: blink 0.7s infinite;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--color-text-muted);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-down-indicator a {
    font-size: 1.5rem;
    color: var(--color-text);
}

/* 5. Section Styles (Headers, Padding)
/*-------------------------------------------*/
.section-padding {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.section-header h2 {
    margin-bottom: 15px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-muted);
}

/* Reveal on scroll setup */
.process-step,
.about-image-container,
.about-content,
.testimonial-card,
.contact-info-block,
.contact-form-block {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.process-step.active,
.about-image-container.active,
.about-content.active,
.testimonial-card.active,
.contact-info-block.active,
.contact-form-block.active {
    opacity: 1;
    transform: translateY(0);
}

.service-card-container {
    opacity: 0;
    transform: rotateY(-90deg);
    transition: opacity 0.6s ease, transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.service-card-container.active {
    opacity: 1;
    transform: rotateY(0);
}


/* 6. Services Section (3D Flip Cards)
/*-------------------------------------------*/
.services-section {
    background: var(--color-background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card-container {
    perspective: 1000px;
    height: 320px;
}

.service-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-container:hover .service-card {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: var(--border-radius);
    background: linear-gradient(145deg, rgba(10, 13, 43, 0.8), rgba(1, 4, 29, 0.8));
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.card-face::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, var(--color-primary), transparent 30%);
    animation: rotate-glow 5s linear infinite;
    opacity: 0.2;
}

.card-face.front {
    z-index: 2;
}

.card-face.back {
    transform: rotateY(180deg);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-primary);
    text-shadow: 0 0 15px var(--color-glow);
}

.card-face h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card-face p {
    color: var(--color-text-muted);
}

.card-link {
    margin-top: auto;
    font-weight: 600;
}

.card-link i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* 7. About Section (Holographic Image)
/*-------------------------------------------*/
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-container {
    position: relative;
}

.holographic-image-frame {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 2px solid var(--color-border);
    padding: 10px;
    background: rgba(10, 13, 43, 0.3);
}

.holographic-image-frame img {
    border-radius: var(--border-radius);
    display: block;
}

.holographic-image-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(0, 246, 255, 0.08) 51%,
            rgba(255, 255, 255, 0) 100%);
    background-size: 100% 4px;
    animation: scan-lines 4s linear infinite;
    opacity: 0.5;
}

.about-content p {
    margin-bottom: 20px;
}

.about-features {
    margin-bottom: 30px;
}

.about-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-features i {
    color: var(--color-primary);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* 8. Process Section (Timeline)
/*-------------------------------------------*/
.process-section {
    background-color: var(--color-background-light);
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}

.process-step {
    position: relative;
    padding-top: 50px;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-color: var(--color-background-light);
    color: var(--color-text-muted);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    z-index: 1;
    transition: var(--transition-smooth);
}

.process-step:hover .step-number {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateX(-50%) scale(1.1);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.step-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.step-content p {
    color: var(--color-text-muted);
}

/* 9. Testimonials Section (Glassmorphism)
/*-------------------------------------------*/
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    border-radius: var(--border-radius);
    background: rgba(10, 13, 43, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    position: relative;
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 246, 255, 0.1);
}

.testimonial-quote-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    opacity: 0.5;
}

.testimonial-text {
    margin-bottom: 25px;
    font-style: italic;
    color: var(--color-text-muted);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* 10. CTA Section
/*-------------------------------------------*/
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(45deg, var(--color-accent), var(--color-background-light) 70%);
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--color-text-muted);
}

/* 11. Footer
/*-------------------------------------------*/
.footer {
    background-color: var(--color-background-light);
    padding: 80px 0 0;
    border-top: 1px solid var(--color-border);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about .footer-logo img {
    height: 40px;
    filter: invert(1);
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
}

.footer-social a:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #FFF;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 10px;
}

.footer-links ul a,
.footer-contact ul a {
    color: var(--color-text-muted);
}

.footer-links ul a:hover,
.footer-contact ul a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    margin-top: 5px;
    color: var(--color-primary);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-legal a {
    margin: 0 10px;
    color: var(--color-text-muted);
}

.footer-legal span {
    color: var(--color-text-muted);
}

/* 12. Page-Specific Styles (Contact, Legal)
/*-------------------------------------------*/
.page-header {
    padding: 180px 0 100px;
    text-align: center;
    background: linear-gradient(rgba(1, 4, 29, 0.8), rgba(1, 4, 29, 0.8)), url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
}

.page-header h1 {
    margin-bottom: 10px;
}

.page-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.legal-content .content-wrapper,
.disclaimer-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-background-light);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.legal-content h2 {
    margin: 30px 0 15px;
    color: var(--color-primary);
    font-size: 1.8rem;
}

.legal-content p,
.legal-content li {
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
}

/* Contact Page */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--color-background-light);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.contact-info-block h3,
.contact-form-block h3 {
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-right: 20px;
    width: 40px;
}

.info-text h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-text p,
.info-text a {
    color: var(--color-text-muted);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-family: var(--font-secondary);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-glow);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 13. Interactive Elements (Popup, Widgets)
/*-------------------------------------------*/
.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: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--color-background-light);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-primary);
    text-align: center;
    position: relative;
    max-width: 450px;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
}

.popup-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.popup-content h3 {
    margin-bottom: 10px;
}

.popup-content button {
    margin-top: 20px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-background);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    color: var(--color-background);
}

.chat-widget {
    position: fixed;
    bottom: 95px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-secondary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition-smooth);
}

.chat-widget:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 0 15px var(--color-secondary);
}

/* 14. Animations & Keyframes
/*-------------------------------------------*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

@keyframes scan {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -20px);
    }

    60% {
        transform: translate(-50%, -10px);
    }
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes scan-lines {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100vh;
    }
}

/* 15. Responsive Design (Media Queries)
/*-------------------------------------------*/

/* Tablets and larger phones */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        justify-content: center;
        background-color: var(--color-background-light);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.4s ease;
        gap: 30px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }

    .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);
    }

    .header-actions .btn {
        display: none;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image-container {
        margin-bottom: 40px;
    }

    .process-timeline {
        grid-template-columns: 1fr 1fr;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step:nth-child(2) {
        transition-delay: 0.2s;
    }

    .process-step:nth-child(3) {
        transition-delay: 0s;
    }

    .process-step:nth-child(4) {
        transition-delay: 0.2s;
    }

    .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;
    }
}

/* Smaller devices */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 80%;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-step:nth-child(2),
    .process-step:nth-child(3),
    .process-step:nth-child(4) {
        transition-delay: 0.2s;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-page-wrapper {
        padding: 30px;
    }

    .back-to-top,
    .chat-widget {
        width: 45px;
        height: 45px;
        right: 20px;
    }

    .back-to-top {
        bottom: 20px;
    }

    .chat-widget {
        bottom: 75px;
    }
}