/* ===== Global ===== */
* {
    box-sizing: border-box;
    font-family: "Cairo", sans-serif;
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

/* ===== Start Navbar ===== */
nav {
    width: 100%;
    padding: 15px 0;
    z-index: 1111;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 49, 77, 0.08);
}

nav.scrolled {
    box-shadow: 0 15px 45px rgba(45, 49, 77, 0.08);
}

nav .navbar-brand img {
    width: 120px;
}

nav ul li a {
    font-size: 18px !important;
    font-weight: 600;
    color: #2d3142 !important;
    transition: 0.3s;
}

nav ul li {
    position: relative;
    margin: 0 10px;
}

nav ul li::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #30cf6f, #2cbacd);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

nav ul li:hover::after,
nav ul li.active::after {
    transform: scaleX(1);
}

nav ul li:hover a {
    color: #2cbacd !important;
}

/* Responsive Navbar*/
@media (max-width: 992px) {
    nav {
        padding: 10px 0;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav button:last-child {
        width: 100%;
        margin-top: 15px;
    }
}

nav ul {
    margin-left: 100px;
}

@media (min-width: 993px) and (max-width: 1200px) {
    nav ul {
        margin-left: 50px;
    }
}

/* End Navbar */

/* ===== Start Header Section ===== */
.wrap-header {
    background: linear-gradient(135deg, #f7fbff 0%, #f5f7fa 45%, #ffffff 100%);
    width: 100%;
    overflow: hidden;
    padding: 120px 0 60px;
    margin-top: 70px;
}

.wrap-header p {
    font-size: 18px;
    line-height: 1.8;
    color: #6a7180;
    margin-bottom: 30px;
    max-width: 520px;
}

.btn-register {
    width: 200px;
    padding: 14px;
    font-size: 16px !important;
    border-radius: 30px;
    background: linear-gradient(to right, #30cf6f, #2cbacd);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-outline-secondary {
    color: #2d3142;
    border-color: rgba(45, 49, 77, 0.15);
    background: #ffffff;
}

.btn-outline-secondary:hover {
    background: rgba(45, 49, 77, 0.06);
    color: #2d3142;
    border-color: #30cf6f;
}

.secondary-btn {
    min-width: 155px;
}

.btn-register::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-register:hover::before {
    left: 100%;
}

.btn-register:hover {
    transform: scale(1.05);
}

.wrap-header .header-text {
    margin-top: 80px;
}

.wrap-header h1 {
    color: #2d3142;
    font-size: 54px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.05;
}

@media (max-width: 992px) {
    .wrap-header {
        padding: 80px 0 40px;
        text-align: center;
    }

    .wrap-header .header-text {
        margin-top: 0;
        text-align: center;
    }

    .wrap-header h4 {
        text-align: center;
        font-size: 28px;
    }

    .wrap-header p {
        text-align: center;
        padding: 0 15px;
    }

    .wrap-header img {
        width: 100%;
        max-width: 460px;
        margin-top: 30px;
    }
}


@media (max-width: 768px) {
    .wrap-header .header-text {
        margin-top: 30px;
    }

    .wrap-header h4 {
        font-size: 32px;
    }
}

/* ===== End Header Section ===== */


/* ===== Start Choose Section ===== */
.chosse {
    width: 100%;
    padding: 60px 0;
    background-color: #f4f5f7;
}

.chosse {
    width: 100%;
    padding: 60px 0;
    background-color: #f4f5f7;
}

.chosse .row .col-lg-3 {
    padding: 25px;
    background: #ffffff;
    border-radius: 24px;
    transition: .4s;
    min-height: 320px;
    box-shadow: 0 18px 40px rgba(45, 49, 77, 0.06);
}

.chosse .row .col-lg-3:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px rgba(45, 49, 77, 0.1);
}

.chosse .row .col-lg-3 img {
    width: 65px;
    padding: 12px;
    background: rgba(48, 207, 111, 0.08);
    border-radius: 18px;
    transition: .4s;
}

.chosse .row .col-lg-3 img:hover {
    transform: rotate(360deg) scale(1.05);
}

.chosse .row .col-lg-3 h4 {
    font-size: 22px;
    margin: 15px 0;
    color: #2d3142;
}

.chosse .row .col-lg-3 p {
    line-height: 1.75;
    color: #6a7180;
    font-size: 15px;
}

.chosse h3 {
    font-size: 36px !important;
    font-weight: 400;
    color: #2d3142 !important;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .chosse {
        padding: 40px 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .chosse h3 {
        font-size: 28px !important;
    }
}


@media (max-width: 992px) {
    .chosse .row .col-lg-3 {
        text-align: center;
        margin-bottom: 30px;
    }
}

/* ===== End Choose Section ===== */


/* ===== Start Latest Articles Section ===== */
.latest-arcticl {
    padding: 80px 0;
    background-color: #fafafa;
}

.latest-arcticl h2 {
    font-size: 36px;
    font-weight: 600;
    color: #2d3142;
    margin-bottom: 20px;
}

.latest-arcticl .container .box {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
    margin-bottom: 25px;
}

.latest-arcticl .container .box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(101, 48, 48, 0.1);
}

.latest-arcticl .container .box div {
    overflow: hidden;
}

.latest-arcticl .img-card {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: .4s;
}

.latest-arcticl .container .box img:hover {
    transform: scale(1.1);
}

.latest-arcticl .box p:first-of-type {
    padding: 0 20px;
    margin-top: 20px;
    font-size: 12px;
    color: #9698a6;
}

.latest-arcticl .box h4 {
    font-size: 18px;
    padding: 0 20px;
    margin: 10px 0;
    color: #2d3142;
    cursor: pointer;
    transition: 0.3s;
}

.latest-arcticl .box h4:hover {
    color: #30cf6f;
}

.latest-arcticl .box p:last-of-type {
    padding: 0 20px 25px;
    font-size: 14px;
    line-height: 1.5;
    color: #9698a6;
}

@media (max-width: 768px) {
    .latest-arcticl {
        padding: 40px 0;
    }

    .latest-arcticl h2 {
        text-align: center;
        font-size: 28px !important;
        padding: 0 !important;
        margin-bottom: 30px !important;
    }
}

/* ===== End Latest Articles Section ===== */

/* ===== Start Footer Section ===== */
.footer-section {
    background: linear-gradient(180deg, #1c2132 0%, #262d45 100%);
    color: #e8eaf2;
    padding: 70px 0 40px;
}

.footer-section .footer-brand img {
    max-width: 150px;
    filter: brightness(0) invert(1);
    margin-bottom: 25px;
}

.footer-section .footer-desc {
    max-width: 360px;
    color: #c3c9dc;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    transform: translateY(-3px);
    background: #30cf6f;
    color: #fff;
}

.footer-section h5 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

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

.footer-links li a {
    color: #c3c9dc;
    text-decoration: none;
    transition: color 0.25s ease;
    font-size: 16px;
}

.footer-links li a:hover {
    color: #30cf6f;
}

.footer-newsletter {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    max-width: 450px;
    margin-top: 18px;
}

.footer-newsletter input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #f0f4ff;
    outline: none;
}

.footer-newsletter input::placeholder {
    color: #b7bfd6;
}

.footer-newsletter button {
    min-width: 160px;
    padding: 14px 22px;
    border-radius: 100px;
    border: none;
    background: linear-gradient(to right, #30cf6f, #2cbacd);
    color: #fff;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: #9aa2c0;
    margin: 0;
    font-size: 15px;
}

@media (max-width: 992px) {
    .footer-newsletter {
        grid-template-columns: 1fr;
    }

    .footer-newsletter button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-section {
        padding: 50px 0 30px;
        text-align: center;
    }

    .footer-section .footer-brand,
    .footer-section .footer-links,
    .footer-section .footer-newsletter {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }
}

/* ===== End Footer Section ===== */



/* Fix for gradient buttons consistency */
nav button:last-child,
.wrap-header button,
footer button {
    background: linear-gradient(to right, #30cf6f, #2cbacd);
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

nav button:last-child:hover,
.wrap-header button:hover,
footer button:hover {
    opacity: 0.85;
    transform: scale(1.02);
}


.text-info {
    color: #2d3142 !important;
}




/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}


.scroll i{
    font-size: 30px;
   
}
@keyframes scroll {
    0% {
        transform: translatey(-5px);
        opacity: .4;
    }

    25% {
        transform: translatey(5px);
        opacity: .1;
    }

    50% {
        transform: translatey(-1px);
        opacity: .9;
         
    }

    75% {
        transform: translatey(0px);
        opacity: .6;
    }

    100% {
        transform: translatey(2px);
        opacity: .4;
    }
}
.scroll {
    border-radius: 50%;
    padding: 20px;
    position: fixed;
    bottom: 20px;
    right: -100px;  
    animation: scroll 2s infinite alternate;
    transition: 0.3s;
}

.scroll.show {
    right: 3%;
}