/* 
   Al Fajr Youth Association - Master English Stylesheet (Native LTR)
   Strictly mirrored from Al_Fajr_Youth_Association.css & style.css
   Combined and Adapted for LTR Parity
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Tajawal:wght@300;400;500;700;800&display=swap');

:root {
    --white-color: #ffffff;
    --primary-color: #f7941d;
    --secondary-color: #e4b479;
    --section-bg-color: rgba(245, 247, 250, 0.75);
    --site-footer-bg-color: #e8a44e;
    --custom-btn-bg-color: #e2881a;
    --custom-btn-bg-hover-color: #f4ece6;
    --dark-color: #e4b479;
    --p-color: #4b5563;
    --border-color: #e5e7eb;

    --body-font-family: 'Inter', sans-serif;
    --heading-font-family: 'Outfit', sans-serif;

    --h1-font-size: 52px;
    --h2-font-size: 46px;
    --h3-font-size: 32px;
    --h4-font-size: 28px;
    --h5-font-size: 24px;
    --h6-font-size: 22px;
    --p-font-size: 16px;
    --btn-font-size: 18px;
    --copyright-font-size: 14px;

    --border-radius-large: 100px;
    --border-radius-medium: 20px;
    --border-radius-small: 10px;

    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Timeline variables */
    --tl-content-width: calc(40vw - 84px);
    --tl-margin: 20px;
    --tl-spacing: 20px;
    --tl-bdrs: 6px;
    --tl-circle-size: 40px;
    --tl-icon-size: 32px;
    --tl-bdrs-icon: 100%;
    --tl-color1: #f1b56c;
    --tl-color2: #ffffff;
    --tl-color3: #87bbfe;
    --tl-color4: #555ac0;
    --tl-color5: #24b47e;
    --tl-color6: #aff1b6;
}

body {
    background-color: transparent;
    font-family: var(--body-font-family);
    direction: ltr;
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-color);
    font-family: var(--heading-font-family);
    font-weight: var(--font-weight-semibold);
    letter-spacing: -1px;
}

h1 {
    font-size: var(--h1-font-size);
    font-weight: var(--font-weight-bold);
    letter-spacing: -2px;
}

h2 {
    color: var(--secondary-color);
    font-size: var(--h2-font-size);
    letter-spacing: -2px;
}

h3 {
    font-size: var(--h3-font-size);
}

h4 {
    font-size: var(--h4-font-size);
}

h5 {
    color: var(--primary-color);
    font-size: var(--h5-font-size);
}

h6 {
    font-size: var(--h6-font-size);
}

p {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
}

ul li {
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-normal);
}

a,
button {
    touch-action: manipulation;
    transition: all 0.3s;
}

a {
    color: var(--p-color);
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
}

b,
strong {
    font-weight: var(--font-weight-bold);
}

