/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --quantum-orange: #FF9A3B;
    --quantum-orange-dark: #E08A35;
    --quantum-orange-light: #FFB266;
    --quantum-black: #000000;
    --primary: #0d47a1;
    --primary-dark: #08306b;
    --secondary: var(--quantum-orange);
    --secondary-dark: var(--quantum-orange-dark);
    --accent: #00e5ff;
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --gray: #6c757d;
    --light: #f8f9fa;
    --white: #ffffff;
    --medium-grey: #f0f0f0;
    --nav-orange: var(--quantum-orange);
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--dark);
}

h3 {
    font-size: 1.5rem;
    color: var(--dark);
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 5rem 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: var(--quantum-orange);
    color: var(--dark);
}

.btn-primary:hover {
    background-color: var(--quantum-orange-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--quantum-orange);
    border: 1px solid var(--quantum-orange);
}

.btn-secondary:hover {
    background-color: rgba(255, 154, 59, 0.1);
    transform: translateY(-3px);
}

.btn-dark {
    background-color: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--quantum-orange);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* ============================================
   SIMPLE PRELOADER WITH QUANTUM.JPG
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.loader-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.quantum-logo-wrapper {
    width: 150px;
    height: 150px;
    animation: pulseLogo 2s ease-in-out infinite;
}

.quantum-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(255, 154, 59, 0.2);
}

.loading-circle {
    display: flex;
    gap: 1rem;
}

.loading-circle .circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--quantum-orange);
    animation: bounce 1.4s ease-in-out infinite;
}

.loading-circle .circle:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-circle .circle:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes pulseLogo {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* ============================================
   HEADER STYLES
   ============================================ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow);
}

.top-bar {
    background-color: var(--medium-grey);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    min-height: 90px;
    display: flex;
    align-items: center;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.company-branding {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    padding: 5px 0;
}

.company-logo {
    height: 90px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: transparent;
    max-width: none;
}

.company-wordmark {
    display: flex;
    flex-direction: column;
    font-family: 'Arial Black', 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wordmark-text {
    display: block;
}

.wordmark-text:first-child {
    color: var(--quantum-orange);
}

.wordmark-text.accent {
    color: var(--quantum-orange);
    position: relative;
    display: inline-block;
}

.wordmark-text:first-child::first-letter {
    color: var(--quantum-black);
}

.wordmark-text.accent::first-letter {
    color: var(--quantum-black);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark);
    font-weight: 500;
}

.contact-item:hover {
    color: var(--quantum-orange);
}

.contact-item i {
    color: var(--quantum-orange);
}

.phone-dropdown {
    position: relative;
}

.phone-dropdown:hover .phone-numbers {
    display: flex;
}

.phone-numbers {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--medium-grey);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    min-width: 180px;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 100;
    box-shadow: var(--shadow);
}

.phone-numbers a {
    color: var(--dark);
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.phone-numbers a:hover {
    color: var(--quantum-orange);
    background-color: rgba(0, 0, 0, 0.05);
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--quantum-orange);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--quantum-orange);
    color: var(--dark);
    transform: translateY(-2px);
}

.main-nav {
    background-color: var(--nav-orange);
    padding: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--dark);
}

.nav-link.active {
    color: var(--dark);
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--dark);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--nav-orange);
    z-index: 999;
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.company-branding.mobile .logo-wrapper {
    gap: 0.8rem;
}

.company-branding.mobile .company-logo {
    height: 70px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: transparent;
    max-width: none;
}

.company-branding.mobile .company-wordmark {
    font-size: 1.3rem;
}

.company-branding.mobile .wordmark-text:first-child::first-letter {
    color: var(--quantum-black);
}

