:root {
    --light-brown: #d2b48c;
    --dark-brown: #8b5a2b;
}
html, body {
    overflow-x: hidden;
    background-color: #e7e7e7;;
}

.bg-light-brown {
    background-color: var(--light-brown);
}
.bg-light-us {
    background-color: #f7ddba;
}

.btn-brown {
    background-color: var(--dark-brown);
    color: white;
}
.btn-brown:hover {
    background-color: #6b4226;
    color: white;
}
.btn-outline-brown {
    border: 2px solid var(--dark-brown);
    color: var(--dark-brown);
}
.btn-outline-brown:hover {
    background-color: var(--dark-brown);
    color: white;
}
.text-brown {
    color: var(--dark-brown);
}
.text-content p {
    word-break: break-word;
}
.bg-light-brown {
    background-color: var(--light-brown);
}
.navbar .nav-link {
    color: #333;
    font-weight: 500;
}
.navbar .nav-link:hover {
    color: var(--dark-brown);
}
/* .banner-section {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position:relative;
    height:80vh;
    overflow:hidden;
}

.banner-video,
.banner-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.banner-bg{
    background-size:cover;
    background-position:center;
}
.desktop-banner {
    display: block;
}
.mobile-banner {
    display: none;
}
.banner-overlay{
    position:absolute;
    inset:0;
    background:rgb(0 0 0 / 31%);
}

.banner-section .container{
    position:relative;
    z-index:2;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
    color:#fff;
} */
.card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(111, 78, 55, 0.15);
}



/* Card hover effects */
.event-card, .blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}
.event-card:hover, .blog-card:hover {
    transform: translateY(-8px);
    /* box-shadow: 0 12px 24px rgba(139, 90, 43, 0.15) !important; */
    box-shadow: 0 12px 24px rgb(119 65 14 / 21%) !important;
}

