:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.5;
    --bg-general: #fff;
    --primary-bg: #ffffff;
    --secondary-bg: #faf7ece5;
    --theme-card-bg: #f0f4f8;
    --theme-card-hover-bg: #e0e7ef;
    --text-color: #333333;
    --text-secondary: #64748b;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
    --shadow-medium: 0 10px 15px 3px rgba(0, 0, 0, 0.4);
    --shadow-heavy: 0 25px 50px 12px rgba(0, 0, 0, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================================
        Hero section
    ===============================  */
#hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content horizontally */
    overflow: hidden;
    margin-bottom: 1rem;
    padding: 4rem 0 1rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(./hero-img2.png);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 50px;
    color: white;
    text-align: center;
}

.hero-long {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero-short {
    font-size: clamp(1.3rem, 4vw, 2.5rem);
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content .con-mod {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    margin-bottom: 30px;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-organization {
    font-size: clamp(1.2rem, 3vw, 1.3rem);
    margin-top: 20px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.conf-dl {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-top: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#countdown {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.countdown-item {
    text-align: center;
    background-color: #0b5c9b;
    border-radius: 5px;
    padding: 1rem;
    width: 6rem;
    font-size: clamp(1rem, 3vw, 1.2rem);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.cd-text {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    margin-top: 0.5rem;
    font-weight: 300;
}


/* button style */
/* From Uiverse.io by Matilemak */
.animated-button {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 auto 2rem;
    gap: 4px;
    padding: 1rem 2rem;
    border: 4px solid;
    border-color: transparent;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    background-color: #fff;
    border-radius: 100px;
    font-weight: 600;
    color: #1e1e1e;
    box-shadow: 0 0 0 2px #1e1e1e;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    width: fit-content;
}

.animated-button svg {
    position: absolute;
    width: 24px;
    fill: #1e1e1e;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .arr-1 {
    right: 16px;
}

.animated-button .arr-2 {
    left: -25%;
}

.animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #6d53ff 0%, #479dff 40%, #44e3ff 65%, #6d53ff 100%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.animated-button:hover {
    color: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.animated-button:hover .arr-1 {
    right: -25%;
}

.animated-button:hover .arr-2 {
    left: 16px;
}

.animated-button:hover .text {
    transform: translateX(12px);
}

.animated-button:hover svg {
    fill: #ffffff;
}

.animated-button:active {
    scale: 0.95;
    box-shadow: 0 0 0 4px #fd8a26;
}

.animated-button:hover .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
}

/* other button besides hero section */
.content-section .animated-button {
    margin: 0 1rem 0;
    display: inline-flex;

}


/* content section styles */
.content-section {
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: var(--primary-bg);
    color: var(--text-color);
    max-width: 1200px;
}

.section-title {
    margin-bottom: 1.5rem;
    padding: 10px;
    font-size: clamp(1.5rem, 4vw, 2rem);
    border-left: 5px solid var(--primary-color);
}

/* ================================
        About section
    ===============================  */
#about-conference p {
    margin: 1rem 1.5rem 0;
    text-align: justify;
    font-size: clamp(0.95rem, 2.5vw, 1rem);
}

/* ================================
        sub themes section
    ===============================  */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.theme-card {
    background: var(--theme-card-bg);
    color: rgb(12, 12, 12);
    padding: 2rem 1rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-light);
}

.theme-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    background: var(--theme-card-hover-bg);
}

.theme-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-card p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    line-height: 1.6;
    opacity: 0.95;
}

/* ======================================
        submission guidelines section
    =====================================  */
/* 🌟 Modern Flat Timeline-Style Layout */

.guidelines-grid {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin: 3rem auto 0;
    max-width: 800px;
    padding-left: 1.5rem;
    position: relative;
}

/* Each item as a clean flat section */
.guideline-card {
    position: relative;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.05), rgba(0, 198, 255, 0.05));
    border-left: 6px solid var(--primary-color, #007bff);
    transition: all 0.3s ease;
}

.guideline-card:hover {
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.1), rgba(0, 198, 255, 0.1));
    transform: translateX(8px);
}

/* Floating number bubble */
.guideline-number {
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(30px, 6vw, 40px);
    height: clamp(30px, 6vw, 40px);
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: #fff;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.guideline-card:hover .guideline-number {
    transform: translateY(-50%) scale(1.15);
}

/* Title text */
.guideline-card h3 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--text-primary, #1a1a1a);
    margin-bottom: 0.6rem;
    position: relative;
}

/* Paragraph */
.guideline-card p {
    color: var(--text-secondary, #555);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.guideline-card .animated-button .text {
    font-size: clamp(0.7rem, 2vw, 0.8rem);
}

/* ================================
        Commiitee section
    ===============================  */
#committee-section {
    padding-bottom: 0;
}


