/* ===== QUANTIUMA GLOBAL STYLES ===== */
:root {
    --primary: #2563eb;       /* Quantum Blue */
    --primary-dark: #1e40af;
    --secondary: #7c3aed;     /* Innovation Purple */
    --accent: #f59e0b;        /* Energy Amber */
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #ffffff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.highlight {
    color: var(--accent);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===== HEADER & NAVIGATION ===== */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
}

.logo span {
    margin-left: 0.5rem;
}

.logo img {
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: rotate(5deg);
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    border-radius: 8px;
    z-index: 1000;
    padding: 0.5rem 0;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-content a:hover {
    background: var(--light);
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-icon {
    position: relative;
    font-size: 1.25rem;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 80vh;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--light) 0%, #ffffff 100%);
}

.hero-content {
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
    padding: 2rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--light);
    padding: 3rem 0;
    text-align: center;
}

.trust-bar p {
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 500;
}

.client-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.client-logos img {
    height: 40px;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

.client-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview {
    padding: 5rem 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.service-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* ===== FEATURED PRODUCTS ===== */
.featured-products {
    padding: 5rem 0;
    background: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card > div {
    padding: 1.5rem;
}

.product-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.product-card p {
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1rem 0;
}

.product-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray);
}

/* ===== INTERNATIONAL PRESENCE ===== */
.international-presence {
    padding: 5rem 0;
    background: white;
}

.international-presence .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.international-content h2 {
    margin-bottom: 1.5rem;
}

.international-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.presence-list {
    list-style: none;
    margin: 2rem 0;
}

.presence-list li {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.presence-list i {
    color: var(--success);
    font-size: 1.2rem;
}

.international-map {
    text-align: center;
}

.international-map img {
    max-width: 100%;
    height: auto;
}

/* ===== BRAND IDENTITY ===== */
.brand-identity {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
    color: white;
}

.brand-identity h2 {
    color: white;
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.identity-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.identity-item:hover {
    transform: translateY(-5px);
}

.identity-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.identity-item:hover .identity-icon {
    transform: scale(1.1) rotate(5deg);
}

.identity-icon i {
    font-size: 2rem;
    color: white;
}

.identity-item h3 {
    color: white;
    margin-bottom: 1rem;
}

.identity-item p {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 0.75rem 0;
}

.footer-col a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .international-presence .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== CART ANIMATION ===== */
@keyframes cartBounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.cart-bounce {
    animation: cartBounce 0.6s ease;
}

/* Service Page Specific Styles */
.service-quick-nav {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center;
}

.quick-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.service-detail {
    margin: 4rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-header i {
    font-size: 2.5rem;
    color: var(--primary);
}

.service-overview {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-benefits {
    background: var(--light);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.service-benefits ul {
    list-style: none;
    padding: 0;
}

.service-benefits li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-benefits li:before {
    content: "✓";
    color: var(--success);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Staffing Specific Styles */
.staffing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.staffing-category {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.category-header i {
    color: var(--primary);
    font-size: 1.5rem;
}

.staffing-category ul {
    list-style: none;
    padding: 0;
}

.staffing-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.staffing-category li:last-child {
    border-bottom: none;
}

.staffing-category strong {
    color: var(--primary);
}

.models-grid, .methods-grid, .tech-grid, .specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.model-item, .method-item, .specialty-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.model-item i, .method-item i, .specialty-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tech-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tech-category {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.tech-category h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.tech-category ul {
    list-style: none;
    padding: 0;
}

.tech-category li {
    padding: 0.25rem 0;
    color: var(--gray);
}

.integrated-solutions {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    margin: 4rem 0;
    text-align: center;
}

.integrated-solutions h2,
.integrated-solutions h3 {
    color: white;
}

.integrated-benefits {
    text-align: left;
    margin: 2rem 0;
}

.integrated-benefits ul {
    list-style: none;
    padding: 0;
}

.integrated-benefits li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.integrated-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.integrated-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-cta {
        flex-direction: column;
    }
    
    .integrated-cta {
        flex-direction: column;
    }
    
    .quick-nav-links {
        flex-direction: column;
    }
    
    .features-grid,
    .staffing-grid,
    .models-grid,
    .methods-grid,
    .tech-grid,
    .specialty-grid {
        grid-template-columns: 1fr;
    }
}