/*
================================================
THEME: Meta Heroes: The Algorithm Wars
------------------------------------------------
- Author: AI Assistant
- Version: 1.0
- Description: Custom theme for N. Graham Enterprises Digital Marketing Agency
================================================
*/

/* 1.  VARIABLES & ROOT
================================================ */
:root {
    --algorithm-blue: #3D5AFE;
    --viral-pink: #FF4081;
    --graphite: #0E0E0E;
    --dark-grey: #1a1a1a;
    --medium-grey: #2c2c2c;
    --light-grey: #a0a0a0;
    --white: #FFFFFF;
    --glow-blue: rgba(61, 90, 254, 0.7);
    --glow-pink: rgba(255, 64, 129, 0.7);

    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto Mono', monospace;

    --header-height: 80px;
    --transition-speed: 0.3s;
    --border-radius: 8px;
}

/* 2.  BASE & RESET
================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--graphite);
    color: var(--white);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--light-grey);
}

a {
    color: var(--viral-pink);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--white);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 3.  REUSABLE COMPONENTS & UTILITIES
================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease-in-out;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--algorithm-blue);
    color: var(--white);
    border-color: var(--algorithm-blue);
    box-shadow: 0 0 10px var(--glow-blue);
}

.btn-primary:hover {
    background-color: var(--viral-pink);
    border-color: var(--viral-pink);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 0 20px var(--glow-pink);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.section-header .subtitle {
    display: block;
    font-family: var(--font-body);
    color: var(--viral-pink);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Background Grid */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.5;
}

/* 4.  PRELOADER
================================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--graphite);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-grid {
    text-align: center;
}

.loader-grid img {
    width: 80px;
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-text {
    margin-top: 1rem;
    font-family: var(--font-body);
    color: var(--white);
    letter-spacing: 2px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 5.  HEADER & NAVIGATION
================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(14, 14, 14, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo img {
    height: 60px;
    filter: invert(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--viral-pink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: all 0.3s ease-in-out;
}

/* 6.  HERO SECTION
================================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle, var(--medium-grey) 0%, var(--graphite) 70%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    color: var(--white);
    text-shadow: 0 0 15px var(--glow-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.hero-3d-object {
    position: absolute;
    top: 50%;
    right: 15%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    perspective: 1000px;
    z-index: 1;
}

.cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: rotate-cube 20s infinite linear;
}

.face {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid var(--algorithm-blue);
    background: rgba(14, 14, 14, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: var(--algorithm-blue);
    box-shadow: inset 0 0 30px var(--glow-blue);
}

.face.front {
    transform: rotateY(0deg) translateZ(150px);
}

.face.back {
    transform: rotateY(180deg) translateZ(150px);
}

.face.right {
    transform: rotateY(90deg) translateZ(150px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(150px);
}

.face.top {
    transform: rotateX(90deg) translateZ(150px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(150px);
}

@keyframes rotate-cube {
    from {
        transform: rotateX(0deg) rotateY(0deg);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

/* 7.  VILLAINS SECTION
================================================ */
.villains-section {
    background-color: var(--dark-grey);
}

.villains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.villain-card {
    background-color: var(--graphite);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--medium-grey);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.villain-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.villain-icon {
    font-size: 3rem;
    color: var(--viral-pink);
    margin-bottom: 1.5rem;
}

/* 8.  SERVICES SECTION (HERO ARSENAL)
================================================ */
.services-section {
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--dark-grey);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid transparent;
    transition: all var(--transition-speed) ease;
    overflow: hidden;
    position: relative;
}

.service-card:hover {
    transform: scale(1.05);
    border-color: var(--algorithm-blue);
    box-shadow: 0 0 25px var(--glow-blue);
}

.service-icon-wrapper {
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    transition: all var(--transition-speed) ease;
}

