/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* CUSTOM FONT DEFINITION */
@font-face {
  font-family: 'AR Destine';
  /* This path points to the file you uploaded into the 'fonts' folder */
  src: url('fonts/ARDESTINE.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

/* AR Destine font applied to RESPIRARE title in navbar */
.logo h1 {
    font-family: 'AR Destine', sans-serif; 
    font-size: 1.8rem;
    font-weight: bold;
    color: #1e3a8a;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem; /* Reverted to original font and size */
}

.nav-menu a:hover {
    color: #117a8b;
}

.nav-menu .register-nav-btn {
    background-color: #117a8b;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.nav-menu .register-nav-btn:hover {
    background-color: #138d9f;
    color: white;
}

.hamburger-menu {
    display: none;
    cursor: pointer;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #333;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #022c43, #053f5e, #115173);
    color: white;
    padding: 80px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50vw;
    height: 50vw;
    max-width: 750px;
    max-height: 750px;
    background-image: url('logo_brochures/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 800px;
}

/* AR Destine font applied to RESPIRARE title in hero section */
.hero-content h1 {
    font-family: 'AR Destine', sans-serif; 
    font-size: 5.5rem; /* Adjusted size for the font style */
    margin-bottom: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
}

/* Reverted to original font and size */
.hero-content h2 {
    font-size: 1.5rem; 
    margin-bottom: 2.5rem;
    color: #e0e0e0;
    font-weight: 300;
    line-height: 1.4;
}

.hero-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.hero-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-detail-item .icon {
    font-size: 1.2rem;
}

.hero .cta-button {
    display: inline-block;
    background: #117a8b;
    color: white;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s;
    border: none;
}

.hero .cta-button:hover {
    background: #138d9f;
    transform: none;
    box-shadow: none;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.highlight-item {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.highlight-item h3 {
    color: #000000;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.highlight-item p {
    color: #64748b;
    font-size: 0.9rem;
}

.download-brochure-btn {
    display: inline-block;
    margin-top: 30px;
    background-color: #3b82f6;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.download-brochure-btn:hover {
    background-color: #1e40af;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f8fafc;
}

.gallery h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    color: white;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.gallery-item:hover .description {
    opacity: 1;
    visibility: visible;
}


/* Events/Schedule Section */
.events {
    padding: 80px 0;
    background: #f8fafc;
}

.events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 50px;
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    background-color: #eef2f7;
    border-radius: 12px;
    padding: 8px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tab-link {
    padding: 12px 25px;
    border: none;
    background-color: transparent;
    color: #475569;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.tab-link.active-tab {
    background-color: white;
    color: #1e40af;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.day-panel {
    display: none;
    animation: fadeIn 0.5s;
}

.day-panel.active-panel {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.schedule-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
    background-color: white;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 5px solid #3b82f6;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.entry-details h4 {
    font-size: 1.2rem;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 5px;
}

.entry-details p {
    color: #64748b;
}

.entry-time {
    font-size: 1rem;
    font-weight: 500;
    color: #3b82f6;
    background-color: #e0e7ff;
    padding: 8px 15px;
    border-radius: 20px;
}


/* Workshops Section */
.workshops {
    padding: 80px 0;
    background: white;
}

.workshops h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.workshop-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    overflow: hidden; /* Ensures the image corners are rounded */
    display: flex;
    flex-direction: column;
}

.workshop-card:hover {
    transform: translateY(-5px);
}

.workshop-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.workshop-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.workshop-content h3 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.workshop-content p {
    color: #475569;
    flex-grow: 1;
    margin-bottom: 20px;
}

.workshop-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto; /* Pushes buttons to the bottom */
}

.brochure-btn, .register-btn-ws {
    flex: 1;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.brochure-btn {
    background-color: #e2e8f0;
    color: #1e3a8a;
}

.brochure-btn:hover {
    background-color: #d1d5db;
}

.register-btn-ws {
    background-color: #3b82f6;
    color: white;
}

.register-btn-ws:hover {
    background-color: #1e40af;
}

/* Research Events Section */
.research-events {
    padding: 80px 0;
    background: #f8fafc;
}

.research-events h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.research-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.research-card:hover {
    transform: translateY(-5px);
}

.research-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.research-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.research-content h3 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.research-content p {
    color: #475569;
    flex-grow: 1;
    margin-bottom: 20px;
}

.research-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.register-btn-re {
    flex: 1;
    padding: 12px;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
    background-color: #3b82f6;
    color: white;
}

.register-btn-re:hover {
    background-color: #1e40af;
}

/* Speakers Section */
.speakers {
    padding: 80px 0;
    background: #f8fafc;
    overflow: hidden; /* To hide cards that move outside the viewport */
}

.speakers h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.speaker-deck-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    height: 350px; /* Increased height to accommodate stacked cards */
}

.speaker-deck {
    position: relative;
    width: 100%;
    height: 100%;
}

.speaker-card-item {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
    position: absolute;
    width: 100%;
    height: 280px; /* Fixed height for all cards */
    top: 0;
    left: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    will-change: transform, opacity;
}

.speaker-card-item.is-active {
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
}

.speaker-photo {
    width: 200px;
    height: 100%;
    flex-shrink: 0;
}

.speaker-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.speaker-details h3 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.speaker-details h4 {
    font-size: 1rem;
    color: #3b82f6;
    margin-bottom: 15px;
    font-weight: 500;
}

.speaker-details p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

.speaker-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    position: relative;
    z-index: 100;
}

.nav-btn {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    color: #3b82f6;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background-color: #3b82f6;
    color: white;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* Sponsors Section */
.sponsors {
    padding: 80px 0;
    background: white;
}

.sponsors h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.main-sponsor {
    text-align: center;
    margin-bottom: 50px;
}

.main-sponsor h3 {
    color: #1e293b;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.sponsor-logo {
    background: #f8fafc;
    padding: 40px;
    border-radius: 15px;
    border: 2px solid #3b82f6;
}

.sponsor-logo h4 {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.sponsor-logo p {
    color: #475569;
}

.collaboration-partners h3 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 30px;
    font-size: 1.6rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.partner-card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.partner-card h4 {
    color: #1e293b;
    margin-bottom: 10px;
}

.partner-card p {
    color: #475569;
}

/* Registration Section */
.registration {
    padding: 80px 0;
    background: white;
}

.registration h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.registration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.reg-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.reg-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.reg-card h3 {
    color: #1e293b;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fbbf24;
    margin-bottom: 20px;
}

.reg-card ul {
    list-style: none;
    text-align: left;
    flex-grow: 1; /* Pushes button to bottom */
    margin-bottom: 25px; /* Space before button */
}

.reg-card li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
    color: #475569;
}

.reg-card li:before {
    content: "✓";
    color: #10b981;
    position: absolute;
    left: 0;
}

.register-btn-card {
    display: block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    margin-top: auto; /* Aligns button to the bottom */
}

.register-btn-card:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}


/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1e293b;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    text-align: center;
}

.contact-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
}

