/* --- VARIABLES & RESET --- */
:root {
    --ion-blue: #00D4FF;
    --magenta-pulse: #FF61A6;
    --graphite: #101010;
    --dark-grey: #1a1a1a;
    --medium-grey: #2c2c2c;
    --light-grey: #888;
    --text-color: #f0f0f0;
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --header-height: 80px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--graphite);
    color: var(--text-color);
    line-height: 1.7;
    font-weight: 500;
    overflow-x: hidden;
    cursor: none;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* --- GLOBAL & UTILITY CLASSES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-primary);
    color: var(--ion-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--light-grey);
    font-size: 1.1rem;
}

a {
    color: var(--ion-blue);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--magenta-pulse);
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 1;
}

.btn span {
    margin-right: 10px;
}

.btn i {
    font-size: 1.1em;
}

.btn-primary {
    background-color: var(--ion-blue);
    color: var(--graphite);
    border-color: var(--ion-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.btn-primary:hover {
    background-color: var(--magenta-pulse);
    border-color: var(--magenta-pulse);
    color: var(--text-color);
    box-shadow: 0 0 20px rgba(255, 97, 166, 0.7);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--ion-blue);
    border-color: var(--ion-blue);
}

.btn-secondary:hover {
    background-color: var(--ion-blue);
    color: var(--graphite);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* --- BACKGROUND & CURSOR --- */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
    z-index: 9999;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--ion-blue);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--magenta-pulse);
}

/* --- HEADER & NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(16, 16, 16, 0.8);
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed) ease;
    border-bottom: 1px solid var(--medium-grey);
}

.header.scrolled {
    background-color: rgba(16, 16, 16, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.logo-img {
    height: 60px;
    filter: invert(1);
    margin-right: 15px;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ion-blue), var(--magenta-pulse));
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--ion-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-color);
}

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--header-height) 20px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 50%;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-grey);
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-globe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-30%, -50%);
}

.globe-map {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: url('https://www.transparenttextures.com/patterns/connected.png'),
        radial-gradient(circle at 30% 30%, var(--dark-grey), var(--graphite) 70%);
    border: 1px solid var(--ion-blue);
    animation: rotate-globe 40s linear infinite;
}

.globe-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.globe-ring:nth-child(2) {
    transform: scale(1.2) rotateX(70deg);
    animation: rotate-ring 10s linear infinite reverse;
}

.globe-ring:nth-child(3) {
    transform: scale(1.4) rotateY(70deg);
    animation: rotate-ring 15s linear infinite;
}

.globe-ring:nth-child(4) {
    transform: scale(1.6) rotateX(-70deg);
    animation: rotate-ring 20s linear infinite reverse;
}

@keyframes rotate-globe {
    from {
        background-position: 0 0;
    }

    to {
        background-position: -512px 0;
    }
}

@keyframes rotate-ring {
    from {
        transform: rotate3d(1, 1, 1, 0deg) scale(var(--scale, 1.2)) rotateX(var(--rotX, 70deg)) rotateY(var(--rotY, 0));
    }

    to {
        transform: rotate3d(1, 1, 1, 360deg) scale(var(--scale, 1.2)) rotateX(var(--rotX, 70deg)) rotateY(var(--rotY, 0));
    }
}

/* --- SERVICES SECTION --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--dark-grey);
    border: 1px solid var(--medium-grey);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    perspective: 1000px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 250px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card-back {
    transform: rotateY(180deg);
    background-color: var(--medium-grey);
    padding: 20px;
    border-radius: 10px;
}

.service-card i {
    font-size: 3rem;
    color: var(--ion-blue);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--ion-blue);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--light-grey);
}

.service-card-back h3 {
    color: var(--ion-blue);
    margin-bottom: 15px;
}

.service-card-back ul {
    text-align: left;
    margin-bottom: 20px;
    width: 100%;
}

.service-card-back li {
    margin-bottom: 8px;
    font-weight: 600;
}

.service-card-back li::before {
    content: '\f058';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--ion-blue);
    margin-right: 10px;
}

/* Hover glow effect */
.service-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--magenta-pulse) 0%, transparent 80%);
    border-radius: 50%;
    opacity: 0;
    transition: width 0.4s, height 0.4s, opacity 0.4s;
    transform: translate(-50%, -50%);
}

