/* OHA Infotech - Components & Forms */
/* Buttons, Cards, Forms, Contact, Blog, Footer, and Utility Components */

/* Enhanced Windows 11 Button System - Normalized across all pages */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    min-height: 44px; /* Touch-friendly minimum height */
    box-shadow: var(--shadow-light);
    user-select: none;
    -webkit-user-select: none;
}

/* Shimmer effect for all buttons */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Primary Button - Main actions */
.btn-primary {
    background: linear-gradient(135deg, 
        rgba(0, 120, 212, 0.9) 0%, 
        rgba(0, 120, 212, 0.8) 100%);
    color: var(--text-on-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, 
        rgba(0, 120, 212, 1) 0%, 
        rgba(16, 110, 190, 0.95) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
    color: var(--text-on-primary);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

/* Secondary Button - Secondary actions */
.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

/* Outline Button - Subtle actions */
.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-on-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
}

.btn-outline-primary {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
}

.btn-outline-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, 
        rgba(16, 124, 16, 0.9) 0%, 
        rgba(16, 124, 16, 0.8) 100%);
    color: var(--text-on-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-success:hover {
    background: linear-gradient(135deg, 
        rgba(16, 124, 16, 1) 0%, 
        rgba(13, 100, 13, 0.95) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
}

/* Warning Button */
.btn-warning {
    background: linear-gradient(135deg, 
        rgba(255, 185, 0, 0.9) 0%, 
        rgba(255, 185, 0, 0.8) 100%);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-warning:hover {
    background: linear-gradient(135deg, 
        rgba(255, 185, 0, 1) 0%, 
        rgba(230, 167, 0, 0.95) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
}

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, 
        rgba(216, 59, 1, 0.9) 0%, 
        rgba(216, 59, 1, 0.8) 100%);
    color: var(--text-on-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-danger:hover {
    background: linear-gradient(135deg, 
        rgba(216, 59, 1, 1) 0%, 
        rgba(194, 53, 1, 0.95) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
}

/* Button sizes */
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    min-height: 36px;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    min-height: 52px;
}

.btn-xl {
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    min-height: 60px;
}

/* Button states */
.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}

.btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 120, 212, 0.2);
}

/* Button group */
.btn-group {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-group .btn {
    flex: 1;
    min-width: auto;
}

/* Full width button */
.btn-block {
    width: 100%;
    display: flex;
}

/* Service Cards */
.services {
    background: transparent;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(243, 242, 251, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-elevated);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.service-icon i {
    font-size: 2rem;
    color: white;
    position: relative;
    z-index: 1;
}

.service-title {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-description {
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.service-features li::before {
    content: '?';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tech-badge {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
}

.service-btn {
    /* Inherits from .btn-primary but with specific sizing */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    min-height: 42px;
    background: linear-gradient(135deg, 
        rgba(0, 120, 212, 0.9) 0%, 
        rgba(0, 120, 212, 0.8) 100%);
    color: var(--text-on-primary);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.service-btn:hover::before {
    left: 100%;
}

.service-btn:hover {
    background: linear-gradient(135deg, 
        rgba(0, 120, 212, 1) 0%, 
        rgba(16, 110, 190, 0.95) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
    color: var(--text-on-primary);
}

/* About Section */
.about {
    background-color: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.experience-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-heavy);
}

.experience-badge h3 {
    font-size: 4rem;
    margin: 0;
    color: var(--accent-color);
}

.experience-badge p {
    margin: 0.5rem 0 0 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Section - Windows 11 Glass Design */
.contact {
    background: transparent;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(249, 249, 249, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: -1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.contact-item:hover::before {
    left: 100%;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
    background: rgba(0, 120, 212, 0.1);
    padding: 0.5rem;
    border-radius: var(--border-radius);
}

.contact-item h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
}

.contact-form {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-glass);
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-control,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-family: var(--font-primary);
    box-sizing: border-box;
}

.form-control::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.8;
}

.form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
    transform: translateY(-1px);
}

.form-control.is-invalid,
.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(216, 59, 1, 0.1);
}

.form-control.is-valid,
.form-group input.is-valid,
.form-group select.is-valid,
.form-group textarea.is-valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(16, 124, 16, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Validation Messages */
.text-danger {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    font-weight: 500;
}

.field-validation-error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    font-weight: 500;
}

.validation-summary-errors {
    background: rgba(216, 59, 1, 0.1);
    border: 1px solid rgba(216, 59, 1, 0.3);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1rem;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--error-color);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    animation: slideInDown 0.3s ease-out;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 124, 16, 0.1), rgba(16, 124, 16, 0.05));
    color: var(--success-color);
    border: 1px solid rgba(16, 124, 16, 0.3);
}

.alert-error {
    background: linear-gradient(135deg, rgba(216, 59, 1, 0.1), rgba(216, 59, 1, 0.05));
    color: var(--error-color);
    border: 1px solid rgba(216, 59, 1, 0.3);
}

.alert-info {
    background: linear-gradient(135deg, rgba(0, 120, 212, 0.1), rgba(0, 120, 212, 0.05));
    color: var(--primary-color);
    border: 1px solid rgba(0, 120, 212, 0.3);
}

.alert-warning {
    background: linear-gradient(135deg, rgba(255, 185, 0, 0.1), rgba(255, 185, 0, 0.05));
    color: var(--warning-color);
    border: 1px solid rgba(255, 185, 0, 0.3);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Submit Button Loading State */
#submit-btn {
    position: relative;
    min-width: 150px;
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Form Validation Feedback */
.form-group.has-error .form-control {
    border-color: var(--error-color);
    box-shadow: 0 0 0 3px rgba(216, 59, 1, 0.1);
}

.form-group.has-success .form-control {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(16, 124, 16, 0.1);
}

/* Character Count for Textarea */
.char-count {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.char-count.warning {
    color: var(--warning-color);
}

.char-count.error {
    color: var(--error-color);
}

/* Required Field Indicator */
.required::after {
    content: ' *';
    color: var(--error-color);
    font-weight: bold;
}

/* Form Progress Indicator */
.form-progress {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.form-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Blog Section */
.blog {
    background-color: var(--bg-secondary);
    padding: 5rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.blog-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder {
    font-size: 3rem;
    color: white;
    opacity: 0.8;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-content {
    padding: 1.5rem;
}

.blog-title {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.25rem;
    line-height: 1.3;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--secondary-color);
}

.blog-cta {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.blog-cta h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.blog-cta p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    padding: 0.25rem;
    background-color: white;
    transition: var(--transition);
}

.newsletter-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.newsletter-input-group input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    background: transparent;
    outline: none;
}

.newsletter-input-group button {
    border-radius: 20px;
    padding: 0.75rem 1.5rem;
    white-space: nowrap;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #ffff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #001944;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Specific social media brand colors on hover */
.social-links a[href*="facebook"]:hover {
    background-color: #1877f2;
}

.social-links a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-links a[href*="twitter"]:hover {
    background-color: #1da1f2;
}

.social-links a[href*="pinterest"]:hover {
    background-color: #bd081c;
}

.social-links a[href*="whatsapp"]:hover,
.social-links a[href*="wa.me"]:hover {
    background-color: #25d366;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
    margin-top: 3px;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Enhanced Accessibility - Focus states for all normalized buttons */
.btn:focus,
.btn:focus-visible,
.service-btn:focus,
.service-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 120, 212, 0.2);
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .btn,
    .service-btn {
        transition: none;
    }
    
    .btn::before,
    .service-btn::before {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn,
    .service-btn {
        border-width: 2px;
        border-color: currentColor;
    }
}

/* Training Courses Grid */
.training {
    background: white;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

/* Course Card Styling */
.course-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(31, 38, 135, 0.4);
    background: rgba(255, 255, 255, 0.18);
}

.course-card:hover::before {
    opacity: 1;
}

.course-header {
    background: linear-gradient(135deg, 
        rgba(0, 120, 212, 0.8), 
        rgba(135, 100, 184, 0.8),
        rgba(0, 188, 242, 0.8));
    color: white;
    padding: 1.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00bcf2, #8764b8, #ffb900);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.course-badge {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-price {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.course-content {
    padding: 1.5rem;
    flex: 1;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.course-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.course-highlights {
    margin-bottom: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.highlight-item i {
    color: var(--success-color);
    font-size: 0.8rem;
}

.course-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.course-tech .tech-badge {
    background: rgba(0, 120, 212, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 120, 212, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.course-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.course-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.course-stats .stat i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.course-footer {
    padding: 0 1.5rem 1.5rem;
}

.course-btn {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
}

.course-btn i {
    transition: transform 0.3s ease;
}

.course-btn:hover i {
    transform: translateX(2px);
}

/* No Courses State */
.no-courses {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-large);
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.no-courses i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-courses h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.no-courses p {
    color: var(--text-light);
}

/* Filter Buttons */
.training-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    /* Enhanced filter button using the normalized system */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 40px;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 120, 212, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, 
        rgba(0, 120, 212, 0.9) 0%, 
        rgba(0, 120, 212, 0.8) 100%);
    color: var(--text-on-primary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Training Stats */
.training-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.stat-label {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}