.logo_1 {
    width: 80%;
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
section {
    position: relative;
    z-index: 1;
    background: transparent;
}

.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.section-bg {
    background-color: var(--section-bg-color);
}

.section-overlay {
    background: rgba(0, 0, 0, 0.35);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}

.section-overlay+.container {
    position: relative;
}

/*---------------------------------------
  CUSTOM BLOCK               
-----------------------------------------*/
.custom-block-wrap {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.custom-block-wrap:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.custom-block {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.custom-block-body {
    padding: 30px;
    flex-grow: 1;
}

.custom-block-image {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.custom-block .custom-btn {
    border-radius: 0;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/*---------------------------------------
  PROGRESS BAR               
-----------------------------------------*/
.progress {
    background: var(--border-color);
    height: 5px;
}

.progress-bar {
    background: var(--secondary-color);
}

/*---------------------------------------
  CUSTOM TEXT BOX               
-----------------------------------------*/
.custom-text-box {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--border-radius-medium);
    margin-bottom: 24px;
    padding: 40px;
}

.custom-text-box-image {
    border-radius: var(--border-radius-medium);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-text-box-icon {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-large);
    color: var(--secondary-color);
    font-size: var(--h6-font-size);
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 25px;
    line-height: 30px;
}

/*---------------------------------------
  CUSTOM LIST               
-----------------------------------------*/
.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-list-item {
    margin-bottom: 12px;
    font-size: var(--p-font-size);
    align-items: center;
}

/*---------------------------------------
  COUNTER NUMBERS              
-----------------------------------------*/
.counter-thumb {
    margin: 20px;
    margin-bottom: 0;
}

.counter-number,
.counter-text {
    color: var(--secondary-color);
    display: block;
}

.counter-number,
.counter-number-text {
    color: var(--primary-color);
    font-size: var(--h1-font-size);
    font-weight: var(--font-weight-bold);
    line-height: normal;
}

.avatar-image {
    border-radius: var(--border-radius-large);
    width: 65px;
    height: 65px;
    object-fit: cover;
}

/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
    background: var(--secondary-color);
    border: 2px solid transparent;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--btn-font-size);
    font-weight: var(--font-weight-normal);
    line-height: normal;
    padding: 15px 25px;
    display: inline-block;
}

.navbar-expand-lg .navbar-nav .nav-link.custom-btn {
    color: var(--white-color);
    /* Corrected from Arabic btn text color */
    margin-top: 8px;
    padding: 12px 25px;
    background: var(--secondary-color);
}

.custom-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
    background: var(--white-color);
    z-index: 99;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-brand {
    color: var(--primary-color);
    font-size: var(--h6-font-size);
    font-weight: var(--font-weight-bold);
    display: flex;
    align-items: center;
}

.navbar-brand span {
    display: inline-block;
    vertical-align: middle;
}

.navbar-brand small {
    color: var(--secondary-color);
    display: block;
    font-size: 10px;
    line-height: normal;
    text-transform: uppercase;
}

.logo {
    width: 75px;
    height: auto;
}

.navbar-expand-lg .navbar-nav .nav-link {
    margin-left: 0;
    margin-right: 0;
    padding: 20px;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: 500;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
}

.navbar .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.dropdown-menu {
    background: var(--white-color);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    border: 0;
    min-width: 220px;
    padding: 0;
    margin-top: 0;
    border-radius: 12px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--p-color);
    font-size: 14px;
    padding: 10px 14px;
}

.dropdown-item:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
}

.dropdown-toggle::after {
    content: "\f282";
    display: inline-block;
    font-family: bootstrap-icons !important;
    font-size: 12px;
    font-style: normal;
    font-weight: normal !important;
    margin-left: 5px;
    border: 0;
    vertical-align: middle;
}

@media screen and (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* LTR Dropdown */
.ltr-dropdown {
    direction: ltr;
    text-align: left;
    left: 0 !important;
    right: auto !important;
    transform: translateY(-10px);
}

.ltr-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 14px;
    padding: 10px 14px;
}

.ltr-dropdown .dropdown-item i {
    font-size: 16px;
    color: var(--primary-color);
}

.ltr-dropdown .dropdown-item:hover {
    background-color: #f7f7f7;
}

/* FAB Dropdown */
.fab-btn::after {
    display: none;
}

.fab-dropdown {
    position: fixed;
    bottom: 80px;
    right: 22px;
    z-index: 9999;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.fab-btn:hover,
.fab-btn:focus {
    background-color: var(--custom-btn-bg-color);
    color: #fff;
}

.dropdown-item i {
    color: var(--primary-color);
}

/* Navbar Unification */
.navbar-nav .nav-item {
    margin: 0;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.navbar-nav .dropdown-toggle {
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link i {
    margin-inline-start: 6px;
    font-size: 1rem;
}

.navbar-nav {
    align-items: center;
}

.navbar .dropdown-toggle i {
    font-size: 18px;
    color: #2c7a7b;
}

/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
    background: var(--primary-color);
    padding-top: 15px;
    padding-bottom: 10px;
}

.site-header p,
.site-header p a,
.site-header .social-icon-link {
    color: var(--white-color);
    font-size: var(--copyright-font-size);
    margin-left: 5px;
}

.site-header .social-icon {
    text-align: right;
}

.site-header .social-icon-link {
    background: transparent;
    width: inherit;
    height: inherit;
    line-height: inherit;
    margin-left: 15px;
}

/*---------------------------------------
  HERO & HERO SLIDE         
-----------------------------------------*/
.hero-section-full-height {
    height: 680px;
    min-height: 680px;
    position: relative;
}

#hero-slide .carousel-item {
    height: 680px;
    min-height: 680px;
}

#hero-slide .carousel-caption {
    background: var(--white-color);
    clip-path: polygon(0 100%, 0 150px, 100% 100%);
    color: var(--secondary-color);
    top: 1px;
    bottom: -1px;
    left: 0;
    right: auto;
    text-align: left;
    min-width: 680px;
    min-height: 680px;
    padding: 94px 100px 50px 28px;
}

.carousel-image {
    display: block;
    width: 100%;
    min-height: 680px;
    object-fit: cover;
}

