/* ===========================================================
   SECTION BACKGROUND & TEXT
   =========================================================== */
.canary-section-wrapper {
    padding: 60px 0 0px;
    background: #ffffff;
    text-align: center;
}

.canary-heading span {
    font-family: "Georgia", "Times New Roman", serif;
    text-align: center;
    font-size: 2.6875rem;
    /* font-style: italic; */
    font-weight: 700;
    line-height: 2.8125rem;
    letter-spacing: -0.5px;
    text-transform: capitalize;
    margin-bottom: 19px;
    color: #f6a71b;
}

.canary-description {
    max-width: 900px;
    margin: 10px auto 0px;
    font-size: 17px;
    color: #777;
    /* clean grey */
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.5px;
}


/* ===========================================================
   OUTER BOX LIKE BSM
   =========================================================== */
.canary-cards-scroller {
    max-width: 1250px;
    margin: auto;
    padding: 30px 0;
    border-radius: 20px;
    position: relative;
}

/* ===========================================================
   REMOVE ALL GAPS BETWEEN OWL ITEMS
   =========================================================== */
.owl-carousel .owl-stage,
.owl-carousel .owl-stage-outer,
.owl-carousel .owl-item {
    margin: 0 !important;
    padding: 0 !important;
}

.owl-carousel .owl-stage {
    display: flex !important;
    gap: 0 !important;
}

/* ===========================================================
   CARD STYLING
   =========================================================== */
.welcome-card {
    position: relative;
    border-radius: 12px;
    overflow: visible;
    /* IMPORTANT: allows shadow */
    transition: 0.3s ease;
}

/* Soft shadow behind card */
.welcome-card::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 20px;
    right: 20px;
    bottom: -10px;
    border-radius: 2px;
    /* box-shadow: 0 18px 40px rgba(0,0,0,0.22); */
    z-index: -1;
}

.welcome-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0px;
}

/* bottom-left title */
.welcome-card-footer {
    position: absolute;
    bottom: 10px;
    left: 14px;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 0.7);
}

/* ===========================================================
   OVERLAY BOX
   =========================================================== */
.welcome-card-overlay {
    position: absolute;
    bottom: -110px;
    left: 0;
    width: 100%;
    background: #e67215;
    color: #fff;
    padding: 22px 24px;
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: 0.35s ease;
}

.welcome-card:hover .welcome-card-overlay {
    bottom: 0;
    opacity: 1;
}

/* Overlay heading */
.welcome-card-overlay h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
}


/* overlay text */
.welcome-card-overlay p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.overlay-arrow {
    margin-top: 15px;
    font-size: 22px;
    cursor: pointer;
}

/* ===========================================================
   STAGGER EFFECT (UP/DOWN) — SOLVED!
   =========================================================== */
@media (min-width: 769px) {

    /* UP */
    .canary-owl .owl-item:nth-child(odd) .welcome-card {
        margin-top: -10px !important;
    }

    /* DOWN */
    .canary-owl .owl-item:nth-child(even) .welcome-card {
        margin-top: 10px !important;
    }

}

/* ===========================================================
   MOBILE RESET
   =========================================================== */
/* -----------------------------------------
   PERFECT MOBILE RESPONSIVE CARDS
------------------------------------------*/
@media (max-width: 768px) {

    .canary-description {
        font-size: 14px;
         margin: 10px auto 30px;
    }

    .canary-heading span {
        font-size: 28px;
    }

    /* Remove stagger and edge padding */
    .canary-owl .welcome-card {
        margin-top: 0 !important;
        padding: 0 !important;
    }

    /* Perfect mobile image height */
    .welcome-card img {
        height: 260px !important;
        /* NOT too big */
        width: 100%;
        object-fit: cover;
    }

    /* Better overlay spacing */
    .welcome-card-overlay {
        padding: 16px 18px !important;
    }

    /* Smaller heading for mobile */
    .welcome-card-overlay h3 {
        font-size: 18px !important;
        line-height: 1.3;
    }

    /* Smaller paragraph */
    .welcome-card-overlay p {
        font-size: 14px !important;
    }

    /* Arrow spacing */
    .overlay-arrow {
        font-size: 20px !important;
        margin-top: 10px;
    }

    /* Card spacing in carousel */
    .owl-carousel .owl-item {
        padding: 0 10px !important;
        /* Balanced spacing */
    }
}

/* Extra small screens */
@media (max-width: 480px) {

    .welcome-card img {
        height: 220px !important;
    }

    .welcome-card-overlay {
        padding: 14px 16px !important;
    }

    .welcome-card-overlay h3 {
        font-size: 16px !important;
    }

    .welcome-card-overlay p {
        font-size: 13px !important;
    }

    .overlay-arrow {
        font-size: 18px !important;
    }
}

