/* First section */
.p-1 {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 150px;
}

.p-1 .images {
    display: flex;
    margin-left: 100px;
    gap: 20px;
}

.main-title h1, .main-title h2 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.main-title h1 {
    width: 100%;
}

.main-title {
    max-width: 100%;
    text-align: center;
}

/* For animation styling */

.small-h2,
.hero-subtitle {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.big-h1 {
    min-height: 1.2em;
    font-weight: 700;
}

.big-h1::after {
    content: "";
}

.big-h1.typing::after {
    content: "|";
    margin-left: 2px;
    animation: blink 1s infinite;
}

/* Feature cards */

.feature-card {
    background: rgba(19,33,46,0.45);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 24px;
    margin: 20px 0 40px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.feature-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}

.feature-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
    color: #fff;
}

.feature-text p {
    font-size: 1.4rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.75);
    margin: 0;
    width: 100%;
    text-align: center;
}

.feature-media {
    flex: 1 1 300px;
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 14px;
    overflow: hidden;
}

.feature-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.feature-text {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
}

.feature-card:hover .feature-video {
    filter: brightness(1.05);
    transition: filter 0.3s ease;
}

.feature-card.left .feature-content {
    flex-direction: row;
    text-align: left;
}

.feature-card.right .feature-content {
    flex-direction: row-reverse;
    text-align: right;
}

/* */



@keyframes blink {
    50% { opacity: 0; }
}

.hero-cta {
    transform: translateY(10px);
    display: inline-block;
    opacity: 0;
    margin-top: 30px;
    padding: 14px 30px;
    background-color: #093E6C;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta:hover, .hero-cta.fake-hover {
    background-color: #0b5aa7;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.show {
    opacity: 1;
    transform: translateY(0);
}




/* */

.learn-more {
    margin-top: 100px;
}



.small-h2 {
    font-size: clamp(18px, 4vw, 4rem);
    color: white;
}

.big-h1 {
    font-size: clamp(24px, 8vw, 8rem);
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    white-space: nowrap;
}

.learn-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    gap: 5px;
    margin-top: 140px;
    transition: 0.3s all ease-in;
}

.learn-more:hover {
    transform: scale(1.2);
    cursor: pointer;
    transition: 0.3s all ease-in;
}

.learn-more p {
    font-weight: 700;
    font-size: 1.2rem;
    color: #385f83;
}

.learn-more i {
    color: #385f83;
}

.hero-subtitle {
    color: white;
    font-size: clamp(12px, 2vw, 1.3rem);
}

section {
    width: 80%;
}



/* page break styling */

.page-break {
    display: block;
    width: 80%;
    background-color: #13212E;
    border-radius: 15px;
    height: 24px;
    margin: 30px 0;
}

/* section 2 styling */

.p-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-2 h2 {
    color: white;
    font-size: 4rem;
    margin-top: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.p-2 div p span {
    font-size: 3rem;
    color: #B2B1B1;
    font-weight: 700;
}

.p-2 div img {
    width: 260px;
    height: 260px;
}

.p-2-1, .p-2-2, .p-2-3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 50px;
    margin: 30px 0 30px 0;
}

/* section 3 styling */

.cta {
    background: rgba(19,33,46,0.45);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 40px 24px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.cta p {
    font-size: 1.4rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.75);
    margin: 0;
    max-width: 600px;
}

.hero-cta-2 {
    display: inline-block;
    padding: 14px 32px;
    background: #0d71f2;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-cta-2:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .feature-content {
        flex-direction: column !important;
        align-items: center;
        text-align: center !important;
    }

    .feature-media,
    .feature-text {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .feature-media {
        margin-top: 12px;
    }

    /* row 3 */

    .cta h2 {
        font-size: 2rem;
    }

    .cta p {
        font-size: 1.2rem;
    }

    .hero-cta {
        font-size: 1rem;
        padding: 12px 24px;
    }
}