/*
* Root Variables & Global Styles
*/
:root {
    --primary-color: #00aaff;
    --secondary-color: #00e5e5;
    --dark-bg: #0d1117;
    --bg-color: #010409;
    --card-bg: #161b22;
    --border-color: #30363d;
    --text-color: #c9d1d9;
    --text-muted: #8b949e;
    --heading-color: #f0f6fc;
    --gradient: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
}

/* Custom Gooey Cursor */
#cursor-blob {
    position: fixed;
    top: 0;
    left: 0;
    width: 25px;
    height: 25px;
    background-color: rgba(0, 170, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    filter: blur(5px);
}

body:hover #cursor-blob {
    opacity: 1;
}

a:hover~#cursor-blob,
button:hover~#cursor-blob,
.service-card:hover~#cursor-blob {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 229, 229, 0.6);
}

/*
* General & Utility Classes
*/
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    color: var(--heading-color);
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--dark-bg);
}

.btn-primary:hover {
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 170, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--heading-color);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--card-bg);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.highlight-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.page-section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

/*
* Header & Navigation
*/
.header {
    background-color: rgba(1, 4, 9, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: var(--dark-bg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--heading-color);
}

.logo img {
    height: 100px;
    margin-right: 12px;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-list li {
    margin: 0 20px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    font-family: var(--font-secondary);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--heading-color);
}

.header-actions {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 20px;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 2px;
    background-color: var(--heading-color);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--heading-color);
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-menu.active .hamburger {
    background-color: transparent;
}

.nav-menu.active .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

.nav-menu.active .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}


/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 150%;
    left: -20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 200px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: rgba(0, 170, 255, 0.1);
    color: var(--heading-color);
}


/*
* Page Header (for subpages)
*/
.page-header {
    background: var(--dark-bg);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3rem;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs span {
    color: var(--heading-color);
}

/*
* Main Content (for subpages)
*/
.main-content .page-content {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.main-content .page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.main-content .page-content ul {
    list-style-position: inside;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.main-content .page-content li {
    margin-bottom: 0.5rem;
}

/*
* Hero Section
*/
.hero-section {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(0, 170, 255, 0.15), transparent 30%),
        radial-gradient(circle at 85% 75%, rgba(0, 229, 229, 0.1), transparent 30%);
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 55%;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 550px;
}

.hero-actions .btn {
    margin-right: 15px;
}

/* 3D Visual */
.hero-3d-visual {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scene {
    width: 200px;
    height: 200px;
    perspective: 1000px;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(-100px);
    animation: rotate-cube 20s infinite linear;
}

@keyframes rotate-cube {
    0% {
        transform: rotateY(0deg) rotateX(0deg);
    }

    100% {
        transform: rotateY(360deg) rotateX(360deg);
    }
}

.cube-face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(22, 27, 34, 0.8);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--primary-color);
    backdrop-filter: blur(5px);
}

.cube-face.front {
    transform: rotateY(0deg) translateZ(100px);
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(100px);
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(100px);
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(100px);
}

.cube-face.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

/*
* Services Section
*/
.services-section {
    background-color: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: rotateY(10deg) rotateX(5deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--primary-color);
}

.service-card-inner {
    transform: translateZ(20px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-title {
    margin-bottom: 15px;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.service-link {
    font-weight: 600;
    font-family: var(--font-primary);
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}


/*
* About Section
*/
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image-column {
    flex: 1;
}

.about-image-column img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.about-content-column {
    flex: 1.2;
}

.feature-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 20px;
    width: 40px;
}

.feature-text h4 {
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--text-muted);
    margin: 0;
}


/*
* Process Section
*/
.process-section {
    background-color: var(--dark-bg);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    top: 30px;
    width: 60px;
    height: 60px;
    background: var(--dark-bg);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    z-index: 10;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1);
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: -30px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -30px;
}

.timeline-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.timeline-step {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-primary);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.2;
    position: absolute;
    top: 20px;
}

.timeline-item:nth-child(odd) .timeline-step {
    right: 30px;
}