/* Button brown theme */
.btn-brown {
    background-color: #8b5a2b;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}
.btn-brown:hover {
    background-color: #6b4226;
    color: #fff;
}

.btn-outline-brown {
    border: 2px solid #8b5a2b;
    color: #8b5a2b;
    background: transparent;
    border-radius: 30px;
    padding: 8px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-outline-brown:hover {
    background-color: #8b5a2b;
    color: #fff;
}

/* Card title truncation */
.card-title {
    font-weight: 600;
    color: #5a3e1b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Drop cap */
.letter-content .drop-cap .first-letter {
    /* float: left; */
    /* font-size: 3.2rem; */
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    color: #8b5a2b;
    /* margin-right: 10px;
    margin-top: 5px; */
    font-family: Georgia, serif;
}

/* Better card shadow & hover */
.card.shadow-lg {
    transition: box-shadow 0.3s ease;
}
.card.shadow-lg:hover {
    box-shadow: 0 20px 40px rgba(139, 90, 43, 0.15) !important;
}

/* CEO badge background */
.bg-brown {
    background-color: #8b5a2b;
}
.aiu_image{
    min-height: 300px;
    overflow: hidden;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .banner-section {
        height: 60vh;
        min-height: 350px;
    }
}

@media (max-width: 767px) {
    .john-tschohl-section{
        flex-direction: column-reverse;
    }
    .aiu_image{
        min-height: 100%;
    }
}

/* Responsive tweaks */
@media (max-width: 576px) {
    .card.p-5 {
        padding: 2rem !important;
    }
    .letter-content {
        font-size: 0.95rem !important;
    }
    .banner-section{
        height: 93vh;
    }
    .desktop-banner {
        display: none;
    }

    .mobile-banner {
        display: block;
    }
    .banner-bg{
        background-size:cover;
    }
}



.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    padding: 8px;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(139, 90, 43, 0.15) !important;
}










.all_img_css{
    height: 500px;
    object-fit:contain;
}
/* ========================================================================================================================================================================== */
.btn-primary {
    background-color: #6F4E37;
    border-color: #6F4E37;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 50px; /* Pill shape for a modern feel */
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    background-color: #3E2723;
    border-color: #3E2723;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(111, 78, 55, 0.3);
}
.card-img-top {
    height: 312px;
    object-fit: cover;
}
h1, .h1 { font-size: 3.2rem; font-weight: 700; color: #3E2723; }
h2, .h2 { font-size: 2.4rem; font-weight: 600; color: #3E2723; }
h3, .h3 { font-size: 1.8rem; font-weight: 600; color: #3E2723; }
h4, .h4 { font-size: 1.4rem; font-weight: 600; color: #3E2723; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #4A4A4A; }


   .hero-carousel {
        position: relative;
        overflow: hidden;
        margin-bottom: 0;
    }

    /* --- Slide Container --- */
    .hero-slide {
        position: relative;
        height: 85vh;
        min-height: 520px;
        max-height: 900px;
        overflow: hidden;
        background: #2d1a0a;
    }

    /* --- Media (Video / Image) --- */
    .hero-video,
    .hero-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-video {
        z-index: 0;
    }

    .hero-bg {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 0;
    }

    .desktop-hero {
        display: block;
    }
    .mobile-hero {
        display: none;
    }

    /* --- Overlay Layers --- */
    .hero-video-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.25);
        z-index: 1;
        pointer-events: none;
    }

    .hero-image-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.30);
        z-index: 1;
        pointer-events: none;
    }

    .hero-gradient-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(93deg,
                rgba(0, 0, 0, 0.0) 0%,
                rgba(0, 0, 0, 0.60) 0%,
                transparent 45%);
        z-index: 2;
        pointer-events: none;
    }

    /* --- Content Overlay --- */
    .hero-overlay {
        position: absolute;
        inset: 0;
        z-index: 3;
        display: flex;
        align-items: center;
        padding: 2rem 0;
    }

    .hero-content {
        max-width: 720px;
        padding: 1rem 0;
        animation: heroContentIn 0.8s ease forwards;
    }

    @keyframes heroContentIn {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* --- Badge --- */
    .hero-badge .badge {
        background: rgba(255, 255, 255, 0.92) !important;
        color: #5a3e1b !important;
        font-weight: 600;
        letter-spacing: 0.3px;
        font-size: 0.85rem;
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .hero-badge .badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    /* --- Title --- */
    .hero-title {
        font-size: 3.8rem;
        font-weight: 800;
        color: #ffbb66;
        text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
        line-height: 1.15;
        letter-spacing: -0.02em;
        margin-bottom: 0.5rem;
    }

    .hero-title span {
        color: #f5e6d3;
        border-bottom: 3px solid rgba(210, 180, 140, 0.5);
        padding-bottom: 4px;
    }

    /* --- Subtitle --- */
    .hero-subtitle {
        font-size: 1.35rem;
        font-weight: 300;
        color: rgba(255, 255, 255, 0.92);
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
        max-width: 580px;
        line-height: 1.6;
        margin-bottom: 0;
    }

    /* --- Buttons --- */
    .hero-buttons {
        margin-top: 1.5rem;
    }

    .btn-hero-primary {
            background: #5a3e1b;
    color: #ffffff;
        border: none;
        border-radius: 60px;
        padding: 14px 40px;
        font-weight: 600;
        font-size: 1.05rem;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.20);
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }
    .btn-hero-primary:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.30);
        background: #f8f4f0;
        color: #3d2a12;
    }
    .btn-hero-primary:active {
        transform: scale(0.97);
    }

    .btn-hero-primary i {
        font-size: 1.3rem;
        transition: transform 0.3s ease;
    }
    .btn-hero-primary:hover i {
        transform: translateX(4px);
    }

    .btn-hero-outline {
        background: rgba(255, 255, 255, 0.10);
        color: #ffffff;
        border: 2px solid rgba(255, 255, 255, 0.50);
        border-radius: 60px;
        padding: 14px 40px;
        font-weight: 600;
        font-size: 1.05rem;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        display: inline-flex;
        align-items: center;
        gap: 4px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    }
    .btn-hero-outline:hover {
        background: rgba(255, 255, 255, 0.20);
        border-color: #ffffff;
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.20);
        color: #ffffff;
    }
    .btn-hero-outline:active {
        transform: scale(0.97);
    }

    .btn-hero-outline i {
        font-size: 1.1rem;
        transition: transform 0.3s ease;
    }
    .btn-hero-outline:hover i {
        transform: translateX(4px);
    }

    /* --- Scroll Indicator --- */
    .hero-scroll-indicator {
        display: flex;
        align-items: center;
        gap: 8px;
        opacity: 0.6;
        animation: scrollBounce 2s ease-in-out infinite;
    }

    .hero-scroll-indicator .scroll-text {
        font-size: 0.75rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.5);
    }

    .hero-scroll-indicator .scroll-line {
        display: block;
        width: 40px;
        height: 2px;
        background: rgba(255, 255, 255, 0.25);
        position: relative;
        border-radius: 2px;
    }

    .hero-scroll-indicator .scroll-line::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 30%;
        height: 100%;
        background: rgba(255, 255, 255, 0.6);
        border-radius: 2px;
        animation: scrollLineMove 2s ease-in-out infinite;
    }

    @keyframes scrollBounce {
        0%,
        100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(6px);
        }
    }

    @keyframes scrollLineMove {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(200%);
        }
    }

    /* --- Carousel Controls --- */
    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        width: 4%;
        opacity: 0;
        transition: opacity 0.4s ease, background 0.3s ease;
        z-index: 10;
    }

    .hero-carousel:hover .carousel-control-prev,
    .hero-carousel:hover .carousel-control-next {
        opacity: 1;
    }

    .hero-carousel .carousel-control-prev-icon,
    .hero-carousel .carousel-control-next-icon {
        background-color: rgb(255 180 108 / 10%);
        border-radius: 50%;
        padding: 22px;
        background-size: 50% 50%;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        transition: all 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .hero-carousel .carousel-control-prev-icon:hover,
    .hero-carousel .carousel-control-next-icon:hover {
        background-color:rgba(255, 179, 108, 0.37);
        transform: scale(1.08);
    }

    /* --- Carousel Indicators (Dots) --- */
    .hero-carousel .carousel-indicators {
        bottom: 30px;
        z-index: 10;
        gap: 8px;
        margin-bottom: 0;
    }

    .hero-carousel .carousel-indicators button {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.5);
        background: transparent;
        opacity: 0.6;
        transition: all 0.4s ease;
        margin: 0 4px;
        padding: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .hero-carousel .carousel-indicators button.active {
        background: #ffffff;
        border-color: #ffffff;
        opacity: 1;
        transform: scale(1.25);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
    }

    .hero-carousel .carousel-indicators button:hover {
        opacity: 1;
        transform: scale(1.1);
    }

    /* --- Slide Transition --- */
    .hero-carousel .carousel-item {
        transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    }

    .hero-carousel .carousel-item-next:not(.carousel-item-start),
    .hero-carousel .active.carousel-item-end {
        opacity: 0;
        transform: scale(1.02);
    }

    .hero-carousel .carousel-item-prev:not(.carousel-item-end),
    .hero-carousel .active.carousel-item-start {
        opacity: 0;
        transform: scale(0.98);
    }

    .hero-carousel .carousel-item.active {
        opacity: 1;
        transform: scale(1);
    }

    /* ================================================================
       RESPONSIVE
       ================================================================ */

    /* --- Large screens (1200px+) --- */
    @media (min-width: 1200px) {
        .hero-title {
            font-size: 4.5rem;
        }
        .hero-subtitle {
            font-size: 31px;
        }
        .hero-slide {
            height: 88vh;
            min-height: 600px;
        }
    }

    /* --- Tablets / Medium (992px - 1199px) --- */
    @media (max-width: 1199.98px) {
        .hero-title {
            font-size: 3.2rem;
        }
        .hero-subtitle {
        font-size: 31px;
        }
        .hero-slide {
            height: 75vh;
            min-height: 460px;
        }
    }

    /* --- Mobile / Small (768px - 991px) --- */
    @media (max-width: 991.98px) {
        .hero-title {
            font-size:  3.2rem;
        }
        .hero-subtitle {
            font-size: 23px;
            max-width: 90%;
        }
        .hero-slide {
            height: 70vh;
            min-height: 420px;
        }
        .btn-hero-primary,
        .btn-hero-outline {
            padding: 12px 32px;
            font-size: 0.95rem;
        }
        .desktop-hero {
            display: none;
        }
        .mobile-hero {
            display: block;
        }
        .hero-carousel .carousel-control-prev,
        .hero-carousel .carousel-control-next {
            opacity: 0.6;
        }
        .hero-carousel .carousel-control-prev-icon,
        .hero-carousel .carousel-control-next-icon {
            padding: 16px;
            background-size: 40% 40%;
        }
    }

    /* --- Phones (576px - 767px) --- */
    @media (max-width: 767.98px) {
        .hero-title {
            font-size: 3.2rem;
        }
        .hero-subtitle {
            font-size: 23px;
            max-width: 100%;
        }
        .hero-slide {
            height: 80vh;
            min-height: 380px;
        }
        .hero-content {
            max-width: 100%;
            padding: 0 0.5rem;
        }
        .hero-buttons {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px !important;
        }
        .btn-hero-primary,
        .btn-hero-outline {
            padding: 12px 28px;
            font-size: 0.9rem;
            width: 100%;
            justify-content: center;
        }
        .hero-badge .badge {
            font-size: 0.7rem;
            padding: 6px 16px !important;
        }
        .hero-carousel .carousel-indicators {
            bottom: 18px;
            gap: 6px;
        }
        .hero-carousel .carousel-indicators button {
            width: 10px;
            height: 10px;
        }
        .hero-carousel .carousel-control-prev,
        .hero-carousel .carousel-control-next {
            width: 8%;
            opacity: 0.5;
        }
        .hero-carousel .carousel-control-prev-icon,
        .hero-carousel .carousel-control-next-icon {
            padding: 12px;
            background-size: 35% 35%;
        }
        .hero-scroll-indicator {
            display: none !important;
        }
    }

    /* --- Very small phones (under 576px) --- */
    @media (max-width: 575.98px) {
        .hero-content{
            width: 100% !important;
        }
        .all_img_css{
            height: 200px;
        }
        .hero-title {
            font-size:  2.8rem;
        }
        .hero-subtitle {
            font-size: 20px;
        }
        .hero-slide {
            height: 85vh;
            min-height: 340px;
        }
        .hero-content {
            padding: 0 0.25rem;
        }
        .btn-hero-primary,
        .btn-hero-outline {
            padding: 10px 20px;
            font-size: 0.85rem;
        }
        .hero-carousel .carousel-control-prev-icon,
        .hero-carousel .carousel-control-next-icon {
            padding: 10px;
            background-size: 30% 30%;
        }
    }

    /* ================================================================
       UTILITY – smooth scroll & selection
       ================================================================ */
    .hero-carousel * {
        -webkit-tap-highlight-color: transparent;
    }

    .hero-carousel .carousel-item {
        will-change: transform, opacity;
    }

/* ============================================================================
   THEME UPGRADE — brown (#8b5a2b) header, section fonts, patterns, shapes
   Added per redesign request
   ============================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

:root {
    --brand: #8b5a2b;
    --brand-dark: #5a3e1b;
    --brand-light: #d2b48c;
    --brand-white: #ffffff;
    --heading-font: 'Playfair Display', Georgia, serif;
    --body-font: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body { font-family: var(--body-font); }

::selection { background: var(--brand); color: #fff; }

/* ---------------------------------------------------------------------
   HEADER / NAVBAR — solid brown, white text
   --------------------------------------------------------------------- */

.navbar .nav-link {
    color: rgba(0, 0, 0, 0.92) !important;
    font-weight: 500;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
    transition: color 0.25s ease, transform 0.25s ease;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
    color: #000000 !important;
    transform: translateY(-1px);
}
.navbar .nav-link::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    transition: width 0.25s ease;
}
.navbar .nav-link:hover::after { width: 100%; }
.navbar .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    overflow: hidden;
}
.navbar .dropdown-item:hover {
    /* background-color: var(--brand-light); */
    background-color: #ffbb66a1;
    color: var(--brand-dark);
}
.navbar .navbar-toggler {
    border-color: rgb(0 0 0 / 50%) !important;
}
.navbar-top,
.top-bar,
.utility-bar {
    background-color: var(--brand-dark) !important;
    color: #fff !important;
}
.navbar-top a, .top-bar a, .utility-bar a {
    color: rgba(255,255,255,0.85) !important;
}
.navbar-top a:hover, .top-bar a:hover, .utility-bar a:hover {
    color: #fff !important;
}
.navbar .btn-search,
.navbar input[type="search"] {
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.12);
    color: #fff;
}
.navbar input[type="search"]::placeholder { color: rgba(255,255,255,0.7); }

