@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
}
body {
    font-family: 'Poppins', sans-serif;
    overflow-y: auto;
    overflow-x: hidden;
}
.nav-link {
    font-size:120%;
    color: #ffffff;
    background-color: transparent;
    border: 0;
    opacity: 0.75;
    transition: opacity 0.3s ease;
    box-shadow: none;
    outline: none;
}

    .nav-link:hover,
    .nav-link:focus,
    .nav-link:active,
    .nav-link.active,
    .nav-link.show {
        color: #ffffff;
        opacity: 1;
        background-color: transparent;
        box-shadow: none;
    }

    .nav-link.dropdown-toggle::after {
        border-top-color: #ffffff;
    }
.main-grid {
    padding-left:80px;
    padding-right:80px;
    display: grid;
    grid-template-columns: 3fr 9fr;
    gap: 1.5rem;
    width: 100%;
    align-items: start;
}
.inner-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 1rem; 
}
.animated-gradient {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    z-index: 0;
    background-color: #fff;
}

    .animated-gradient::before {
        content: "";
        position: absolute;
        top: -100%;
        left: -100%;
        width: 300%;
        height: 300%;
        background: linear-gradient(-45deg, #fff, #2380b2, #9561e2, #f5a1a1, #23d5ab);
        background-size: 50% 50%;
        filter: blur(60px);
        animation: gradientFlow 30s linear infinite, driftFlow 35s ease-in-out infinite alternate;
        z-index: -2;
    }

    .animated-gradient::after {
        content: "";
        position: absolute;
        bottom: 10%;
        left: -5%;
        width: 110%;
        height: 100%;
        background: linear-gradient(to top, white 40%, transparent 70%), radial-gradient(circle at 0% 100%, white 20%, transparent 45%), radial-gradient(circle at 100% 100%, white 20%, transparent 45%);
        filter: blur(10px);
        z-index: -1;
        pointer-events: none;
    }

@keyframes driftFlow {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 100% 50%;
    }
}

@keyframes gradientFlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
.header-container {
    min-height:700px;
}
.glass-effect {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: none;
    box-shadow:
    inset 1px 1px 0px 0px rgba(255, 255, 255, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #ff2d55 0%, #ff3b30 100%);
    border-radius: 35px;
    z-index: 1;
    transition: all 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.toggle-btn {
    font-size:120%;
    position: relative;
    z-index: 2;
    padding: 12px 28px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-weight: 500;
    transition: all 2s ease;
}

    .toggle-btn.active {
        color: white;
        transform: scale(1.05); 
    }
    .toggle-btn:hover:not(.active) {
        color: white;
    }
.tab-pane {
    transition: opacity 0.4s ease;
    width: 100%;
}
.content-container {
    width: 100%;
    background-color: #fff;
    padding:20px;
}

.section-toggle-container {
    position: relative;
    display: flex;
    background: #f0f0f0;
    border-radius: 50px;
    padding: 5px;
    border: 1px solid #e2e8f0;
}

.active-bg-slider {
    position: absolute;
    top: 5px;
    left: 5px;
    height: calc(100% - 10px);
    background: #FF1A00; 
    border-radius: 40px;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 1;
}

.header-tittle {
    color: #ffffff;
    font-weight: 800;
    font-size: 600%;
    line-height: 1.1;
    opacity: 1;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 35px rgba(255, 255, 255, 0.4);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

.header-content {
    font-size: 150%;
}
.section-title {
    text-align: center;
    color: rgba(48, 48, 194, 0.4);
    font-weight: 1000;
    font-size: 300%;
    line-height: 1.1;
    opacity: 1;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 35px rgba(255, 255, 255, 0.4);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}
.section-toggle-btn {
    font-size:120%;
    position: relative;
    z-index: 2;
    padding: 12px 28px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.6s ease;
}

    .section-toggle-btn.active {
        color: white;
    }

    .section-toggle-btn:not(.active) {
        color: #A0A0A0;
    }
.section-tab-pane {
    display: none;
    transition: opacity 0.4s ease;
    width: 100%;
}
    .section-tab-pane.active-content {
        display: block;
    }

.content-box {
    background: #A0A0A0;
    border-radius: 15px;
    padding: 10%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}
.content-title {
    font-size: 180%;
    text-align: left;
    line-height: 1;
    font-weight: 600;
    padding-top: 10px;
    margin-bottom: 10px;
}
.content-text {
    text-align: left;
}
.content-icon{
    width:50px;
    height:50px;
}
.content-image-box {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    min-height: 400px;
    height: 100%;
    z-index: 1;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .content-image-box.is-active {
        transform: translateY(-8px) translateZ(0);
        box-shadow: 0 20px 40px rgba(48, 48, 194, 0.4);
    }

.content-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.content-image-box.is-active .content-image {
    transform: scale(1.08);
}

.content-image-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(48, 48, 194, 0.9) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.content-overlay {
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    color: white;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.overlay-title {
    font-size: 200%;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}

.overlay-content {
    font-size: 1.1rem;
    line-height: 1.4;
    opacity: 0.9;
    margin: 8px 0 0 0;
    max-width: 95%;
}

.pull-up-btn {
    padding: 10px 25px;
    background: linear-gradient(135deg, #ff2d55 0%, #ff3b30 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden; 
    max-height: 0;
    margin-top: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.content-image-box.is-active .pull-up-btn {
    opacity: 1;
    visibility: visible;
    max-height: 60px; 
    margin-top: 15px;
    transform: translateY(0);
}

.pull-up-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}