/*
==============================================
TABLE OF CONTENTS
==============================================
1.  Variables & Global Styles
2.  Preloader & Utility Classes
3.  Header & Navigation
4.  Buttons & Forms
5.  Footer
6.  Hero Section
7.  Services Section
8.  Industry Section
9.  Testimonials Section
10. CTA (Call to Action) Section
11. Page Header & Legal Pages
12. Contact Page specific styles
13. Interactive Elements (Popup, Back to Top)
14. Animations & Keyframes
15. Responsive Design (Media Queries)
==============================================
*/

/* 1. VARIABLES & GLOBAL STYLES */
:root {
    --primary-color: #0A74DA;
    --secondary-color: #00C49A;
    --dark-bg: #121212;
    --dark-bg-secondary: #1E1E1E;
    --light-bg: #F5F5F7;
    --text-light: #FFFFFF;
    --text-medium: #A9A9A9;
    --text-dark: #333333;
    --border-color: #333333;
    --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-medium);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-secondary);
    color: var(--text-light);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(10, 116, 218, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
}

.section-title .highlight {
    color: var(--secondary-color);
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

.text-center {
    text-align: center;
}


/* 2. PRELOADER & UTILITY CLASSES */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    text-align: center;
}

.loader-logo img {
    width: 100px;
    filter: brightness(0) invert(1);
    animation: pulse 1.5s infinite ease-in-out;
}

.loader-bar {
    width: 120px;
    height: 4px;
    background-color: var(--border-color);
    margin-top: 20px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    animation: loading 2.5s linear infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3. HEADER & NAVIGATION */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: var(--dark-bg);
    border-bottom-color: var(--border-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: block;
}

.logo img {
    height: 60px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--text-light);
    padding: 10px 15px;
    margin: 0 5px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-bg-secondary);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-medium);
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.header-actions {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.hamburger {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav.active .hamburger {
    background-color: transparent;
}

.nav.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}


/* 4. BUTTONS & FORMS */
.btn {
    display: inline-block;
    padding: 14px 30px;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scaleX(0);
    transform-origin: left;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: right;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
}

.btn-primary::before {
    background: var(--dark-bg);
}

.btn-primary:hover {
    color: var(--text-light);
}


.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.btn-secondary::before {
    background: var(--gradient-primary);
}

.btn-secondary:hover {
    color: var(--text-light);
    border-color: var(--primary-color);
}

.btn-light {
    background: var(--text-light);
    color: var(--dark-bg);
}

.btn-light::before {
    background: var(--gradient-primary);
}

.btn-light:hover {
    color: var(--text-light);
}

.btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(5px);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 16px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(10, 116, 218, 0.5);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--text-medium);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:focus+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: var(--primary-color);
    background: var(--dark-bg-secondary);
    padding: 0 5px;
}


/* 5. FOOTER */
.footer {
    background-color: var(--dark-bg);
    padding: 80px 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-family: var(--font-secondary);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-about p {
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    background: var(--dark-bg-secondary);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.footer-socials a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-medium);
    font-size: 15px;
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--text-light);
}

