/* Base & Variables */
:root {
    --ges-primary: #1E3A8A;
    --ges-secondary: #3B82F6;
    --ges-accent: #F59E0B;
    --ges-text-dark: #0F172A;
    --ges-text-light: #475569;
    --ges-bg: #F8FAFC;
    --ges-surface: #FFFFFF;

    --ges-radius-xl: 20px;
    --ges-radius-lg: 16px;
    --ges-radius-md: 12px;

    --ges-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --ges-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --ges-shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--ges-text-dark);
    background-color: var(--ges-bg);
}

.ges-welcome-section {
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--ges-bg) 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.ges-welcome-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.ges-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ges-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ges-badge {
    display: inline-flex;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--ges-secondary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.ges-title {
    font-family: 'Outfit', sans-serif;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 16px 0;
    color: var(--ges-text-dark);
    letter-spacing: -0.02em;
}

.ges-highlight {
    background: linear-gradient(120deg, var(--ges-primary), var(--ges-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.ges-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ges-accent);
    margin: 0 0 40px 0;
}

.ges-prose {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.ges-prose-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ges-icon-bullet {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--ges-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    color: var(--ges-secondary);
    box-shadow: var(--ges-shadow-sm);
}

.ges-icon-bullet svg {
    width: 16px;
    height: 16px;
}

.ges-prose-item p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ges-text-light);
    margin: 0;
}

.ges-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--ges-primary);
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -5px rgba(30, 58, 138, 0.3);
}

.ges-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.ges-btn:hover {
    background: var(--ges-secondary);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(59, 130, 246, 0.4);
}

.ges-btn:hover svg {
    transform: translateX(4px);
}

/* -------- Right Side: Modern Premium Grid Gallery -------- */
.ges-hero-gallery.modern-grid-gallery {
    position: relative;
    width: 100%;
    height: 600px;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    grid-template-rows: 1fr 0.9fr;
    gap: 20px;
    padding: 20px;
    perspective: none;
}

.mgrid-item {
    position: relative;
    border-radius: var(--ges-radius-xl);
    overflow: hidden;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.mgrid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mgrid-item:hover img {
    transform: scale(1.08);
}

.mgrid-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    border-radius: var(--ges-radius-xl);
    pointer-events: none;
}

.item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    border-bottom-right-radius: 40px;
}

.item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    transform: translateY(40px);
    border-top-left-radius: 40px;
}

.item-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    border-top-right-radius: 40px;
}

.item-4 {
    display: none; /* Keep layout clean with 3 images for a modern asymmetrical look */
}

/* Floating Badge */
.ges-gallery-badge {
    position: absolute;
    bottom: 10%;
    left: 45%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px;
    border-radius: var(--ges-radius-lg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    animation: badge-float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 1);
}

.ges-badge-img img {
    height: 60px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    display: block;
}

.new-animated-badge::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: calc(var(--ges-radius-lg) + 2px);
    background: linear-gradient(135deg, var(--ges-primary), var(--ges-secondary));
    z-index: -1;
    opacity: 0.5;
    filter: blur(8px);
    animation: badge-glow 3s infinite alternate;
}

@keyframes badge-float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -12px); }
}

@keyframes badge-glow {
    0% { opacity: 0.3; filter: blur(6px); }
    100% { opacity: 0.6; filter: blur(10px); }
}

.ges-grid-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    filter: blur(50px);
    opacity: 0.4;
    pointer-events: none;
}

.shape-acc-1 {
    top: -5%;
    left: 10%;
    width: 200px; height: 200px;
    background: var(--ges-primary);
}

.shape-acc-2 {
    bottom: 5%;
    right: 5%;
    width: 250px; height: 250px;
    background: var(--ges-accent);
}

@media (max-width: 1024px) {
    .ges-hero-gallery.modern-grid-gallery {
        height: 500px;
        gap: 15px;
        padding: 10px;
    }
    .item-2 { transform: translateY(20px); }
    .ges-gallery-badge { bottom: 5%; }
}

@media (max-width: 860px) {
    .ges-hero-gallery.modern-grid-gallery {
        max-width: 600px;
        margin: 40px auto 0;
        height: 450px;
    }
    .ges-gallery-badge {
        left: 50%;
    }
}

@media (max-width: 640px) {
    .ges-welcome-section {
        padding: 50px 20px;
    }
    .ges-hero-gallery.modern-grid-gallery {
        height: 480px;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 16px;
    }
    .item-1 { grid-column: 1 / -1; grid-row: 1; border-radius: var(--ges-radius-xl); }
    .item-2 { grid-column: 1 / -1; grid-row: 2; transform: translateY(0); border-radius: var(--ges-radius-xl); }
    .item-3 { display: none; }
    .ges-gallery-badge {
        bottom: 45%;
        padding: 12px;
    }
    .ges-badge-img img { height: 45px; }
}