/* ---------------------------------------------------------------------
   SECTION TITLES — attractive heading style used across every section
   --------------------------------------------------------------------- */
.section-tag {
    display: inline-block;
    font-family: var(--body-font);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brand);
    background: rgba(139,90,43,0.08);
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    position: relative;
}
.title-divider {
    width: 170px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    margin-top: 0.5rem;
}
@media (max-width: 576px) {
    .section-title { font-size: 1.7rem; }
}

/* ---------------------------------------------------------------------
   BANNER FLOATING SHAPES
   --------------------------------------------------------------------- */
.banner-shapes {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}
.banner-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255,255,255,0.15);
}
.shape-1 {
    width: 220px; height: 220px;
    top: 8%; left: -60px;
    animation: floatShape 9s ease-in-out infinite;
}
.shape-2 {
    width: 120px; height: 120px;
    bottom: 15%; left: 8%;
    background: rgba(210,180,140,0.18);
    animation: floatShape 7s ease-in-out infinite reverse;
}
.shape-3 {
    width: 300px; height: 300px;
    top: -80px; right: -100px;
    background: rgba(139,90,43,0.18);
    animation: floatShape 11s ease-in-out infinite;
}
.shape-4 {
    width: 90px; height: 90px;
    bottom: 8%; right: 18%;
    border-radius: 24px;
    background: rgba(255,255,255,0.08);
    animation: floatShapeRotate 10s ease-in-out infinite;
}
.shape-5 {
    width: 160px; height: 160px;
    top: 40%; right: 6%;
    background: rgba(255,255,255,0.06);
    animation: floatShape 8s ease-in-out infinite reverse;
}
@keyframes floatShape {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-25px) translateX(15px); }
}
@keyframes floatShapeRotate {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(20deg); }
}

