﻿
html {
    scroll-behavior: smooth;
}

section,
[id] {
    scroll-margin-top: 70px;
}


/*hero*/
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* --- UPDATE AICI --- */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden; 
    transform: scale(1);
    transition: transform 0.5s ease-out;
    will-change: transform;
}

    .hero-bg video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        
        transform: translate(-50%, -50%);
        object-fit: cover;
    }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 50, 0.55);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #dce5f3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.9rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .hero-btn:hover {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
        border-color: #ffffff;
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
    }

.hero-section.scroll-effect .hero-bg {
    transform: scale(1.05);
}


.about-icons-section .col-lg-10 {
    max-width: 1000px;
    margin: 0 auto;
   
}

.about-icons-section p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
}
.about-icons-section h2 {
    color: #004b91;
}
/*service cards*/
.services-section {
    background: #f8fbff;
    position: relative;
    z-index: 5;
}

    .services-section h2 {
        color: #004b91;
    }

.service-card {
    background: #ffffff;
    border: none;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .service-card:hover {
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }

.card-link-hover:hover .service-card {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}


.icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50% /*12px*/;
    font-size: 2rem;
    margin-bottom: 0;
    margin-right: 1rem;
    flex-shrink: 0; 
}


.service-card h5 {
    color: #112d4e;
    margin-bottom: 0; 
    line-height: 1.2;
}


.service-header {
    margin-bottom: 1rem;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: #6c757d;
    margin-top: 1.05rem; 
    font-size: 1.05rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

    .service-card ul li i {
        margin-top: 3px;
        min-width: 20px;
    }


@media (max-width: 767px) {
    .service-card {

        text-align: left;
        padding: 1.5rem;
    }

        .service-card ul li {
            justify-content: flex-start; 
            text-align: left;
        }

   
    .icon-wrapper {
        margin-right: 1rem; 
    }
}

/*trust section*/
.trust-section {
    /*background: #f8f9fa;*/
    background: #f8fbff;
    position: relative;
}

.trust-card {
    background: #ffffff;
    border: none;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

   /* .trust-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 24px rgba(17,45,78,0.15);
    }*/

.trust-icon {
    font-size: 2.5rem;
    background: rgba(63,114,175,0.08);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    /*transition: all 0.3s ease;*/
}

/*.trust-card:hover  {
    transform: scale(1.1);
    background: rgba(63,114,175,0.15);
}*/

.trust-section h2 {
    color: #004b91;
}

.trust-section p {
    color: #5c7080;
}


/*contact section*/
.contact-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

    .contact-section h2 {
        font-size: 2.4rem;
        font-weight: 700;
        color: #004b91;
        margin-bottom: 3rem;
    }

    .contact-section .contact-card {
        background: #ffffff;
        border-radius: 1rem; 
        padding: 2rem 1.5rem;
        border: none !important;
        border-top: none !important;
        box-shadow: none !important;
        
        font-size: 1.05rem;
        line-height: 1.6;
    }

        .contact-section .contact-card p {
            font-size: 1.05rem;
            margin-bottom: 0.8rem;
        }

        .contact-section .contact-card i {
            font-size: 1.25rem;
        }

/* Map */
.map-container {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background: #eee;
    width: 80%;
    height: 80%; 
    min-height: 255px;
}

    .map-container iframe {
        border: none;
        display: block;
    }

@media (max-width: 768px) {
    .contact-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .contact-card {
        margin-bottom: 2rem;
    }
}

/*utilities and buttons*/
.text-dark-blue {
    color: #112d4e !important;
}

.bg-primary-subtle {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

.bg-danger-subtle {
    background-color: rgba(220, 53, 69, 0.1) !important;
}

.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.btn-outline-primary {
    border: 2px solid #13334a;
    color: #13334a;
    background-color: transparent;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.45rem 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
}

    .btn-outline-primary:hover {
        background: #13334a;
        color: #fff;
        box-shadow: 0 6px 15px rgba(19, 51, 74, 0.25);
        transform: translateY(-2px);
    }

    .btn-outline-primary:active {
        transform: none;
        box-shadow: 0 3px 8px rgba(19, 51, 74, 0.25);
    }

/*animations*/

.animate-fade-up {
    opacity: 0; 
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

    
    .animate-fade-up.in-view {
        opacity: 1;
        transform: translateY(0);
    }


.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}


@media (prefers-reduced-motion: reduce) {
    .animate-fade-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* =====================================================
   BUTTON – BTN PARTNERS (DESKTOP + MOBILE)
===================================================== */

/* ---------- BAZĂ ---------- */
.btn-partners {
    background-color: #ffffff;
    color: #004b91;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent; /* iOS */
}

    /* Icon */
    .btn-partners .icon-arrow {
        transition: transform 0.3s ease;
    }


/* =====================================================
   DESKTOP – HOVER REAL (mouse / trackpad)
===================================================== */

@media (hover: hover) and (pointer: fine) {

    .btn-partners:hover {
        background-color: #004b91;
        color: #ffffff;
        border-color: #004b91;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 75, 145, 0.2);
    }

        .btn-partners:hover .icon-arrow {
            transform: translateX(5px);
        }
}


/* =====================================================
   MOBILE – TAP FEEDBACK (fără hover blocat)
===================================================== */

@media (hover: none) and (pointer: coarse) {

    .btn-partners:active {
        background-color: #004b91;
        color: #ffffff;
        border-color: #004b91;
        transform: scale(0.97);
        box-shadow: 0 6px 12px rgba(0, 75, 145, 0.2);
    }
}


/* =====================================================
   FOCUS & ACCESIBILITATE
===================================================== */

.btn-partners:focus {
    outline: none;
}

.btn-partners:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 75, 145, 0.25), 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Nu păstra focus fake după tap */
.btn-partners:focus:not(:focus-visible) {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