.carousel-control-next,
.carousel-control-prev {
    opacity: 1;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-large);
    background-size: 60% 60%;
    width: 80px;
    height: 80px;
    opacity: 0;
    transition: all 0.5s;
}

.carousel:hover .carousel-control-next-icon,
.carousel:hover .carousel-control-prev-icon {
    opacity: 1;
}

.carousel-control-next-icon:hover,
.carousel-control-prev-icon:hover {
    background-color: var(--primary-color);
}

/*---------------------------------------
  FEATURE BLOCK              
-----------------------------------------*/
.featured-block {
    text-align: center;
    transition: all 0.5s ease;
    min-height: 256px;
    padding: 15px;
}

.featured-block:hover {
    background: var(--white-color);
    border-radius: var(--border-radius-medium);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.featured-block-image {
    display: block;
    margin: auto;
    transition: all 0.5s;
}

.featured-block:hover .featured-block-text {
    margin-top: 0;
}

.featured-block-text {
    color: var(--primary-color);
    font-size: var(--h5-font-size);
    margin-top: 20px;
    transition: all 0.5s;
}

/*---------------------------------------
  TIMELINE (ZIGZAG)
-----------------------------------------*/
.timeline {
    display: flex;
    flex-direction: column;
    margin: var(--tl-margin) auto;
    position: relative;
    width: 100%;
}

.timeline__event {
    margin-bottom: var(--tl-spacing);
    position: relative;
    display: flex;
    margin: var(--tl-spacing) 0;
    border-radius: var(--tl-bdrs);
    align-self: center;
    width: 100%;
    justify-content: center;
    align-items: center;
}

/* ===== Timeline Zigzag Layout (Mirrored from Arabic) ===== */
.timeline-logo {
    background: #fff;
    padding: 8px !important;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-logo img {
    width: 156%;
    height: 145%;
    object-fit: contain;
    image-rendering: auto;
    filter: none;
    margin-top: 25px;
}

.timeline__event__icon {
    width: 120px;
    height: 120px;
    min-width: 120px;
    min-height: 120px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin: 0 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    order: 1;
    align-self: center;
    position: relative;
    border: 1px solid #f1b56c;
}

.timeline__event__date {
    order: 2;
    color: var(--tl-color2);
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--tl-color1);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0 var(--tl-spacing);
    min-width: 100px;
    z-index: 2;
}

.timeline__event__content {
    order: 3;
    padding: var(--tl-spacing);
    box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25);
    background: #fff;
    width: var(--tl-content-width);
}

/* LTR Zigzag */
/* Odd: Icon Left(1) - Date(2) - Content Right(3) */
.timeline__event:nth-child(2n+1) {
    flex-direction: row;
}

.timeline__event:nth-child(2n+1) .timeline__event__date {
    border-radius: var(--tl-bdrs) 0 0 var(--tl-bdrs);
}

.timeline__event:nth-child(2n+1) .timeline__event__content {
    border-radius: 0 var(--tl-bdrs) var(--tl-bdrs) 0;
}

/* Even: Content Left - Date - Icon Right(1) */
.timeline__event:nth-child(2n) {
    flex-direction: row-reverse;
}

.timeline__event:nth-child(2n) .timeline__event__date {
    border-radius: 0 var(--tl-bdrs) var(--tl-bdrs) 0;
}

.timeline__event:nth-child(2n) .timeline__event__content {
    border-radius: var(--tl-bdrs) 0 0 var(--tl-bdrs);
}

.timeline__event__title {
    font-size: 1.2rem;
    line-height: 1.4;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--tl-color1);
    letter-spacing: 1.5px;
}

/* Scroll Animation Classes */
.js-scroll-hidden {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.3, 0.1, 0.3, 1),
        transform 0.8s cubic-bezier(0.3, 0.1, 0.3, 1);
}

.timeline__event.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.timeline__event:nth-child(1) {
    transition-delay: 0ms;
}

.timeline__event:nth-child(2) {
    transition-delay: 80ms;
}

.timeline__event:nth-child(3) {
    transition-delay: 160ms;
}

.timeline__event:nth-child(4) {
    transition-delay: 240ms;
}

.timeline__event:nth-child(5) {
    transition-delay: 320ms;
}