/* -------- Facilities & Features Section -------- */
.ges-features-section {
    padding: 100px 24px;
    background-color: var(--ges-surface);
    position: relative;
    overflow-x: hidden;
}

.ges-features-container {
    display: block;
}

.ges-features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px auto;
}

.ges-features-title {
    font-size: 3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 24px;
}

.ges-features-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--ges-text-light);
}

.ges-features-bento {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-auto-rows: 160px;
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.ges-fc {
    border-radius: var(--ges-radius-xl);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    cursor: default;
    background-color: #f1f5f9;
}

.ges-fc:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--ges-shadow-hover);
    z-index: 2;
}

.ges-fc-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.4s ease, background 0.4s ease;
}

.ges-fc:hover .ges-fc-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.ges-fc-icon svg {
    width: 20px;
    height: 20px;
}

.ges-fc-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 2;
}

.ges-fc-title span {
    font-weight: 800;
    font-size: 1.2rem;
    display: block;
}

.ges-fc-watermark {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    opacity: 0.1;
    pointer-events: none;
    transform: rotate(-15deg);
    fill: currentColor;
    color: #fff;
    z-index: 1;
}

.fc-campus {
    grid-column: span 1;
    background: linear-gradient(135deg, var(--ges-primary), #111827);
}

.fc-activity {
    grid-column: span 1;
    background: linear-gradient(135deg, #F59E0B, #EA580C);
}

.fc-health {
    grid-column: span 1;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.fc-steam {
    grid-column: span 1;
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
}

.fc-teachers {
    grid-column: span 1;
    background: linear-gradient(135deg, #059669, #047857);
}

.fc-farming {
    grid-column: span 1;
    background: linear-gradient(135deg, #84CC16, #65A30D);
}

.fc-video {
    grid-column: 3 / 9;
    grid-row: 1 / 4;
    padding: 0;
    background: #000;
    border-radius: 12px 64px 64px 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 20px 40px -15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.ges-fc-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.fc-video:hover .ges-fc-video {
    opacity: 1;
}

.ges-video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 3;
}

.ges-video-play-overlay svg {
    width: 32px;
    height: 32px;
    margin-left: 4px;
}

.fc-video:hover .ges-video-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .ges-features-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .fc-video {
        grid-column: 1 / -1;
        grid-row: 1 / 3;
    }
}

@media (max-width: 768px) {
    .ges-features-bento {
        grid-auto-rows: 200px;
    }
}

/* Extracted Block */
/* Custom Mobile Menu & Responsiveness */
.custom-mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.custom-mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #0058A9;
    transition: all 0.3s ease-in-out;
}

.modern-mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    transition: left 0.3s ease;
    display: flex;
    pointer-events: none;
    /* Prevent blocking clicks when closed */
    visibility: hidden;
}

.modern-mobile-menu.open {
    left: 0;
    pointer-events: auto;
    visibility: visible;
}

.mobile-menu-overlay {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    display: none;
}

.modern-mobile-menu.open .mobile-menu-overlay {
    display: block;
}

.mobile-menu-inner {
    width: 80%;
    max-width: 320px;
    background: #fff;
    height: 100%;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-menu-header img {
    max-height: 40px;
}

.mobile-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #f5f5f5;
}

.mobile-nav-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.mobile-dropdown {
    display: none;
    list-style: none;
    padding: 0;
    background: #f9f9f9;
}

.mobile-dropdown.open {
    display: block;
}

.mobile-dropdown a {
    padding: 12px 20px 12px 40px;
    font-size: 15px;
    color: #555;
}

.modern-header-menu .desktop-menu {
    display: block;
}

.desktop-menu.modern-custom-nav nav {
    display: block;
}

.desktop-menu.modern-custom-nav nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.desktop-menu.modern-custom-nav nav ul li {
    display: inline-block;
    position: relative;
}

.desktop-menu.modern-custom-nav nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.desktop-menu.modern-custom-nav nav ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    display: none;
    flex-direction: column;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 10;
}

.desktop-menu.modern-custom-nav nav ul li:hover ul {
    display: flex;
}

/* Desktop Container layout for Header */
.modern-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.modern-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.modern-top-info {
    display: flex;
    gap: 15px;
}

@media (max-width: 1024px) {

    /* Header Responsive */
    .modern-header-menu .desktop-menu {
        display: none;
    }

    .custom-mobile-menu-btn {
        display: block;
    }

    .modern-top-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .modern-top-info span,
    .modern-top-info a {
        margin-bottom: 5px;
        font-size: 14px;
    }

    .modern-header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 5px 15px;
        gap: 0;
    }

    .modern-header-top .modern-header-container {
        flex-direction: column;
        padding: 10px 15px;
    }

    .modern-header-right {
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: auto;
    }

    .modern-header-branding {
        display: none;
    }

    .modern-header-logo img {
        max-width: 160px;
        /* Increased logo size */
    }

    .custom-mobile-menu-btn {
        margin-left: 10px;
    }

    /* Hero Slider Responsive */
    .modern-slide-content {
        width: 90%;
        padding: 20px;
    }

    .modern-slide-content h1.animate-title {
        font-size: 28px;
    }

    .modern-slide-content p.animate-text {
        font-size: 16px;
    }

    /* Welcome Section Responsive */
    .ges-welcome-section .ges-container {
        display: flex;
        flex-direction: column;
        padding: 15px;
    }

    .ges-content-wrapper {
        padding: 10px;
        width: 100%;
    }

    .ges-title {
        font-size: 24px;
        /* Reduced to fit on one line */
        white-space: nowrap;
    }

    .ges-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .ges-hero-gallery {
        width: 100%;
        margin-top: 30px;
        display: flex;
        justify-content: center;
    }

    .ges-gallery-main img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .ges-gallery-secondary {
        display: none;
    }

    /* Hide floating images on mobile */
    .ges-gallery-badge {
        bottom: -10px;
        right: 0;
        padding: 10px;
        font-size: 12px;
    }

    /* Features Section Responsive */
    .ges-features-bento {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns */
        gap: 12px;
    }

    .ges-fc {
        width: 100%;
        min-height: 140px;
        /* Reduced height */
        padding: 15px;
    }

    .fc-video {
        grid-column: span 2;
        grid-row: span 1;
    }
}
@media (max-width: 640px) {
    .ges-features-bento {
        grid-template-columns: 1fr;
    }

    .fc-video {
        grid-row: span 2;
        display: none;
    }

    .ges-fc {
        min-height: 160px;
        width: 83%;
    }
}

