/*
================================================
TABLE OF CONTENTS
================================================
1.  VARIABLES & RESET
2.  GENERAL STYLES & UTILITIES
3.  LOADER ANIMATION
4.  HEADER & NAVIGATION
5.  MOBILE MENU
6.  HERO SECTION
7.  SERVICES SECTION
8.  PROCESS SECTION
9.  INDUSTRIES SECTION
10. TESTIMONIALS SECTION
11. CTA SECTION
12. CONTACT PAGE SPECIFIC
13. LEGAL PAGES SPECIFIC
14. FOOTER
15. LIVE CHAT WIDGET
16. POPUP STYLES
17. ANIMATIONS & KEYFRAMES
18. RESPONSIVE DESIGN (MEDIA QUERIES)
================================================
*/

/* 1. VARIABLES & RESET */
:root {
    --primary-color: #00e5ff;
    --secondary-color: #ffffff;
    --dark-bg: #0a1024;
    --light-dark-bg: #121a33;
    --card-bg: #1a2444;
    --text-color: #c0c8e7;
    --heading-color: #ffffff;
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --gradient-text: linear-gradient(90deg, #00e5ff, #b347ff);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--heading-color);
    line-height: 1.3;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 2. GENERAL STYLES & UTILITIES */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease-in-out;
}

.btn span {
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-text);
    z-index: -1;
    transition: width 0.4s ease-in-out;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.btn-primary:hover {
    color: var(--secondary-color);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    color: var(--secondary-color);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-primary);
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* 3. LOADER ANIMATION */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-cube {
    width: 50px;
    height: 50px;
    transform-style: preserve-3d;
    animation: rotate-cube 4s infinite linear;
}

.loader-cube .face {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    background: rgba(0, 229, 255, 0.1);
}

.face.front {
    transform: translateZ(25px);
}

.face.back {
    transform: rotateY(180deg) translateZ(25px);
}

.face.right {
    transform: rotateY(90deg) translateZ(25px);
}

.face.left {
    transform: rotateY(-90deg) translateZ(25px);
}

.face.top {
    transform: rotateX(90deg) translateZ(25px);
}

.face.bottom {
    transform: rotateX(-90deg) translateZ(25px);
}

.loader-text {
    margin-top: 20px;
    font-family: var(--font-primary);
    color: var(--primary-color);
    letter-spacing: 3px;
    animation: pulse 2s infinite ease-in-out;
}

/* 4. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background: rgba(10, 16, 36, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.header.scrolled {
    background: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 80px;
    filter: invert(1);
}

.main-nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--secondary-color);
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.header-actions {
    display: none;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1.5px;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

.mobile-menu-open .hamburger-inner {
    transform: rotate(45deg);
    background-color: var(--primary-color);
}

.mobile-menu-open .hamburger-inner::before {
    top: 0;
    opacity: 0;
}

.mobile-menu-open .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
}

/* 5. MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark-bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-open .mobile-menu {
    transform: translateX(0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-family: var(--font-primary);
    color: var(--secondary-color);
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--primary-color);
}

/* 6. HERO SECTION */
.hero-section {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 50px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-visual {
    perspective: 1000px;
}

.hero-cube-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
}

.hero-cube {
    width: 150px;
    height: 150px;
    position: relative;
    transform-style: preserve-3d;
    animation: spin-cube 20s infinite linear;
}

.hero-cube .face {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(26, 36, 68, 0.8);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    color: var(--secondary-color);
}

.hero-cube .face i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.hero-cube .face.front {
    transform: translateZ(75px);
}

.hero-cube .face.back {
    transform: rotateY(180deg) translateZ(75px);
}

.hero-cube .face.right {
    transform: rotateY(90deg) translateZ(75px);
}

.hero-cube .face.left {
    transform: rotateY(-90deg) translateZ(75px);
}

.hero-cube .face.top {
    transform: rotateX(90deg) translateZ(75px);
}

.hero-cube .face.bottom {
    transform: rotateX(-90deg) translateZ(75px);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.05);
    filter: blur(50px);
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 5%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    top: 60%;
    right: 10%;
}

.shape-3 {
    width: 200px;
    height: 200px;
    bottom: 5%;
    left: 20%;
    background: rgba(179, 71, 255, 0.05);
}

/* 7. SERVICES SECTION */
.services-section {
    background-color: var(--light-dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: transparent;
    perspective: 1000px;
    height: 350px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    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;
    padding: 30px;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card-back {
    transform: rotateY(180deg);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.learn-more-link {
    font-family: var(--font-primary);
    margin-top: auto;
}

/* 8. PROCESS SECTION */
.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--card-bg);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.process-step {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    display: flex;
    align-items: center;
    gap: 30px;
}

.process-step:nth-child(odd) {
    left: 0;
    justify-content: flex-end;
    text-align: right;
}

.process-step:nth-child(even) {
    left: 50%;
}

.process-icon-wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--dark-bg);
    border: 3px solid var(--primary-color);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px var(--primary-color);
}

.process-step:nth-child(odd) .process-icon-wrapper {
    right: -30px;
}

.process-step:nth-child(even) .process-icon-wrapper {
    left: -30px;
}

.process-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.process-content {
    background: var(--card-bg);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.process-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    opacity: 0.5;
}