/* ---------------------------------------------------------------------
   SECTION BACKGROUND PATTERNS — a distinct decorative pattern per section
   Every pattern sits behind content (z-index:0/1), container uses z-index:2
   --------------------------------------------------------------------- */
.section-pattern,
.section-panel {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Dots */
.pattern-dots {
    background-image: radial-gradient(rgba(139,90,43,0.14) 1.6px, transparent 1.6px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 55%, transparent 100%);
    mask-image: radial-gradient(ellipse at 50% 0%, #000 55%, transparent 100%);
}

/* Dots alt (larger, staggered) */
.pattern-dots-alt {
    background-image:
        radial-gradient(rgba(139,90,43,0.10) 2px, transparent 2px),
        radial-gradient(rgba(210,180,140,0.18) 2px, transparent 2px);
    background-size: 36px 36px, 36px 36px;
    background-position: 0 0, 18px 18px;
}

/* Soft waves */
.pattern-waves {
    background-image:
        radial-gradient(ellipse 60% 40% at 20% 100%, rgba(139,90,43,0.10), transparent 60%),
        radial-gradient(ellipse 50% 35% at 80% 0%, rgba(210,180,140,0.14), transparent 60%);
}

/* Geometric triangles */
.pattern-geometric {
    background-image:
        conic-gradient(from 45deg at 10% 20%, rgba(139,90,43,0.08) 0deg 90deg, transparent 90deg 360deg),
        conic-gradient(from 225deg at 90% 80%, rgba(139,90,43,0.08) 0deg 90deg, transparent 90deg 360deg);
    background-size: 220px 220px, 260px 260px;
    background-repeat: no-repeat;
}

/* Grid lines */
.pattern-grid {
    background-image:
        linear-gradient(rgba(139,90,43,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139,90,43,0.07) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 60%, transparent 100%);
    mask-image: radial-gradient(ellipse at 50% 50%, #000 60%, transparent 100%);
}

/* Diagonal stripes */
.pattern-diagonal {
    background-image: repeating-linear-gradient(
        45deg,
        rgba(139,90,43,0.06) 0px,
        rgba(139,90,43,0.06) 2px,
        transparent 2px,
        transparent 22px
    );
}
.section-aiu-cards{
    background: linear-gradient(326deg, #d7d4cd, #ffbe7f, #d7d4cd);
}
/* Circles / blobs */
.pattern-circles {
    background-image: 
        radial-gradient(circle at 12% 20%, rgba(139, 90, 43, 0.14) 0, rgb(239 154 72 / 28%) 60px, transparent 61px), 
        radial-gradient(circle at 88% 15%, rgba(210, 180, 140, 0.20) 0, rgb(207 138 46 / 25%) 40px, transparent 41px), 
        radial-gradient(circle at 92% 85%, rgb(255 255 255 / 22%) 0, rgb(255 178 103 / 35%) 90px, transparent 91px), 
        /* radial-gradient(circle at 8% 88%, rgb(233 168 81 / 25%) 50px, rgba(210, 180, 140, 0.16) 50px, transparent 51px); */
        radial-gradient(circle at 8% 88%, rgb(233 168 81 / 25%) 50px, rgba(255, 145, 0, 0.16) 50px, transparent 51px);

    background-repeat: no-repeat;
    background-size: cover;

    animation: floatingCircles 7s ease-in-out infinite alternate;
}

@keyframes floatingCircles {
    0% {
        background-position:
            0 0,
            0 0,
            0 0,
            0 0;
    }
    50% {
        background-position:
            -20px 15px,
            15px -10px,
            -15px -15px,
            20px 10px;
    }
    100% {
        background-position:
            20px -15px,
            -15px 10px,
            15px 15px,
            -20px -10px;
    }
}

/* Zigzag / chevrons */
.pattern-zigzag {
    background-image:
        linear-gradient(135deg, rgba(139,90,43,0.08) 25%, transparent 25%),
        linear-gradient(225deg, rgba(139,90,43,0.08) 25%, transparent 25%);
    background-size: 34px 34px;
    background-position: 0 0;
}

/* Abstract blobs (used before certifications) */
.pattern-abstract {
    background-image:
        radial-gradient(ellipse 40% 60% at 0% 30%, rgba(139,90,43,0.10), transparent 70%),
        radial-gradient(ellipse 35% 50% at 100% 70%, rgba(210,180,140,0.18), transparent 70%),
        conic-gradient(from 0deg at 50% 100%, rgba(139,90,43,0.05), transparent 60%);
}

/* Minimal (very subtle vignette) */
.pattern-minimal {
    background-image: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(139,90,43,0.05), transparent 70%);
}

/* Elegant corner flourishes */
.pattern-elegant {
    background-image:
        linear-gradient(rgba(139,90,43,0.09) 2px, transparent 2px),
        linear-gradient(90deg, rgba(139,90,43,0.09) 2px, transparent 2px);
    background-size: 100% 3px, 3px 100%;
    background-repeat: no-repeat;
    background-position: top left, top left;
}
.pattern-elegant::after { content: none; }

/* CTA pattern — light shapes on solid brown background */
.pattern-cta {
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 26px),
        radial-gradient(circle at 90% 10%, rgba(255,255,255,0.10) 0, rgba(255,255,255,0.10) 120px, transparent 121px),
        radial-gradient(circle at 5% 90%, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 90px, transparent 91px);
}

/* ---------------------------------------------------------------------
   CARDS — consistent alignment, spacing & polish across every section
   --------------------------------------------------------------------- */
.row-cols-1 > .col,
.row-cols-md-2 > .col,
.row-cols-md-3 > .col,
.row-cols-lg-3 > .col {
    display: flex;
}
.card {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
}
.card .card-img-top {
    width: 100%;
    flex-shrink: 0;
}
.card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 1.5rem;
}
.card-body .card-title {
    font-family: var(--heading-font);
}
.card-body .btn,
.card-body > span.btn {
    margin-top: auto;
    align-self: flex-start;
}
.card-hover-elevate {
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
}
.card-hover-elevate:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139,90,43,0.18) !important;
}
.card-link-wrapper .card { height: 100%; }

