:root {
    --brown: #192338;
    --cream: #F8F2F0;
    --light-blue: #8FB3E2;
    --slate: #31487A;
    --mint: #8FB3E2;
    --charcoal: #1E2E4F;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Georgia', serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
}

header {
    background: var(--brown);
    color: var(--cream);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--charcoal);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.top-bar span {
    font-size: 1rem;
    margin-right: 1rem;
}

.socials {
    display: flex;
}

.socials .icon {
    color: var(--cream);
    margin-left: 1rem;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.socials .icon:hover {
    transform: scale(1.2);
    color: var(--slate);
}

/* NAVIGATION - FIXED FOR MOBILE */
/* NAVIGATION - ENSURE CONSISTENCY ACROSS ALL PAGES */
nav {
    padding: 1rem;
    background-color: var(--brown);
    position: relative;
    transition: background-color 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.menu-toggle {
    background: none;
    border: 2px solid var(--cream);
    border-radius: 4px;
    font-size: 1.8rem;
    color: var(--cream);
    cursor: pointer;
    display: block;
    padding: 0.5rem 0.75rem;
    z-index: 1001;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.logo img {
    height: 60px;
    max-width: 100px;
    object-fit: contain;
}

.nav-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background-color: var(--brown);
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu.open {
    display: flex;
}

.nav-menu a {
    color: var(--cream);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 1rem 1.5rem;
    text-align: left;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu a:hover {
    color: var(--light-blue);
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 2rem;
}

/* Desktop View */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
    
    .nav-menu {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: static;
        background-color: transparent;
        box-shadow: none;
        border-top: none;
        width: auto;
        gap: 2rem;
    }
    
    .nav-menu a {
        padding: 0.5rem 1rem;
        width: auto;
        border-bottom: none;
        text-align: center;
    }
    
    .nav-menu a:hover {
        background-color: transparent;
        padding-left: 1rem;
        transform: scale(1.05);
    }
    
    .logo {
        flex-grow: 0;
        margin-right: 2rem;
    }
}

.hero {
    background: url('background.jpg') center/cover no-repeat;
    color: var(--slate);
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    width: 100%;
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
}













.hero-home {
    position: relative;
    color: var(--lavender-web);
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(25, 35, 56, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 1rem;
    background-color: #769ed1;
    box-sizing: border-box;
    overflow: hidden;
    /* Default mobile-first height */
    height: 70vh; /* Increased for mobile */
    min-height: 500px; /* Higher minimum for mobile */
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    background-size: contain; /* Changed to contain for mobile */
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--primary-dark); /* Fallback color */
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-home h2 {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 1.5rem 2rem;
    
    border-radius: 8px;
    color:#9bbdeb;
    font-size: 1.8rem; /* Smaller font for mobile */
}

/* Tablet and Desktop Styles */
@media (min-width: 768px) {
    .hero-home {
        height: 100vh;
        max-height: 800px;
        padding: 2rem;
    }
    
    .slide {
        background-size: cover; /* Use cover on larger screens */
    }
    
    .hero-home h2 {
        font-size: 2.5rem; /* Larger font for desktop */
        padding: 2rem 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-home {
        max-height: 900px;
    }
    
    .hero-home h2 {
        font-size: 3rem;
        padding: 2.5rem 4rem;
    }
}
















.hero-about {
    background: url('aboutBG.JPG') center/cover no-repeat;
    color: var(--slate);
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    width: 100%;
    margin: 0;
    padding: 1rem;
    box-sizing: border-box;
}



.hero h2,.hero-about h2 {
    margin: 0;
    padding: 1rem;
    color :#9bbdeb;
    border-radius: 8px;
}

.cards {
    display: flex;
    flex-direction: column;
    
    gap: 2rem;
    padding: 2rem 1rem;
    background-color: var(--mint);
}

.card {
    background: var(--brown);
    color: var(--cream);
    padding: 1.5rem;
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: block;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.4);
}

footer {
    background: var(--slate);
    color: var(--cream);
    padding: 2rem 1rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.footer-content div {
    min-width: 150px;
}

.about-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
    background: var(--mint);
}

.about-section img {
    width: 100%;
    max-width: 250px;
    border-radius: 12px;
}

.about-text {
    max-width: 100%;
    text-align: center;
}

.about-text h2 {
    margin-bottom: 1rem;
    color: var(--slate);
    font-size: 1.8rem;
}

.about-text p {
    color: var(--charcoal);
    line-height: 1.6;
    text-align: left;
}

.hero-team {
    background: url('team.jpg') center/cover no-repeat;
    color: var(--slate);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    width: 100%;
    position: relative;
}

.hero-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3); /* Dark overlay for better text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-team h2 {
    margin: 0;
    padding: 1.5rem 3rem;
    
    border-radius: 8px;
    font-size: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color:#9bbdeb ;
}

.team-content {
    padding: 4rem 1rem;
    background: var(--mint);
    text-align: center;
}

.team-content .container {
    max-width: 800px;
    margin: 0 auto;
}

.team-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--charcoal);
    margin: 0;
}

/* Footer fixes */
footer {
    background: var(--slate);
    color: var(--cream);
    padding: 3rem 1rem 1rem;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-content div {
    min-width: 200px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    font-size: 1rem;
}

/* Ensure proper page height */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

/* Tablet View */
@media (min-width: 768px) {
    .hero-team {
        min-height: 70vh;
    }
    
    .hero-team h2 {
        font-size: 3rem;
        padding: 2rem 4rem;
    }
    
    .team-content {
        padding: 5rem 2rem;
    }
    
    .team-content p {
        font-size: 1.3rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-around;
    }
}

/* Desktop View */
@media (min-width: 1024px) {
    .hero-team {
        min-height: 80vh;
    }
    
    .hero-team h2 {
        font-size: 3.5rem;
    }
    
    .team-content {
        padding: 6rem 2rem;
    }
    
    .team-content p {
        font-size: 1.4rem;
        line-height: 1.9;
    }
}

/* Register page specific styles */
/* Register page specific styles */
.register-page .hero {
    background: url('register.JPG') center/cover no-repeat;
    color: var(--cream);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    position: relative;
}


.register-page .hero h2 {
    margin: 2rem 0 3rem 0;
    padding: 1rem 2rem;
    background-color: rgba(88, 71, 56, 0.8);
    border-radius: 8px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}



.register2-page .hero  {
    background: url('register2.JPG') center/cover no-repeat ; 
    color: var(--cream);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    position: relative;
}


.register2-page .hero h2 {
    margin: 2rem 0 3rem 0;
    padding: 1rem 2rem;
    background-color: rgba(88, 71, 56, 0.8);
    border-radius: 8px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}





/* Register cards container - ON THE IMAGE */
.hero-cards {
    display: flex;
    flex-direction: column;
    padding-top: 10%;
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
}

.hero-cards .card {
    background: rgba(88, 71, 56, 0.95);
    color: var(--cream);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(5px);
}

.hero-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: var(--light-blue);
    background: rgba(88, 71, 56, 0.98);
}

.hero-cards .card h3 {
    margin: 0 0 0.8rem 0;
    font-size: 1.4rem;
    color: var(--cream);
    line-height: 1.3;
}

.hero-cards .card p {
    margin: 0;
    font-size: 1rem;
    color: var(--light-blue);
    line-height: 1.5;
}

/* Tablet View */
@media (min-width: 768px) {
    .register-page .hero {
        padding: 3rem 2rem;
        justify-content: center;
    }
    
    .register-page .hero h2 {
        margin: 0 0 3rem 0;
        font-size: 3rem;
    }
    
    .hero-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hero-cards .card {
        max-width: none;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
    }
}

/* Desktop View */
@media (min-width: 1024px) {
    .register-page .hero {
        min-height: 100vh;
        padding: 4rem 2rem;
    }
    
    .hero-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        max-width: 1400px;
    }
    
    /* Special 2-3 layout for 5 cards */
    .hero-cards .card:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    
    .hero-cards .card:nth-child(2) {
        grid-column: 3;
        grid-row: 1;
    }
    
    .hero-cards .card:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }
    
    .hero-cards .card:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }
    
    .hero-cards .card:nth-child(5) {
        grid-column: 3;
        grid-row: 2;
    }
    
    .hero-cards .card {
        min-height: 140px;
        padding: 2.5rem;
    }
    
    .hero-cards .card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-cards .card p {
        font-size: 1.1rem;
    }
}