.process-title {
    margin-top: 5px;
    font-size: 1.4rem;
}

/* 9. INDUSTRIES SECTION */
.industries-section {
    background: var(--light-dark-bg);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.industry-item {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.3);
}

.industry-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.industry-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* 10. TESTIMONIALS SECTION */
.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    background: var(--card-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-quote::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 10px;
}

.author-name {
    font-size: 1.1rem;
    font-family: var(--font-primary);
}

.author-title {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-color);
}

/* 11. CTA SECTION */
.cta-section {
    background: url('https://www.transparenttextures.com/patterns/clean-gray-paper.png'), var(--light-dark-bg);
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

/* 12. CONTACT PAGE SPECIFIC */
.page-header-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    text-align: center;
    background: var(--light-dark-bg);
}

.page-title {
    font-size: 3rem;
}

.page-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
}

.contact-section-standalone {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    background: var(--card-bg);
    padding: 50px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 40px;
}

.contact-info .section-header p {
    margin: 0;
    max-width: none;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    background: var(--light-dark-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-text h3 {
    font-size: 1.2rem;
}

.contact-text p,
.contact-text a {
    font-size: 1rem;
    color: var(--text-color);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--light-dark-bg);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: var(--border-radius);
    color: var(--secondary-color);
    font-family: var(--font-secondary);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

/* 13. LEGAL PAGES SPECIFIC */
.legal-header {
    background: var(--dark-bg);
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 40px;
}

.legal-content {
    padding: 80px 0;
}

.legal-content .container {
    max-width: 800px;
    background: var(--light-dark-bg);
    padding: 50px;
    border-radius: var(--border-radius);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.legal-section p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.legal-section strong {
    color: var(--secondary-color);
}

/* 14. FOOTER */
.footer {
    background: var(--light-dark-bg);
    padding-top: 80px;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: capitalize  ;
    color: var(--primary-color);
}

.about-col .footer-logo img {
    height: 80px;
    filter: invert(1);
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--card-bg);
    color: var(--primary-color);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.links-col ul li {
    margin-bottom: 10px;
}

.links-col ul li a {
    color: var(--text-color);
}

.contact-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-col ul li i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-legal-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-legal-links a {
    font-size: 0.9rem;
}

/* 15. LIVE CHAT WIDGET */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 229, 255, 0.4);
    transition: transform 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-toggle i {
    font-size: 1.8rem;
    color: var(--dark-bg);
    position: absolute;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-toggle .fa-times {
    opacity: 0;
    transform: rotate(-45deg);
}

.chat-widget.open .fa-comments {
    opacity: 0;
    transform: rotate(45deg);
}

.chat-widget.open .fa-times {
    opacity: 1;
    transform: rotate(0);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--light-dark-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.chat-widget.open .chat-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: var(--card-bg);
    padding: 15px;
    text-align: center;
}

.chat-header h3 {
    font-size: 1.1rem;
}

.chat-header p {
    font-size: 0.9rem;
    margin: 0;
}

.chat-body {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
}

.message {
    margin-bottom: 10px;
}

.message.received p {
    background: var(--card-bg);
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    display: inline-block;
    max-width: 80%;
}

.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

.chat-footer input {
    flex-grow: 1;
    background: var(--dark-bg);
    border: none;
    padding: 10px;
    border-radius: 20px;
    color: var(--secondary-color);
    outline: none;
}

.chat-footer button {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 10px;
}

/* 16. POPUP STYLES */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 16, 36, 0.9);
    z-index: 1002;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 450px;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.popup h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.popup p {
    margin-bottom: 30px;
}


/* 17. ANIMATIONS & KEYFRAMES */
@keyframes rotate-cube {
    from {
        transform: rotateX(0) rotateY(0);
    }

    to {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes spin-cube {
    0% {
        transform: rotateY(0) rotateX(0);
    }

    100% {
        transform: rotateY(360deg) rotateX(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Scroll Animations */
[data-animation] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-animation="fade-up"] {
    transform: translateY(50px);
}

[data-animation="fade-down"] {
    transform: translateY(-50px);
}

[data-animation="fade-right"] {
    transform: translateX(-50px);
}

[data-animation="fade-left"] {
    transform: translateX(50px);
}

.scrolled[data-animation] {
    opacity: 1;
    transform: translate(0, 0);
}


/* 18. RESPONSIVE DESIGN */
@media (min-width: 768px) {
    .main-nav {
        display: block;
    }

    .header-actions {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1.2fr 1fr;
        text-align: left;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-subtitle {
        margin: 0 0 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr 1.2fr;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 2fr 1fr 1.5fr;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer-legal-links {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    body.mobile-menu-open {
        overflow: hidden;
    }

    .process-timeline::after {
        left: 30px;
    }

    .process-step {
        width: 100%;
        padding-left: 80px;
        padding-right: 15px;
        left: 0 !important;
        text-align: left !important;
        justify-content: flex-start !important;
    }

    .process-step:nth-child(even) .process-content {
        float: left;
    }

    .process-step:nth-child(even) .process-icon-wrapper,
    .process-step:nth-child(odd) .process-icon-wrapper {
        left: 0;
    }

    .slider-controls {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 80px 0;
    }
}