@font-face {
    font-family: 'azar-mehr';
    src: url('../azarmehr/AzarMehr-DS1-Medium.woff2');
    font-weight: normal;
    font-style: normal;
}

.main {
    font-family: 'azar-mehr', serif !important;
}

a,
a:link,
a:visited {
    text-decoration: none; /* remove underline */
    color: inherit; /* or pick a color: #333, etc. */
}

a:hover,
a:focus,
a:active {
    text-decoration: none; /* remove underline on hover/focus too */
    color: inherit; /* or another color on hover */
}


/* Top ribbon / banner */
.top-banner {
    background-color: #EB634E; /* Light peach color */
    color: white;
    padding: 0.7rem 0;
    text-align: center;
    font-size: 18px;
    border-radius: 12px;
    font-weight: bold;
}


/* Main (hero) section */
.hero-section {
    background-color: #FFFFFF; /* White background */
    padding: 2rem 1rem 0 1rem;
    text-align: center;
    position: relative;
}

.hero-red-title {
    color: rgba(197, 64, 44, 1);
    margin-top: 20px;
    margin-bottom: 20px;
}

.event-info {
    text-align: center;
    padding: 1rem;
}

.teacher-line {
    margin-top: 47px;
    font-size: 32px;

}

.event-info p {
    font-size: 1.3rem;
    color: #0A4045;
}

.info-details {
    align-items: center;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #0A4045;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .info-item {
        display: flex;
        align-items: center;
        gap: 0.2rem;
        color: #0A4045;
        font-size: 13px;
    }
}

.info-item i {
    color: #F47C66;
    font-size: 1.2rem;
}

/* Subtle decorative shape or bar at the top if needed */
.decorative-bar {
    height: 6px;
    width: 60px;
    background-color: #EB634E; /* Another peach tone or accent color */
    margin: 0 auto 1rem auto;
    border-radius: 3px;
}

/* Main heading */
.hero-title {
    font-size: 46px;
    font-weight: 700;
    color: #333;
    margin-bottom: 6rem;
    line-height: 1.3;
}


/* Emphasize the question marks with a specific color */
.hero-title .question-mark {
    color: #3CA19B; /* Teal color */
    font-size: 2rem;
    margin: 0 0.2rem;
    vertical-align: middle;
}

/* Subtitle / description text */
.hero-text {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 26px;
    line-height: 2;
    color: #0A4045;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 24px !important;
        margin-bottom: 3rem;


    }

    .hero-text {
        font-size: 16px !important;

    }
}

.video-wrapper {
    margin: 0 auto; /* Centers the video */
    position: relative;
    z-index: 10;
    display: inline-block;
    border-radius: 16px;
}

.video-wrapper video {
    width: 100%;
    border-radius: 12px; /* Adds rounded corners (optional) */
    max-width: 900px;
    margin-top: -190px;
}
.about-description{
    font-size: 22px;
    color: rgba(10, 64, 69, 1);
}


.btn-register {
    background-color: rgba(235, 99, 78, 1);
    color: #fff !important;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    height: auto;
    padding: 20px 50px;
    max-width: 600px; /* Sets a max limit */
    display: block; /* Makes it behave as a block element */
    margin: 0 auto; /* Centers it inside its container */
}


/* Footer text / Additional info */
.footer-text {
    margin-top: 2rem;
    color: #777;
    font-size: 0.95rem;
}

.custom-section {
    margin-top: 80px;
    padding: 60px 0;
    text-align: center;
    width: 100%;
    background-color: #D4EDF1;
    border-radius: 20px;
}


/* Responsive */
@media (max-width: 768px) {
    .background-shape {
        top: 31% !important;
    }

}

.image-wrapper {
    position: relative;
    z-index: 10;
    display: inline-block;
    background: white;
    border-radius: 16px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.image-wrapper img {
    width: 100%;
    max-width: 700px;
    border-radius: 10px;
    margin-top: -130px;
}


.feature-background {
    background-color: #A0DDE3;
    padding: 20px;
    margin-top: 110px;
}


.fetuere-section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
}

.feature-card {
    background-color: #F9FEFF;
    border-radius: 12px;
    padding: 20px;
    text-align: right;
    position: relative;
    margin-top: -80px;
}

.feature-icon {
    font-size: 40px;
    color: #5E9EA0;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 18px;
    font-weight: bold;
    color: #26848C;
}

.feature-text {
    font-size: 14px;
    color: #0A4045;
    min-height: 84px;
}

@media (max-width: 767.98px) {
    .custom-border {
        border-top: 1px solid #000; /* Change color as needed */
    }
}

.event-time-section {
    text-align: center;
    padding: 60px 20px;
}

.event-title {
    font-size: 24px;
    font-weight: bold;
    color: #2C4E4E;
    margin-bottom: 15px;
}

.event-description {
    font-size: 22px;
    color: #333;
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
}

.time-register-button {
    display: inline-block;
    background-color: #EB634E;
    color: white !important;
    font-size: 18px;
    border-radius: 16px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    padding: 20px 50px 20px 50px;
    height: auto;
    min-width: 300px;
}

.time-register-button:hover {
    background-color: #C05445;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .event-title {
        font-size: 20px;
    }

    .event-description {
        font-size: 14px;
        padding: 0 15px;
    }

    .register-button {
        font-size: 14px;
        padding: 10px 20px;
    }
}


.webinar-registration {
    background-color: #26848C;
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin: auto;
    position: relative;
}

.webinar-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.webinar-description {
    font-size: 16px;
    margin-bottom: 20px;
}

.form-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.form-input {
    background: white;
    border: none;
    border-radius: 16px;
    padding: 10px;
    width: 200px;
    text-align: center;
}

.register-button {
    display: inline-block;
    background-color: #A0DDE3;
    color: #0A4045 !important;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 16px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    width: 100%; /* به صورت پیش‌فرض تمام عرض */
}

@media (min-width: 768px) {
    .register-button {
        width: 410px; /* در دسکتاپ عرض خودکار */
    }
}

.motivational-text {
    text-align: center;
    margin-top: 40px;
    font-size: 24px;
    color: #2C4E4E;
}

.arrow {
    position: absolute;
    right: 180px;
    margin: 10px auto;
    transform: rotate(10deg);
}

/* Responsive */
@media (max-width: 768px) {
    .webinar-registration {
        padding: 30px;
    }

    .form-container {
        flex-direction: column;
        align-items: center;
    }

    .form-input {
        width: 100%;
        max-width: 300px;
    }

    .register-button {
        width: 100%;
        max-width: 300px;
    }

    .motivational-text {
        font-size: 16px;
        padding: 0 15px;
    }
}

.ending {
    padding-bottom: 120px;
}

/* Responsive */
@media (max-width: 768px) {
    .ending {
        padding-bottom: 5px !important;
    }
}

.q1 {
    position: absolute;
    left: 180px;
    margin: 10px auto;
    transform: rotate(10deg);
}

/* Responsive */
@media (max-width: 768px) {
    .q1 {
        left: 0px !important;
        height: 60px !important;
        width: 60px !important;
    }
}

.q2 {
    position: absolute;
    right: 180px;
    margin: 10px auto;
    transform: rotate(10deg);
}

/* Responsive */
@media (max-width: 768px) {
    .q2 {
        right: 0px !important;
        height: 60px !important;
        width: 60px !important;
    }
}
