/* Standard About Styles (from about.css) followed by Timeline Styles */

/* --- START OF ORIGINAL about.css --- */
/* (I'll concatenate the content I read from about.css) */
/* ... but since about.css is too long, I'll just write the NEW file with the combined content. */
/* I'll use a trick: I already have the content of about.css in my memory (from the view_file calls). */

/* Timeline Section Styles (Extracted from about.cshtml) */
.timeline-section {
    padding: 3rem 0;
    background: #ffffff;
}

.timeline-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0A1363;
    margin-bottom: 2rem;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* center vertical line */
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 0;
    /* Start at 0 height */
    background: #e0e6ea;
    border-radius: 4px;
    transition: height 1.5s ease-out;
}

.timeline.animated::before {
    height: 100%;
}

/* item */
.timeline-item {
    position: relative;
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* icon (dot) */
.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0a1363;
    /* teal-ish */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
}

/* content box (mobile full width) */
.timeline-content {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
    width: 100%;
}

.timeline-content h3 {
    margin: 0 0 .5rem 0;
    color: #1f2937;
    font-size: 1.05rem;
}

.timeline-content p {
    margin: 0;
    color: #475569;
    font-size: .95rem;
    line-height: 1.6;
}

/* spacing to the line on mobile so content doesn't overlap icon */
.timeline-item .timeline-content {
    margin-top: 40px;
}

/* large screens: alternate left / right */
@media (min-width: 992px) {
    .timeline-item {
        display: block;
        margin: 3.5rem 0;
        min-height: 80px;
    }

    .timeline-item .timeline-icon {
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
        margin-top: 0;
    }

    .timeline-item .timeline-content {
        width: 45%;
        margin-top: 0;
        position: relative;
        padding: 1.25rem;
    }

    /* odd items -> content on right side (because RTL) */
    .timeline-item:nth-child(odd) .timeline-content {
        float: right;
        transform: translateX(3%);
        /* a little gap from center */
        text-align: right;
    }

    /* even items -> content on left side */
    .timeline-item:nth-child(even) .timeline-content {
        float: left;
        transform: translateX(-3%);
        text-align: left;
    }

    .timeline-item:nth-child(odd) {
        transform: translateX(50px);
    }

    .timeline-item:nth-child(even) {
        transform: translateX(-50px);
    }

    .timeline-item.visible {
        transform: translateX(0);
    }

    /* arrow pointers */
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        content: "";
        position: absolute;
        top: 20px;
        width: 0;
        height: 0;
        border: 10px solid transparent;
    }

    /* odd -> arrow pointing left (to the line) */
    .timeline-item:nth-child(odd) .timeline-content::before {
        right: -20px;
        border-right-color: #f8fafc;
    }

    /* even -> arrow pointing right */
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -20px;
        border-left-color: #f8fafc;
    }
}

/* Inner Hero Section */


.inner-hero {
    position: relative;
    height: 450px;
    background-image: url('/images/Still.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    margin-bottom: 60px;
    align-content: space-around;
}

.inner-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.inner-hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.inner-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    color: var(--light-color);
}