/* Large Desktop View */
@media (min-width: 1400px) {
    .hero-cards {
        gap: 3rem;
    }
    
    .hero-cards .card {
        min-height: 160px;
        padding: 3rem;
    }
    
    .hero-cards .card h3 {
        font-size: 1.6rem;
    }
}

/* Press page specific styles */
/* Press page specific styles */
.hero-press {
    background: url('pressdrive3.jpg') center/cover no-repeat;
    color: var(--slate);
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px #000;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    width: 100%;
    margin: 0;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.hero-cards-press {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
    justify-items: center;
    padding: 2rem 1rem;
    width: 100%;
}

.hero-cards-press .card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    background: rgba(88, 71, 56, 0.95);
    color: var(--cream);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    min-height: 120px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

.hero-cards-press .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-color: var(--light-blue);
}

.hero-cards-press .card h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--cream);
    transition: color 0.3s ease;
}

.hero-cards-press .card:hover h3 {
    color: var(--light-blue);
}

.hero-cards-press .card p {
    margin: 0.5rem 0 0 0;
    font-size: 1rem;
    color: var(--light-blue);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.hero-cards-press .card:hover p {
    color: var(--mint);
}

/* Make the "COMING SOON" card slightly different */
.hero-cards-press .card:last-child {
    background: rgba(86, 124, 141, 0.9); /* slate color */
}

.hero-cards-press .card:last-child:hover {
    border-color: var(--mint);
}

.hero-cards-press .card:last-child:hover h3 {
    color: var(--mint);
}

/* Special styling for cards without <p> tags (like ARPSMUN 1) */
.hero-cards-press .card:only-child h3 {
    /* This targets h3 when it's the only child in the card */
    margin: 0;
}

/* Ensure all cards have consistent spacing regardless of content */
.hero-cards-press .card > *:first-child {
    margin-top: 0;
}

.hero-cards-press .card > *:last-child {
    margin-bottom: 0;
}

/* Tablet View */
@media (min-width: 600px) {
    .hero-cards-press {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 800px;
    }
    
    .hero-cards-press .card {
        max-width: 280px;
        min-height: 140px;
        padding: 2rem;
    }
    
    .hero-cards-press .card h3 {
        font-size: 1.4rem;
    }
}

/* Desktop View */
@media (min-width: 992px) {
    .hero-press {
        min-height: 100vh;
        font-size: 2.5rem;
        padding: 5rem 2rem;
    }
    
    .hero-cards-press {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 4rem;
        row-gap: 3rem;
        max-width: 900px;
        padding: 3rem 2rem;
    }
    
    .hero-cards-press .card {
        max-width: 350px;
        min-height: 160px;
        padding: 2.5rem;
    }
    
    .hero-cards-press .card h3 {
        font-size: 1.6rem;
    }
}

/* Remove the special styling for first card since it should behave normally */
.hero-cards-press .card:first-child {
    opacity: 1;
    cursor: pointer;
}

.hero-cards-press .card:first-child:hover {
    transform: translateY(-5px);
    border-color: var(--light-blue);
}

@media (min-width: 600px) {
    .cards {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .card {
        width: 45%;
    }
    
    .about-section {
        flex-direction: row;
    }
    
    .hero-cards, .hero-cards-press {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (min-width: 992px) {
    .hero {
        font-size: 2.5rem;
        height: 100vh;
    }
    
    .hero-cards {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
    }
    
    .hero-cards-press {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

/* Dropdown menu styles */
.nav-menu .dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--cream);
    font-family: 'Georgia', serif;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--brown);
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 8px 8px;
    z-index: 1002;
    overflow: hidden;
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--cream);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-blue);
    padding-left: 2rem;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Mobile dropdown styles */
@media (max-width: 767px) {
    .dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        width: 100%;
        text-align: left;
        padding: 0.8rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-toggle::after {
        content: '▼';
        font-size: 0.8rem;
        transition: transform 0.3s ease;
    }
    
    .dropdown-toggle.active::after {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.2);
    }
    
    .dropdown-menu.active {
        display: block;
    }
    
    .dropdown-menu a {
        padding-left: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Desktop dropdown adjustments */
@media (min-width: 768px) {
    .dropdown-toggle::after {
        content: '▼';
        font-size: 0.7rem;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }
    
    .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}


/* Intro Section Styles */
.intro-section {
    padding: 4rem 1rem;
    background-color: #9bbdeb;
    color: var(--lavender-web);
}

.intro-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-justify: inter-word;
}

.intro-section p:last-child {
    margin-bottom: 0;
}


/* Mission & Vision Section */
.mission-vision-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #5494da 0%, #8FB3E2 100%);
    color: var(--lavender-web);
}

.mission-vision-container {
    max-width: 1200px;
    margin: 0 auto;
}

.mission-vision-header {
    text-align: center;
    margin-bottom: 4rem;
}

.mission-vision-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
}

