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

Template Name: Leontra - 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
*/

/* Home overview mobile alignment */
@media (max-width: 767px) {
    .home-overview-section .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-overview-section .row {
        margin-left: 0;
        margin-right: 0;
    }

    .home-overview-content {
        padding-left: 0;
        padding-right: 0;
    }

    .home-overview-section .sub-title,
    .home-overview-section .title {
        display: block;
        text-align: center;
    }

    .home-overview-section .title {
        font-size: 32px;
        line-height: 1.25;
    }

    .home-overview-section p {
        max-width: 100%;
        text-align: left;
    }
}

/* Home mission / impact section */
.home-impact-section {
    padding: 70px 0;
}

.home-impact-section .container {
    position: relative;
    z-index: 1;
}

.home-impact-section .row.align-center {
    align-items: stretch;
}

.home-purpose-grid {
    height: 100%;
}

.home-purpose-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 280px;
    padding: 30px 24px;
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.home-purpose-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.28);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
}

.home-purpose-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.09);
}

.home-purpose-icon i {
    font-size: 30px;
    line-height: 1;
}

.home-purpose-card h3 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
}

.home-purpose-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.65;
}

.home-impact-counter {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    margin: 0;
    padding: 26px;
    background: linear-gradient(145deg, var(--color-primary), #0f4ed7);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 40, 120, 0.26);
}

.home-impact-counter::after {
    display: none;
}

.home-impact-counter ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-impact-counter li,
.home-impact-counter li:first-child {
    display: flex;
    align-items: center;
    min-height: 126px;
    margin: 0;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
}

.home-impact-counter .fun-fact {
    width: 100%;
}

.home-impact-counter .fun-fact .counter {
    min-width: 0;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 52px;
    line-height: 1;
}

.home-impact-counter .fun-fact .medium {
    display: block;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
}

@media (max-width: 991px) {
    .home-impact-section {
        padding: 55px 0;
    }

    .home-impact-counter {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .home-purpose-card,
    .home-impact-counter {
        min-height: auto;
    }

    .home-impact-counter ul {
        grid-template-columns: 1fr;
    }

    .home-impact-counter li,
    .home-impact-counter li:first-child {
        min-height: 104px;
    }
}

/* Work Process number visibility fix */
.process-style-one .thumb span {
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 0.9;
}

.process-style-one:hover .thumb span,
.active.process-style-one .thumb span {
    color: #ffffff;
    -webkit-text-fill-color: #ffffff;
    -webkit-text-stroke-color: #ffffff;
}

.leontra-cta-box {
    gap: 24px;
}

.leontra-cta-button {
    min-width: 156px;
    white-space: nowrap;
    text-align: center;
    flex-shrink: 0;
    padding: 18px 28px !important;
}

@media (max-width: 767px) {
    .leontra-cta-box {
        flex-direction: column;
        align-items: flex-start !important;
        padding: 30px !important;
    }

    .leontra-cta-title {
        font-size: 24px !important;
    }

    .leontra-cta-button {
        min-width: 0;
        width: 100%;
    }
}


/* Footer Quick Links Spacing & Layout */
.leontra-footer-main {
    padding: 42px 0 46px;
}

.leontra-footer-links-row {
    margin-bottom: 30px;
}

.leontra-footer-brand-row {
    row-gap: 28px;
}

.leontra-footer-main .footer-item {
    margin-top: 0;
}

.leontra-footer-brand {
    display: flex;
    align-items: center;
    gap: 34px;
}

.leontra-footer-brand .logo {
    width: 230px;
    max-width: 48%;
    height: auto;
    margin: 0;
}

.footer-certifications {
    flex: 0 0 auto;
}

.footer-certifications img {
    width: 230px;
    max-width: 100%;
    height: auto;
}

.leontra-footer-newsletter {
    max-width: 560px;
}

.leontra-footer-newsletter .widget-title {
    margin-bottom: 16px;
    font-size: 26px;
}

.leontra-footer-newsletter p {
    max-width: 440px;
    margin-bottom: 18px;
    line-height: 1.55;
}

.leontra-footer-newsletter .newsletter {
    margin-top: 0;
}

.leontra-footer-newsletter .newsletter form {
    max-width: 480px;
}

.leontra-footer-newsletter .footer-social {
    margin-top: 18px;
}

.leontra-footer-newsletter .footer-social li {
    margin-top: 0;
    margin-right: 8px;
}

.leontra-footer-newsletter .footer-social li a {
    width: 42px;
    height: 42px;
    line-height: 44px;
}

.footer-quick-links-title {
    margin-bottom: 14px;
}

.footer-links-list {
    column-count: 5;
    column-gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.footer-links-list li {
    break-inside: avoid;
    margin-top: 8px;
    line-height: 1.35;
}

.footer-links-list li:first-child {
    margin-top: 0;
}

@media (max-width: 1199px) {
    .leontra-footer-brand {
        gap: 24px;
    }

    .leontra-footer-brand .logo,
    .footer-certifications img {
        width: 200px;
    }

    .footer-links-list {
        column-count: 3;
    }
}

@media (max-width: 991px) {
    .leontra-footer-main {
        padding: 36px 0 38px;
    }

    .leontra-footer-brand {
        align-items: flex-start;
    }

    .leontra-footer-newsletter {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .leontra-footer-main {
        padding: 30px 0 34px;
    }

    .leontra-footer-links-row {
        margin-bottom: 26px;
    }

    .leontra-footer-brand {
        flex-direction: column;
        gap: 18px;
    }

    .leontra-footer-brand .logo {
        max-width: 230px;
        width: 100%;
    }

    .footer-certifications img {
        width: 220px;
    }

    .leontra-footer-newsletter .widget-title {
        margin-bottom: 12px;
        font-size: 24px;
    }

    .leontra-footer-newsletter p {
        margin-bottom: 16px;
    }

    .footer-quick-links-title {
        margin-bottom: 10px;
    }
    .footer-links-list {
        column-count: 2;
        column-gap: 15px;
    }
    .footer-links-list li {
        margin-top: 5px !important;
    }
}

@media (max-width: 480px) {
    .footer-links-list {
        column-count: 1;
    }
}