.company-branding.mobile .wordmark-text.accent::first-letter {
    color: var(--quantum-black);
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-link:hover {
    color: var(--dark);
}

.mobile-contact-info {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.mobile-contact-item:hover {
    color: var(--dark);
}

.mobile-contact-item i {
    color: var(--white);
    min-width: 20px;
    font-size: 1.2rem;
}

.mobile-phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-phone-numbers a {
    color: var(--white);
    font-size: 1rem;
}

.mobile-phone-numbers a:hover {
    color: var(--dark);
}

.mobile-social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.mobile-social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
}

.mobile-social-icon:hover {
    background-color: var(--white);
    color: var(--dark);
}

.hero {
    margin-top: 140px;
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--white);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-text {
    color: var(--quantum-orange);
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--quantum-orange);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-video {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-container {
    position: relative;
    width: 100%;
    height: 300px;
    background-color: #000;
    border-radius: var(--border-radius);
    overflow: hidden;
}

#heroVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-right {
    position: relative;
}

.hero-slider {
    position: relative;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide-1 {
    background-image: url('images/hero1.png');
}

.slide-2 {
    background-image: url('images/hero2.png');
}

.slide-3 {
    background-image: url('images/hero3.png');
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.slider-arrow {
    display: none;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background-color: var(--quantum-orange);
    transform: scale(1.2);
}

.vertical-icon-bar {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 3;
}

.vertical-icon {
    position: relative;
    text-decoration: none;
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 154, 59, 0.9), rgba(255, 154, 59, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.3rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 154, 59, 0.3);
}

.vertical-icon:hover .icon-wrapper {
    transform: translateX(-5px) scale(1.1);
    background: linear-gradient(135deg, var(--quantum-orange-dark), var(--quantum-orange));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(255, 154, 59, 0.4);
}

.vertical-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    pointer-events: none;
}

.vertical-icon:hover::after {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

.services {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.8s ease;
    padding: 1rem;
    background-color: #fff;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
    flex-grow: 1;
    position: relative;
}

.service-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--quantum-orange);
    transition: var(--transition);
}

.service-card:hover .service-content:before {
    width: 100%;
    opacity: 0.1;
}

.service-icon {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-features {
    position: relative;
    z-index: 1;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark);
}

.service-features i {
    color: var(--quantum-orange);
}

.projects {
    background-color: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.project-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: var(--white);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-img {
    position: relative;
    height: 250px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s ease;
    background-color: #f8f8f8;
}

.project-img:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    z-index: 1;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-1 {
    background-image: url('images/headquaters.png');
    background-size: cover;
    background-position: center;
}

.project-2 {
    background-image: url('images/ksaud.png');
    background-size: cover;
    background-position: center;
}

.project-3 {
    background-image: url('images/jeddah.png');
    background-size: cover;
    background-position: center;
}

.project-4 {
    background-image: url('images/aljouf.jpg');
    background-size: cover;
    background-position: center;
}

.project-5 {
    background-image: url('images/riyadhcommer.jpg');
    background-size: cover;
    background-position: center;
}

.project-6 {
    background-image: url('images/hos.jpg');
    background-size: cover;
    background-position: center;
}

.project-tags {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
    z-index: 2;
}

.project-tag {
    background-color: rgba(255, 154, 59, 0.9);
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.project-info p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.85rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.project-meta i {
    color: var(--quantum-orange);
}

.projects-cta {
    text-align: center;
    margin-top: 3rem;
}

footer {
    background-color: var(--medium-grey);
    color: var(--dark);
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.7rem;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--quantum-orange);
}

.footer-logo {
    margin-bottom: 1rem;
}

.company-branding.footer .logo-wrapper {
    gap: 0.8rem;
}

.company-branding.footer .company-logo {
    height: 80px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: transparent;
    max-width: none;
}

.company-branding.footer .company-wordmark {
    font-size: 1.5rem;
}

.company-branding.footer .wordmark-text:first-child::first-letter {
    color: var(--quantum-black);
}

.company-branding.footer .wordmark-text.accent::first-letter {
    color: var(--quantum-black);
}

.footer-motto {
    font-style: italic;
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--quantum-orange);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social-icon:hover {
    background-color: var(--quantum-orange);
    color: var(--dark);
    transform: translateY(-2px);
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    transition: var(--transition);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--quantum-orange);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 1rem;
    color: var(--gray);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1rem;
}