.committee-container {
    text-align: center;
    /* centers inline or inline-flex children */
}

.committee-container h2 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 0;
    /* centers as a block element */
    padding: 10px 20px;
    font-size: clamp(1rem, 4vw, 1.4rem);
    background-color: #3bb5f7;
    color: #f8ecec;
    border-radius: 8px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 4rem;
}

.card {
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    /* filter: grayscale(800%); */
    /* black and white the image */
}

.image:hover {
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.card .name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.card .title {
    font-size: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

/* Member Card Social Media */
.card .contact {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.card .contact a {
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

.card .contact a:hover {
    color: var(--secondary-color);
}

/* patron section */
.patrons-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.committee-group {
    display: grid;
    grid-template-columns: 0.9fr 2.9fr;
    gap: 2rem;
}

/* ============================================
   CONFERENCE VENUE
   ============================================ */

.venue3 {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: 900px;
    width: 100%;
    background-color: #f9f9f9;
    padding: clamp(1.5rem, 3vw, 2rem) clamp(2rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-medium);
    border-top: 8px solid;
    border-image: linear-gradient(45deg, #6d53ff 0%, #479dff 40%, #44e3ff 65%, #6d53ff 100%);
    border-image-slice: 1;
    margin: clamp(1rem, 2vw, 1rem) auto 0;
    color: #333;
    box-sizing: border-box;
    overflow: hidden;
}

.venue-content {
    flex: 1 1 300px;
    min-width: 0;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.map-container {
    flex: 1 1 300px;
    min-width: 0;
    max-width: 100%;
    height: clamp(250px, 40vw, 400px);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
    display: block;
}

/* Headings */
.venue3 h2 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: #0969e6;
}

.venue3 h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #0bb3e6;
}

/* Paragraphs */
.venue-content p {
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    line-height: 1.6;
    margin: 0.5rem 0;
}

/* Lists */
.venue3 ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    list-style: none;
}

.venue3 li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.3;
}

.venue3 li::before {
    content: "★";
    /* Unicode star */
    color: rgb(0, 183, 255);
    position: absolute;
    left: -1rem;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.venue3 .animated-button {
    margin-top: 1rem;
    font-size: clamp(0.7rem, 2.2vw, 0.9rem);
}

/* ============================================
            Publication Partners
   ============================================ */

.publication-group .card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 0;
}

.publication-group .card {
    position: relative;
    margin: 1rem;
    min-width: 250px;
}

.publication-group .card-icon {
    font-size: 3rem;
    padding: 2rem;
    color: #29769f;
}

.publication-group h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.publication-group p {
    margin: 0.5rem 0 6rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.publication-group strong {
    font-weight: 700;
    font-size: 0.95rem;
}

.publication-group .animated-button {
    margin-top: 1rem;
    font-size: 0.75rem;
    position: absolute;
    bottom: 1rem;

}

.publication-group .tag {
    position: absolute;
    top: 10px;
    right: 10px;
    /* background-color: #3498db; */
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.publication-group .card .tag {
    position: absolute;
    overflow: hidden;
    width: 150px;
    height: 150px;
    top: -10px;
    left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.publication-group .card .tag::before {
    content: attr(data-tag);
    position: absolute;
    width: 150%;
    height: 30px;
    background-image: linear-gradient(45deg, #479dff 0%, #44e3ff 51%, #6d53ff 100%);
    transform: rotate(-45deg) translateY(-20px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.23);
}

.publication-group .card .tag ::after {
    content: '';
    position: absolute;
    width: 10px;
    bottom: 0;
    left: 0;
    height: 10px;
    z-index: -1;
    box-shadow: 140px -140px #cc3f47;
    background-image: linear-gradient(45deg, #479dff 0%, #44e3ff 51%, #6d53ff 100%);
}

/* ================================================
        Importtant dates section
    =============================================== */

#important-dates{
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline {
    position: relative;
    padding: 20px 0;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-event {
    margin-bottom: 20px;
    display: flex;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    width: clamp(300px, 60%, 600px);
    border-radius: 10px;
}

.timeline-event .timeline-icon {
    background: linear-gradient(45deg, #479dff 0%, #44e3ff 51%, #6d53ff 100%);
    margin: auto;
    padding: 4rem 1.5rem;
    font-size: 1.7rem;
}

.timeline-content {
    padding: 25px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1;
}

.timeline-event:nth-child(odd) {
    margin-right: auto;
    flex-direction: row-reverse;

}

.timeline-event:nth-child(even) {
    margin-left: auto;
    flex-direction: row;
}

.timeline-event:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-event:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-date {
    font-size: clamp(0.8rem, 2.3vw, 1rem);
    color: #1e42e2;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-title {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.timeline-desc {
    color: #4a5568;
    line-height: 1;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    word-wrap: break-word;
}

/* ============================================
            Registration section
   ============================================ */
.registration-section {
    text-align: center;
    margin: 0 0 2rem;
}

.registration-section h2 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 1rem auto;
    /* centers as a block element */
    padding: 10px 20px;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #09407a 0%, #1991a1 40%, #0cbcf1 70%, #390cda 100%);
    color: #f8ecec;
    border-radius: 8px;
}

.registration-section h2 i {
    margin-right: 8px;
}

/* Keyframes for fade-in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Registration Table Styles */
.registration-table {
    max-width: 800px;
    width: 100%;
    font-size: clamp(0.9rem, 2.5vw, 0.9rem);
    line-height: 1.1;
    border-collapse: collapse;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
    text-align: center;
}

.registration-table thead {
    background: linear-gradient(135deg, #667eea 0%, #00c6ff 51%, #764ba2 100%);
    color: white;
}

.registration-table th {
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.25rem);
    text-align: center;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.registration-table th small {
    display: block;
    font-size: clamp(0.65rem, 2vw, 0.75rem);
    opacity: 0.9;
    font-weight: 400;
    margin-top: 5px;
}

.registration-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #e2e8f0;
}

.registration-table tbody tr:last-child {
    border-bottom: none;
}

.registration-table tbody tr:hover {
    background: #f7fafc;
}

.registration-table td {
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.25rem);
    color: #4a5568;
    word-wrap: break-word;
}

.registration-table td:first-child {
    font-weight: 600;
    color: #2d3748;
}

.registration-table td:not(:first-child) {
    text-align: center;
    font-size: clamp(0.9rem, 2.5vw, 0.9rem);
    font-weight: 600;
    color: #576cc9;
}

.registration-table tr:nth-child(even) {
    background: #eaf7f7;
}

/* Bank Details */
.bank-details {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 15px;
    margin: 0 auto clamp(1rem, 2vw, 1.5rem);
    border-left: 5px solid #003bfd;
    box-sizing: border-box;
    overflow-wrap: break-word;
    max-width: 800px;
    width: 100%;
}

.bank-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bank-details li {
    padding: clamp(0.5rem, 1.1vw, 0.75rem) 0;
    color: #393d46;
    font-size: clamp(0.9rem, 2vw, 1rem);
    display: flex;
    align-items: center;
    word-wrap: break-word;
}

.bank-details .highlight {
    font-weight: 700;
    color: #00153b;
    min-width: 140px;
    display: inline-block;
}

/* Payment Options */
.payment-options {
    background: #f2fae7;
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 15px;
    margin: 0 auto clamp(1rem, 2vw, 1.5rem);
    border-left: 5px solid #90f50b;
    box-sizing: border-box;
    max-width: 800px;
    width: 100%;
}

.payment-options p {
    color: #3b4453;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    line-height: 1.6;
    word-wrap: break-word;
    margin: 0;
}

.payment-options span {
    font-weight: 700;
    color: #2d3748;
}

/* Registration Notes */
.registration-notes {
    background: #ddf1fa;
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 15px;
    margin: 0 auto clamp(1rem, 2vw, 1.5rem);
    border-left: 5px solid #2b68c9;
    box-sizing: border-box;
    max-width: 800px;
    width: 100%;
}

.registration-notes p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.registration-notes p:last-child {
    margin-bottom: 0;
}

.registration-notes strong {
    color: #2d3748;
}

/* Registration Links */
.registration-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem auto 0;
}

.registration-links .animated-button {
    margin-top: 1rem;
    font-size: 0.75rem;
    background: #fff0f0;

}

/* Registration Includes */
.includes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin: clamp(1rem, 2vw, 1.5rem) auto 0;
    max-width: 800px;
    width: 100%;
}

.includes-item {
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-sizing: border-box;
    box-shadow: var(--shadow-medium);
}

.includes-item:hover {
    transform: translateY(-10px);
    border-color: #ffffff;
    box-shadow: var(--shadow-heavy);
}

.includes-icon {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    color: #3498db;
}

.includes-text {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    line-height: 1.6;
    font-weight: 500;
    word-wrap: break-word;
}

/* ============================================
            About REST Labs
   ============================================ */

#about-restlabs {
    margin: 0 auto;
    padding: 2rem 1rem;
    color: var(--text-color);
    max-width: 1200px;
}

.rest-labs-logo {
    display: block;
    margin: 1rem auto;
    width: clamp(110px, 20vw, 250px);
    height: auto;
}

.rest-labs-header h3 {
    text-align: center;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin: 1rem 0;
    color: #004a83;
}

.rest-labs-description {
    margin: 0 auto 2rem;
    padding: 0 1rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.3;
    color: #333333;
    text-align: justify;
}

/* Key Features */

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 3vw, 2rem);
    justify-content: center;
    margin-bottom: 3rem;
}

.feature-box {
    color: #3498db;
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    width: clamp(200px, 100%, 300px);
    box-shadow: var(--shadow-medium);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.feature-title {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 700;
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.feature-text {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    line-height: 1.6;
    word-wrap: break-word;
    font-style: italic;
    color: #555;
}

.social-connect .social-heading {
    text-align: center;
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin: 1rem 0;
    color: #004a83;
}

.social-connect .social-icons {
    display: flex;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 2rem);
    /* margin-bottom: 2rem; */
}

.social-connect .social-icons a {
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: #29769f;
    transition: color 0.3s ease;
    text-decoration: none !important;
}

.button {
    background-color: #ffffff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.6);
    animation: sway 2s infinite alternate;
    width: clamp(40px, 8vw, 60px);
    height: clamp(40px, 8vw, 60px);
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 500px;
    transition: transform 0.5s, box-shadow 0.5s;
}

.button:hover {
    transform: rotate(-360deg);
    box-shadow: 0 0 20px 0 rgba(24, 188, 253, 0.6);
}


.icon {
    filter: drop-shadow(0 2px 4px rgba(216, 216, 216, 0.6));
    transition: transform 0.5s;
}

.icon:hover {
    transform: scale(1.5);
    filter: drop-shadow(1px 2px 4px rgba(0, 0, 0, 0.9));
    border-radius: 50%;
    padding: 0.5rem;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.icon-g {
    color: #1566d1;
}

.icon-g:hover {
    background: linear-gradient(45deg, #1566d1, #00ddfa);
}

.icon-f {
    color: #1877F2;
}

.icon-f:hover {
    background: linear-gradient(45deg, #1877F2, #4AB3F4);
}

.icon-x {
    color: #000000;
}

.icon-x:hover {
    background: linear-gradient(45deg, #000000, #434343);
}

.icon-l {
    color: #0A66C2;
}

.icon-l:hover {
    background: linear-gradient(45deg, #0A66C2, #4A8FE7);
}

.icon-y {
    color: #FF0000;
}

.icon-y:hover {
    background: linear-gradient(45deg, #FF0000, #FF7A00);
}

/* ============================================
            Previous conferences
   ============================================ */
.conference-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.conference-card {
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 0 1.5rem 1.5rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    text-align: center;
}

.conference-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.conference-image {
    width: 300px;
    margin-bottom: 1rem;
    border-radius: 12px 12px 0 0;
}

.conference-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0.5rem 0;
    text-decoration: none;
    color: var(--primary-color);
}

.conference-text {
    font-size: 0.9rem;
    margin: 1rem 0;
    color: var(--text-secondary);
    text-align: center;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

.view-all .animated-button {
    margin-top: 1rem;
    font-size: clamp(0.65rem, 2.5vw, 0.7rem);
    background: #fff0f0;
}

/* ============================================
            Footer
   ============================================ */

.footer-section {
    background: linear-gradient(135deg, #3f1372 0%, #1f58c2 31%, #0969e6 65%, #390cda 100%);
    margin: 0 auto;
    color: #f1f1f1;
}

.footer-container {
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    padding: 0 1rem;
    min-width: 300px;
    margin-bottom: 2rem;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-links,
.contact-info {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0.7rem;
    line-height: 1.5;
}

.contact-info i {
    margin-right: 8px;
    color: #f1f1f1;
}

.footer-links a {
    color: #f1f1f1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}


.footer-social {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    font-size: 1.2rem;
    transition: color 0.3s ease;

}

.footer-social .social-link i {
    transition: transform 0.3s ease;
    background: #fff;
    padding: 1rem;
    border: 2px solid #fff;
    border-radius: 50%;
}

.footer-social .social-link i:hover {
    transform: scale(1.3);
    color: #fff;
}

.footer-social .facebook i {
    color: #1566d1;
}

.footer-social .facebook i:hover {
    background: linear-gradient(45deg, #1566d1, #00ddfa);
}

.footer-social .twitter i {
    color: #000000;
}

.footer-social .twitter i:hover {
    background: linear-gradient(45deg, #000000, #434343);
}

.footer-social .linkedin i {
    color: #0A66C2;
}

.footer-social .linkedin i:hover {
    background: linear-gradient(45deg, #0A66C2, #4A8FE7);
}

.footer-social .instagram i {
    color: #FF0000;
}

.footer-social .instagram i:hover {
    background: linear-gradient(45deg, #FF0000, #FF7A00);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    padding-bottom: 2rem;
}

.footer-bottom hr {
    height: 0.5px;
    width: 80%;
    margin: 0 auto 1rem;
}

/* ============================================
            Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .committee-group {
        grid-template-columns: 1fr;
    }
}


@media (max-width:860px) {
    .guideline-number {
        left: 2%;
        top: 2%;
        
    }
}