/* ---------------------------------------------------------------------
   GLOBAL ACCENT THEME
   --------------------------------------------------------------------- */
a { transition: color 0.2s ease; }
.btn { transition: all 0.3s ease; }
footer, .site-footer {
    background-color: var(--brand-dark) !important;
    color: #fff !important;
}
footer a, .site-footer a { color: rgba(255,255,255,0.82) !important; }
footer a:hover, .site-footer a:hover { color: #fff !important; }






/* ===================blogs===================== */

/* --- Base floating effect on the card itself --- */
.floating-card .card {
    transform: translateY(-45px);
    box-shadow: 0 20px 50px rgba(139, 90, 43, 0.20) !important;
    border: 1px solid rgba(139, 90, 43, 0.12);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.4s ease;
    position: relative;
    background: #ffffff;
}

/* --- Hover goes higher --- */
.floating-card .card:hover {
    transform: translateY(-55px) scale(1.02);
    box-shadow: 0 32px 64px rgba(139, 90, 43, 0.25) !important;
}

/* --- Top accent line --- */
.floating-card .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #8b5a2b, #d2b48c, #8b5a2b);
    border-radius: 18px 18px 0 0;
    z-index: 2;
}

/* --- Optional: if you want a "FEATURED" badge only on a specific card,
       target it via an extra class or nth-child. The current CSS tries
       to add a badge via .card-body::before on all floating cards,
       which may not be intended. I'll keep it as is. --- */