/* Service-specific styles */
.service-icon.seo-shield {
    background-color: rgba(61, 90, 254, 0.1);
    color: var(--algorithm-blue);
    border: 2px solid var(--algorithm-blue);
}

.service-card:hover .seo-shield {
    box-shadow: 0 0 20px var(--glow-blue);
    animation: shield-pulse 1.5s infinite;
}

@keyframes shield-pulse {
    0% {
        box-shadow: 0 0 0 0 var(--glow-blue);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(61, 90, 254, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(61, 90, 254, 0);
    }
}

.service-icon.ppc-laser {
    background-color: rgba(255, 64, 129, 0.1);
    color: var(--viral-pink);
    border: 2px solid var(--viral-pink);
}

.service-card:hover .ppc-laser {
    box-shadow: 0 0 20px var(--glow-pink);
    animation: laser-charge 1s infinite alternate;
}

@keyframes laser-charge {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.service-icon.social-sword {
    background-color: rgba(61, 90, 254, 0.1);
    color: var(--algorithm-blue);
    border: 2px solid var(--algorithm-blue);
}

.service-card:hover .social-sword {
    box-shadow: 0 0 20px var(--glow-blue);
    transform: rotate(360deg);
}

.service-icon.content-holocron {
    background-color: rgba(255, 64, 129, 0.1);
    color: var(--viral-pink);
    border: 2px solid var(--viral-pink);
}

.service-card:hover .content-holocron {
    box-shadow: 0 0 20px var(--glow-pink);
    animation: holocron-spin 3s infinite linear;
}

@keyframes holocron-spin {
    from {
        transform: rotateY(0deg);
    }

    to {
        transform: rotateY(360deg);
    }
}

/* 9.  PROCESS SECTION
================================================ */
.process-section {
    background-color: var(--dark-grey);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--medium-grey);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.process-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.process-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.process-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.process-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.8rem;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--graphite);
    border: 3px solid var(--algorithm-blue);
    border-radius: 50%;
    z-index: 1;
    transition: all var(--transition-speed) ease;
}

.process-item:hover .process-icon {
    background-color: var(--algorithm-blue);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.process-item:nth-child(odd) .process-icon {
    right: -30px;
}

.process-item:nth-child(even) .process-icon {
    left: -30px;
}

.process-content {
    padding: 20px 30px;
    background-color: var(--graphite);
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-grey);
}

/* 10. TESTIMONIALS SECTION
================================================ */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 2rem;
    background-color: var(--dark-grey);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--viral-pink);
    text-align: center;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--white);
}

.testimonial-author {
    margin-top: 1.5rem;
}

.testimonial-author h4 {
    color: var(--viral-pink);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--light-grey);
    font-size: 0.9rem;
}

.slider-controls {
    text-align: center;
    margin-top: 1.5rem;
}

.slider-controls button {
    background: transparent;
    border: 2px solid var(--medium-grey);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 10px;
    transition: all var(--transition-speed) ease;
}

.slider-controls button:hover {
    background-color: var(--viral-pink);
    border-color: var(--viral-pink);
}

/* 11. CTA SECTION
================================================ */
.cta-section {
    background: linear-gradient(rgba(14, 14, 14, 0.8), rgba(14, 14, 14, 0.8)), url('https://i.imgur.com/uG9t6qM.jpeg') no-repeat center center/cover;
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 2.8rem;
    color: var(--white);
    text-shadow: 0 0 10px var(--glow-pink);
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 2rem;
    color: var(--light-grey);
}

/* 12. FOOTER
================================================ */
.footer {
    background-color: var(--graphite);
    padding: 60px 0 20px;
    border-top: 1px solid var(--medium-grey);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about .footer-logo img {
    height: 60px;
    filter: invert(1);
    margin-bottom: 1rem;
}

.footer-social {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--medium-grey);
    color: var(--light-grey);
    transition: all var(--transition-speed) ease;
}