.contact-icon {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.contact-card p {
    color: #475569;
    line-height: 1.8;
}

.contact-card a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.map-container iframe {
    display: block; /* Removes bottom space under iframe */
}

.contact-footer-text {
    text-align: center;
    color: #64748b;
    font-style: italic;
}


/* Footer */
footer {
    background-color: #0d2436;
    color: #a0aec0;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-about h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-about p {
    line-height: 1.8;
    max-width: 400px;
    margin-bottom: 20px;
}

.social-media-links {
    display: flex;
    gap: 15px;
}

.social-media-links a {
    color: #a0aec0;
    display: inline-block;
    transition: color 0.3s;
}

.social-media-links a:hover {
    color: white;
}

.footer-resources h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-resources ul {
    list-style: none;
}

.footer-resources li {
    margin-bottom: 15px;
}

.footer-resources a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-resources a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2d3748;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-legal-links a {
    color: #a0aec0;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.footer-legal-links a:hover {
    color: white;
}

/* Team Page Styles */
.team-section {
    padding: 120px 0 80px;
    background-color: #f8fafc;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.team-category {
    margin-bottom: 60px;
}

.team-category h3 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #3b82f6;
    padding-bottom: 10px;
    display: inline-block;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 0 0 300px; /* Ensures cards have a fixed base size */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #e0e7ff;
}