.mission-vision-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--jordy-blue);
    border-radius: 2px;
}

.mission-vision-header p {
    font-size: 1.2rem;
    color: white;

    font-style: italic;
}

.mission-vision-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.mission-card, .vision-card {
    background: rgba(217, 225, 241, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(143, 179, 226, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(143, 179, 226, 0.1), transparent);
    transition: left 0.6s ease;
}

.mission-card:hover::before, .vision-card:hover::before {
    left: 100%;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--jordy-blue);
}

.icon-container {
    width: 80px;
    height: 80px;
    background: var(--jordy-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}

.icon-container i {
    font-size: 2rem;
    color: white;
}

.mission-card h3, .vision-card h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.mission-card p, .vision-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    position: relative;
    z-index: 2;
    text-align: justify;
    text-justify: inter-word;
}

/* Tablet View */
@media (min-width: 768px) {
    .mission-vision-section {
        padding: 6rem 2rem;
    }
    
    .mission-vision-header h2 {
        font-size: 3rem;
    }
    
    .mission-vision-content {
        flex-direction: row;
        gap: 2rem;
    }
    
    .mission-card, .vision-card {
        flex: 1;
        padding: 3rem 2.5rem;
    }
    
    .mission-card h3, .vision-card h3 {
        font-size: 2rem;
    }
    
    .mission-card p, .vision-card p {
        font-size: 1.1rem;
    }
}

/* Desktop View */
@media (min-width: 1024px) {
    .mission-vision-section {
        padding: 8rem 2rem;
    }
    
    .mission-vision-header {
        margin-bottom: 5rem;
    }
    
    .mission-vision-header h2 {
        font-size: 3.5rem;
    }
    
    .mission-vision-content {
        gap: 3rem;
    }
    
    .mission-card, .vision-card {
        padding: 4rem 3rem;
    }
    
    .mission-card h3, .vision-card h3 {
        font-size: 2.2rem;
    }
    
    .mission-card p, .vision-card p {
        font-size: 1.2rem;
        line-height: 1.9;
    }
    
    .icon-container {
        width: 100px;
        height: 100px;
        margin-bottom: 2.5rem;
    }
    
    .icon-container i {
        font-size: 2.5rem;
    }
}

/* Animation for mission vision cards */
.mission-card {
    animation: fadeInLeft 0.8s ease-out;
}

.vision-card {
    animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