.floating-card .card .card-body {
    position: relative;
}

/* --- Responsive: reduce lift on tablets --- */
@media (max-width: 991.98px) {
    .floating-card .card {
        transform: translateY(-20px);
    }
    .floating-card .card:hover {
        transform: translateY(-28px) scale(1.01);
    }
    /* If you have a badge, adjust it */
    .floating-card .card .card-body::before {
        font-size: 0.5rem;
        padding: 3px 12px 3px 10px;
        top: -12px;
        right: 14px;
    }
}

/* --- Mobile: remove floating so cards stack normally --- */
@media (max-width: 767.98px) {
    .floating-card .card {
        transform: none !important;
        border: none !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
    }
    .floating-card .card::before {
        display: none; /* remove accent line on mobile */
    }
    /* Keep the badge if you want */
    .floating-card .card .card-body::before {
        content: '★ FEATURED';
        position: absolute;
        top: -12px;
        right: 16px;
        background: #8b5a2b;
        color: #fff;
        font-size: 0.5rem;
        font-weight: 700;
        letter-spacing: 1px;
        padding: 3px 14px 3px 12px;
        border-radius: 30px;
        box-shadow: 0 4px 12px rgba(139, 90, 43, 0.20);
        text-transform: uppercase;
        z-index: 5;
        font-family: 'Poppins', 'Inter', sans-serif;
        display: block;
    }
    .floating-card .card .btn-brown {
        background: #5a3e1b;
        box-shadow: 0 4px 14px rgba(139, 90, 43, 0.20);
    }
}

/* ============================================================
   BLOG SECTION – fully responsive
   ============================================================ */

/* --- CTA card in the 4th column --- */
.cta-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(139,90,43,0.08);
    height: 100%;
}
.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(139,90,43,0.12);
}
.cta-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #5a3e1b;
    font-size: 1.2rem;
}
.cta-footer {
    font-size: 0.8rem;
    color: #6c6c6c;
}

/* --- Angle line wrapper – fully responsive and centered --- */
.angle-line-wrapper {
    position: relative;
    width: 100%;
    max-width: 200px;        /* limits the line on large screens */
    margin: 0 auto 0.5rem auto;
    height: 100px;           /* enough space for the rotated line */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* The angled line itself */
.angle-line {
    width: 100%;
    height: 4px;
    background: #8b5a2b;
    border-radius: 4px;
    transform: rotate(-60deg);
    transform-origin: center center;
    position: relative;
    box-shadow: 0 0 12px rgba(139,90,43,0.2);
}
.angle-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(6px);
    opacity: 0.3;
    border-radius: 4px;
    z-index: -1;
}