.timeline-item:nth-child(even) .timeline-step {
    left: 30px;
}

.timeline-content h3 {
    margin-bottom: 10px;
}

/*
* ROI Calculator Section
*/
.roi-container {
    display: flex;
    gap: 60px;
    align-items: center;
}

.roi-content {
    flex: 1;
}

.roi-calculator-wrapper {
    flex: 1;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.roi-form .form-group {
    margin-bottom: 20px;
}

.roi-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.roi-form input {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--heading-color);
    font-size: 1rem;
}

.roi-form button {
    width: 100%;
}

.roi-results {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.roi-results h3 {
    margin-bottom: 15px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.result-item strong {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
}


/*
* Testimonials Section
*/
.testimonials-section {
    background-color: var(--dark-bg);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    opacity: 0.5;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
    border: 1px solid var(--border-color);
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid var(--primary-color);
}

.author-info h4 {
    margin: 0;
}

.author-info span {
    color: var(--text-muted);
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slider-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--heading-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border-color: var(--primary-color);
}


/*
* CTA Section
*/
.cta-section {
    background: var(--dark-bg) url('https://www.transparenttextures.com/patterns/az-subtle.png');
    padding: 80px 0;
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    padding: 60px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.cta-text {
    color: var(--text-muted);
    margin: 0;
    max-width: 600px;
}


/*
* Contact Page Specifics
*/
.contact-wrapper {
    display: flex;
    gap: 40px;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-info-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-details p {
    margin: 0;
    color: var(--text-muted);
}

.contact-form-container {
    flex: 1.5;
}

.contact-form h3 {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--heading-color);
    font-size: 1rem;
    font-family: var(--font-secondary);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b949e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
}

/* Success Popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 450px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.popup-content h3 {
    margin-bottom: 10px;
}


/*
* Footer
*/
.footer {
    background-color: var(--dark-bg);
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    color: var(--heading-color);
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-muted);
}

.footer-socials {
    margin-top: 20px;
}

.footer-socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--gradient);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
}

.footer-contact a {
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    text-align: center;
    color: var(--text-muted);
}

/*
* Animation on Scroll
*/
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 1s ease-in;
}

.animate-fade-in.visible {
    opacity: 1;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-in-up 0.8s forwards;
    animation-play-state: running;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/*
* Responsive Media Queries
*/
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-3d-visual {
        width: 100%;
    }

    .scene {
        width: 150px;
        height: 150px;
    }

    .cube-face {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }

    .cube-face.front {
        transform: rotateY(0deg) translateZ(75px);
    }

    .cube-face.back {
        transform: rotateY(180deg) translateZ(75px);
    }

    .cube-face.right {
        transform: rotateY(90deg) translateZ(75px);
    }

    .cube-face.left {
        transform: rotateY(-90deg) translateZ(75px);
    }

    .cube-face.top {
        transform: rotateX(90deg) translateZ(75px);
    }

    .cube-face.bottom {
        transform: rotateX(-90deg) translateZ(75px);
    }

    .about-container {
        flex-direction: column;
    }

    .roi-container {
        flex-direction: column;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        margin-bottom: 30px;
    }

    .contact-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    #cursor-blob {
        display: none;
    }

    .header {
        padding: 0 15px;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-list li {
        margin: 20px 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .menu-toggle {
        display: block;
    }

    .header-actions .btn-primary {
        display: none;
    }

    .dropdown {
        position: static;
    }

    .dropdown-menu {
        position: static;
        display: none;
        background: transparent;
        border: none;
        text-align: center;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 10px 0 0;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        color: var(--text-muted);
    }

    .process-timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 15px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) {
        text-align: left;
    }

    .timeline-icon {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
    }

    .timeline-step {
        left: 30px !important;
        right: auto !important;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }

    .page-header {
        padding: 120px 0 60px;
    }

    .page-section {
        padding: 80px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-socials {
        text-align: center;
    }

    .footer-contact li {
        display: flex;
        justify-content: center;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}