/* Responsive Timeline */
@media (max-width: 786px) {
    .timeline__event {
        flex-direction: column !important;
        width: 100%;
    }

    .timeline__event__icon {
        order: 1;
        margin-bottom: 15px;
    }

    .timeline__event__date {
        order: 2;
        margin-bottom: 15px;
    }

    .timeline__event__content {
        order: 3;
        width: 100%;
    }

    .timeline__event__date,
    .timeline__event__content,
    .timeline__event__icon {
        border-radius: var(--tl-bdrs);
    }
}


/*---------------------------------------
  NEWS         
-----------------------------------------*/
.news-block-top {
    border-radius: var(--border-radius-medium);
    position: relative;
    overflow: hidden;
}

.news-block-two-col-image-wrap {
    border-radius: var(--border-radius-small);
    position: relative;
    overflow: hidden;
    width: 110px;
    height: 85px;
    flex: 0 0 110px;
    margin-right: 20px;
}

.news-block-two-col-image-wrap img.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-block.news-block-two-col {
    align-items: center;
    gap: 10px;
}

.news-category-block {
    background: var(--secondary-color);
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 10px 20px;
}

.news-category-block .category-block-link {
    color: var(--white-color);
    margin-right: 10px;
}

.news-block-info {
    padding-top: 10px;
    padding-bottom: 10px;
}

.news-block-title-link {
    color: var(--dark-color);
}

.news-detail-image {
    display: block;
    border-radius: var(--border-radius-medium);
}

blockquote {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    font-size: var(--h5-font-size);
    font-weight: var(--font-weight-semibold);
    color: var(--site-footer-bg-color);
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 90px 50px 50px 50px;
    text-align: center;
    position: relative;
}

blockquote::before {
    content: "“";
    color: var(--custom-btn-bg-color);
    font-size: 100px;
    line-height: 1rem;
    display: block;
    margin-top: -40px;
    margin-bottom: 20px;
}

.search-form {
    margin-top: 20px;
    position: relative;
}

.search-form .form-control {
    padding-right: 50px;
}

.search-form button {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: transparent;
    border: 0;
    color: var(--primary-color);
}

.tags-block-link {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-medium);
    display: inline-block;
    font-size: var(--copyright-font-size);
    line-height: normal;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 8px 15px;
}

.tags-block-link:hover {
    border-color: var(--dark-color);
    color: var(--dark-color);
}

