/* ZUXX Ltd - Modern Website Styles */

:root {
    --primary-orange: #f36201;
    --primary-dark: #d4520a;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --gradient: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-dark) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Logo Styles */
.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-orange);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-orange) !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    background: var(--gradient);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    position: relative;
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInLeft 1s ease forwards 0.5s;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInLeft 1s ease forwards 0.7s;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInLeft 1s ease forwards 0.9s;
}

.btn-primary-custom {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: slideInLeft 1s ease forwards 1.1s;
}

.btn-primary-custom:hover {
    background: white;
    color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

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

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Section Styles */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
}

/* Cards */
.card-modern {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
    margin-bottom: 20px;
}

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

/* Services Page Specific Spacing */
.services-page .card-modern,
.bg-light .card-modern {
    margin-bottom: 40px;
}

/* Services Row Spacing */
.services-page .bg-light .row {
    row-gap: 2rem;
}

/* Services Card Enhanced Spacing */
.services-page .col-lg-4,
.services-page .col-md-6 {
    margin-bottom: 2rem;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* Quote Section */
.quote-section {
    background: var(--gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-text {
    font-size: 2rem;
    font-style: italic;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.quote-text::before {
    content: '"';
    font-size: 6rem;
    position: absolute;
    top: -30px;
    left: -20px;
    opacity: 0.3;
}

/* Services Grid */
.service-item {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(243, 98, 1, 0.3);
}

/* Portfolio */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 2rem;
    background: var(--gradient);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 0.2rem rgba(243, 98, 1, 0.25);
}

.btn-submit {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(243, 98, 1, 0.3);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer p {
    margin: 0;
    opacity: 0.8;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
}

.back-to-top:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: white;
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

/* Partners and Customers Grid */
.partner-item, .customer-item {
    transition: all 0.3s ease;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
}

.partner-item:hover, .customer-item:hover {
    background: rgba(243, 98, 1, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Partner Logos */
.partner-logo, .customer-logo {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.partner-item:hover .partner-logo,
.customer-item:hover .customer-logo {
    transform: scale(1.1);
}

/* Microsoft Logo Specific Styles */
.partner-logo-container {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.partner-logo-img {
    max-height: 90px !important;
    max-width: 180px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: grayscale(0%) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}

.partner-item:hover .partner-logo-container {
    transform: scale(1.1);
}

.partner-item:hover .partner-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

.customer-logo-img {
    max-height: 80px !important;
    max-width: 160px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: grayscale(10%) !important;
    opacity: 0.9 !important;
    transition: all 0.3s ease;
}

.customer-item:hover .customer-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-item h6, .customer-item h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.customer-item small {
    display: block;
    font-size: 0.8rem;
    line-height: 1.2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 60px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .quote-text {
        font-size: 1.5rem;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
    
    /* About section mobile fixes */
    #about .col-md-6 {
        margin-bottom: 15px;
    }
    
    #about .card-modern {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 100px 0 80px 0;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .btn-primary-custom {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* About Section Specific Styles */
#about .row {
    align-items: stretch;
}

#about .col-lg-6:last-child .row {
    height: 100%;
}

#about .col-md-6 {
    display: flex;
    margin-bottom: 20px;
}

/* Portfolio Styles */
.portfolio-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.portfolio-card .card-body {
    padding: 2rem;
}

.portfolio-card .card-title {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.portfolio-card .card-text {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
    line-height: 1.6;
}

.portfolio-card .mb-3 {
    padding: 0 0.5rem;
}

.portfolio-card .badge {
    margin: 2px;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(243, 98, 1, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.portfolio-overlay-content {
    text-align: center;
    color: white;
    padding: 20px;
}

.portfolio-overlay-content h5 {
    margin-bottom: 10px;
    font-weight: 600;
}

.btn-group .btn {
    border-radius: 25px !important;
    margin: 0 5px;
}

.btn-group .btn.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: white;
}

.portfolio-item-wrapper {
    margin-bottom: 25px;
    padding: 0 10px;
}

#portfolio .row {
    margin-left: -10px;
    margin-right: -10px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
