:root {
    --primary-blue: #0a2463;
    --secondary-blue: #3e92cc;
    --accent-red: #aa3935;
    --dark-gray: #2d3748;
    --medium-gray: #4a5568;
    --light-gray: #f7fafc;
    --bs-gradient: linear-gradient(45deg, rgba(200, 209, 225, 0.9) 0%, rgba(180, 198, 210, 0.9) 100%);
    --primary-font: 'Poppins', sans-serif;
    --secondary-font: 'Roboto', sans-serif;
    --font-size-base: 16px;
    --font-size-lg: 1.125rem; /* 18px */
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
 
}


/* Cambiar los colores de los botones segun los colores de WHP */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}
.btn-primary:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}
.btn-secondary {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}
.btn-secondary:hover {
    background-color: #c72a50;
    border-color: #c72a50;
}
.btn-light {
    background-color: var(--light-gray);
    color: var(--dark-gray);
}
.btn-light:hover {
    background-color: #e2e8f0;
    color: var(--dark-gray);
}
.btn-outline-light {
    border-color: var(--light-gray);
    color: var(--dark-gray);
    background-color: var(--light-gray)
}
.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-gray);
}

.btn-danger {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}
.btn-danger:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}
.btn-success {
    background-color: #38a169;
    border-color: #38a169;
}
.btn-success:hover {
    background-color: #2f855a;
    border-color: #2f855a;
}
.btn-warning {
    background-color: #dd6b20;
    border-color: #dd6b20;
}
.btn-warning:hover {
    background-color: #c05621;
    border-color: #c05621;
}
.btn-info {
    background-color: #3182ce;
    border-color: #3182ce;
}
.btn-info:hover {
    background-color: #2b6cb0;
    border-color: #2b6cb0;
}
/* General Styles */

/* Top Bar */
.top-bar {
    background-color: var(--primary-blue);
    color: white;
    font-size: 0.9rem;
    padding: 8px 0;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand img {
    height: 40px;
}

.nav-link {
    color: var(--dark-gray) !important;
    font-weight: 500;
    padding: 8px 15px !important;
}

.nav-link:hover {
    color: var(--primary-blue) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(10, 36, 99, 0.9), rgba(10, 36, 99, 0.9)), url('{% static "img/hero-bg.jpg" %}');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    color: white;
}

.hero-title {
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 1.2;
}

/* Domain Search */
.domain-search-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 30px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

/* Sección de Planes */
.pricing-section {
    position: relative;
}

.section-title {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

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

/* Tarjetas de Planes */
.hosting-plan-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid #e2e8f0;
}

.hosting-plan-card.featured {
    border: 2px solid var(--accent-red);
    transform: scale(1.02);
}

.plan-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent-red);
    color: white;
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 120px;
    text-align: center;
}

.plan-header {
    padding: 25px 25px 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.plan-header h3 {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.plan-price {
    padding: 20px;
    text-align: center;
    background: var(--light-gray);
}

.plan-price span {
    display: inline-block;
}

.monthly-price, .annual-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.price-period {
    font-size: 1rem;
    color: var(--medium-gray);
}

.plan-features {
    padding: 25px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--dark-gray);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-cta {
    padding: 0 25px 25px;
}

/* Switch de facturación */
.billing-switch {
    display: inline-flex;
    background: #f8f9fa;
    padding: 5px;
    border-radius: 50px;
}

.billing-switch .btn {
    border-radius: 50px !important;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.billing-switch .btn-check:checked + .btn {
    background: var(--primary-blue);
    color: white;
}

/* Efecto hover */
.hosting-plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Sección de Testimonios */
.testimonials-section {
    position: relative;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
}

.testimonial-card.featured {
    border: 2px solid var(--accent-red);
    transform: scale(1.02);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.testimonial-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.rating {
    color: #FFD700; /* Color dorado para estrellas */
    font-size: 1.1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-blue);
    opacity: 0.2;
    position: absolute;
    left: -10px;
    top: -15px;
    font-family: Georgia, serif;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light-gray);
    margin-right: 15px;
}

.client-details h5 {
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--primary-blue);
}

.client-position {
    color: var(--medium-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Carrusel de Marcas */
.brands-carousel {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.brand-logo {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}

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

/* Componente CTA */
.cta-section {
    overflow: hidden;
    background-color: var(--primary-blue);
    background-image: radial-gradient(circle at 20% 50%, rgba(62, 146, 204, 0.3) 0%, rgba(10, 36, 99, 0.9) 100%);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('{% static "img/cta-pattern.png" %}');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.cta-title {
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.2;
}

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

/* Trust badges */
.trust-badges {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-item {
    color: white;
    text-align: center;
    min-width: 80px;
}

.trust-item i {
    color: var(--accent-red);
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    display: inline-block;
}

.trust-item p {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Efectos hover para botones */
.btn-light:hover {
    background-color: #f0f0f0 !important;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Responsive */
@media (max-width: 992px) {
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .cta-title {
        font-size: 1.5rem;
    }
    
    .trust-item {
        min-width: 70px;
    }
    
    .trust-item i {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.5rem;
    }
}

/* Componente Blog */
.blog-section {
    background-color: #f8f9fa;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.blog-card-header {
    position: relative;
    overflow: hidden;
}

.blog-card-header img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-header img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-red);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card-body {
    padding: 25px;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--medium-gray);
}

.blog-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--primary-blue);
    text-decoration: none;
}

.blog-title a:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

.blog-excerpt {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.blog-read-more {
    color: var(--primary-blue);
    font-weight: 500;
    padding: 0;
    text-decoration: none;
}

.blog-read-more:hover {
    color: var(--accent-red);
    text-decoration: underline;
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 992px) {
    .blog-card-header img {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .blog-card-header img {
        height: 220px;
    }
}