.footer-contact i {
    color: var(--quantum-orange);
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.footer-contact a {
    color: var(--dark);
    font-weight: 500;
}

.footer-contact a:hover {
    color: var(--quantum-orange);
}

.contact-details {
    margin: 1.5rem 0;
}

.btn-map {
    display: inline-block;
    background-color: var(--quantum-orange);
    color: var(--dark);
    border: 1px solid var(--quantum-orange);
    padding: 0.9rem 1.8rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    text-align: center;
}

.btn-map:hover {
    background-color: var(--quantum-orange-dark);
    color: var(--dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.working-hours {
    margin-top: 1.5rem;
}

.working-hours h4 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.working-hours p {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.newsletter-form input {
    padding: 1rem 1.2rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--dark);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: var(--gray);
    font-size: 0.95rem;
}

.btn-subscribe {
    background-color: var(--quantum-orange);
    color: var(--dark);
    border: none;
    padding: 1rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-subscribe:hover {
    background-color: var(--quantum-orange-dark);
    transform: translateY(-2px);
}

.newsletter-message {
    margin-top: 1rem;
    font-size: 1rem;
    min-height: 1.5rem;
    color: var(--dark);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 1rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--gray);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--quantum-orange);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--quantum-orange);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--quantum-orange-dark);
    transform: translateY(-5px);
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--medium-grey);
    color: var(--dark);
    padding: 1rem 0;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
    color: var(--dark);
    font-size: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.btn-cookie {
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-accept {
    background-color: var(--quantum-orange);
    color: var(--dark);
}

.btn-accept:hover {
    background-color: var(--quantum-orange-dark);
}

.btn-settings {
    background-color: transparent;
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.btn-settings:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
    .hero-content {
        gap: 2rem;
    }
    
    .hero-slider {
        height: 450px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        margin-top: 130px;
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .video-container {
        height: 350px;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .vertical-icon-bar {
        right: 10px;
        gap: 10px;
    }
    
    .icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .vertical-icon:hover .icon-wrapper {
        transform: translateX(-3px) scale(1.05);
    }
    
    .vertical-icon::after {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .quantum-logo-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .company-logo {
        height: 70px !important;
        width: auto !important;
    }
    
    .company-wordmark {
        font-size: 1.5rem !important;
    }
    
    .top-bar {
        min-height: 80px;
    }
}

@media (max-width: 768px) {
    .top-bar-right {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
        color: var(--white);
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .video-container {
        height: 300px;
    }
    
    .vertical-icon-bar {
        right: 5px;
        gap: 8px;
    }
    
    .icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .vertical-icon::after {
        display: none;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        min-width: auto;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .quantum-logo-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .loading-circle .circle {
        width: 16px;
        height: 16px;
    }
    
    .company-logo {
        height: 60px !important;
        width: auto !important;
    }
    
    .company-wordmark {
        font-size: 1.2rem !important;
    }
    
    .top-bar {
        min-height: 70px;
        padding: 0.4rem 0;
    }
    
    .company-branding.footer .company-logo {
        height: 60px !important;
        width: auto !important;
    }
    
    .company-branding.footer .company-wordmark {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        margin-top: 120px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .video-container {
        height: 250px;
    }
    
    .video-container,
    .hero-slider {
        border-radius: 4px;
    }
    
    .vertical-icon-bar {
        right: 5px;
        gap: 5px;
    }
    
    .icon-wrapper {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .service-image {
        height: 150px;
    }
    
    .project-img {
        height: 200px;
    }
    
    .quantum-logo-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .loading-circle .circle {
        width: 12px;
        height: 12px;
    }
    
    .company-logo {
        height: 50px !important;
        width: auto !important;
    }
    
    .company-wordmark {
        font-size: 1rem !important;
    }
    
    .top-bar {
        min-height: 65px;
        padding: 0.3rem 0;
    }
    
    .company-branding.footer .company-logo {
        height: 50px !important;
        width: auto !important;
    }
    
    .company-branding.footer .company-wordmark {
        font-size: 1rem !important;
    }
}

.service-img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.project-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Add to your home page CSS */
.btn-service-home {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #FF9A3B;
    color: #333;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 1rem;
    border: 1px solid transparent;
}

.btn-service-home:hover {
    background-color: #FF8A1B;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}