/* ===========================================================
   NAV BUTTONS
   =========================================================== */
.canary-nav-buttons {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.canary-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f6a71b;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.canary-nav-btn:hover {
    background: #f6a71b;
}


/* ===========================================================
   SUPER SMOOTH SECTION REVEAL
=========================================================== */
.canary-section-animate {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 1.4s ease, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.canary-section-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================================
   SMOOTH HEADING & DESCRIPTION
=========================================================== */
.canary-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.canary-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================================================
   ULTRA-SMOOTH CARD ANIMATION
=========================================================== */
.welcome-card {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition:
        opacity 1.1s ease,
        transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.welcome-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ===========================================================
   PREMIUM STAGGER DELAYS (Slower & smoother)
=========================================================== */
.welcome-card[data-delay="1"] {
    transition-delay: 0.25s;
}

.welcome-card[data-delay="2"] {
    transition-delay: 0.45s;
}

.welcome-card[data-delay="3"] {
    transition-delay: 0.65s;
}

.welcome-card[data-delay="4"] {
    transition-delay: 0.85s;
}

.welcome-card[data-delay="5"] {
    transition-delay: 1.05s;
}






/* ==============================================
   FACTS & FIGURES SECTION – BACKGROUND
============================================== */
.facts-section {
    position: relative;
    padding: 60px 16px 90px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;

    background-image: url("../images/index/canary-sec-bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* dark overlay + bg */
.facts-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.9)),
        url("../images/index/canary-sec-bg.jpg") center/cover no-repeat;
    z-index: -1;
}

.facts-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* overline + heading */
.facts-overline {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.9;
    color: #fff;
}

.facts-heading {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 4px;
    /* smaller gap under heading */
    color: #fff !important;
}

.facts-heading span {
    font-weight: 700;
    color: #fff;
}

/* ==============================================
   DIAMOND SCROLLER WRAPPER
============================================== */
.facts-scroller {
    position: relative;
    margin-top: 0;
    /* remove extra top gap */
    padding: 0 60px;
    /* room for arrows */
}

.facts-track {
    display: flex;
    gap: 20px;
    /* small gap between diamond-groups */
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
    white-space: nowrap;
}

.facts-track::-webkit-scrollbar {
    display: none;
}

.facts-group {
    position: relative;
    flex: 0 0 100%;
    max-width: 100%;
    height: 420px;
    /* lower height so heading isn’t far */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    /* tight gap between diamonds */
    scroll-snap-align: center;
}

/* ==============================================
   DIAMOND CARD
============================================== */
.diamond {
    position: relative;
    width: 185px;
    height: 185px;
    transform: rotate(45deg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.diamond::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

/* solid colour / image inside diamond */
.diamond-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.diamond.yellow .diamond-media {
    background: #ffc928;
}

.diamond.red .diamond-media {
    background: #e74c3c;
}

.diamond.green .diamond-media {
    background: #6fcf2a;
}

.diamond.grey .diamond-media {
    background: #555b66;
}

.diamond.blue .diamond-media {
    background: #1976d2;
}

/* content rotated back */
.diamond-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    color: #fff;
    transform: rotate(-45deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px;
    text-align: center;
}

.diamond-icon {
    font-size: 26px;
    margin-bottom: 8px;
}

.diamond-number {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 4px;
}

.diamond-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.25;
}

/* hover lift */
.diamond:hover {
    transform: rotate(45deg) translateY(-6px);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.75);
}

/* ==============================================
   EXACT DESKTOP WAVE PATTERN (like image)
   1: down, 2: up, 3: down, 4: up, 5: down
============================================== */
@media (min-width: 1025px) {
    .facts-group .diamond {
        margin-top: 0;
        /* reset */
    }

    .facts-group .diamond:nth-child(1),
    .facts-group .diamond:nth-child(3),
    .facts-group .diamond:nth-child(5) {
        margin-top: 150px;
        /* down */
    }

    .facts-group .diamond:nth-child(2),
    .facts-group .diamond:nth-child(4) {
        margin-top: 0;
        /* up (reference line) */
    }
}

/* ==============================================
   ARROW BUTTONS
============================================== */
.facts-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 5;
}

.facts-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.facts-nav:active {
    transform: translateY(-50%) scale(0.96);
}

.facts-nav.prev {
    left: 12px;
}

.facts-nav.next {
    right: 12px;
}

/* dots (optional) */
.facts-dots {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.facts-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.facts-dot.active {
    background: #ffffff;
}

/* ==============================================
   FIXED RESPONSIVE – NO EXTRA GAP
============================================== */
@media (max-width: 1024px) {

    /* reduce top/bottom padding */
    .facts-section {
        padding: 40px 10px 50px;
    }

    .facts-heading {
        font-size: 30px;
        margin-bottom: 15px;
        /* smaller gap below heading */
    }

    .facts-scroller {
        padding: 0 20px;
        /* remove unwanted vertical gap */
        margin-top: 0;
    }

    .facts-track {
        gap: 0 !important;
        /* remove horizontal gap causing vertical push */
    }

    /* MOBILE STACKING FIX */
    .facts-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 10px;
        /* small clean gap only */
        margin-top: 0 !important;
    }

    .diamond {
        width: 175px;
        height: 175px;
    }

    /* REMOVE WAVE LAYOUT */
    .facts-group .diamond {
        margin-top: 0 !important;
    }

    /* center mobile, prevent large spacing */
    .facts-nav {
        display: none !important;
    }
}



/* ==============================================
   EXTRA-SMALL MOBILE (Zig-zag layout)
============================================== */
@media (max-width: 520px) {

    .facts-heading {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .facts-scroller {
        padding: 0 10px !important;
    }

    .diamond {
        width: 180px;
        height: 180px;
    }

    /* ZIG-ZAG MOBILE LAYOUT */
    .facts-group {
        gap: 0px !important;
        padding: 30px 0;
    }

    .facts-group .diamond:nth-child(1) {
        align-self: flex-start;
        margin-left: 20px;
    }

    .facts-group .diamond:nth-child(2) {
        align-self: flex-end;
        margin-right: 20px;
        margin-top: 10px;
    }

    .facts-group .diamond:nth-child(3) {
        align-self: flex-start;
        margin-left: 20px;
    }

    .facts-group .diamond:nth-child(4) {
        align-self: flex-end;
        margin-right: 20px;
        margin-top: 10px;
    }

    .facts-group .diamond:nth-child(5) {
        align-self: flex-start;
        margin-left: 20px;
    }
}





.story-slider-wrapper {
    padding: 60px 20px;
    background: #ffffff;
    /* SOFT BACKGROUND FIX */
    position: relative;
}

/* SOFT CIRCLES LIKE ORIGINAL */
.story-slider-wrapper::before,
.story-slider-wrapper::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: #ececec;
    border-radius: 50%;
    top: 20px;
    left: 10%;
    opacity: 0.5;
    z-index: 0;
}

.story-slider-wrapper::after {
    width: 120px;
    height: 120px;
    bottom: 30px;
    right: 12%;
}

.story-container {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    position: relative;
    z-index: 10;
}

.story-content h2,
.story-content p,
.story-author,
.story-cta {
    color: #222 !important;
    /* TEXT COLOR FIX */
}

/* IMAGE */
.story-image img {
    width: 420px;
    border-radius: 8px;
    object-fit: cover;
}

/* TEXT */
.story-content h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #f6a71b !important;
}