.service-card:hover::before {
    width: 300px;
    height: 300px;
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--ion-blue);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

/* --- ABOUT SECTION --- */
.about-section {
    background-color: var(--dark-grey);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    padding-top: 110%;
    /* Aspect ratio */
}

.about-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1), rgba(255, 97, 166, 0.1));
    border: 2px solid var(--medium-grey);
    border-radius: 10px;
}

.about-content p {
    margin-bottom: 30px;
    color: var(--light-grey);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    border: 1px solid var(--medium-grey);
    padding: 20px;
    border-radius: 5px;
    background-color: var(--graphite);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--ion-blue);
    font-weight: 900;
}

.stat-item p {
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
}

/* --- INDUSTRIES SECTION --- */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.industry-item {
    text-align: center;
    padding: 30px;
    background-color: var(--dark-grey);
    border: 1px solid var(--medium-grey);
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--magenta-pulse);
    margin-bottom: 20px;
}

.industry-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.industry-item p {
    color: var(--light-grey);
    font-size: 0.95rem;
}

.industry-item:hover {
    transform: translateY(-8px);
    border-color: var(--magenta-pulse);
    box-shadow: 0 8px 25px rgba(255, 97, 166, 0.1);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials-section {
    background-color: var(--dark-grey);
    overflow: hidden;
}

.testimonial-slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    width: calc(3 * 100%);
    /* 3 original slides */
    animation: slide-testimonials 30s linear infinite;
}

.testimonial-slide {
    flex: 0 0 calc(100% / 3);
    /* Show 3 slides at once */
    padding: 40px;
    margin: 0 15px;
    background-color: var(--graphite);
    border: 1px solid var(--medium-grey);
    border-radius: 10px;
}

.testimonial-slide p {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--light-grey);
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--ion-blue);
    margin-right: 20px;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--ion-blue);
    font-weight: 600;
}

@keyframes slide-testimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Halfway for infinite loop */
}

.testimonial-slider-wrapper:hover .testimonial-slider {
    animation-play-state: paused;
}


/* --- ROI CALCULATOR SECTION --- */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background-color: var(--dark-grey);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--medium-grey);
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.calculator-form .form-group {
    display: flex;
    flex-direction: column;
}

.calculator-form label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--light-grey);
}

.calculator-form input {
    background-color: var(--graphite);
    border: 1px solid var(--medium-grey);
    border-radius: 5px;
    padding: 12px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: var(--font-secondary);
}

.calculator-form input:focus {
    outline: none;
    border-color: var(--ion-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.calculator-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.result-box {
    background-color: var(--graphite);
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--medium-grey);
}

.result-box h4 {
    color: var(--light-grey);
    margin-bottom: 10px;
    font-size: 1rem;
}

.result-box p {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-color);
}

.result-box.highlight p {
    color: var(--ion-blue);
    text-shadow: 0 0 10px var(--ion-blue);
}

.calculator-results small {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--light-grey);
    font-style: italic;
}


/* --- CTA SECTION --- */
.cta-section {
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.1), rgba(255, 97, 166, 0.1)), var(--dark-grey);
    padding: 80px 0;
}