/* --- Responsive breakpoints --- */
@media (max-width: 991.98px) {
    .angle-line-wrapper {
        max-width: 160px;
        height: 80px;
    }
    .angle-line {
        height: 3px;
    }
    .cta-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .angle-line-wrapper {
        max-width: 120px;
        height: 70px;
    }
    .angle-line {
        height: 3px;
        transform: rotate(-50deg);
    }
    .cta-card {
        padding: 1rem;
        margin-top: 0.5rem;
    }
    .cta-title {
        font-size: 1rem;
    }
    .cta-footer {
        font-size: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .angle-line-wrapper {
        max-width: 100px;
        height: 60px;
    }
    .angle-line {
        height: 3px;
        transform: rotate(-45deg);
    }
}


/* ================about page======================== */
/* ============================================================
   ABOUT PAGE — animated coffee & white background
   ============================================================ */

.about-page {
    position: relative;
    background: linear-gradient(74deg, #ffbb668a 0%, #fff8ea 70%, #ffce73ab 100%);
    overflow: hidden;
    padding: 2rem 0;
    min-height: 100vh;
}

/* --- Animated shapes container --- */
.about-page .bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* --- Bubbles (circles) --- */
.about-page .bg-shapes .bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(139, 90, 43, 0.08);
    animation: floatBubble 12s ease-in-out infinite alternate;
}

.bubble-1 {
    width: 140px;
    height: 140px;
    top: 8%;
    left: 5%;
    animation-duration: 14s;
    background: rgba(139, 90, 43, 0.06);
}
.bubble-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    right: 2%;
    animation-duration: 18s;
    background: rgba(210, 180, 140, 0.10);
}
.bubble-3 {
    width: 90px;
    height: 90px;
    top: 40%;
    left: 80%;
    animation-duration: 11s;
    background: rgba(139, 90, 43, 0.07);
}
.bubble-4 {
    width: 160px;
    height: 160px;
    top: 70%;
    left: 10%;
    animation-duration: 16s;
    background: rgba(210, 180, 140, 0.09);
}
.bubble-5 {
    width: 60px;
    height: 60px;
    top: 15%;
    right: 20%;
    animation-duration: 9s;
    background: rgba(139, 90, 43, 0.05);
}

@keyframes floatBubble {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(30px, -40px) scale(1.1) rotate(5deg); }
    66% { transform: translate(-20px, 20px) scale(0.9) rotate(-3deg); }
    100% { transform: translate(15px, -15px) scale(1.05) rotate(2deg); }
}

/* --- Wavy lines --- */
.about-page .bg-shapes .wave-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(139, 90, 43, 0.15), transparent);
    width: 120%;
    left: -10%;
    animation: slideWave 20s linear infinite;
}

.wave-line-1 {
    top: 15%;
    animation-duration: 22s;
    opacity: 0.5;
}
.wave-line-2 {
    top: 55%;
    animation-duration: 18s;
    opacity: 0.4;
    width: 100%;
    left: 0;
}
.wave-line-3 {
    top: 80%;
    animation-duration: 25s;
    opacity: 0.6;
    width: 140%;
    left: -20%;
}

@keyframes slideWave {
    0% { transform: translateX(-100%) rotate(-1deg); }
    50% { transform: translateX(100%) rotate(1deg); }
    100% { transform: translateX(-100%) rotate(-1deg); }
}

/* --- Floating particles (tiny dots) --- */
.about-page .bg-shapes .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(139, 90, 43, 0.10);
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite alternate;
}

.particle-1 { top: 20%; left: 30%; animation-duration: 10s; }
.particle-2 { top: 60%; left: 70%; animation-duration: 7s; }
.particle-3 { top: 85%; left: 15%; animation-duration: 12s; }
.particle-4 { top: 10%; right: 10%; animation-duration: 9s; }

@keyframes floatParticle {
    0% { transform: translate(0, 0) scale(0.8); opacity: 0.3; }
    100% { transform: translate(60px, -40px) scale(1.4); opacity: 0.8; }
}

/* --- Make sure content is above background --- */
.about-page .container {
    position: relative;
    z-index: 2;
}

/* --- Improve card / content spacing --- */
.about-page .row {
    backdrop-filter: blur(6px);
    transition: backdrop-filter 0.3s ease;
}

.about-page .row:hover {
    backdrop-filter: blur(8px);
}

.about-page img {
    border-radius: 16px;
    /* box-shadow: 0 8px 24px rgba(139, 90, 43, 0.15); */
    transition: transform 0.4s ease;
}
.about-page img:hover {
    transform: scale(1.02);
}

.about-page h1 {
    position: relative;
    display: inline-block;
}
.about-page h1::after {
    content: '';
    display: block;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #8b5a2b, #d2b48c);
    margin: 0.5rem auto 0;
    border-radius: 4px;
}

@media (max-width: 767.98px) {
    .about-page .bg-shapes .bubble,
    .about-page .bg-shapes .wave-line,
    .about-page .bg-shapes .particle {
        display: none; /* reduce clutter on mobile */
    }
}




/* SQI Page */
.section-decor {
    position: relative;
    overflow: hidden;
    isolation: isolate; /* keeps decoration from bleeding into siblings */
}
 
