/* ==========================================
   COMPONENTS - PROFESSIONAL CORPORATE THEME
   Refined cards, forms, and elements
   ========================================== */

/* === SERVICE CARDS === */
.service-card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid rgba(15, 23, 42, 0.04);
    /* Subtle border */
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(6, 182, 212, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: rgba(15, 23, 42, 0.03);
    /* Very light navy tint */
    border-radius: 16px;
    color: var(--primary);
    transition: var(--transition-base);
}

.service-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
}

.service-category {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.service-items {
    margin-bottom: 2.5rem;
    padding-left: 0;
    flex-grow: 1;
}

.service-items li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.85rem;
    color: var(--text-body);
    font-size: 1rem;
}

.service-items li::before {
    content: "•";
    color: var(--secondary);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
}

.service-link:hover {
    color: var(--primary);
    gap: 0.75rem;
}

/* === BLOG CARDS === */
.blog-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid rgba(15, 23, 42, 0.04);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image-container img {
    transform: scale(1.05);
}

.blog-category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-content {
    padding: 2.5rem;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.blog-meta i {
    color: var(--secondary);
    margin-right: 0.4rem;
}

.blog-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

.blog-title a {
    color: var(--text-main);
    transition: color 0.2s;
}

.blog-title a:hover {
    color: var(--secondary);
}

.blog-excerpt {
    color: var(--text-body);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.blog-read-more {
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-read-more:hover {
    color: var(--secondary);
    gap: 0.75rem;
}

/* === WHY NEXORA CARDS === */
.why-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.why-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.why-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.why-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.why-description {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* === STATS COUNTERS === */
.stats-container {
    background: var(--primary);
    /* Deep Navy */
    padding: 100px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item {
    position: relative;
    z-index: 2;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: inline-block;
    opacity: 0.9;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    font-weight: 600;
}

/* === CTA SECTION === */
.cta-section {
    background: var(--gradient-accent);
    /* Cyan Gradient */
    padding: 120px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 800;
}

.cta-description {
    font-size: 1.35rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.95;
    font-weight: 500;
}

/* === GENERIC CARD === */
.card {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid rgba(15, 23, 42, 0.04);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* === FOOTER STYLES === */
.footer {
    background: #0B1120;
    /* Darker than primary for footer contrast */
    color: white;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    background: white;
    padding: 4px;
    border-radius: var(--radius-sm);
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-title {
    color: white;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-base);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact li {
    margin-bottom: 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.footer-contact i {
    color: var(--secondary);
    font-size: 1.2rem;
    margin-top: 2px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    /* subtler */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-base);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* === RESPONSIVE UTILITIES === */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* === CONTACT PAGE STYLES === */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(15, 23, 42, 0.05);
}

.contact-info-panel {
    background: var(--primary);
    padding: 4rem 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info-panel::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--secondary);
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.contact-info-content h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-info-content p,
.contact-info-content a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-info-content a:hover {
    color: white;
}

/* Form Container */
.contact-form-container {
    padding: 4rem;
    background: white;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: #F8FAFC;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
    color: var(--text-main);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: white;
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
    /* Focus ring */
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* Success Message */
.form-success {
    background: #F0FDF4;
    /* Green 50 */
    color: #166534;
    /* Green 800 */
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: none;
    font-weight: 600;
    border: 1px solid #BBF7D0;
    text-align: center;
}

/* Responsive Contact */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-panel,
    .contact-form-container {
        padding: 3rem 2rem;
    }
}