/*---------------------------------------
  NEWS DETAIL        
-----------------------------------------*/
.news-detail-header-section {
    background-image: url("../../images/about.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-top: 150px;
    padding-bottom: 150px;
}

.bi-check-circle-fill {
    color: var(--primary-color);
}

.news-meta {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 500;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.gallery-item img {
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/*---------------------------------------
  POLICIES PAGE         
-----------------------------------------*/
.policy-header {
    background-image: url("../../images/about.jpeg");
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    position: relative;
    color: #fff;
}

.policy-overlay {
    background: rgba(0, 0, 0, 0.55);
    position: absolute;
    inset: 0;
}

.policy-card {
    background: #fff;
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
}

.policy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Policy Read More Button - Optimized */
.policy-readmore {
    background-color: #f4b266;
    color: #fff;
    border: none;
    padding: 8px 16px !important;
    border-radius: 25px;
    font-size: 13px !important;
    font-weight: 500;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(244, 178, 102, 0.3);
    min-width: 110px;
    width: auto !important;
    height: auto !important;
}

.policy-readmore i {
    font-size: 16px !important;
    transition: transform 0.3s ease;
    margin: 0 !important;
}

.policy-readmore:hover {
    background-color: #e89a3f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 154, 63, 0.4);
}

.policy-readmore:hover i {
    transform: translateX(3px);
    /* LTR direction */
}

.policy-readmore:focus,
.policy-readmore:active {
    outline: none !important;
    box-shadow: 0 3px 10px rgba(244, 178, 102, 0.3) !important;
}

/*---------------------------------------
  MULTI-PROGRAMS HERO SLIDER
-----------------------------------------*/
.hero-slider {
    position: relative;
}

.hero-slider .carousel-item img {
    height: 75vh;
    object-fit: cover;
}

.hero-slider .carousel-caption {
    background: rgba(0, 0, 0, 0.45);
    padding: 20px 25px;
    border-radius: 16px;
    max-width: 600px;
    margin: auto;
    bottom: 20%;
}

.hero-slider h2 {
    color: #fff;
    font-weight: 700;
}

.hero-slider p {
    color: #f1f1f1;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hero-slider .carousel-item img {
        height: 55vh;
    }
}

/*---------------------------------------
  SITE FOOTER & BOTTOM
-----------------------------------------*/
.site-footer {
    background: var(--site-footer-bg-color);
    padding: 60px 0;
    color: #fff;
}

.footer-menu {
    column-count: 2;
    list-style: none;
    padding: 0;
}

.footer-menu-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-menu-link:hover {
    color: #fff;
    padding-left: 8px;
}

.site-footer-bottom {
    background: rgba(0, 0, 0, 0.1);
    padding: 25px 0;
}

.copyright-text {
    font-size: var(--copyright-font-size);
    color: var(--section-bg-color);
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

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

/* Animation Utils */
[data-anim] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

[data-anim].in-view {
    opacity: 1;
    transform: none;
}

[data-anim="fade-up"] {
    transform: translateY(18px);
}

[data-anim="fade-down"] {
    transform: translateY(-18px);
}

[data-anim="fade-right"] {
    transform: translateX(-18px);
}

[data-anim="fade-left"] {
    transform: translateX(18px);
}

[data-anim="zoom-in"] {
    transform: scale(0.96);
}

[data-anim="zoom-out"] {
    transform: scale(1.04);
}

[data-anim].in-view[data-anim="zoom-in"],
[data-anim].in-view[data-anim="zoom-out"] {
    transform: none;
}

[data-anim][data-delay] {
    transition-delay: var(--delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
    [data-anim] {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.page-loader.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.page-loader__logo {
    width: 84px;
    height: auto;
    display: block;
    margin: 0 auto 12px;
    animation: loaderPulse 1.1s ease-in-out infinite;
}

.page-loader__text {
    margin: 0;
    font-size: 14px;
    color: #333;
    opacity: 0.9;
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-loader__logo {
        animation: none;
    }
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: transparent;
    overflow: hidden;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.1, 0, 0.2, 1);
}

.navbar {
    background: var(--white-color);
    z-index: 10;
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
}

.particle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.8;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    will-change: transform, opacity;
    animation: trail-drift 1.5s forwards ease-out;
}

@keyframes trail-drift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(var(--tx), var(--ty)) scale(0.1);
        opacity: 0;
    }
}

/* Social Icon */
.social-icon {
    display: flex;
    list-style: none;
    padding: 0;
}

.social-icon-link {
    background: var(--site-footer-bg-color);
    border-radius: var(--border-radius-large);
    color: #fff;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: all 0.3s;
}

.social-icon-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/*---------------------------------------
  MODAL PREMIUM STYLES              
-----------------------------------------*/
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header {
    background: var(--section-bg-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
}

.modal-title {
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--heading-font-family);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
}

.site-footer {
    background-color: var(--site-footer-bg-color);
    padding-top: 80px;
    padding-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-menu-link {
    font-size: var(--p-font-size);
    color: var(--white-color);
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-menu-link:hover {
    color: var(--white-color);
    transform: translateX(5px);
    opacity: 0.8;
}

/*---------------------------------------
  CONTACT SECTION               
-----------------------------------------*/
.contact-section {
    background: transparent;
}

.contact-form {
    background: var(--section-bg-color);
    border-radius: var(--border-radius-small);
    padding: 30px;
}

.contact-info-wrap {
    padding-top: 40px;
}

.contact-image-wrap {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    width: 100%;
}

.contact-info {
    padding-top: 10px;
    padding-bottom: 10px;
}

/*---------------------------------------
  RESPONSIVE DESIGN - MEDIA QUERIES
-----------------------------------------*/

/* Tablets Portrait and Medium Devices */
@media screen and (max-width: 991px) {

    /* Typography Scaling */
    h1 {
        font-size: 42px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 28px;
    }

    /* Section Spacing */
    .section-padding {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    /* Custom Blocks */
    .custom-text-box {
        padding: 30px;
    }

    .custom-block-body {
        padding: 25px;
    }

    /* Hero Section */
    #hero-slide .carousel-caption {
        min-width: 500px;
        padding: 70px 80px 40px 20px;
    }

    /* About Image */
    .about-image {
        width: 100%;
        height: 350px;
    }

    /* Featured Blocks */
    .featured-block {
        margin-bottom: 30px;
    }
}

/* Mobile Landscape and Small Tablets */
@media screen and (max-width: 767px) {

    /* Typography Mobile */
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 26px;
    }

    h4 {
        font-size: 24px;
    }

    h5 {
        font-size: 22px;
    }

    /* Section Spacing */
    .section-padding {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Navbar */
    .navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 10px;
    }

    /* Hero Section */
    .hero-section-full-height,
    #hero-slide .carousel-item {
        height: 540px;
        min-height: 540px;
    }

    .carousel-image {
        height: 540px;
        min-height: 540px;
    }

    #hero-slide .carousel-caption {
        clip-path: none;
        min-width: 100%;
        padding: 30px 20px;
        text-align: center;
        background: rgba(255, 255, 255, 0.95);
    }

    .carousel-control-next-icon,
    .carousel-control-prev-icon {
        width: 50px;
        height: 50px;
    }

    /* Custom Blocks */
    .custom-text-box {
        padding: 25px;
    }

    .custom-block-body {
        padding: 20px;
    }

    /* About Section */
    .about-image {
        width: 100%;
        height: 300px;
        margin-bottom: 30px;
    }

    .custom-text-block {
        padding: 30px 20px;
    }

    /* News Images */
    .news-block-two-col-image-wrap {
        width: 100px;
        height: 75px;
        flex: 0 0 100px;
        margin-left: 15px;
    }

    /* Footer */
    .site-footer {
        padding-top: 60px;
    }

    .footer-menu {
        column-count: 1;
    }

    /* Social Icons */
    .site-header .social-icon {
        margin-top: 10px;
    }
}

/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
    background-color: var(--section-bg-color);
    box-shadow: none;
    border: 0;
    color: var(--p-color);
    margin-bottom: 24px;
    padding-top: 13px;
    padding-bottom: 13px;
    outline: none;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
    border-color: var(--secondary-color);
}