.story-content p {
    font-size: 18px;
    line-height: 1.6;
}

/* ARROWS */
.story-arrows {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.story-arrows button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #f6a71b;
    justify-content: center;
    color: #fff;
    align-items: center;
    display: flex;
    background: #f6a71b;
    cursor: pointer;
}

.story-arrows button:hover {
    background: #f6a71b;
    color: #000;
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .story-container {
        flex-direction: column;
        text-align: center;
    }

    .story-image img {
        width: 100%;
        max-width: 340px;
    }
}


/* -------------------------------
   PARTNER SECTION (FULL RESPONSIVE)
----------------------------------*/

/* ================================
   PARTNER SECTION – CLEAN + FULL WIDTH
=================================== */
.partner-section {
    padding: 40px 0;
    background: #ffffff;
    /* Soft plain BG */
    width: 100%;
    text-align: center;
}

/* OPTIONAL: thin tribal-style border like screenshot */
.partner-top-border,
.partner-bottom-border {
    height: 6px;
    width: 100%;
    background-image: url('/path/to/pattern.png');
    /* OR remove if not using */
    background-size: contain;
    background-repeat: repeat-x;
    margin-bottom: 20px;
}

/* Full-width clean container */
.partner-box {
    width: 100%;
    max-width: 1600px;
    /* center content but full width feel */
    margin: 0 auto;
    padding: 10px 20px;
}

/* Heading */
.partner-heading {
    font-size: 38px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 46px;
    color: #f6a71b !important;
}

