/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    direction: ltr;
}

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

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.logo i {
    color: #16a279;
    font-size: 2rem;
}
.logo img{
    width: 150px;
    height: 100px;
    object-fit: contain;


    
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: #333;
    color: white;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-login {
    background: #333;
    color: white;
}

.btn-login:hover {
    background: #555;
}

.btn-join {
    background: #f5f5f5;
    color: #333;
    position: relative;
    padding: 14px 10px;
}

.btn-join:hover {
    background: #e0e0e0;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s ease;
}

.dropdown-item:hover {
    background: #f5f5f5;
}

.dropdown-item:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    position: relative;
    height: 500px;
    overflow: hidden;
    padding: 0 20px;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide .container {
    text-align: left;
    color: #333;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-align: left;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: 0;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.3s both;
    text-align: left;
}

.btn-primary {
    background: #16a279;
    color: white;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #16a279;
    transform: scale(1.2);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    text-align: center;
}

.image-placeholder {
    width: 400px;
    height: 500px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.image-placeholder i {
    font-size: 4rem;
    color: #16a279;
}

.about-text {
    padding: 2rem;
    text-align: left;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: #333;
    text-align: left;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.text-center {
    text-align: center;
}

/* Unique Features Section */
.unique-features {
    padding: 5rem 0;
    background: #f9f9f9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 1rem 1rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #16a279;
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.2);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: #16a279;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 2.5rem;
    color: white;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: #45a049;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
    }
    
    .nav-list {
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 15px;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.9rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.8rem;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero {
        height: 450px;
        margin-top: 120px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        max-width: 500px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding: 1rem;
        text-align: left;
    }
    
    .image-placeholder {
        width: 100%;
        max-width: 350px;
        height: 250px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.5rem;
    }
    
    .nav-list {
        gap: 0.3rem;
        font-size: 0.8rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.6rem;
    }
    
    .hero {
        height: 400px;
        margin-top: 140px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 400px;
    }
    
    .btn-primary {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .image-placeholder {
        height: 200px;
    }
    
    .image-placeholder i {
        font-size: 3rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .unique-features {
        padding: 3rem 0;
    }
    
    .about {
        padding: 3rem 0;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .nav-list {
        font-size: 0.75rem;
    }
    
    .btn {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
}

/* Our IB Teachers Section */
.teachers-section {
    padding: 5rem 0;
    background: white;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 أعمدة ثابتة */
    gap: 2rem;
    margin-bottom: 3rem;
}

.teacher-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.teacher-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.teacher-image {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.teacher-image i {
    font-size: 2rem;
    color: #16a279;
}

.teacher-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.teacher-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* For Students & Parents Section */
.students-parents-section {
    padding: 5rem 0;
    background: #f9f9f9;
}

.students-parents-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.join-community {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.community-image {
    width: 120px;
    height: 120px;
    background: #16a279;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.community-image i {
    font-size: 3rem;
    color: white;
}

.community-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 430px;
}

.community-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.community-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Statistics Grid */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.stat-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: white;
    font-size: 1rem;
    opacity: 0.9;
}

.stat-gray {
    background: #6c757d;
}

.stat-blue {
    background: #007bff;
}

.stat-brown {
    background: #8B4513;
}

/* Additional Cards Section */
.additional-cards-section {
    padding: 5rem 0;
    background: white;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 10px;
    padding:1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    justify-content: start;
    align-items: baseline;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-image {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.card-image i {
    font-size: 2rem;
    color: #16a279;
}

.card-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.card-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
    .students-parents-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .join-community {
        flex-direction: column;
        text-align: center;
    }
    
    .community-image {
        width: 100px;
        height: 100px;
    }
    
    .community-image i {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .teachers-grid,
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .statistics-grid {
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card i {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .teacher-card,
    .info-card {
        padding: 1.5rem;
    }
    
    .community-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .teachers-grid,
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-card i {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .teacher-card,
    .info-card {
        padding: 1rem;
    }
    
    .teacher-image,
    .card-image {
        width: 60px;
        height: 60px;
    }
    
    .teacher-image i,
    .card-image i {
        font-size: 1.5rem;
    }
    
    .community-image {
        width: 80px;
        height: 80px;
    }
    
         .community-image i {
         font-size: 2rem;
     }
}

/* Schools Logos Section */
.schools-logos-section {
    padding: 5rem 0;
    background: #f9f9f9;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.logos-slider {
    overflow: hidden;
    position: relative;
}

.logos-track {
    display: flex;
    animation: scroll 20s linear infinite;
    width: calc(150px * 16); /* 8 logos * 2 for seamless loop */
}

.logo-item {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    margin: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.05);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
.footer {
    background: #1a365d;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-column {
    text-align: left;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    background: #16a279;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    font-size: 1.5rem;
    color: white;
    z-index: 2;
}

.logo-network {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #16a279;
    border-radius: 50%;
    opacity: 0.8;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
}

.logo-ib {
    font-size: 1.5rem;
    font-weight: bold;
    color: #16a279;
}

.footer-description {
    color: #cbd5e0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-links a:hover {
    color: white;
    border-bottom-color: #16a279;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #cbd5e0;
}

.contact-item i {
    color: #e53e3e;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background: #16a279;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e0;
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
    
    .logos-track {
        animation-duration: 15s;
    }
}

@media (max-width: 768px) {
    .schools-logos-section {
        padding: 3rem 0;
    }
    
    .logo-item {
        width: 120px;
        height: 80px;
        margin: 0 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-item {
        width: 100px;
        height: 70px;
        margin: 0 0.3rem;
    }
    
    .logos-track {
        animation-duration: 12s;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .logo-main {
        font-size: 1rem;
    }
    
    .logo-ib {
        font-size: 1.3rem;
    }
} 

/* Contact Page */
.page-header {
    margin-top: 120px;
    padding: 3rem 0;
    background: #f5f5f5;
}

.page-header .section-title,
.page-header .section-subtitle {
    text-align: center;
}

.contact-section {
    padding: 4rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 2rem;
}

.contact-info-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333;
}

.contact-info-item i {
    color: #16a279;
}

.contact-form .form-group {
    margin-bottom: 1.2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #16a279;
    box-shadow: 0 0 0 3px rgba(76,175,80,0.12);
}

.contact-form .btn-primary {
    width: 100%;
}

/* Values Section */
.values-section {
    padding: 5rem 0;
    background: white;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #16a279;
    box-shadow: 0 10px 30px rgba(76,175,80,0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: #16a279;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    background: #45a049;
}

.value-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.value-description {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Statistics Section */
.statistics-section {
    padding: 5rem 0;
    background: #f9f9f9;
}

@media (max-width: 992px) {
    .page-header { margin-top: 140px; }
    .contact-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* Careers Page */
.careers-section {
    padding: 4rem 0;
    background: white;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.job-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.job-logo {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f4f6;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
}

.job-school {
    color: #6b7280;
    font-size: 0.95rem;
}

.job-description {
    color: #4b5563;
    line-height: 1.6;
}

.job-meta {
    display: flex;
    gap: 1rem;
    color: #6b7280;
    font-size: 0.95rem;
}

.job-meta i {
    color: #10b981;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1100;
}

.modal.open { display: block; }

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.modal-content {
    position: relative;
    max-width: 640px;
    width: calc(100% - 2rem);
    max-height: 90vh;
    margin: 5vh auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    animation: modal-in 0.2s ease-out;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.modal-body { 
    padding: 1.25rem; 
    overflow-y: auto;
    flex: 1;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
}

@keyframes modal-in {
    from { transform: translateY(8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .jobs-grid { grid-template-columns: 1fr; }
}

/* Join Form Pages */
.join-form-section,
.login-form-section {
    padding: 4rem 0;
    background: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group small {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.login-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.login-links a {
    color: #16a279;
    text-decoration: none;
    font-weight: 500;
}

.login-links a:hover {
    text-decoration: underline;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 1rem 0;
}

.success-message i {
    font-size: 3rem;
    color: #16a279;
    margin-bottom: 1rem;
}

.success-message h4 {
    color: #16a279;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.success-message .contact-info {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.success-message .contact-info p {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message .contact-info i {
    font-size: 1rem;
    color: #16a279;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        margin: 0 1rem;
        padding: 1.5rem;
    }
}

/* Checkbox Group Styles */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.checkbox-item:hover {
    background: #f0f0f0;
    border-color: #007bff;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
}

.checkbox-item label {
    margin: 0;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

.checkbox-item input[type="checkbox"]:checked + label {
    color: #007bff;
    font-weight: 600;
}


.hero-slider .slide{
        background-size: cover !important;
}

.filter-pills::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
@media (max-width: 768px) {
    .checkbox-group {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .checkbox-item {
        padding: 0.75rem;
    }
}