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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
    scroll-behavior: smooth;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Elements that will animate on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #3face4;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3face4;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: transform 0.3s ease;
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        width: 100%;
    }

    .nav-link::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3face4;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #3face4;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #3face4;
    font-weight: 600;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, #3face4 0%, #2a8fc7 100%);
    color: #fff;
    padding: 120px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: shimmer 20s linear infinite;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-date {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-location {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero .btn-primary {
    animation: fadeInUp 0.8s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
    animation: pulse 1s ease-in-out infinite;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: #3face4;
    color: #fff;
    box-shadow: 0 4px 15px rgba(63, 172, 228, 0.3);
}

.btn-primary:hover {
    background-color: #2a8fc7;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(63, 172, 228, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: #666;
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 102, 102, 0.2);
}

.btn-secondary:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 102, 102, 0.3);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Sections */
.section {
    padding: 100px 20px;
    position: relative;
}

.section-alt {
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: #000;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3face4, #2a8fc7);
    border-radius: 2px;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out;
}

.section-text:nth-child(2) {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

/* Agenda */
.agenda-list {
    max-width: 800px;
    margin: 0 auto;
}

.agenda-item {
    display: flex;
    padding: 25px;
    border-bottom: 1px solid #e0e0e0;
    gap: 30px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.agenda-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(63, 172, 228, 0.15);
    border-left: 4px solid #3face4;
}

.agenda-time {
    font-weight: 600;
    color: #3face4;
    min-width: 120px;
    font-size: 1.1rem;
}

.agenda-session {
    flex: 1;
    color: #333;
    font-size: 1.05rem;
}

/* Speakers */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.speaker-card {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.speaker-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(63, 172, 228, 0.1), transparent);
    transition: left 0.5s;
}

.speaker-card:hover::before {
    left: 100%;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(63, 172, 228, 0.2);
}

.speaker-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3face4 0%, #2a8fc7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(63, 172, 228, 0.3);
}

.speaker-card:hover .speaker-image {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(63, 172, 228, 0.4);
}

.speaker-placeholder {
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
}

.speaker-name {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #000;
    transition: color 0.3s ease;
}

.speaker-card:hover .speaker-name {
    color: #3face4;
}