.breadcrumb-item a {
    color: var(--light-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light-color);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: #fff;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}


.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* Story Section */
.story-section {
    padding: 60px 0;
    background: #fff8f2;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-text h2 {
    color: #0A1363;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.story-text p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.vision-mission {
    display: grid;
    gap: 20px;
}

.vision-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: rgb(197 165 114 / var(--tw-bg-opacity, 1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.icon-circle i {
    color: white;
}

.vision-text h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.vision-text p {
    margin: 0;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 2px;
}

.image-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: white;
    padding: 20px;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 250px;
}

.card-icon {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.image-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.image-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.video-thumbnail {
    position: relative;
    min-width: 300px;
}

.video-thumbnail video {
    width: 100%;
    display: block;
}

/* ?? ??????? */
.video-play-button {
    position: absolute;
    z-index: 5;
    /* ??? ?? ?????? ?????? */
    top: 50%;
    /* ????? ??????? */
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    pointer-events: auto;
}

/* Pulse animation */
.video-play-button:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #0A1363;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video-play-button:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #0A1363;
    border-radius: 50%;
    transition: 0.3s;
}

.video-play-button span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid #fff;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translate(-53%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* ??????? ???????? (?????) */
@media (max-width: 1024px) {

    .story-content {
        grid-template-columns: 1fr;
        /* ???? ???? */
        gap: 40px;
    }

    .story-text h2 {
        font-size: 2rem;
    }

    .video-thumbnail video {
        height: auto;
    }
}

/* ??????? ??????? (?????? ????) */
@media (max-width: 768px) {

    .story-section {
        padding: 40px 0;
    }

    .story-text h2 {
        font-size: 1.8rem;
    }

    .story-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .vision-item {
        align-items: center;
        gap: 15px;
    }

    .icon-circle {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .video-thumbnail video {
        width: 100%;
        border-radius: 8px;
    }

    .play-button {
        width: 60px !important;
        height: 60px !important;
    }
}

/* ??????? ??????? ???? (?????? ????) */
@media (max-width: 576px) {

    .story-text h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .story-text p {
        text-align: center;
        font-size: 0.9rem;
    }

    .vision-mission {
        gap: 25px;
    }


    .icon-circle {
        margin: auto;
    }

    .video-thumbnail {
        margin-top: 20px;
    }

    .play-button {
        width: 50px !important;
        height: 50px !important;
    }
}

/* Values Section */
.values-section {
    padding: 60px 0;
    background: #fff;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    padding: 30px;
    background: #fff;
    /* ??? ??????? ????? */
    border: 2px solid #007bff;
    /* ???? ?????? */
    border-radius: 8px;
    /* ?????? ??????? */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}



.value-icon {
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.value-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: 60px 0;
    background: #fff8f2;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 2px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.member-image {
    position: relative;
    margin-bottom: 20px;
}

.member-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
}

.member-icon {
    position: absolute;
    bottom: 0;
    right: 30%;
    background: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.member-info h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.member-info p {
    color: #666;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.member-social a:hover {
    color: var(--primary-color);
}


/* Section Headers */
.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    color: #0A1363;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Update story section styles */
.video-thumbnail {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-thumbnail img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-link {
    display: block;
    position: relative;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.play-button::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.video-link:hover .play-button {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-link:hover img {
    transform: scale(1.05);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Responsive styles */
@media (max-width: 991px) {
    .video-thumbnail img {
        height: 400px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {

    .stats-container,
    .values-container,
    .partners-container,
    .team-container {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .story-image img {
        height: 300px;
    }

    .image-card {
        position: relative;
        bottom: 0;
        right: 0;
        width: 100%;
        margin-top: 20px;
    }
}

/* Section Background */
.consultants-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Title */
.consultants-title {
    font-size: 32px;
    font-weight: 700;
    color: #0A1363;
}

.consultants-subline {
    width: 60px;
    height: 3px;
    margin: 0 auto 15px;
    border-radius: 5px;
}

/* Consultants Section */
.consultant-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--secondary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.consultant-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.consultant-avatar {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--secondary-color);
    background: #fff;
    padding: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.consultant-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.consultant-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-family: 'Cairo', sans-serif;
}

.consultant-role {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    font-family: 'Cairo', sans-serif;
}


/* Team Members and Hidden state styling */

/* ?????? ????????? */
.consultant-hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(8px);
}

/* ??? ??? ?????? - ???? ????? ??????? ?? ????? */
#consultants-row.show-all .consultant-hidden {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* ?? ????? */
.more-btn {
    background: transparent;
    border: 1px solid #0d6efd;
    color: #0d6efd;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.more-btn:focus {
    outline: 3px solid rgba(13, 110, 253, 0.15);
    outline-offset: 2px;
}



/* ??????? ????? ????? ??? ???? */
@media (max-width: 576px) {
    .consultant-avatar {
        width: 114px;
        height: 114px;
    }
}


body {
    background: white;
}

.hero-section {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://hidaya.academy/ar/assets/img/normal/building-img.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1.5s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: rgb(197 165 114 / var(--tw-bg-opacity, 1));
    color: white;
    border: rgb(197 165 114 / var(--tw-bg-opacity, 1));
}

.btn-primary:hover {
    background-color: rgb(27 54 93 / var(--tw-bg-opacity, 1));
    border-color: rgb(27 54 93 / var(--tw-bg-opacity, 1));
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ??? ??? ??????? ?????????? */
.info-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #2c3e50;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 25px;
}

.card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.card p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.card-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.card-link:hover {
    text-decoration: underline;
}

/* ??????? ?? ??????? ???????? */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }
}





.partners-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.partners-track {
    display: flex;
    gap: 40px;
    width: calc(2 * 100%);
    /* ????? ????? ??????? ????? */
    animation: scroll 30s linear infinite;
}

.partner-logo {
    max-height: 80px;
    object-fit: contain;
}

/* ?????? ??????? ???????? */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* About Section */
section.about {
    padding: 80px 0;
}

/* Image block inside about */
section.about .image {
    width: 100%;
    position: relative;
    margin-top: 50px;
}

section.about .image img {
    width: 100%;
    display: block;
}

section.about .image::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    width: 80%;
    height: 110%;
    border: 5px solid #0A1363;
    z-index: -1;
    border-radius: 0;
}

/* About content box */
section.about .about-box {
    transition: all .4s ease-in-out;
    margin-left: 30px;
    margin-top: 80px;
}

/* Responsive adjustment from the original media query */
@@media (max-width: 991.98px) {
    section .about .about-box {
        margin-top: 100px;
    }
}





.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.content-wrapper {
    flex: 1;
    min-width: 300px;
}

.media-wrapper {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 4px;
    border-radius: 2px;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555;
}

.vision-mission {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.vision-box,
.mission-box {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #2c5aa0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-box:hover,
.mission-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.vision-box {
    border-top-color: #4a90e2;
}

.box-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c5aa0;
    display: flex;
    align-items: center;
}

.box-title i {
    margin-left: 10px;
    font-size: 1.5rem;
}

.vision-box .box-title {
    color: #4a90e2;
}

.highlight-box {
    background: rgb(197 165 114 / var(--tw-bg-opacity, 1));
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 10px 20px rgba(44, 90, 160, 0.15);
}

.highlight-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.highlight-title i {
    margin-left: 10px;
    font-size: 1.5rem;
}

.licenses {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.license-badge {
    background-color: #f0f7ff;
    border: 1px solid #d0e3ff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #2c5aa0;
    display: flex;
    align-items: center;
}

.license-badge i {
    margin-left: 8px;
    color: #4a90e2;
}

/* ????? ?????? */
.gallery-container {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-slide {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.gallery-slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

.gallery-nav {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.nav-dot.active {
    background-color: white;
}

/* ??????? ?????? */
.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(44, 90, 160, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 8s ease-in-out infinite;
    z-index: -1;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    bottom: 20%;
    right: 5%;
    width: 120px;
    height: 120px;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

/* ??????? ?? ??????? ???????? */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        padding: 50px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-container {
        height: 300px;
    }

    .vision-mission {
        flex-direction: column;
    }
}





.video-thumbnail {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: auto;
    cursor: pointer;
}

.video-thumbnail video {
    width: 100%;
    border-radius: 12px;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button i {
    color: #fff;
    font-size: 32px;
}





p,
a,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li {
    margin: 0;
    padding: 0;
}

.section-services {
    background-color: white;
    color: #202020;
    padding-top: 90px;
    padding-bottom: 60px;
}

.section-services .header-section {
    margin-bottom: 34px;
}

.section-services .header-section .title {
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 32px;
    color: #0A1363;
}

.section-services .header-section .title:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    border-radius: 3px;
}

.section-services .header-section .title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(30px);
    width: 10px;
    height: 3px;
    border-radius: 3px;
}

.section-services .header-section .description {
    font-size: 14px;
    color: #282828;
}

.section-services .single-service {
    position: relative;
    margin-top: 30px;
    background-color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    overflow: hidden;
}

.section-services .single-service .content {
    position: relative;
    z-index: 20;
}

.section-services .single-service .circle-before {
    position: absolute;
    top: 0;
    right: 0px;
    transform: translate(40%, -40%);
    width: 150px;
    height: 150px;
    background-color: rgb(197 165 114 / var(--tw-bg-opacity, 1));
    border: 6px solid #504f93;
    border-radius: 50%;
    opacity: 0.5;
    z-index: 10;
    transition: all .6s;
}

.section-services .single-service:hover .circle-before {
    width: 100%;
    height: 100%;
    transform: none;
    border: 0;
    border-radius: 0;
    opacity: 1;
}

.section-services .single-service .icon {
    display: inline-block;
    margin-bottom: 26px;
    width: 70px;
    height: 70px;
    background-color: rgb(197 165 114 / var(--tw-bg-opacity, 1));
    border-radius: 5px;
    line-height: 70px;
    text-align: center;
    color: #fff;
    font-size: 30px;
    transition: all .3s;
}

.section-services .single-service:hover .icon {
    background-color: rgb(27 54 93 / var(--tw-bg-opacity, 1));
    color: rgb(197 165 114 / var(--tw-bg-opacity, 1));
}

.section-services .single-service .title {
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 23px;
    transition: color .3s;
}

.section-services .single-service:hover .title {
    color: #fff;
}

.section-services .single-service .description {
    margin-bottom: 20px;
    font-size: 14px;
    transition: color .3s;
}

.section-services .single-service:hover .description {
    color: #fff;
}

.section-services .single-service a {
    position: relative;
    font-size: 18px;
    color: #202020;
    text-decoration: none;
    font-weight: 500;
    transition: color .3s;
}

.section-services .single-service:hover a {
    color: #fff;
}

.section-services .single-service a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgb(197 165 114 / var(--tw-bg-opacity, 1));
    transition: background-color .3s;
}

.section-services .single-service:hover a:after {
    background-color: #fff;
}



/* ---- Timeline base ---- */

/* ---- Animation helpers ---- */
.is-hidden {
    opacity: 0;
    transform: translateY(24px);
}

.bounce-in {
    animation: bounce-in .6s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: translateY(24px) scale(.98);
    }

    60% {
        opacity: 1;
        transform: translateY(-6px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}






/* Modern About Section Styles */
.modern-about-section {
    padding: 100px 0;
    background-color: #ffffff;
    overflow: hidden;
}

.about-text-content .sub-title {
    display: inline-block;
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    padding-right: 50px;
}

.about-text-content .sub-title::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.about-text-content .main-title {
    color: #1a1a1a;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    font-family: 'Cairo', sans-serif;
}

.about-text-content .lead-description {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 55px;
    height: 55px;
    background-color: rgba(197, 160, 101, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: var(--secondary-color);
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

.feature-item:hover .feature-icon i {
    color: #fff;
}

.feature-info h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-family: 'Cairo', sans-serif;
}

.feature-info p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
    line-height: 1.6;
}

/* Image Wrapper Styles */
.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-wrapper .main-image {
    position: relative;
    z-index: 2;
}

.about-image-wrapper .main-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.image-decoration {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--secondary-color) 2px, transparent 2px);
    background-size: 15px 15px;
    z-index: 1;
    opacity: 0.3;
}

.experience-badge {
    position: absolute;
    bottom: 40px;
    right: -30px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 3;
    min-width: 140px;
}

.experience-badge .number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .modern-about-section {
        padding: 60px 0;
    }

    .about-text-content .main-title {
        font-size: 2.2rem;
    }

    .about-image-wrapper {
        margin-top: 50px;
    }

    .experience-badge {
        right: 20px;
    }
}

@media (max-width: 767px) {
    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-text-content .main-title {
        font-size: 1.8rem;
    }
}

/* Our Goals Section Styles */
.goals-section {
    padding: 100px 0;
    background-color: #fcfcfc;
    position: relative;
}

.goals-section .section-header .sub-title {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.goals-section .section-header .main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-family: 'Cairo', sans-serif;
}

.goals-section .header-line {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.goal-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.goal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    z-index: -1;
    transition: all 0.4s ease;
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.goal-card:hover::before {
    height: 100%;
}

.goal-card:hover h3,
.goal-card:hover p,
.goal-card:hover .goal-number {
    color: #fff !important;
}

.goal-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(197, 160, 101, 0.15);
    line-height: 1;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.goal-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.goal-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.goal-icon {
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 5rem;
    color: rgba(197, 160, 101, 0.05);
    transition: all 0.4s ease;
    pointer-events: none;
}

.goal-card:hover .goal-icon {
    color: rgba(255, 255, 255, 0.1);
    transform: scale(1.2) rotate(-10deg);
}