/* Slider items */
.partner-slider .item {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo size */
.partner-slider img {
    width: 120px;
    height: 90px;
    object-fit: contain;
    transition: 0.3s ease;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.15));
}

.partner-slider img:hover {
    transform: scale(1.05);
}

/* -------------------------------
   LARGE SCREENS
----------------------------------*/
@media (min-width: 1200px) {
    .partner-slider img {
        width: 150px;
        height: 110px;
    }
}

/* -------------------------------
   LAPTOPS
----------------------------------*/
@media (max-width: 1199px) {
    .partner-slider img {
        width: 130px;
        height: 100px;
    }
}

/* -------------------------------
   TABLETS
----------------------------------*/
@media (max-width: 991px) {
    .partner-heading {
        font-size: 38px;
    }

    .partner-slider img {
        width: 110px;
        height: 80px;
    }
}

/* -------------------------------
   MOBILES
----------------------------------*/
@media (max-width: 767px) {
    .partner-heading {
        font-size: 28px;
    }

    .partner-slider img {
        width: 90px;
        height: 70px;
    }
}

/* -------------------------------
   SMALL MOBILES
----------------------------------*/
@media (max-width: 575px) {
    .partner-heading {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .partner-slider img {
        width: 120px;
        height: 100px;
    }
}






/* ----------------------------------------------------
   SECTION WRAPPER
---------------------------------------------------- */
.canary-news-section {
    width: 100%;
    padding: 40px 0 80px;
    background-color: #ffffff;
}


/* 1200px center wrapper */
.canary-news-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* ----------------------------------------------------
   HEADER
---------------------------------------------------- */
.canary-news-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 55px;
    position: relative;
}

.canary-news-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #f6a71b !important;
    margin: 0;
}

.canary-allnews-btn {
    position: absolute;
    right: 0;
    font-size: 16px;
    font-weight: 600;
    color: #e67215;
    text-decoration: none;
}


/* ----------------------------------------------------
   NEWS ROW (3 cards)
---------------------------------------------------- */
.canary-news-row {
    display: flex;
    justify-content: space-between;
    gap: 0 !important;
    /* NO SPACE */
    margin: 0 !important;
    padding: 0 !important;
}


/* ----------------------------------------------------
   CARD BASE
---------------------------------------------------- */
.canary-news-card {
    position: relative;
    border-radius: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove unwanted template backgrounds */
.canary-news-card *,
.canary-news-card img {
    background: transparent !important;
}


/* ----------------------------------------------------
   IMAGE WRAPPER (Per-image shadow fix)
---------------------------------------------------- */
.canary-img-wrap {
    position: relative;
    display: block;
    border-radius: 0 !important;
    overflow: hidden !important;
}

/* Apply shadow ON EACH IMAGE individually */
.canary-img-wrap::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0));
    z-index: 2;
    pointer-events: none;
}

/* Image */
.canary-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 0 !important;
}


/* ----------------------------------------------------
   STAGGER EFFECT (DOWN → UP → DOWN)
---------------------------------------------------- */
@media (min-width: 1001px) {

    /* 1st card DOWN */
    .canary-news-card:nth-child(1) {
        margin-top: 15px !important;
    }

    /* 2nd card UP */
    .canary-news-card:nth-child(2) {
        margin-top: -15px !important;
    }

    /* 3rd card DOWN */
    .canary-news-card:nth-child(3) {
        margin-top: 15px !important;
    }
}


/* ----------------------------------------------------
   OVERLAY CONTENT (text)
---------------------------------------------------- */
.canary-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0 20px 35px;
    color: #fff;
    z-index: 3;
    /* above image & gradient */
}

.canary-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}


/* ----------------------------------------------------
   BLUE CURVE at bottom
---------------------------------------------------- */
.canary-curve {
    position: absolute;
    bottom: 0;
    width: 110%;
    height: 85px;
    left: -5%;
    background: #002447;
    border-top-left-radius: 80% 45%;
    border-top-right-radius: 80% 45%;
    z-index: -1;
}


/* ----------------------------------------------------
   COLORED LINES
---------------------------------------------------- */
.canary-line {
    height: 6px;
    width: 100%;
    margin-top: 10px;
}

.canary-line.blue {
    background: #0078d4;
}

.canary-line.green {
    background: #39b449;
}


/* ----------------------------------------------------
   RESPONSIVE
---------------------------------------------------- */
@media (max-width: 1000px) {
    .canary-news-header h2 {
        font-size: 28px;
    }

    .canary-news-row {
        flex-direction: column;
        align-items: center;
    }

    .canary-news-card {
        width: 90%;
        margin-top: 20px !important;
    }
}



