/* ==========================================
   TechCore Solutions - MSP Website Styles
   ========================================== */

/* CSS Variables */
:root {
    --primary-blue: #095FAE;
    --secondary-blue: #0B74D5;
    --dark-blue: #0A1247;
    --light-blue: #70C6FF;
    --accent-orange: #ff5630;
    --accent-green: #558B6E;
    --success-green: #36b37e;
    --white: #ffffff;
    --accent-white: #EFFFFA;
    --light-gray: #060709;
    --medium-gray: #6b778c;
    --dark-gray: #253858;
}

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

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-optical-sizing: auto;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.15;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--dark-blue);
    margin-bottom: .5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

/* Navigation */
.navbar {
    padding: 1rem 0 .25rem;
    transition: all 0.3s ease;
    background: rgba(9, 95, 174, 0.25);
}

.navbar.scrolled {
    background: rgba(9, 95, 174, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: var(--white);
    padding: 0 0 1.125rem 0;
}

.navbar-brand img {
    height: 65px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-brand img {
    height: 50px;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-weight: 600;
    font-size: 1.375rem;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--light-blue);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    background-image: url('assets/pexels-nemuel-6424585.jpg');
    background-size: cover;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(76, 154, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 86, 48, 0.15) 0%, transparent 50%);
}

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

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.125rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    animation: fadeInUp 1.2s ease;
    opacity: 0.95;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    animation: fadeInUp 1.4s ease;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-white);
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
    color: var(--dark-blue);
}

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

/* Buttons */
.btn-primary {
    background: var(--primary-blue);
    border: none;
    padding: 0.9rem 2.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.btn-primary:hover {
    background: #074A88;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(7, 74, 136, 0.3);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-blue);
}

/* Service Cards */
.service-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.service-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.service-card h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
}

.service-body {
    padding: 1.75rem;
    flex-grow: 1;
}

.service-body p {
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.service-body strong {
    color: var(--dark-blue);
    font-weight: 600;
}

/* Solutions Grid */
.solution-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
    text-align: center;
}

.solution-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.solution-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

.solution-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.solution-item h4 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.solution-item p {
    color: var(--dark-gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
}

.solution-item strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Partners Section */
.partners-section {
    background: var(--light-gray);
}

.partner-logo {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

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

/* Why Choose Us */
.why-choose-card {
    padding: 2rem 1.5rem;
    height: 100%;
    border-right: 1px solid #6b778c !important;
    text-align: center;
}

.why-choose-card:last-child {
    border-right: none !important;
}

.why-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
}

.why-icon i {
    font-size: 2.5rem;
    color: var(--dark-gray);
}

.why-choose-card h4 {
    color: var(--dark-blue);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.why-choose-card p {
    color: var(--medium-gray);
    margin: 0;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.contact-info-wrapper {
    height: 100%;
}

.contact-item-simple h5 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-item-simple p {
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    line-height: 1.8;
    font-size: 1rem;
}

.contact-item-simple i {
    color: var(--light-blue);
    font-size: 1.1rem;
}

.map-container {
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    display: block;
}

/* Disclaimer Section */
.disclaimer-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    color: var(--white);
}

.disclaimer-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background: rgba(23, 43, 77, 0.95);
        padding: 1rem;
        border-radius: 8px;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 85vh;
    }
}
