/* ----------------------------------

Template Name: Tekni - IT Solutions & Services Template
Author: validtheme
Description:
Version: 1.2

Main Font    : Outfit
Main Color   : #DF0A0A

-------------------------------------

[Typography]

Body copy:    15px 'Outfit', sans-serif
Header:     36px 'Outfit', sans-serif
Input, textarea:  16px 'Outfit', sans-serif
Sidebar heading:  20px 'Outfit', sans-serif

>>> TABLE OF CONTENTS:
=======================
        
    01. Template default css
        - Animations
        - General
        - Section Title
        - Video Button
        - Typography
        - Tables
        - Forms
        - Buttons
        - Pagination
        - Colors
    02. Preloader
    03. Topbar
	    - Topbar Style One
        - Topbar Style Two
    04 Navbar
        - Navbar Default
        - Navbar Transparent
        - Navbar Sticky
        - Navbar Box
    05. Banner
        - Banner Fade
        - Banner Slide
        - Banner Zoom
    06. About Us
	    - About Style One
        - About Style Two
    07. Services
        - Tab Version
        - Grid Version
        - Services Single
    08. Features
    09. Work Process
    10. Why Choose Us
    11. Fun Factor
    12. Pricing Table
    12. Partner World Wide
    13. Team
        - Grid Version
        - Carousel Version
        - Team Details
    14. Testimonials
		- Single Slider
        - Center Slider
    15. Projects
		- Grid Version
        - Carousel Version
        - Project Details
    16. Blog
        - Standard
        - Left Sidebar
        - Right Sidebar
        - Single
    17. Request Call Back
    18. FAQ
    19. Error 404
    20. Footer
    21. PHP Contact Form
    22. Others

*/

/*
** Write you custom css below
*/

/* ==============================
   Navbar - SILIZIOS Logo Fix
   ============================== */

/* Logo image sizing in navbar brand */
.sili-nav-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
    transition: opacity 0.3s ease;
}

/* Ensure the navbar-brand area has proper vertical alignment and padding */
.navbar-brand {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    display: flex !important;
    align-items: center !important;
}

/* ==============================
   Navbar Layout Fix
   (Prevents nav items stacking vertically on desktop)
   ============================== */

/* Force nav menu to display as a horizontal flexbox on desktop */
@media (min-width: 1024px) {
    nav.validnavs .collapse.navbar-collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    nav.validnavs ul.nav.navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        float: none !important;
    }

    nav.validnavs ul.nav.navbar-nav > li {
        display: inline-flex !important;
        align-items: center !important;
        float: none !important;
    }

    /* Key fix: prevent nav link text from wrapping to next line */
    nav.validnavs ul.nav.navbar-nav > li > a {
        white-space: nowrap !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        line-height: 1.4 !important;
    }

    /* Mobile collapse-header logo — hide on desktop */
    nav.validnavs .collapse-header {
        display: none !important;
    }
}

/* ==============================
   Navbar Text Color – At Top (transparent)
   ============================== */

/* All nav links white by default (hero images are dark) */
nav.validnavs ul.nav.navbar-nav > li > a {
    color: #ffffff !important;
    transition: color 0.3s ease, opacity 0.3s ease;
}

nav.validnavs ul.nav.navbar-nav > li > a:hover,
nav.validnavs ul.nav.navbar-nav > li.active > a {
    opacity: 0.8;
}

/* ==============================
   Navbar Sticky Background + Text Color
   ============================== */

/* When navbar becomes sticky (no-background class removed by validnavs.js),
   show a solid dark-blue background matching the brand */
.validnavs.navbar-fixed:not(.no-background) {
    background: rgba(10, 30, 80, 0.97) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
    transition: background 0.3s ease;
}

/* Ensure nav link text is white when scrolled (dark background) */
.validnavs.navbar-fixed:not(.no-background) ul.nav.navbar-nav > li > a {
    color: #ffffff !important;
}

/* sili-scrolled class toggled by navbar-logo-swap.js — extra guarantee */
nav.validnavs.sili-scrolled ul.nav.navbar-nav > li > a {
    color: #ffffff !important;
}

/* ==============================
   Footer Logo Sizing
   ============================== */
.sili-footer-logo {
    max-height: 50px !important;
    width: auto !important;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
}

/* ==============================
   Equal Height Process Cards Fix
   ============================== */
.process-style-two {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.process-style-two .icon {
    margin-top: auto !important;
    padding-top: 30px !important;
}

/* ==============================
   Formspree Success Popup Modal
   ============================== */
.sili-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 30, 80, 0.6);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.sili-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sili-modal-card {
    background: #0f224c;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    padding: 40px;
    text-align: center;
    color: #ffffff;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sili-modal-overlay.active .sili-modal-card {
    transform: translateY(0) scale(1);
}

.sili-modal-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1351d8, #00d2ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 25px rgba(19, 81, 216, 0.4);
}

.sili-modal-icon-wrapper i {
    font-size: 38px;
    color: #ffffff;
}

.sili-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff, #a0c0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sili-modal-text {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #b0c4de;
    margin-bottom: 30px;
}

.sili-modal-btn {
    background: linear-gradient(135deg, #1351d8, #0a3bb3);
    color: #ffffff;
    border: none;
    padding: 12px 35px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(19, 81, 216, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sili-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(19, 81, 216, 0.5);
}

.sili-modal-btn:active {
    transform: translateY(0);
}