/* ============================
   Background + Overlay
============================ */
.numbers-section {
    position: relative;
    padding: 120px 0;
    color: #fff;
    overflow: hidden;
    background-image: url("../images/index/canary-sec-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.numbers-section * {
    position: relative;
    z-index: 1;
}

.numbers-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #f6a71b9e;
    z-index: 0;
}

/* ============================
   Title
============================ */
.numbers-title {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 70px;
}

/* ============================
   Carousel Items
============================ */
.numbers-carousel .num-item {
    position: relative;
    padding: 0 40px;
    text-align: center;
}

.num-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.num-label {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

/* =====================================================
   EXACT "ITEM | ITEM | ITEM" DESKTOP LAYOUT
===================================================== */
@media (min-width: 992px) {

    /* Force items to sit in one row */
    .numbers-carousel {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 0 !important;
    }

    .numbers-carousel .num-item {
        flex: 1;
        padding: 0 25px;
    }

    /* Vertical bars between items */
    .numbers-carousel .num-item:nth-child(1)::after,
    .numbers-carousel .num-item:nth-child(2)::after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 2px;
        height: 75px;
        background: rgba(255, 255, 255, 0.45);
    }

    /* Last item — no line */
    .numbers-carousel .num-item:nth-child(3)::after {
        display: none;
    }
}
@media (max-width: 768px) {
  .numbers-section{
        padding: 60px 0 60px;
    }
}
/* ============================
   Navigation Buttons
============================ */
.numbers-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 45px;
}

.numbers-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.2s ease;
}

.numbers-nav button:hover {
    transform: scale(1.08);
}

/* ============================
   Mobile – NO lines, carousel works normally
============================ */
@media (max-width: 991px) {
    .numbers-title {
        font-size: 38px;
        margin-bottom: 45px;
    }

    .num-value {
        font-size: 55px;
    }

    .num-label {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .numbers-carousel .num-item {
        padding: 0 10px;
    }

    /* remove bars on mobile */
    .numbers-carousel .num-item::after {
        display: none !important;
    }

    .numbers-title {
        font-size: 34px;
    }

    .num-value {
        font-size: 48px;
    }
}


/* ===========================================================
   NEWS SECTION ANIMATION (Optimized - No white flash)
=========================================================== */

/* Section fade-in */
.news-anim-section {
    opacity: 0;
    visibility: hidden;
    /* FIX: remove white flash */
    transform: translateY(60px);
    transition: all 1.4s ease-out;
}

.news-anim-section.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Heading animation */
.news-anim-item {
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: all 1.1s ease;
}

.news-anim-item.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Card animations */
.news-anim-card {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px) scale(0.97);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    /* GPU SMOOTH */
}

.news-anim-card.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Stagger delays */
.news-anim-card[data-news-delay="1"] {
    transition-delay: 0.20s;
}

.news-anim-card[data-news-delay="2"] {
    transition-delay: 0.40s;
}

.news-anim-card[data-news-delay="3"] {
    transition-delay: 0.60s;
}






/* =========================
   MAIN SECTION
========================= */
.canary-updated-student-shape {
    position: relative;
    width: 100%;
    min-height: 800px;

    /* ✅ BACKGROUND FIXED HERE */
    background-image: url("../images/bg/background-shape.png");
    /* Replace with your actual image path */
    background-repeat: no-repeat;
    background-position: center top;
    /* Adjusted to align with the carousel */
    background-size: auto;
    /* Ensures the shape fits within width */

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* =========================
   CONTENT WRAPPER
========================= */
.canary-content-wrapper {
    position: relative;
    z-index: 2;
    /* Ensures cards are above the background shape */
    width: 90%;
    max-width: 1200px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -180px;
}

/* =========================
   IMAGE BOXES (DESKTOP)
========================= */
.canary-box {
    flex: 1;
    height: 85%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    background: #000;
    margin: 0 1px;
}

.canary-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.9;
}

/* =========================
   HOVER EFFECTS (DESKTOP)
========================= */
.canary-box:hover {
    flex: 1.4;
    /* Make it wider */
    height: 100%;
    /* Pop out effect */
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.canary-box:hover img {
    transform: scale(1.15);
    opacity: 0.4;
    /* Dim image to make text readable */
}

/* =========================
   TEXT OVERLAY
========================= */
.canary-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease-in-out;
}