.cta-container {
    text-align: center;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-container p {
    font-size: 1.2rem;
    color: var(--light-grey);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- PAGE-SPECIFIC HEADERS --- */
.page-header-section {
    padding: 150px 0 80px;
    background: linear-gradient(rgba(16, 16, 16, 0.8), rgba(16, 16, 16, 0.8)), url(https://images.pexels.com/photos/1779487/pexels-photo-1779487.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1) no-repeat center center/cover;
    text-align: center;
}

.page-header-section h1 {
    font-size: 3.5rem;
}

.page-header-desc {
    font-size: 1.2rem;
    color: var(--light-grey);
    max-width: 600px;
    margin: 20px auto 30px;
}

.breadcrumbs a {
    color: var(--light-grey);
}

.breadcrumbs a:hover {
    color: var(--ion-blue);
}

.breadcrumbs span {
    color: var(--text-color);
}

.breadcrumbs i {
    margin: 0 10px;
    font-size: 0.8rem;
    color: var(--magenta-pulse);
}


/* --- LEGAL & CONTACT PAGES --- */
.legal-content,
.contact-wrapper {
    background-color: var(--dark-grey);
    border: 1px solid var(--medium-grey);
    padding: 40px;
    border-radius: 10px;
}

.legal-content h2 {
    color: var(--ion-blue);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.legal-content p,
.legal-content li {
    color: var(--light-grey);
    margin-bottom: 15px;
}

.legal-content strong {
    color: var(--text-color);
    font-weight: 700;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.contact-info-panel h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--ion-blue);
}

.contact-info-panel p {
    color: var(--light-grey);
    margin-bottom: 30px;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-details-list i {
    font-size: 1.5rem;
    color: var(--magenta-pulse);
    margin-right: 20px;
    margin-top: 5px;
    width: 25px;
    text-align: center;
}

.contact-details-list h4 {
    margin-bottom: 5px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--graphite);
    border: 1px solid var(--medium-grey);
    border-radius: 5px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: var(--font-secondary);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--ion-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--dark-grey);
    padding: 80px 0 0;
    border-top: 1px solid var(--medium-grey);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--ion-blue), var(--magenta-pulse));
}

.footer-about-text {
    color: var(--light-grey);
    margin: 20px 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--medium-grey);
    border-radius: 50%;
    color: var(--light-grey);
    font-size: 1.1rem;
}

.social-links a:hover {
    background-color: var(--ion-blue);
    color: var(--graphite);
    border-color: var(--ion-blue);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--light-grey);
}

.footer-links ul li a:hover {
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    color: var(--light-grey);
    margin-bottom: 15px;
}

.footer-contact ul li i {
    margin-right: 15px;
    margin-top: 5px;
    color: var(--ion-blue);
}

.footer-contact ul li a {
    color: var(--light-grey);
}

.footer-bottom {
    border-top: 1px solid var(--medium-grey);
    padding: 25px 0;
    text-align: center;
    color: var(--light-grey);
}

/* --- 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: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--dark-grey);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--ion-blue);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    transform: scale(0.9);
    transition: transform var(--transition-speed) ease;
}

.popup.active .popup-content {
    transform: scale(1);
}

.popup-icon i {
    font-size: 4rem;
    color: var(--ion-blue);
    margin-bottom: 20px;
}

.popup-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.popup-content p {
    color: var(--light-grey);
    margin-bottom: 30px;
    max-width: 400px;
}

.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--ion-blue);
    color: var(--graphite);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-weight: 700;
    cursor: pointer;
    z-index: 999;
    transition: all var(--transition-speed);
}

.live-chat-widget:hover {
    background-color: var(--magenta-pulse);
    transform: scale(1.05);
}

/* --- ANIMATIONS & KEYFRAMES --- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-in.fade-in-left {
    transform: translateX(-30px);
}

.animate-in.fade-in-right {
    transform: translateX(30px);
}

.animate-in.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* --- RESPONSIVENESS --- */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.4rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 0 20px;
    }

    .hero-visual {
        display: none;
    }

    .hero-section {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto 40px;
    }

    .about-content {
        text-align: center;
    }

    .calculator-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-slider {
        animation: none;
        display: block;
    }

    .testimonial-slide {
        flex: auto;
        margin-bottom: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        background-color: var(--graphite);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-speed) ease;
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 50px;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 30px;
        right: 30px;
    }

    .nav-toggle {
        display: block;
    }

    .header-actions .header-btn {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-inner {
        height: auto;
        min-height: 250px;
    }

    .industry-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item:not(:last-child) {
        margin-bottom: 20px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }
}