.custom-form label {
    margin-bottom: 10px;
}

.custom-form button[type="submit"] {
    background: var(--custom-btn-bg-color);
    border: none;
    border-radius: var(--border-radius-large);
    color: var(--white-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-bold);
    transition: all 0.3s;
    margin-bottom: 0;
}

.custom-form button[type="submit"]:hover {
    background: var(--custom-btn-bg-hover-color);
    color: var(--white-color);
}

/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
    background-color: var(--site-footer-bg-color);
    padding-top: 70px;
    padding-bottom: 0;
    position: relative;
    z-index: 1;
}

.site-footer-title {
    color: var(--white-color);
    margin-bottom: 25px;
}

.site-footer-link {
    color: var(--white-color);
    transition: all 0.3s;
}

.site-footer-link:hover {
    color: var(--primary-color);
}

.footer-menu {
    column-count: 2;
    margin: 0;
    padding: 0;
}

.footer-menu-item {
    list-style: none;
    display: block;
    margin-bottom: 10px;
}

.footer-menu-link {
    font-size: var(--p-font-size);
    color: var(--white-color);
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s;
}

.footer-menu-link:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.site-footer-bottom {
    background-color: var(--secondary-color);
    position: relative;
    z-index: 2;
    margin-top: 70px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.site-footer-bottom a {
    color: var(--white-color);
    text-decoration: none;
    transition: all 0.3s;
}

.site-footer-bottom a:hover {
    color: var(--primary-color);
}

.copyright-text {
    color: var(--white-color);
    font-size: var(--copyright-font-size);
}

/*---------------------------------------
  POLICIES              
-----------------------------------------*/
.policy-header {
    position: relative;
    background-image: url("../../images/about.jpeg");
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: var(--white-color);
}

.policy-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.policy-header h1,
.policy-header p {
    position: relative;
    z-index: 2;
}

.policy-header h1 {
    font-size: 42px;
    font-weight: 700;
}

.policy-header p {
    max-width: 650px;
    margin: 15px auto 0;
    font-size: 16px;
    opacity: 0.95;
}

.policy-card {
    background: var(--white-color);
    border-radius: 18px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.policy-card i {
    font-size: 38px;
    color: #f1b56c;
    margin-bottom: 15px;
    display: block;
}

.policy-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.policy-card p {
    font-size: 14px;
    color: var(--p-color);
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes button down if needed, but margin-top: auto is safer */
}

.policy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.policy-readmore {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 24px !important;
    /* Slightly more padding for better centering */
    font-size: 14px !important;
    font-weight: 600 !important;
    /* Make text slightly bolder */
    line-height: 1 !important;
    /* Perfect vertical alignment */
    border-radius: 50px;
    transition: all 0.3s;
    width: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
    /* Wider for better balance */
    box-shadow: 0 4px 12px rgba(228, 180, 121, 0.4);
    margin-top: auto;
}

.policy-readmore:hover {
    background-color: #e89a3f;
    color: var(--white-color);
    transform: translateY(-2px);
}

.animate {
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}