/* =====================================================
   Layout Non-Critical CSS
   Extracted from app.blade.php to reduce inline CSS bloat
   ===================================================== */

/* Animation classes */
.animate-1, .animate-2, .animate-3, .animate-on-scroll, .wow { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.animate-1.animated, .animate-2.animated, .animate-3.animated, .animate-on-scroll.animated, .wow.animated { opacity: 1; transform: translateY(0); }

/* Touch target accessibility - minimum 44px for mobile */
.custom-carousel-indicators .indicator { 
    min-width: 44px; 
    min-height: 44px; 
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-btn, .btn, .primary-btn { 
    min-height: 44px; 
    min-width: 44px;
    padding: 12px 20px;
}
.social-icon-two a { 
    min-width: 44px; 
    min-height: 44px; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure FontAwesome icons are visible */
.fa, .fas, .far, .fab, .fal, .fad {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

/* Social media icons styling */
.banner-social-links {
    position: absolute !important;
    left: 30px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    z-index: 30 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.banner-social-links .social-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #413a87 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(57, 50, 133, 0.1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    overflow: visible !important;
}
.banner-social-links .social-link:hover {
    background: #413a87 !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(57, 50, 133, 0.3) !important;
}
.banner-social-links .social-link i {
    font-size: 18px !important;
    display: inline-block !important;
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}
.banner-social-links .social-link::before { display: none !important; }
.banner-social-links,
.banner-social-links * { visibility: visible !important; opacity: 1 !important; display: flex !important; }
.banner-social-links .social-link { visibility: visible !important; opacity: 1 !important; }
.banner-social-links .social-link i { visibility: visible !important; opacity: 1 !important; display: inline-block !important; }

/* Loading states */
.loading { position: relative; }
.loading::after { content: ''; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2px solid #f3f3f3; border-top: 2px solid #37aa61; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Cookie Consent Banner - Professional Design */
.cookie-consent-banner {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff; color: #1a1a2e; padding: 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.12); z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border-top: 3px solid #393285;
    animation: cookieSlideUp 0.5s ease;
}
@keyframes cookieSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-consent-content { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 28px; }
.cookie-consent-text h4 { margin: 0 0 6px 0; font-size: 16px; font-weight: 700; color: #1a1a2e; }
.cookie-consent-text p { margin: 0; font-size: 13px; line-height: 1.6; color: #666; }
.cookie-consent-text a { color: #393285; text-decoration: underline; font-weight: 500; }
.cookie-consent-text a:hover { color: #2d2670; }
.cookie-consent-buttons { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept, .btn-cookie-necessary, .btn-cookie-customize { padding: 10px 22px; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; text-decoration: none; display: inline-block; }
.btn-cookie-accept { background: #393285; color: white; }
.btn-cookie-accept:hover { background: #2d2670; transform: translateY(-1px); }
.btn-cookie-necessary { background: #f1f0fa; color: #393285; }
.btn-cookie-necessary:hover { background: #e4e2f5; }
.btn-cookie-customize { background: transparent; color: #666; border: 1px solid #ddd; }
.btn-cookie-customize:hover { background: #f8f8f8; color: #333; }

/* Cookie Modal */
.cookie-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 10000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(2px); }
.cookie-modal-content { background: white; border-radius: 16px; max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.cookie-modal-header { padding: 24px 28px 16px; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; }
.cookie-modal-header h3 { margin: 0; color: #1a1a2e; font-size: 18px; font-weight: 700; }
.cookie-modal-close { background: none; border: none; font-size: 22px; color: #999; cursor: pointer; padding: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.2s; }
.cookie-modal-close:hover { background: #f5f5f5; color: #333; }
.cookie-modal-body { padding: 20px 28px; }
.cookie-category { margin-bottom: 16px; padding: 16px; border: 1px solid #f0f0f0; border-radius: 10px; background: #fafafa; }
.cookie-category-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.cookie-category-header h4 { margin: 0; color: #1a1a2e; font-size: 14px; font-weight: 600; flex: 1; }
.cookie-category-header input[type="checkbox"] { width: 16px; height: 16px; accent-color: #393285; }
.cookie-category-header label { margin: 0; color: #666; font-size: 13px; font-weight: 500; }
.cookie-category p { margin: 0; color: #888; font-size: 13px; line-height: 1.5; }
.cookie-modal-footer { padding: 16px 28px 24px; border-top: 1px solid #f0f0f0; text-align: right; }
.btn-cookie-save { background: #393285; color: white; border: none; padding: 11px 24px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.btn-cookie-save:hover { background: #2d2670; }
@media (max-width: 768px) {
    .cookie-consent-content { flex-direction: column; text-align: center; gap: 16px; padding: 16px 20px; }
    .cookie-consent-buttons { justify-content: center; flex-wrap: wrap; }
    .cookie-modal-content { width: 95%; margin: 20px; }
    .cookie-modal-header, .cookie-modal-body, .cookie-modal-footer { padding: 16px 20px; }
}

/* SEO Primary Heading - Hidden but accessible */
.seo-primary-heading { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.seo-primary-heading h1 { font-size: 1px !important; color: transparent !important; }

/* Language Switcher */
.language-switcher-top { position: relative; }
.language-switcher-top button { transition: all 0.3s ease; }
.language-switcher-top button:hover { background: rgba(255,255,255,0.3) !important; transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
#language-dropdown-top { transition: all 0.3s ease; transform-origin: top right; opacity: 0; display: none; }
#language-dropdown-top.show { display: block !important; opacity: 1 !important; animation: dropdownFadeIn 0.3s ease; }
@keyframes dropdownFadeIn { from { opacity: 0; transform: scale(0.95) translateY(-10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
#language-select-top { transition: all 0.2s ease; }
#language-select-top:focus { border-color: #37aa61 !important; outline: none; box-shadow: 0 0 0 2px rgba(55, 170, 97, 0.2); }
@media (max-width: 768px) {
    .language-switcher-top { margin-right: 10px !important; }
    #language-toggle-top { padding: 4px 8px !important; font-size: 11px !important; }
    #language-dropdown-top { min-width: 160px !important; right: -20px !important; }
}

/* Icon bar sticky */
.icon-bar-sticky { position: fixed; top: 35%; transform: translateY(-35%); z-index: 9; right: 0; }
.icon-bar-sticky a { display: block; text-align: center; transition: all 0.3s ease; border-radius: 0; padding: 10px; margin-bottom: 5px; }

/* Tech Stack Section */
.tech-stack-section { padding: 80px 0; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); }
.section-description { font-size: 18px; color: #6c757d; margin-top: 20px; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.tech-categories { margin-top: 60px; }
.tech-category { background: white; border-radius: 20px; padding: 40px; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: all 0.3s ease; border: 1px solid #e9ecef; }
.tech-category:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.category-header { text-align: center; margin-bottom: 40px; }
.category-icon { width: 80px; height: 80px; background: linear-gradient(135deg, #393285 0%, #393285 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: white; font-size: 32px; }
.category-header h3 { color: #2c3e50; font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.category-header p { color: #6c757d; font-size: 16px; margin: 0; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; margin-top: 30px; }
.tech-item { background: #f8f9fa; border-radius: 15px; padding: 25px; text-align: center; transition: all 0.3s ease; border: 2px solid transparent; }
.tech-item:hover { background: white; border-color: #393285; transform: translateY(-3px); box-shadow: 0 10px 25px rgba(57, 50, 133, 0.2); }
.tech-icon { width: 60px; height: 60px; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; }
.tech-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tech-item h4 { color: #2c3e50; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.tech-type { background: linear-gradient(135deg, #393285 0%, #393285 100%); color: white; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.tech-benefits { margin-top: 80px; }
.benefit-card { background: white; border-radius: 15px; padding: 30px; text-align: center; height: 100%; box-shadow: 0 5px 20px rgba(0,0,0,0.08); transition: all 0.3s ease; border: 1px solid #e9ecef; }
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.benefit-icon { width: 70px; height: 70px; background: linear-gradient(135deg, #28a745 0%, #20c997 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: white; font-size: 28px; }
.benefit-card h4 { color: #2c3e50; font-size: 20px; font-weight: 600; margin-bottom: 15px; }
.benefit-card p { color: #6c757d; font-size: 16px; line-height: 1.6; margin: 0; }
@media (max-width: 768px) {
    .tech-category { padding: 30px 20px; margin-bottom: 30px; }
    .tech-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
    .tech-item { padding: 20px 15px; }
    .category-header h3 { font-size: 24px; }
    .benefit-card { margin-bottom: 20px; }
}

/* Icon fonts */
[class^="icon-"], [class*=" icon-"] { font-family: 'icomoon' !important; speak: never; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Waves effect */
.waves-effect { position: relative; cursor: pointer; display: inline-block; overflow: hidden; user-select: none; -webkit-tap-highlight-color: transparent; vertical-align: middle; z-index: 1; transition: .3s ease-out; }

/* Social media buttons */
.btn-facebook { background-color: #3b5998; border-color: #3b5998; color: #ffffff; }
.btn-youtube { background-color: #e43f52; border-color: #e43f52; color: #ffffff; }
.btn-twitter { background-color: #1da1f2; border-color: #1da1f2; color: #ffffff; }
.btn-linkedin { background-color: #0077b5; border-color: #0077b5; color: #ffffff; }
.btn-whatsapp { background-color: #03a84e; border-color: #03a84e; color: #ffffff; }

/* Swipe section */
.container1 { width: 400%; height: 100%; display: flex; flex-wrap: nowrap; }
.swipe-section { position: relative; height: 100vh; width: 100%; overflow: hidden; }
.swipe-section .panel { position: absolute; }

/* Lazy loading */
.lazy-image { opacity: 0; transition: opacity 0.3s ease-in-out; }
.lazy-image.loaded { opacity: 1; }

/* Performance monitoring */
.performance-marker { position: fixed; top: 10px; right: 10px; background: rgba(0,0,0,0.8); color: white; padding: 5px 10px; border-radius: 5px; font-size: 12px; z-index: 10000; display: none; }

/* Critical rendering path */
.critical-content { content-visibility: auto; contain-intrinsic-size: 0 500px; }
.stable-layout { contain: layout style paint; }
