/* ===================================
   NeoAavya Custom UI Enhancements
   International Standards Compliant
   =================================== */

/* Typography Improvements */
body {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, .h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #111827;
}

h2, .h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    color: #111827;
}

h3, .h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 16px;
    color: #1f2937;
}

h4, .h4 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 14px;
    color: #1f2937;
}

h5, .h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #374151;
}

h6, .h6 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    color: #6b7280;
}

p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
    color: #6b7280;
}

.lead {
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
    color: #4b5563;
}

/* White Space & Section Padding */
.section-padding {
    padding: 100px 0 !important;
}

.section-padding-sm {
    padding: 60px 0 !important;
}

.section-padding-lg {
    padding: 120px 0 !important;
}

/* Content Spacing */
.content-block {
    margin-bottom: 48px;
}

.section-title {
    margin-bottom: 60px;
}

.section-title span {
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 16px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #111827;
}

.section-title p {
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
}

/* Card Enhancements */
.single-service-box,
.single-service-left-icon,
.single-testimonial-card {
    padding: 40px 32px;
    margin-bottom: 40px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.single-service-box:hover,
.single-service-left-icon:hover,
.single-testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

/* Button Improvements */
.theme-btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    min-height: 44px;
    line-height: 1.5;
}

.theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Modern Gradient Styles */
.gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.gradient-blue {
    background: linear-gradient(135deg, #0066CC 0%, #0052A3 100%);
}

/* Glassmorphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Testimonial Enhancements */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.testimonial-author img.author-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
}

.testimonial-author .author-info {
    flex: 1;
}

.testimonial-author h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
    color: #111827;
}

.testimonial-author .author-title {
    display: block;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 4px;
}

.testimonial-author .author-location {
    display: block;
    font-size: 13px;
    color: #9ca3af;
}

.testimonial-author .linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #0077b5;
    margin-top: 8px;
    text-decoration: none;
}

.testimonial-author .linkedin-link:hover {
    text-decoration: underline;
}

.testimonial-author .company-logo {
    max-height: 40px;
    max-width: 120px;
    opacity: 0.7;
}

/* Client Rating Stars */
.client-rating {
    margin: 16px 0;
}

.client-rating i {
    color: #fbbf24;
    font-size: 16px;
    margin-right: 2px;
}

/* Trusted By Section */
.trusted-by-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.client-logo {
    padding: 20px;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
}

/* Footer Improvements */
.footer-widgets-wrapper {
    padding: 80px 0 40px;
}

.single-footer-wid {
    margin-bottom: 40px;
}

.single-footer-wid .wid-title h3,
.single-footer-wid .wid-title h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #ffffff;
}

.single-footer-wid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-footer-wid ul li {
    margin-bottom: 12px;
}

.single-footer-wid ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
}

.single-footer-wid ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Accessibility Improvements */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #667eea;
    color: white;
    padding: 8px 16px;
    z-index: 100;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1, .h1 {
        font-size: 36px;
    }
    
    h2, .h2 {
        font-size: 28px;
    }
    
    h3, .h3 {
        font-size: 24px;
    }
    
    h4, .h4 {
        font-size: 20px;
    }
    
    body {
        font-size: 15px;
    }
    
    .lead {
        font-size: 18px;
    }
    
    .section-padding {
        padding: 60px 0 !important;
    }
    
    .section-padding-lg {
        padding: 80px 0 !important;
    }
    
    p {
        margin-bottom: 20px;
    }
    
    .single-service-box,
    .single-service-left-icon {
        padding: 30px 24px;
        margin-bottom: 30px;
    }
    
    .theme-btn {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1, .h1 {
        font-size: 32px;
    }
    
    h2, .h2 {
        font-size: 26px;
    }
    
    h3, .h3 {
        font-size: 22px;
    }
}

/* Smooth Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* List Improvements */
ul li,
ol li {
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Grid Spacing */
.row {
    margin-bottom: 48px;
}

.row:last-child {
    margin-bottom: 0;
}

/* Touch-Friendly Mobile */
@media (max-width: 768px) {
    .mobile-nav a {
        padding: 16px 12px;
        font-size: 16px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px;
        min-height: 48px;
        padding: 14px 16px;
    }
}

/* Color Variables for Consistency */
:root {
    --primary-blue: #0066CC;
    --primary-purple: #667eea;
    --primary-dark: #1a1a2e;
    --secondary-teal: #11998e;
    --secondary-green: #38ef7d;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;
}
