/* ============================================
   Staffinity Global Solution - Custom Styles
   ============================================ */

/* Root Variables */
:root {
    --navy-blue: #002B5B;
    --sky-blue: #00AEEF;
    --white: #FFFFFF;
    --light-gray: #F3F7FA;
    --dark-gray: #333333;
    --gradient-primary: linear-gradient(135deg, #002B5B 0%, #00AEEF 100%);
    --gradient-secondary: linear-gradient(135deg, #00AEEF 0%, #002B5B 100%);
    --shadow-soft: 0 10px 30px rgba(0, 43, 91, 0.1);
    --shadow-glow: 0 0 20px rgba(0, 174, 239, 0.3);
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-gray);
    line-height: 1.7;
    padding-top: 76px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--navy-blue);
    line-height: 1.3;
}

/* Navbar Styles */
#mainNavbar {
    background: rgba(0, 43, 91, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 43, 91, 0.2);
    transition: all 0.3s ease;
}

#mainNavbar.scrolled {
    background: rgba(0, 43, 91, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 43, 91, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--sky-blue) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--white) !important;
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--sky-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--sky-blue) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-illustration {
    position: relative;
    z-index: 2;
}

.hero-illustration img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Buttons */
.btn-primary-custom {
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    padding: 14px 35px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-primary-custom:hover::before {
    left: 0;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 43, 91, 0.3), var(--shadow-glow);
    color: var(--white);
}

.btn-outline-custom {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 33px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--navy-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 43, 91, 0.2);
    border-color: var(--sky-blue);
}

.glass-card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-glow);
}

.glass-card-icon i {
    font-size: 2rem;
    color: var(--white);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 174, 239, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 43, 91, 0.15);
    border-color: var(--sky-blue);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

/* Benefits Section */
.benefits-section {
    background: var(--light-gray);
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 43, 91, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-glow);
}

.benefit-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    margin: 1rem;
    border-left: 4px solid var(--sky-blue);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.testimonial-role {
    color: #888;
    font-size: 0.9rem;
}

.testimonial-stars {
    color: #FFD700;
    margin-bottom: 1rem;
}

/* CTA Banner */
.cta-banner {
    background: var(--gradient-primary);
    padding: 60px 0;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

/* Timeline (How We Work) */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--sky-blue);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--navy-blue), var(--shadow-glow);
    top: 0;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--sky-blue);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--sky-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 174, 239, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

/* Client Logos */
.client-logo {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    max-height: 60px;
    width: auto;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Stats/Metrics */
.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 43, 91, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Cost Comparison */
.cost-comparison {
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.comparison-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--sky-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem !important;
        padding-right: 0 !important;
        text-align: left !important;
    }
    
    .timeline-item .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FAQ / Q&A styles */
.faq-section .accordion-button {
    font-weight: 600;
    color: var(--navy-blue);
    background: linear-gradient(90deg, rgba(0,174,239,0.04), rgba(0,43,91,0.02));
    border: 1px solid rgba(0, 174, 239, 0.08);
}

.accordion-body {
    color: #444;
    background: rgba(255,255,255,0.95);
}

.accordion-item + .accordion-item {
    margin-top: 0.5rem;
}

