/* Variables */
:root {
    --primary-color: #36d1ff;
    --primary-dark: #1d4ed8;
    --secondary-color: #3b82f6;
    --accent-color: #a9d2fc;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-light: #f8fafc;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Splash Screen */


.developers {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
}

.developer {
    text-align: center;
}

.developer img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
}

.developer h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.developer p {
    color: rgba(255, 255, 255, 0.9);
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: white;
    animation: loading 5s linear forwards;
}

@keyframes loading {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .developers {
        flex-direction: column;
        gap: 2rem;
    }

    .developer img {
        width: 120px;
        height: 120px;
    }

    .splash-content h2 {
        font-size: 2rem;
    }

    .developer h3 {
        font-size: 1.25rem;
    }
}

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

/* Base Styles */
html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    min-height: 100vh;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--background);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.tagline {
    font-size: 0.875rem;
    color: var(--text-light);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.nav-links a.active {
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
}

.nav-links a.register-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
}

.nav-links a.register-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./imgs/group_image2.jpg') center/cover;
    opacity: 0.8;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
    transition: all 0.5s ease-in-out;
    opacity: 0.5;
    animation: blink 3s infinite ease-in-out;
}

@keyframes blink {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.1;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content:hover {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    animation: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.primary-btn,
.secondary-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.primary-btn {
    background-color: white;
    color: var(--primary-color);
    border: none;
    text-decoration: none;
    width: 200px;
    height: 50px;
}

.primary-btn a {
    text-decoration: none;
    color: var(--primary-color);
}

.primary-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-btn:hover {
    background-color: white;
    color: var(--primary-color);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.stat-item span {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.mission h3,
.vision h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-image {
    flex: 1;
    position: relative;
    height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

/* What We Do Section */
.what-we-do {
    padding: 6rem 0;
}

.what-we-do h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.activity-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.activity-card:hover {
    box-shadow: var(--shadow-lg);
}

.activity-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.activity-card h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.activity-card p {
    color: var(--text-light);
}

/* Committees Section */
.committees {
    padding: 6rem 0;
    background-color: var(--background-light);
}

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

.committee-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.committee-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.committee-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    transition: var(--transition);
}

.committee-card:hover .committee-image img {
    transform: scale(1.1);
}

.committee-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--background);
    z-index: 1;
    transition: var(--transition);
}

.committee-overlay:hover {
    opacity: 0.2;
}

.committee-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    /* height: 100%; */
}

.committee-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.committee-content h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.committee-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.committee-content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.committee-content ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.read-more {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.read-more:hover {
    background-color: var(--primary-dark);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item p {
    color: var(--text-color);
}

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

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-family: inherit;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: white;
    font-size: 1.25rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    width: 90%;
    margin: 5vh auto;
}

.modal-header {
    position: sticky;
    top: 0;
    background: white;
    padding: 1.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

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

.committee-name {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.5rem;
}

.close {
    position: static;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
    padding: 0.5rem;
}

.close:hover {
    color: var(--primary-color);
}

.committee-detail-content {
    padding: 1rem;
}

.committee-detail-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.committee-detail-content h3 {
    color: var(--text-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.committee-detail-content h4 {
    color: var(--text-color);
    margin: 1.25rem 0 0.75rem;
    font-size: 1.25rem;
}

.committee-detail-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.committee-detail-content ul {
    margin: 1rem 0;
    padding-right: 1.5rem;
}

.committee-detail-content ul li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--text-light);
}

.committee-detail-content ul li strong {
    color: var(--text-color);
    display: block;
    margin-bottom: 0.25rem;
}

.committee-detail-content ul li p {
    margin: 0.5rem 0 0;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 2.5vh auto;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .committee-detail-content {
        padding: 0.5rem;
    }

    .committee-detail-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .committee-detail-content h3 {
        font-size: 1.3rem;
        margin: 1.25rem 0 0.75rem;
    }

    .committee-detail-content h4 {
        font-size: 1.1rem;
        margin: 1rem 0 0.5rem;
    }

    .nav-links a.register-btn {
        margin-top: 1rem;
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .modal-content {
        width: 100%;
        margin: 0;
        border-radius: 0;
        height: 100vh;
    }

    .modal-header {
        padding: 0.75rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .committee-detail-content {
        padding: 0.25rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-text {
    animation: fadeIn 1s ease-out forwards;
}

.animate-text-delay {
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.committee-tabs {
    display: flex;
    gap: 0.5rem;
    overflow: auto;
    scroll-behavior: smooth;
    scrollbar-color: var(--primary-color);
    scrollbar-width: thin;
    scrollbar-gutter: var(--primary-color);
    margin-bottom: 1.5rem;

}

.tab-btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.tab-btn:hover {
    background: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h5 {
    color: var(--primary-color);
    margin: 1rem 0;
}

.tab-content ul {
    list-style: none;
    margin-bottom: 1rem;
}

.tab-content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.tab-content ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.tab-content ul ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.committee-content {
    padding: 2rem;
}

@media (max-width: 768px) {
    .committee-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tab-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .committees-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

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

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .about-image {
        height: 300px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .committees-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .committee-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tab-btn {
        flex: 1;
        min-width: 120px;
        text-align: center;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .committee-content {
        padding: 1.5rem;
    }

    .committee-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .committee-icon {
        margin-bottom: 0.5rem;
    }

    .committee-text {
        margin-top: 1rem;
    }

    .committee-text h4 {
        font-size: 1.1rem;
    }

    .committee-text ul {
        padding-left: 1rem;
    }

    .committee-text ul li {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .read-more {
        margin-top: 1rem;
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    /* Modal Responsive Styles */
    .modal-content {
        width: 95%;
        margin: 2.5% auto;
        max-height: 95vh;
    }

    .modal-header {
        padding: 0.8rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .committee-detail-content {
        padding: 1rem;
    }

    .committee-detail-content h2 {
        font-size: 1.5rem;
    }

    .committee-detail-content h3 {
        font-size: 1.3rem;
    }

    .committee-detail-content h4 {
        font-size: 1.1rem;
    }

    .committee-detail-content p,
    .committee-detail-content li {
        font-size: 0.9rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 1rem 1rem;
        box-shadow: var(--shadow-md);
        z-index: 1000;
        transition: transform 0.3s ease;
        transform: translateX(100%);
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links a {
        width: 100%;
        text-align: right;
        padding: 0.75rem;
        border-radius: 5px;
        margin: 0.25rem 0;
    }

    .nav-links a.register-btn {
        margin-top: 1rem;
        text-align: center;
    }

    .nav-container {
        padding: 0.75rem 15px;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .tagline {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .committee-card {
        margin: 0;
    }

    .committee-image {
        height: 180px;
    }

    .committee-overlay h3 {
        font-size: 1.2rem;
    }

    .committee-overlay p {
        font-size: 0.8rem;
    }

    .committee-content {
        padding: 1rem;
    }

    .committee-header h2 {
        font-size: 1.3rem;
    }

    .tab-btn {
        min-width: 100px;
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .committee-text h4 {
        font-size: 1rem;
    }

    .committee-text p {
        font-size: 0.85rem;
    }

    .committee-text ul li {
        font-size: 0.85rem;
    }

    /* Modal Responsive Styles for Small Screens */
    .modal {
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .modal-header {
        position: sticky;
        top: 0;
        z-index: 2;
    }

    .modal-body {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-container {
        padding: 0.5rem 10px;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .tagline {
        display: none;
    }

    .menu-toggle {
        font-size: 1.25rem;
    }

    .nav-links {
        width: 200px;
    }
}

@media (max-width: 320px) {
    .nav-container {
        padding: 0.5rem 5px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .menu-toggle {
        font-size: 1.1rem;
        padding: 0.25rem;
    }

    .nav-links {
        width: 180px;
    }

    .nav-links a {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .modal {
        padding: 1rem;
    }

    .modal-content {
        max-height: 90vh;
        margin: 5vh auto;
    }
}

/* Print Styles */
@media print {
    .committee-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .modal {
        display: none !important;
    }
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav-container {
        padding: 0.75rem 15px;
    }

    .logo h1 {
        font-size: 1.25rem;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .nav-container {
        padding: 0.5rem 10px;
    }

    .logo h1 {
        font-size: 1.1rem;
    }

    .tagline {
        display: none;
    }

    .nav-links {
        gap: 0.25rem;
    }

    .nav-links a {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .nav-container {
        padding: 0.5rem 5px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .nav-links a {
        padding: 0.25rem 0.4rem;
        font-size: 0.75rem;
    }
}

/* Developers Section */
.developers-section {
    padding: 6rem 0;
    background-color: var(--background-light);
}

.developers-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.developers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.developer {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.developer:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.developer img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid var(--primary-color);
    object-fit: cover;
}

.developer h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.developer p {
    color: var(--text-light);
    font-size: 1rem;
}

@media (max-width: 768px) {
    .developers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .developer img {
        width: 120px;
        height: 120px;
    }
}

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

    .developer {
        padding: 1.5rem;
    }
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 1rem 1rem;
        box-shadow: var(--shadow-md);
        z-index: 1000;
        transition: transform 0.3s ease;
        transform: translateX(100%);
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links a {
        width: 100%;
        text-align: right;
        padding: 0.75rem;
        border-radius: 5px;
        margin: 0.25rem 0;
    }

    .nav-links a.register-btn {
        margin-top: 1rem;
        text-align: center;
    }
}

section {
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0.75rem 15px;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0.5rem 10px;
    }
}