@media (max-width: 768px) {
    .modern-header-main .modern-header-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .modern-header-right {
        flex-direction: row;
        /* Ensure logo left, hamburger right */
    }
}

/* Helper class for body scroll lock */
body.mobile-menu-open {
    overflow: hidden;
    height: 100vh;
}


/* Extracted Block */
.sc_layouts_item_icon.sc_layouts_iconed_text_icon.trx_addons_icon-menu {
    display: none !important;
}

.model_hide_btn {
    display: none !important;
}

.v11_popup_logo img {
    width: 280px !important;
}

.v11_popup h5 {
    font-style: italic;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 14px;
    font-size: 18px;
    margin-bottom: 17px;
}

.v11_popup h1 {
    font-size: 19px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 0;
    background: #0058A9;
    background: -webkit-linear-gradient(to right, #0058A9 0%, #39b8c3 100%);
    background: -moz-linear-gradient(to right, #0058A9 0%, #39b8c3 100%);
    background: linear-gradient(to right, #0058A9 0%, #39b8c3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 10px;
    padding: 10px 4px 20px 4px;
}

.iis_popup_link2 a {
    background: #2e4c8d;
}

.v11_popup a {
    display: block;
    background: #0a848d;
    text-align: center;
    width: 150px;
    color: #fff;
    padding: 7px 10px;
    margin: 0 auto;
    margin-bottom: 15px;
    border-radius: 30px;
    box-shadow: 2px 3px 1px 0 rgb(8 18 18 / 21%);
    text-decoration: none;
}

.v11_popup a:hover {
    color: #fff !important;
}

.v11_popup .modal-content {
    border-radius: 20px !important;
    box-shadow: 1px 1px 3px 0px rgb(2 2 2 / 23%);
    top: 170px;
}

.v11_popup_logo {
    text-align: center;
}

.v11_popup_btn_close {
    text-align: right;
}

.v11_popup_btn_close .close {
    border: 0;
    background: #0a848d;
    color: #fff;
    text-shadow: none;
    font-size: 17px;
    padding: 5px;
    border-radius: 7px;
}

@media (min-width: 1920px) {
    .modern-header-container, .ges-container, .ges-features-bento{
        max-width: 1800px;
    }
    .ges-elementor-container{
       width: 1800px; 
    }
}