.speaker-role {
    color: #666;
    font-size: 0.95rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(63, 172, 228, 0.1), rgba(42, 143, 199, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    border-color: #3face4;
    box-shadow: 0 8px 25px rgba(63, 172, 228, 0.3);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-placeholder {
    color: #999;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.1);
    color: #3face4;
}

/* Registration Form */
.registration-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.registration-form:hover {
    box-shadow: 0 12px 40px rgba(63, 172, 228, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #000;
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: #3face4;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3face4;
    box-shadow: 0 0 0 3px rgba(63, 172, 228, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover {
    border-color: #3face4;
}

.form-group input:valid,
.form-group select:valid {
    border-color: #28a745;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.form-message {
    margin: 20px 0;
    padding: 16px 20px;
    border-radius: 8px;
    display: none;
    animation: fadeInUp 0.4s ease-out;
    position: relative;
    padding-left: 50px;
}

.form-message::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    display: block;
}

.form-message.success::before {
    content: '✓';
    background-color: #28a745;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    display: block;
}

.form-message.error::before {
    content: '✕';
    background-color: #dc3545;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    padding: 25px;
    background-color: #fff;
    border-radius: 12px;
    border-left: 4px solid #3face4;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(63, 172, 228, 0.15);
    border-left-width: 6px;
}

.faq-question {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #000;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
    color: #3face4;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    padding: 60px 20px 40px;
}

.contact-info {
    text-align: center;
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #333;
}

.footer-text {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    color: #666;
}

/* Admin Styles */
.admin-screen {
    min-height: 100vh;
    background-color: #f8f9fa;
    padding: 40px 20px;
}

@media (max-width: 768px) {
    .admin-screen {
        padding: 20px 15px;
    }
}

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

.admin-card {
    max-width: 400px;
    margin: 100px auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
    transition: box-shadow 0.3s ease;
}

.admin-card:hover {
    box-shadow: 0 12px 40px rgba(63, 172, 228, 0.15);
}

.admin-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #000;
}

.admin-form {
    width: 100%;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-actions {
    display: flex;
    gap: 10px;
}

.admin-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.6s ease-out;
}

.loading-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

.error-message {
    padding: 20px;
    background-color: #f8d7da;
    color: #721c24;
    border-radius: 5px;
    margin-bottom: 20px;
}

.table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background-color: #3face4;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.admin-table tbody tr {
    transition: all 0.2s ease;
}

.admin-table tbody tr:hover {
    background-color: #f0f7ff;
    transform: scale(1.005);
}

.admin-table tbody tr {
    animation: fadeInUp 0.4s ease-out forwards;
    opacity: 0;
}

.admin-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.admin-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.admin-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.admin-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.admin-table tbody tr:nth-child(5) { animation-delay: 0.5s; }
.admin-table tbody tr:nth-child(n+6) { animation-delay: 0.6s; }

/* Responsive Admin Table */
@media (max-width: 768px) {
    .admin-table {
        display: block;
        width: 100%;
    }

    .admin-table thead {
        display: none;
    }

    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table tr {
        margin-bottom: 15px;
        background: #fff;
        border-radius: 8px;
        padding: 15px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .admin-table td {
        padding: 10px 0;
        text-align: left;
        border: none;
        position: relative;
        padding-left: 50%;
    }

    .admin-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        font-weight: 600;
        color: #3face4;
    }

    .admin-table tbody tr:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(63, 172, 228, 0.2);
    }
}

/* Loading Spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

/* Responsive Design */

/* Tablet Styles (768px - 968px) */
@media (max-width: 968px) and (min-width: 769px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .agenda-item {
        padding: 20px;
    }

    .registration-form {
        padding: 40px;
    }
}

/* Mobile and Tablet Styles (max-width: 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .hero {
        padding: 80px 20px;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-date {
        font-size: 1.2rem;
    }

    .hero-location {
        font-size: 1rem;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .section-title::after {
        width: 60px;
    }

    .section-text {
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .registration-form {
        padding: 30px 20px;
    }

    .form-group {
        margin-bottom: 18px;
    }

    .form-group input,
    .form-group select {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .speakers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .speaker-card {
        padding: 25px 20px;
    }

    .speaker-image {
        width: 120px;
        height: 120px;
    }

    .speaker-placeholder {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .agenda-list {
        max-width: 100%;
    }

    .agenda-item {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        margin-bottom: 15px;
    }

    .agenda-item:hover {
        transform: translateX(0);
    }

    .agenda-time {
        min-width: auto;
        font-size: 1rem;
        padding-bottom: 8px;
        border-bottom: 2px solid #3face4;
        width: 100%;
    }

    .agenda-session {
        font-size: 1rem;
    }

    .faq-item {
        padding: 20px;
        margin-bottom: 20px;
    }

    .faq-question {
        font-size: 1.1rem;
    }

    .faq-item:hover {
        transform: translateX(0);
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 100%;
        text-align: center;
    }

    .hero .btn-primary {
        width: auto;
        display: inline-block;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .admin-actions {
        width: 100%;
        flex-direction: column;
    }

    .admin-actions .btn {
        width: 100%;
    }

    .admin-content {
        padding: 20px;
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-table {
        font-size: 0.85rem;
        min-width: 600px;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }

    .contact-info {
        text-align: left;
    }

    .contact-info p {
        font-size: 0.95rem;
    }
}

/* Smooth transitions for admin screen switching */
.admin-screen {
    animation: fadeIn 0.4s ease-out;
}

/* Enhanced checkbox styling */
.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #3face4;
    transition: transform 0.2s ease;
}

.checkbox-label input[type="checkbox"]:hover {
    transform: scale(1.1);
}

/* Enhanced select dropdown */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233face4' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
    appearance: none;
    cursor: pointer;
}

/* Small Mobile Styles (max-width: 480px) */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }

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

    .hero {
        padding: 60px 15px;
        margin-top: 60px;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .hero-date {
        font-size: 1.1rem;
    }

    .hero-location {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .section {
        padding: 50px 15px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        padding-bottom: 15px;
    }

    .section-title::after {
        width: 50px;
        height: 3px;
    }

    .section-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .container {
        padding: 0 15px;
    }

    .registration-form {
        padding: 25px 15px;
    }

    .form-group input,
    .form-group select {
        padding: 12px;
    }

    .speaker-card {
        padding: 20px 15px;
    }

    .speaker-image {
        width: 100px;
        height: 100px;
    }

    .speaker-placeholder {
        font-size: 2rem;
    }

    .speaker-name {
        font-size: 1.1rem;
    }

    .speaker-role {
        font-size: 0.9rem;
    }

    .gallery-item {
        border-radius: 8px;
    }

    .gallery-placeholder {
        font-size: 1rem;
    }

    .agenda-item {
        padding: 15px;
    }

    .faq-item {
        padding: 15px;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.9rem;
    }

    .admin-card {
        padding: 25px 20px;
        margin: 30px auto;
        max-width: 95%;
    }

    .admin-title {
        font-size: 1.6rem;
    }

    .admin-table {
        font-size: 0.75rem;
        min-width: 500px;
    }

    .admin-table th,
    .admin-table td {
        padding: 8px 6px;
    }

    .footer {
        padding: 50px 15px 30px;
    }

    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .footer-text {
        font-size: 0.85rem;
        padding-top: 20px;
    }
}

/* Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .admin-table {
        font-size: 0.7rem;
        min-width: 450px;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 60px 20px;
    }

    .section {
        padding: 50px 20px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .speaker-card:hover,
    .gallery-item:hover,
    .faq-item:hover,
    .agenda-item:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .btn:active {
        transform: scale(0.98);
    }
}