.canary-overlay h3 {
    font-family: 'Times New Roman', serif;
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.canary-overlay span {
    font-size: 14px;
    opacity: 0.9;
    display: block;
}

.canary-overlay .entry-text {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

/* Description Text (Hidden by default) */
.canary-overlay .description {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.5s ease;
    width: 85%;
}

.canary-overlay .learn-more {
    display: none;
    margin-top: 15px;
    color: #4db5ff;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================
   HOVER STATE FOR OVERLAY
========================= */
.canary-box:hover .canary-overlay {
    height: 100%;
    background-color: rgba(28, 37, 65, 0.96);
    /* Dark Blue Overlay */
    background-image: none;
    justify-content: center;
}

.canary-box:hover .description {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
}

.canary-box:hover .learn-more {
    display: block;
}

/* =========================
   RESPONSIVE (TABLET / MOBILE)
========================= */
@media (max-width: 1024px) {

    .canary-updated-student-shape {
        padding: 40px 0;
        min-height: auto;
        display: block;
        /* Adjust background for mobile if needed */
        background-position: center top;
        background-size: cover;
    }

    .canary-content-wrapper {
        width: 100%;
        max-width: 100%;
        height: 420px;
        display: flex;
        align-items: flex-start;
        overflow-x: auto;
        scroll-behavior: smooth;
        background: transparent;
        box-shadow: none;

        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .canary-content-wrapper::-webkit-scrollbar {
        display: none;
    }

    .canary-box {
        min-width: 280px;
        height: 100%;
        margin-right: 15px;
        flex-shrink: 0;
        border-radius: 8px;
        flex: none;
    }

    .canary-box:hover {
        flex: none;
        height: 100%;
        transform: none;
    }

    .canary-overlay {
        height: 50%;
        justify-content: flex-end;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    }
}


/* =========================
   MOBILE FIX (TEXT CUT ISSUE)
========================= */
@media (max-width: 768px) {

    .canary-box {
        height: auto;
    }

    .canary-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: auto;                 /* 🔑 FIX */
        min-height: 55%;              /* ensures enough space */
        padding: 16px 14px 18px;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.4),
            transparent
        );
        justify-content: flex-end;
    }

    .canary-overlay h3 {
        font-size: 20px;              /* smaller for mobile */
        margin-bottom: 4px;
    }

    .canary-overlay span {
        font-size: 13px;
        line-height: 1.3;
    }

    .canary-overlay .entry-text {
        font-size: 12px;
        margin-top: 2px;
    }

    /* Disable hover expansion on mobile */
    .canary-box:hover .canary-overlay {
        height: auto;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.4),
            transparent
        );
        justify-content: flex-end;
    }

    /* Optional: hide description on mobile to avoid clutter */
    .canary-overlay .description {
        display: none;
    }

    .canary-overlay .learn-more {
        display: none;
    }
}



/* =========================lokesh add home page css======================== */

@media (max-width: 1024px) {
    .canary-updated-student-shape {
        overflow: hidden !important; /* Prevents the whole section from moving */
        width: 100% !important;
    }

    .canary-content-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
        /* FIXED: Force horizontal only, hide vertical movement */
        overflow-x: auto !important;
        overflow-y: hidden !important; 
        
        padding: 30px 20px !important; 
        gap: 15px !important;
        justify-content: flex-start !important;
        align-items: flex-start !important; /* Prevents stretching vertically */
        
        /* Smooth snapping */
        scroll-snap-type: x proximity !important;
        -webkit-overflow-scrolling: touch !important;
        
        /* Ensure height is strictly defined */
        height: 560px !important; 
    }

    /* Hide scrollbar */
    .canary-content-wrapper::-webkit-scrollbar {
        display: none !important;
    }

    .canary-box {
        /* Peek effect: 75% width ensures the next card is visible */
        flex: 0 0 75% !important; 
        min-width: 280px !important;
        height: 500px !important; 
        border-radius: 15px !important;
        position: relative !important;
        background: #000 !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        scroll-snap-align: start !important;
        
        /* Prevent any internal vertical shift */
        margin: 0 !important;
    }

    .canary-box img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; 
        object-position: center !important;
        display: block !important;
    }

    .canary-overlay {
        position: absolute !important;
        bottom: 0 !important;
        width: 100% !important;
        min-height: 50% !important; 
        padding: 25px 20px !important;
        background: linear-gradient(to top, 
            rgba(0,0,0,0.95) 0%, 
            rgba(0,0,0,0.4) 70%, 
            transparent 100%) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        pointer-events: none;
    }

    .canary-overlay h3 {
        font-size: 22px !important; 
        margin-bottom: 8px !important;
        color: #fff !important;
    }
    
    .canary-overlay .description {
        display: block !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        color: #ddd !important;
    }

    .canary-overlay .learn-more a {
        color: #fff;
        text-decoration: underline;
        pointer-events: auto;
    }
}