.footer-social a:hover {
    background-color: var(--algorithm-blue);
    border-color: var(--algorithm-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--algorithm-blue);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: var(--light-grey);
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: var(--viral-pink);
    padding-left: 5px;
}

.footer-contact ul li i {
    margin-right: 10px;
    color: var(--algorithm-blue);
}

.footer-bottom {
    border-top: 1px solid var(--medium-grey);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--light-grey);
}

.footer-legal a {
    margin: 0 10px;
    color: var(--light-grey);
}

.footer-legal a:hover {
    color: var(--white);
}

/* 13. WIDGETS (Back to top, Chat)
================================================ */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--algorithm-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 998;
    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 {
    background-color: var(--viral-pink);
    transform: scale(1.1);
}

.chat-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--viral-pink);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 998;
    cursor: pointer;
    box-shadow: 0 0 15px var(--glow-pink);
    transition: transform var(--transition-speed) ease;
}

.chat-widget:hover {
    transform: scale(1.1);
}

/* 14. LEGAL & CONTACT PAGES
================================================ */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(rgba(14, 14, 14, 0.7), var(--graphite)),
        radial-gradient(circle, var(--medium-grey) 0%, var(--graphite) 70%);
}

.page-header h1 {
    font-size: 3.5rem;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1rem auto 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--dark-grey);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-grey);
}

.content-wrapper h2 {
    color: var(--algorithm-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--medium-grey);
    padding-bottom: 0.5rem;
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

/* Contact Page Specific */
.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info-block {
    background-color: var(--dark-grey);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-top: 2rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--algorithm-blue);
    margin-right: 1.5rem;
    min-width: 30px;
    text-align: center;
}

.info-text h4 {
    margin-bottom: 0.25rem;
}

.info-text p,
.info-text p a {
    color: var(--light-grey);
    margin-bottom: 0;
}

.contact-form {
    background-color: var(--dark-grey);
    padding: 2.5rem;
    border-radius: var(--border-radius);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--graphite);
    border: 1px solid var(--medium-grey);
    border-radius: var(--border-radius);
    color: var(--white);
    font-family: var(--font-body);
    transition: border-color var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--algorithm-blue);
    box-shadow: 0 0 10px var(--glow-blue);
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--dark-grey);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    max-width: 500px;
    transform: scale(0.9);
    transition: transform var(--transition-speed) ease;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-grey);
}

.popup-icon {
    font-size: 4rem;
    color: var(--algorithm-blue);
    margin-bottom: 1rem;
}

/* 15. ANIMATIONS
================================================ */
.animate-up,
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-up.animate-delay-1,
.animate-on-scroll.animate-delay-1 {
    transition-delay: 0.2s;
}

.animate-up.animate-delay-2,
.animate-on-scroll.animate-delay-2 {
    transition-delay: 0.4s;
}

.animate-up.animate-delay-3,
.animate-on-scroll.animate-delay-3 {
    transition-delay: 0.6s;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* For JS to animate on load */
body.loaded .animate-up {
    opacity: 1;
    transform: translateY(0);
}


/* 16. RESPONSIVE DESIGN
================================================ */

/* Tablets and larger */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--dark-grey);
        width: 100%;
        height: calc(100vh - var(--header-height));
        text-align: center;
        transition: 0.3s;
        gap: 2rem;
        padding-top: 2rem;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .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);
    }

    .hero {
        text-align: center;
    }

    .hero-content {
        padding-top: var(--header-height);
    }

    .hero-subtitle {
        margin: 1rem auto 2rem;
    }

    .hero-3d-object {
        display: none;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-about .footer-logo img {
        margin: 0 auto 1rem;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }

}

/* Mobile phones */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .process-timeline::after {
        left: 30px;
    }

    .process-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 15px;
    }

    .process-item:nth-child(odd),
    .process-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .process-item:nth-child(odd) .process-icon,
    .process-item:nth-child(even) .process-icon {
        left: 0;
    }

    .process-content {
        padding: 15px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }
}