/* Custom CSS for CORE IT SERVICES */

/* Color Palette */
:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --primary-green: #059669;
    --secondary-green: #10b981;
    --light-green: #34d399;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #059669 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
    margin-bottom: 20px; /* Agrega 20px de espacio hacia abajo */
}

/* Typography */
body {
    padding-top: 100px; /* Agrega 20px de espacio en la parte superior del body */
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

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

.navbar-brand img {
    transition: transform 1.3s ease;
}

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

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    margin:0.5rem; 
    transition: all 0.3s ease;
    position: relative; 
}

.navbar-nav .nav-link:hover {
    color: var(--light-green) !important;
}

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

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    background: var(--gradient-secondary);
}

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

.hero-background {
    position: absolute; 
    top: 0px;
    bottom: 500px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 150%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(5, 150, 105, 0.3) 100%);
    z-index: -1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-cta {
    margin-bottom: 3rem;
}

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

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

.trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.trust-item i {
    color: var(--light-green);
    font-size: 1.5rem;
}

/* Section Styling */
.section-title {
    font-size:2.3rem;
    font-weight: 700;
    margin-bottom: 5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-weight: bold;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(Black);
    margin-bottom: 5rem;
   
   
}

/* Problem and Solution Section */
.solution-content {
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.solution-title {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    
}

.solution-list {
    
    list-style: none;
    padding: 0;
}

.solution-list li {
    padding: 50;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.solution-list li:hover {
    background: rgba(16, 185, 129, 0.1);
    transform: translateX(10px);
      
}

.solution-list i {
    color: var(--primary-green);
    margin-right: 1rem;
    font-size: 1.2rem;
  
}

.solution-images img {
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    
}

.solution-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    
}

.btn-secondary {
    background: var(--gradient-secondary);
    border: none;
    border-radius: 25px;
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Service Cards */
.service-card {
    
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.service-card:hover::before {
    left: 0;
    opacity: 0.05;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
    border-color: var(--primary-blue);
}

.service-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;
    transition: all 0.3s ease;
}

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

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

.service-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Differentiator Cards */
.differentiator-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-green);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.differentiator-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.2);
}

.diff-icon {
    width: 80px;
    height: 80px;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.diff-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.diff-content h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Statistics Cards */
.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(5, 150, 105, 0.1);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(5, 150, 105, 0.2);
    border-color: var(--primary-green);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.brands-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.brands-logos {
    display: block;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.brand-name {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.brand-name:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(30, 64, 175, 0.3);
}

/* Accordion Styling */
.accordion-item {
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 10px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    color: var(--primary-blue);
    font-weight: 600;
    border: none;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-blue);
}

.accordion-body {
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.05);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
}

.footer-text {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-contact {
    opacity: 0.8;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .trust-signals {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .differentiator-card {
        flex-direction: column;
        text-align: center;
    }
    
    .diff-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .brands-logos {
        gap: 1rem;
    }
    
    .brand-name {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .differentiator-card,
    .stat-card {
        margin-bottom: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}