@media (max-width: 480px) {
    .canary-content-wrapper {
        height: 510px !important; /* Height for smaller phones */
        overscroll-behavior-x: contain;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    .canary-box {
        flex: 0 0 72% !important; 
        height: 450px !important; 
    }
    .canary-overlay h3 {
        font-size: 20px !important;
    }
}

/* ===================end lokesh add home page css================== */


/* =====================================
   TESTIMONIAL SECTION
===================================== */

.custom-testimonials {
    padding: 80px 20px;
    background: #fbf6f2;
}

.container {
    max-width: 1200px;
    margin: auto;
}

/* =====================================
   TITLE
===================================== */

.custom-testimonial-title {
    text-align: center;
    margin-bottom: 40px;
}

.custom-testimonial-title h3 {
    font-size: 16px;
    font-weight: 500;
    color: #888;
    margin-bottom: 8px;
}

.custom-testimonial-title h2 {
    font-size: 38px;
    font-weight: 700;
    color: #f6a71b !important;
}

/* =====================================
   SWIPER SLIDES FIX
===================================== */

.custom-testimonials-swiper .swiper-slide {
    height: auto;
    display: block;
}

/* =====================================
   TESTIMONIAL CARD
===================================== */

.custom-testimonial-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;

    min-height: 250px;
    width: 100%;
    height: auto;

    display: flex;
    flex-direction: column;
}

.custom-testimonial-item:hover {
    transform: translateY(-6px);
}

/* =====================================
   TESTIMONIAL TEXT (STATIC PREVIEW)
===================================== */

.testimonial-text-n {
    font-size: 16px;
    line-height: 1.7;
    color: #4b4b4b;

    /* Show clean preview only */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;

    margin-bottom: 10px;
}

/* =====================================
   READ MORE BUTTON (POPUP TRIGGER)
===================================== */

.read-more-toggle {
    margin: 10px 0 18px;
    background: none;
    border: none;
    padding: 0;

    font-size: 14px;
    font-weight: 600;
    color: #000;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.arrow-icon {
    font-size: 12px;
}

/* =====================================
   NAME & DESIGNATION
===================================== */

.custom-testimonial-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #000;
}

.custom-testimonial-item span {
    font-size: 14px;
    color: #888;
}

.custom-testimonial-item span:hover {
    color: #f6a71b;
}

/* =====================================
   SWIPER PAGINATION
===================================== */

.custom-swiper-pagination {
    margin-top: 30px;
    text-align: center;
}

.custom-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #000;
    opacity: 0.3;
}

.custom-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 991px) {
    .custom-testimonial-title h2 {
        font-size: 34px;
    }
}

@media (max-width: 576px) {
    .custom-testimonial-item {
        padding: 22px;
    }

    .testimonial-text-n {
        -webkit-line-clamp: 5;
    }
}




/* =====================================================
   CANARY HERO BANNER – FELSTED ONE-LINE STYLE
===================================================== */

.canary-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

/* =====================================================
   TEXT OVERLAY
===================================================== */

.canary-banner-content {
    position: absolute;
    bottom: 150px;
    left: 100px;
    z-index: 10;
    color: #ffffff;
    pointer-events: none;
}

/* ONE LINE TEXT */
.canary-banner-content h1 {
    margin: 0;
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 100px;
    font-weight: 400;
    line-height: 1.1;
    display: flex;
    align-items: baseline;
    gap: 16px;
    white-space: nowrap;
}

/* "We Are" */
.canary-banner-content .we-are {
    opacity: 0.95;
}

/* Changing word */
.canary-banner-content .we-word {
    display: inline-block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Word animation */
.we-word.fade-out {
    opacity: 0;
    transform: translateY(80px);
}


.we-word.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.we-word {
    display: inline-block;
    position: relative;
    overflow: hidden;
    height: 1.2em; /* match font size */
    line-height: 1.2em;
    }

    /* inner span for animation */
    .we-word span {
    display: inline-block;
    position: relative;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(.4,0,.2,1);
    }

    /* slide current word up */
    .we-word.slide-up span {
    transform: translateY(-120%);
    }

    /* reset position for next word */
    .we-word.reset span {
    transform: translateY(120%);
    }

/* WHITE LINE BELOW TEXT */
.canary-banner-content::after {
    content: "";
    display: block;
    width: 1200px;
    height: 1px;
    background: rgba(255,255,255,0.85);
    margin-top: 18px;
}

/* =====================================================
   SLICK FIXES
===================================================== */

.canary-banner-slider,
.canary-banner-slider .slick-list,
.canary-banner-slider .slick-track {
    height: 100% !important;
}

.canary-banner-slider .slick-slide {
    height: 100vh !important;
    display: flex !important;
}

/* =====================================================
   SLIDES
===================================================== */

.canary-banner-slide {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.canary-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    animation: canaryZoom 8s ease-in-out forwards;
}

.slick-slide:not(.slick-active) img {
    animation: none;
}

/* =====================================================
   KEN BURNS EFFECT
===================================================== */

@keyframes canaryZoom {
    from { transform: scale(1); }
    to { transform: scale(1.12); }
}

/* =====================================================
   DARK OVERLAY (FELSTED FEEL)
===================================================== */

.canary-banner-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.45) 0%,
        rgba(0,0,0,0.18) 45%,
        rgba(0,0,0,0.05) 100%
    );
    z-index: 1;
}