.team-card h4 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 5px;
}

.team-card p {
    color: #475569;
    font-size: 1rem;
}


/* FAQ Page Styles */
.faq-section {
    padding: 120px 0 80px;
    background-color: white;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .icon {
    font-size: 1.5rem;
    color: #3b82f6;
    transition: transform 0.3s;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p, .faq-answer ul {
    padding: 0 10px 20px;
    color: #475569;
    line-height: 1.8;
}

.faq-answer ul {
    list-style-position: inside;
    padding-left: 20px;
}

/* Travel Page Styles */
.travel-section {
    padding: 120px 0 80px;
    background-color: #f8fafc;
}

.travel-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.travel-category {
    margin-bottom: 60px;
}

.travel-category h3 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 30px;
    text-align: center;
}

.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.travel-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    padding: 30px;
}

.travel-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.travel-card h4 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.travel-card p {
    color: #475569;
    line-height: 1.8;
}

.venue-details {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Accommodation Page Styles */
.accommodation-section {
    padding: 120px 0 80px;
    background-color: #f8fafc;
}

.accommodation-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1e293b;
}

.accommodation-card {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
}

.accommodation-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.accommodation-details {
    padding: 40px;
}

.accommodation-details h3 {
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 20px;
}

.accommodation-details p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.apply-btn {
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    margin-bottom: 40px;
}

.apply-btn:hover {
    background-color: #1e40af;
}

.contact-info {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.contact-info h4 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-info a {
    color: #3b82f6;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* ===== Responsive Design ===== */

/* For Tablets and Smaller Laptops */
@media (max-width: 1200px) {
    .nav-menu {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu.active {
        position: fixed;
        left: 0;
        top: 80px; /* Height of the header */
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        display: flex;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        padding: 1rem 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu .register-nav-btn {
        border-radius: 0;
    }
}

/* For Standard Tablets */
@media (max-width: 992px) {
    .about-content-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-about {
        text-align: center;
    }

    .footer-about p {
        margin-left: auto;
        margin-right: auto;
    }

    .social-media-links {
        justify-content: center;
    }
    
    .footer-resources {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* For Small Tablets and Large Phones */
@media (max-width: 768px) {
    /* Reduce padding on all sections for a tighter layout */
    .about, .gallery, .events, .workshops, .research-events, .speakers, .sponsors, .registration, .contact {
        padding: 60px 0;
    }
    
    .team-section, .faq-section, .travel-section, .accommodation-section {
        padding: 100px 0 60px;
    }
    
    h2 {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.4rem; /* Reverted to original responsive size */
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .workshops-grid,
    .registration-grid,
    .contact-info-grid,
    .gallery-grid,
    .research-grid {
        grid-template-columns: 1fr;
    }

    .schedule-tabs {
        flex-direction: column;
        padding: 8px;
        max-width: 90%;
    }

    .speaker-card-item {
        flex-direction: column;
        height: auto;
        padding: 30px;
        text-align: center;
    }

    .speaker-deck-container {
        height: 500px;
    }

    .speaker-photo {
        width: 150px;
        height: 150px;
    }
    
    .team-card {
        flex: 0 0 100%; /* Allow team card to take full width */
        max-width: 320px; /* But cap it for aesthetics */
    }
}

/* For Mobile Phones */
@media (max-width: 480px) {
    h2 {
        font-size: 1.9rem;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem; /* Reverted to original responsive size */
    }

    .hero::before {
        width: 90vw;
        height: 90vw;
        opacity: 0.2;
    }
    
    .hero-details {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 1.5rem;
    }

    /* Stack schedule items for better readability */
    .schedule-entry {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .entry-time {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .cta-button,
    .register-btn-card,
    .download-brochure-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .speaker-photo {
        width: 120px;
        height: 120px;
    }

    .speaker-details h3 {
        font-size: 1.5rem;
    }
}