.footer-links ul li a:hover::before {
    transform: translateX(4px);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-contact ul li i {
    color: var(--primary-color);
    font-size: 18px;
    width: 25px;
    margin-right: 10px;
    padding-top: 3px;
}

.footer-contact ul li a {
    color: var(--text-medium);
}

.footer-contact ul li a:hover {
    color: var(--text-light);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 25px 0;
    text-align: center;
    color: var(--text-medium);
}


/* 6. HERO SECTION */
.hero {
    padding-top: calc(var(--header-height) + 120px);
    padding-bottom: 120px;
    position: relative;
    overflow: hidden;
    background-color: var(--dark-bg);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-shape-1 {
    position: absolute;
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.2;
}

.hero-shape-2 {
    position: absolute;
    bottom: 5%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    border-radius: 50%;
    filter: blur(200px);
    opacity: 0.15;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    display: inline-block;
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-title {
    font-size: 64px;
    margin-bottom: 25px;
    font-weight: 800;
}

.highlight-container {
    position: relative;
    display: inline-block;
}

.highlight-text {
    position: relative;
    color: transparent;
}

.highlight-text::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: text-flicker 3s linear infinite;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-visuals {
    perspective: 1500px;
}

.hero-3d-container {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.hero-main-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-3d-container:hover .hero-main-image {
    transform: rotateY(0) rotateX(0);
}

.hero-3d-card {
    position: absolute;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.hero-3d-card i {
    font-size: 24px;
    color: var(--secondary-color);
}

.hero-3d-card h4 {
    font-size: 20px;
    margin: 0;
    color: var(--text-light);
}

.hero-3d-card p {
    margin: 0;
    font-size: 14px;
    color: var(--text-medium);
}

.card-1 {
    top: 10%;
    left: -15%;
    transform: translateZ(50px) rotateY(-15deg);
}

.card-2 {
    bottom: -10%;
    left: 20%;
    transform: translateZ(80px);
}

.card-3 {
    top: 40%;
    right: -20%;
    transform: translateZ(60px) rotateY(-15deg);
}

.hero-3d-container:hover .hero-3d-card {
    transform: translateZ(100px) scale(1.05);
}


/* 7. SERVICES SECTION */
.services-section {
    background-color: var(--dark-bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(10, 116, 218, 0.1), transparent 50%);
    transition: transform 0.8s ease;
    transform: scale(0);
    transform-origin: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
    transform: scale(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: var(--text-light);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(15deg);
}

.service-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-description {
    font-size: 15px;
    margin-bottom: 25px;
}

.service-link {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}


/* 8. INDUSTRY SECTION */
.industry-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.industry-content .section-title,
.industry-content .section-subtitle,
.industry-content .section-description {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.industry-tabs {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tab-link {
    background: transparent;
    border: none;
    color: var(--text-medium);
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    font-family: var(--font-secondary);
    font-weight: 600;
    text-align: left;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.tab-link i {
    font-size: 22px;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.tab-link.active,
.tab-link:hover {
    background: var(--dark-bg-secondary);
    color: var(--text-light);
}

.tab-link.active i,
.tab-link:hover i {
    color: var(--secondary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
    padding: 20px;
    background: var(--dark-bg-secondary);
    border-radius: 8px;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}


.industry-visual {
    position: relative;
}

.industry-image-container {
    border-radius: 15px;
    overflow: hidden;
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.industry-image-container img {
    display: block;
}

.industry-visual:hover .industry-image-container {
    transform: rotate(0);
}

.industry-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 15px;
    z-index: -1;
    transition: transform 0.5s ease;
}

.industry-visual:hover::before {
    transform: translate(10px, 10px);
}

/* 9. TESTIMONIALS SECTION */
.testimonials-section {
    background: url('https://www.transparenttextures.com/patterns/cubes.png'), var(--dark-bg-secondary);
}

.testimonial-slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 100%;
    background: var(--dark-bg);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.testimonial-quote-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 20px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 18px;
    margin: 0;
}

.author-title {
    font-size: 14px;
    margin: 0;
    color: var(--text-medium);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 110%;
    left: -5%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.slider-controls button {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

/* 10. CTA SECTION */
.cta-section {
    padding: 80px 0;
}

.cta-wrapper {
    background: var(--gradient-primary);
    padding: 60px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.cta-description {
    color: var(--text-light);
    opacity: 0.9;
    max-width: 600px;
}

/* 11. PAGE HEADER & LEGAL PAGES */
.page-header {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    text-align: center;
    background: var(--dark-bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 52px;
    margin-bottom: 15px;
}

.breadcrumbs a {
    color: var(--text-medium);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--text-light);
}

.main-content {
    padding: 80px 0;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-bg-secondary);
    padding: 50px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.legal-content h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.legal-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.legal-content strong {
    color: var(--secondary-color);
}

/* 12. CONTACT PAGE SPECIFIC STYLES */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.contact-form-container {
    background: var(--dark-bg-secondary);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.form-title {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    position: static;
    font-size: 14px;
    color: var(--text-medium);
}

.checkbox-group a {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

.contact-info .contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--dark-bg-secondary);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-info .contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--text-light);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.contact-details p {
    margin: 0;
}


/* 13. INTERACTIVE ELEMENTS */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--dark-bg-secondary);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: var(--text-medium);
    cursor: pointer;
}

.popup-icon {
    font-size: 60px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.popup-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--text-light);
}

/* 14. ANIMATIONS & KEYFRAMES */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes loading {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes text-flicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        text-shadow:
            0 0 5px var(--secondary-color),
            0 0 10px var(--secondary-color),
            0 0 20px var(--primary-color),
            0 0 40px var(--primary-color);
    }

    20%,
    24%,
    55% {
        text-shadow: none;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scroll animation variations */
[data-animation="fade-right"].is-visible {
    transform: translateX(0);
    opacity: 1;
}

.animate-on-scroll[data-animation="fade-right"] {
    transform: translateX(-30px);
}

[data-animation="fade-left"].is-visible {
    transform: translateX(0);
    opacity: 1;
}

.animate-on-scroll[data-animation="fade-left"] {
    transform: translateX(30px);
}

[data-animation="zoom-in"].is-visible {
    transform: scale(1);
    opacity: 1;
}

.animate-on-scroll[data-animation="zoom-in"] {
    transform: scale(0.9);
}

/* 15. RESPONSIVE DESIGN */

/* Tablets and larger devices */
@media (max-width: 1024px) {
    .section-title {
        font-size: 40px;
    }

    .hero-title {
        font-size: 52px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-visuals {
        order: 1;
        margin-bottom: 50px;
    }

    .hero-description {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-3d-card {
        display: none;
    }

    /* Hide for simplicity on smaller screens */
    .industry-wrapper {
        grid-template-columns: 1fr;
    }

    .industry-visual {
        margin-top: 50px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .hero {
        padding-top: calc(var(--header-height) + 60px);
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 40px;
    }

    .header-actions .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--dark-bg);
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        padding: 40px 20px;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav-link {
        font-size: 20px;
    }

    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        padding-top: 15px;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 15px;
        text-align: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .slider-controls {
        display: none;
    }

    /* On mobile, users can swipe */
}