* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Arrow button styles for cards with scroll animation */
.card-arrow {
    position: absolute;
    right: -20px; /* Start off-screen to the right */
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #6ca8db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.8s ease;
    z-index: 2;
    opacity: 0; /* Start invisible */
}

/* Class to be added when element is in viewport */
.card-arrow.show {
    right: 15px; /* Move to final position */
    opacity: 1; /* Fade in */
}

.card-arrow:hover {
    background: #1d2956;
    transform: translateY(-50%) scale(1.1);
}

/* Top Header */
.top-header {
    background: white;
    color: black;
    padding: 10px 0;
    font-size: 14px;
}
.pic1 {
    margin-left: 120px;
    width: 80px !important;
    height: 80px !important;
}
.pic2 {
    width: 80px !important;
    height: 80px !important;
}
.top-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 90px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-item i {
    margin-top: 5px;
    color: #1d2956;
}

.contact-item {
    display: flex;
    align-items: flex-start; /* Change from center to flex-start */
    gap: 10px; /* Increase gap slightly for better spacing */
}

.contact-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    gap: 4px;
}

/* Main Header */
.main-header {
    background: linear-gradient(90deg, #6ca8db 0%, #1d2956 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-logo {
    display: none;
}

.mobile-logo img {
    height: 40px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2c5aa0, #4a7bc8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.logo-text h1 {
    color: #2c5aa0;
    font-size: 24px;
    font-weight: 700;
}

.logo-text p {
    color: #666;
    font-size: 12px;
    margin-top: -2px;
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 81px;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 300;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: white;
    font-weight: 500;
}

.nav-menu a.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2c5aa0;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    background: linear-gradient(135deg, #1d2956, #ffed4a);
    color: #2c5aa0;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

/* Features Section */
.features-section {
    margin-top: -80px;
    margin-bottom: 50px;
}

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

.features-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.feature-card {
    flex: 1 1 250px;
    max-width: 230px;
    min-height: 100px;
    background: linear-gradient(90deg, #6ca8db 0%, #1d2956 100%);
    color: white;
    border-radius: 15px;
    text-align: left;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-icon {
    font-size: 25px;
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 12px;
    line-height: 1.4;
}
/* Section Layout */
.events-section {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

.events-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

/* Left Side */
.events-left {
    flex: 1;
    max-width: 40%;
    position: relative;
}

.events-title {
    font-size: 28px;
    color: #182857;
    margin-bottom: 10px;
}

.events-desc {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.5;
}

.events-images {
    position: relative;
    z-index: 1;
}

.events-images img {
    width: 100%;
    max-width: 250px;
    border-radius: 16px;
    margin-bottom: 20px;
    display: block;
}

/* Event Cards */
.events-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 100px;
}

.event-card {
    background: #fff;
    overflow: hidden;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #2c5aa0;
    position: relative;
    opacity: 0;
    transform: translateX(100px); /* Start from the right */
    transition: opacity 0.3s ease-out, transform 1.5s ease-out;
}
.event-card.show {
    opacity: 1;
    transform: translateX(0); /* Slide into place */
}

.event-date {
    font-size: 14px;
    color: #888;
    font-style: italic;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-date i {
    color: #2c5aa0;
}

.event-date span {
    margin-left: 10px;
    font-size: 14px;
    color: #888;
    font-style: italic;
}

.event-title {
    margin: 8px 0;
    font-size: 18px;
    color: #182857;
}

.event-organizer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.event-organizer img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.event-location {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
    font-style: italic;

    justify-content: flex-end;
}

.event-location i {
    color: #2c5aa0;
}

.event-lang {
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: bold;
    color: #182857;
}

/* Responsive */
@media (max-width: 992px) {
    .events-container {
        flex-direction: column;
    }
    .events-left,
    .events-right {
        max-width: 100%;
    }
}

.gallery-section {
    padding: 50px 100px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sizes */
.gallery-item.big {
    height: 250px;
}

.gallery-item.small {
    height: 120px;
}

/* Hover effect */
.gallery-item:hover {
    transform: scale(1.05);
}
.g2 {
    margin-top: 120px;
}
/* Tablet View */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Mobile menu styles */
@media (max-width: 768px) {
    .c2 {
        margin-top: 150px;
    }
    .c1 {
        display: block; /* Change to block to ensure it displays on mobile */
    }
    .pic1 {
        margin-left: 0px;
        width: 100% !important;
        height: 100% !important;
    }
    .pic2 {
        width: 100% !important;
        height: 100% !important;
    }
    .mobile-logo {
        display: block;
    }
    .header-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }





}

/* Mobile: 2 columns, 5 rows */
@media (max-width: 768px) {
    .g2 {
        margin-top: 0px;
    }
    .gallery-section {
        padding: 0px 0px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 200px);
        gap: 10px;
    }

    .gallery-item.big,
    .gallery-item.small {
        height: 200px;
    }
}

/* Recent News Section */
.news-section {
    padding: 80px 0;
}

.news-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.news-card {
    background: transparent;
    border-radius: 15px;
    overflow: hidden;

    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-grow: 1;
}

.news-content h3 {
    color: #1d2956;
    font-size: 18px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    color: #6ca8db;

    font-size: 13px;
    font-weight: 400;
    font-style: italic;
}

.events-right .event-card:nth-child(2) {
    margin-left: -40px !important;  /* adjust the value as needed */
}


.news-meta span {
    display: flex;
    align-items: center;
}

.news-meta span:not(:last-child):after {

    margin-left: 10px;
}

.news-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.read-more {
    color: #1d2956;
    text-decoration: underline;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-grid {
        flex-direction: column;
        align-items: center;
    }

    .news-card {
        max-width: 100%;
    }
}

/* Our Programs Section */
.programs-section {
    padding: 80px 0;
    background: white;
}

.programs-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.program-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    max-width: 350px;
    transition: transform 0.3s ease;
    position: relative;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    color: #1d2956;
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.program-schedule {
    margin-bottom: 20px;
    border-radius: 8px;
}

.program-schedule p {
    margin: 5px 0;
    color: #333;
}

.program-instructor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.instructor-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1d2956;
}

.program-instructor span {
    font-weight: 500;
    color: #1d2956;
}

.all-programs-btn {
    display: inline-block;
    background: linear-gradient(180deg, #6aa5d8 0%, #182857 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.all-programs-btn:hover {
    background: #2c3e76;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .programs-grid {
        flex-direction: column;
        align-items: center;
    }

    .program-card {
        max-width: 100%;
    }
}

/* Stories and Achievements Section */
.stories-section {
    padding: 80px 0;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    justify-content: center;
}

.story-card {
    border-radius: 15px;
    position: relative;
    text-align: start;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.story-card:hover {
    transform: translateY(-5px);
}

.story-image {
    margin-bottom: 20px;
    position: relative;
}

.story-content h3 {
    color: #1d2956;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.story-content p {
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stories-grid {
        grid-template-columns: 1fr;
    }

    .story-card {
        max-width: 100%;
    }
}
/* Footer */
.footer {
    color: white;
    padding: 60px 0 20px;
    background-color: #f2f7fd;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #1d2956;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section li {
    color: #575757;
}

.footer-section i {
    color: #1d2956;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #575757;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #1d2956;
}

.footer-bottom {
    border-top: 1px solid #3341559d;
    padding-top: 20px;
    color: #a0aec0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-bottom-2 {
    color: #a0aec0;
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    flex-direction: column;
}
.footer-bottom-right {
    margin-left: auto;
}

/* New styles for footer bottom section */
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-right-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #1d2956;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #2d3c74;
    transform: translateY(-2px);
}
.ev2 {
    right: 100px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-right-section {
        flex-direction: column;
    }
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .ev2 {
        right: 0px;
    }
    .top-header {
        display: none;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    .header-container {
        flex-wrap: wrap;
        align-items: flex-end;
    }




    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-card {
        flex: 1 1 calc(50% - 15px);
        max-width: 100%;
        min-height: 120px;
        padding: 15px;
    }

    .feature-icon {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .feature-card h3 {
        font-size: 14px;
    }

    .feature-card p {
        font-size: 11px;
    }
}