.canary-banner-content {
    z-index: 5;
}

/* =====================================================
   RESPONSIVE – TABLET
===================================================== */

@media (max-width: 1280px) {
  /* WHITE LINE BELOW TEXT */
.canary-banner-content::after {
    width: 1000px;
}
}


@media (max-width: 1024px) {
    .canary-banner-content {
        left: 50px;
        bottom: 100px;
    }

    .canary-banner-content h1 {
        font-size: 52px;
    }
}

/* =====================================================
   RESPONSIVE – MOBILE
===================================================== */

@media (max-width: 767px) {

    .canary-banner-content {
        left: 24px;
        right: 24px;
        bottom: 100px;
    }

    .canary-banner-content h1 {
        font-size: 34px;
        gap: 10px;
    }

    .canary-banner-content::after {
        width: 100%;
        margin-top: 14px;
    }
}




.instagram-section {
    padding: 60px 0 40px;
    background: #ffffff;
}

.instagram-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Heading */
.instagram-heading {
    font-size: 38px;
    font-weight: 700;
    color: #f6a71b !important;
    text-align: center;
}

/* Divider line */
.instagram-divider {
    display: block;
    width: 90px;
    height: 2px;
    background: #000;
    margin: 16px auto 40px;
    opacity: 0.8;
}

/* Elfsight container */
.elfsight-app-eee13ba8-0e6c-4ee2-9975-029ae08275f7 {
    width: 100%;
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 767px) {

    .instagram-section {
        padding: 60px 0;
    }

    .instagram-heading {
        font-size: 30px;
    }

    .instagram-divider {
        width: 60px;
        margin-bottom: 28px;
    }
}

/* =====================================================
   FELSTED STYLE – CENTER LEARN MORE SCROLL INDICATOR
===================================================== */

.canary-scroll-indicator {
    position: absolute;
    left: 50%;
    bottom: 48px;
    transform: translateX(-50%);
    z-index: 20;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
    opacity: 0.9;
    pointer-events: auto;
}

.canary-scroll-indicator:hover {
    color: #ffffff !important;
}

/* Text */
.canary-scroll-indicator .scroll-text {
    display: block;
    font-size: 15px;
    letter-spacing: 1.4px;
    margin-bottom: 8px;
    text-transform: none;
    font-weight: 700;
}

/* Circle */
.canary-scroll-indicator .scroll-circle {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;

    /* animation only on circle */
    animation: scrollBounce 2.2s ease-in-out infinite;
}

/* Arrow */
.canary-scroll-indicator .scroll-arrow {
    font-size: 18px;
    line-height: 1;
    transform: translateY(1px);
}

/* =====================================================
   SUBTLE DOWNWARD BOUNCE (NO TEXT OVERLAP)
===================================================== */

@keyframes scrollBounce {
    0% {
        transform: translateY(0);
        opacity: 0.9;
    }
    40% {
        transform: translateY(6px); /* down */
        opacity: 1;
    }
    70% {
        transform: translateY(2px); /* slight up */
        opacity: 0.95;
    }
    100% {
        transform: translateY(0);
        opacity: 0.9;
    }
}

/* =====================================================
   HOVER (DESKTOP ONLY)
===================================================== */

@media (hover: hover) {
    .canary-scroll-indicator:hover {
        opacity: 1;
    }
}

/* =====================================================
   MOBILE OPTIMISATION
===================================================== */

@media (max-width: 767px) {
    .canary-scroll-indicator {
        bottom: 32px;
    }

    .canary-scroll-indicator .scroll-text {
        font-size: 12px;
    }

    .canary-scroll-indicator .scroll-circle {
        width: 34px;
        height: 34px;
    }

    .canary-scroll-indicator .scroll-arrow {
        font-size: 16px;
    }
}