.section-decor > .container {
    position: relative;
    z-index: 2;
}
 
.decor-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
 
/* ---------------------------------------------------------------------
   Floating circles / bubbles (brown, translucent)
   --------------------------------------------------------------------- */
.decor-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgb(255 125 0 / 14%), rgb(255 125 0 / 14%) 70%);
    border: 1px solid rgba(139,90,43,0.10);
    animation: decorFloat 12s ease-in-out infinite alternate;
}
 
.decor-circle.sm  { width: 70px;  height: 70px; }
.decor-circle.md  { width: 140px; height: 140px; }
.decor-circle.lg  { width: 240px; height: 240px; }
.decor-circle.xl  { width: 340px; height: 340px; }
 
.decor-circle.c1 { top: 6%;  left: -60px;  animation-duration: 14s; }
.decor-circle.c2 { top: 60%; right: -80px; animation-duration: 17s; animation-direction: alternate-reverse; }
.decor-circle.c3 { bottom: 8%; left: 8%;   animation-duration: 10s; }
.decor-circle.c4 { top: 12%; right: 12%;   animation-duration: 13s; background: radial-gradient(circle at 30% 30%, rgba(210,180,140,0.22), rgba(210,180,140,0.02) 70%); }
.decor-circle.c5 { bottom: -60px; right: 25%; animation-duration: 16s; }
 
@keyframes decorFloat {
    0%   { transform: translate(0,0) scale(1); }
    50%  { transform: translate(18px,-22px) scale(1.06); }
    100% { transform: translate(-14px,14px) scale(0.96); }
}
 
/* ---------------------------------------------------------------------
   Diagonal / horizontal moving accent lines
   --------------------------------------------------------------------- */
.decor-line {
    position: absolute;
    height: 2px;
    width: 55%;
    background: linear-gradient(90deg, transparent, rgba(139,90,43,0.28), transparent);
    animation: decorLineSlide 16s linear infinite;
}
 
.decor-line.l1 { top: 18%; left: -20%; animation-duration: 18s; }
.decor-line.l2 { top: 50%; left: -30%; width: 70%; opacity: 0.6; animation-duration: 22s; animation-direction: reverse; }
.decor-line.l3 { top: 82%; left: -25%; width: 60%; opacity: 0.5; animation-duration: 20s; }
 
@keyframes decorLineSlide {
    0%   { transform: translateX(-10%) rotate(-3deg); }
    50%  { transform: translateX(120%) rotate(3deg); }
    100% { transform: translateX(-10%) rotate(-3deg); }
}
 
/* A short, thicker "brand" accent line for section headers */
.decor-accent-bar {
    display: inline-block;
    width: 90px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #8b5a2b, #d2b48c);
    margin: 0.4rem auto 1.2rem;
}
 
/* ---------------------------------------------------------------------
   Dot-grid pattern (subtle, sits low in z-index)
   --------------------------------------------------------------------- */
.decor-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(139,90,43,0.12) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 50%, transparent 100%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 50%, transparent 100%);
}
 
/* ---------------------------------------------------------------------
   Tiny floating particles
   --------------------------------------------------------------------- */
.decor-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(139,90,43,0.22);
    animation: decorParticleFloat 9s ease-in-out infinite alternate;
}
 
.decor-particle.p1 { top: 20%; left: 25%; animation-duration: 10s; }
.decor-particle.p2 { top: 65%; left: 78%; animation-duration: 7s; }
.decor-particle.p3 { top: 85%; left: 12%; animation-duration: 12s; }
.decor-particle.p4 { top: 10%; right: 15%; animation-duration: 8s; }
.decor-particle.p5 { top: 45%; left: 50%; animation-duration: 11s; }
 
@keyframes decorParticleFloat {
    0%   { transform: translate(0,0) scale(0.9); opacity: 0.3; }
    100% { transform: translate(45px,-35px) scale(1.3); opacity: 0.75; }
}
 
/* ---------------------------------------------------------------------
   Soft blurred blob (large ambient glow behind a section)
   --------------------------------------------------------------------- */
.decor-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.5;
}
 
.decor-blob.b1 {
    width: 380px; height: 380px;
    top: -120px; left: -100px;
    background: rgba(210,180,140,0.35);
}
.decor-blob.b2 {
    width: 300px; height: 300px;
    bottom: -100px; right: -80px;
    background: rgba(139,90,43,0.22);
}
 
/* ---------------------------------------------------------------------
   Responsive — thin things out on smaller screens
   --------------------------------------------------------------------- */
@media (max-width: 767.98px) {
    .decor-circle.lg, .decor-circle.xl { transform: scale(0.6); }
    .decor-line { width: 90% !important; }
    .decor-blob { filter: blur(35px); opacity: 0.35; }
}
 
@media (max-width: 575.98px) {
    .decor-circle.md, .decor-circle.lg, .decor-circle.xl { display: none; }
    .decor-particle.p5 { display: none; }
}