/* ============================================
   HEADER SECTIONS
   ============================================ */

/* Main conference header with gradient */
.conference-header {
    width: 100%;
    background: linear-gradient(90deg, #49cc38, #0fe3ff);
    color: rgb(248, 248, 250);
    padding: 2rem 1rem;
    text-align: center;
}

.conference-header h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 2.5rem); /* responsive h1 */
    font-weight: 700;
}

.conference-header .iccst {
    font-size: clamp(2.5rem, 6vw, 3rem); /* responsive ICCST */
    font-weight: 700;
    margin-top: 1rem;
}

.tagline {
    font-size: clamp(1rem, 2.5vw, 1.2rem); /* responsive tagline */
    margin: 0.5rem 0 2rem;
}

/* Conference Container */
.conference-container {
    max-width: 1200px;
    margin: -40px auto 2rem;
    padding: 40px 20px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.highlight {
    color: #085f14;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    /* font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; */
    font-style: italic;
    font-weight: 700;
}

.da {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    /* font-family: "Papyrus", fantasy; */
    color: #0b0416;
    line-height: 1.5;
}

.rest {
    font-size: clamp(2rem, 5vw, 2.5rem);
    /* font-family: "Papyrus", fantasy; */
    color: #5f07ec;
    line-height: 1.5;
}

.submission {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #17a067;
}

/* ============================================
   SECTIONS
   ============================================ */

/* Section title */
.section-heading {
    background: linear-gradient(to right, #ea66df, #894ba2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    width: fit-content;
    margin: 2rem auto; /* added vertical spacing for separation */
}

.section-heading h2 {
    color: #fff;
    margin: 0;
    line-height: 1;
    font-size: clamp(1.2rem, 4vw, 1.6rem); /* responsive font size */
    font-weight: 700;
}


/* ============================================
   CONTENT SECTIONS
   ============================================ */

/* Content section wrapper */
.content-section {
    background: #ffffff;
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2vw, 1rem);
    margin: clamp(0.5rem, 2vw, 1rem) auto clamp(2rem, 4vw, 2.5rem);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    max-width: 1200px;
}

.content-section p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.7;
    color: #0f0f0f;
}

/* Subtheme section */
.theme-section {
    background: #ffffff;
    padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2vw, 1rem);
    margin: clamp(0.5rem, 2vw, 1rem) auto clamp(2rem, 4vw, 2.5rem);
    border-radius: 10px;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.theme-card {
    background: #fff;
    border-left: 3px solid #88ec46;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(24, 24, 23, 0.4);
    padding: clamp(1rem, 2vw, 1.25rem);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-card:hover {
    transform: translateY(-5px);
    border-left-color: #46d9ec;
    box-shadow: 0 2px 10px rgba(70, 217, 236, 0.46);
}

.theme-card h3 {
    margin-top: 0;
    color: #5e55e7;
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
}

.theme-card li {
    font-size: clamp(0.95rem, 2vw, 1rem);
    color: #161515;
    line-height: 1.3;
}


/* ============================================
   SUBMISSION GUIDELINES
   ============================================ */

/* Submission link container */
.slink {
    text-align: center;
    margin: clamp(1.5rem, 3vw, 2rem);
}

/* Submission buttons */
.slink a {
    display: inline-block;
    background: #5e3dbb;
    color: #fff;
    border-radius: 10px;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    margin: clamp(0.75rem, 2vw, 1.25rem);
    font-size: clamp(0.95rem, 2vw, 1rem);
    text-decoration: none !important;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.slink a:hover {
    background: #46d9ec;
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(70, 217, 236, 0.6);
}

/* Email ID styling */
.email-id {
    color: #9e254f;
    font-weight: 600;
    font-style: italic;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

/* ============================================
   COMMITTEE SECTION
   ============================================ */

/* Commitee box */
.committee-box{
    box-shadow: 0 4px 12px rgba(84, 83, 85, 0.06);
    border-top: 8px solid #c917ff;
}

/* Committee container */
.committee-container {
    margin: clamp(1rem, 3vw, 1.5rem) auto clamp(0.5rem, 2vw, 1rem);
    padding: clamp(1rem, 2vw, 1.25rem);
    width: 90%;
    max-width: 1100px;
}

/* Committee heading */
.committee-container h2 {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    text-align: center;
    background: linear-gradient(to right, #04e922, #c7c403);
    color: rgb(248, 248, 250);
    padding: clamp(0.4rem, 1.5vw, 0.5rem) clamp(1.5rem, 3vw, 2rem);
    border-radius: 0 20px 0 5px;
    margin: 0 auto clamp(1.5rem, 3vw, 2rem);
    width: fit-content;
}

/* Committee container grid */

.patrons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1rem;
}

.committee-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
}


/* Committee member cards */
.card-container {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    text-align: center;
}

.card {
    background: #fff;
    border-left: 6px solid #33f3f3d2;
    width: clamp(200px, 20vw, 210px);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.671);
    padding: clamp(1rem, 2vw, 1.25rem);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    line-height: 1.3;
    margin: 0 auto;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(51, 169, 199, 0.671);
}

/* Profile images */
.rounded-image {
    width: clamp(150px, 15vw, 200px);
    height: clamp(150px, 15vw, 200px);
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #afe9f1;
    box-shadow: 0 4px 8px rgba(241, 35, 52, 0.2);
}

/* Member name and title */
.card .name {
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    font-weight: 500;
    margin-top: 0.5rem;
}

.card .title {
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    font-style: italic;
    margin-bottom: 0.5rem;
}

/* Contact info */
.contact {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-top: 10px;
}

.contact-link {
    color: #333;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #00ebfc;
}

/* ============================================
   CONFERENCE VENUE
   ============================================ */

.venue3 {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: 900px;
    width: 100%;
    background-color: #f9f9f9;
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2rem) clamp(2rem, 4vw, 2.5rem);
    box-shadow: 0 4px 12px rgba(191, 103, 226, 0.6);
    border-top: 8px solid #c917ff;
    margin: clamp(1rem, 2vw, 1rem) auto clamp(2rem, 4vw, 2.5rem);
    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: #089c70;
}

/* 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: "⭐";
    position: absolute;
    left: -1rem;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

/* Map link */
.map-link {
    display: inline-block;
    background: #7c30d3bb;
    color: #fff;
    font-weight: bold;
    text-decoration: none !important;
    padding: clamp(0.5rem, 1.5vw, 0.625rem) clamp(1rem, 3vw, 1.125rem);
    border-radius: 30px;
    margin-top: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    max-width: 100%;
    text-align: center;
    font-size: clamp(0.95rem, 2.5vw, 1rem);
}

.map-link:hover {
    background: #7c30d3;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ============================================
   PUBLICATION SECTION
   ============================================ */

.publication-section {
    background: #ffffff;
    padding: clamp(1rem, 2vw, 2rem) clamp(1rem, 2vw, 2rem);
    margin: clamp(0.5rem, 2vw, 1rem) auto clamp(2rem, 4vw, 2.5rem);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    border-top: 8px solid #c917ff;
    max-width: 1200px;
}

/* Section subtitle */
.publication-section .pub-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    text-align: center;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

/* Publication cards container */
.pub-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    text-align: center;
    margin: clamp(0.5rem, 2vw, 1rem);
}

/* Individual publication card */
.pub-card {
    background: #fff;
    border-radius: 20px;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(95, 61, 187, 0.88);
}

/* Icon */
.pub-card .icon {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: #5e3dbb;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

/* Title and subtitle */
.pub-card .title {
    margin: clamp(0.25rem, 1vw, 0.5rem) 0;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #353638;
    font-weight: 600;
}

.pub-card .subtitle {
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    color: #555;
    line-height: 1.4;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

/* Publication link button */
.pub-card a {
    display: inline-block;
    background: #5e3dbb;
    color: #fff;
    border-radius: 10px;
    padding: clamp(0.4rem, 1vw, 0.5rem) clamp(1rem, 2vw, 1.5rem);
    transition: background 0.3s ease;
    text-decoration: none !important;
    font-size: clamp(0.85rem, 2vw, 0.9rem);
}

.pub-card a:hover {
    background: #46d9ec;
}

/* Important dates */
.important-dates {
    background: #ffffff;
    padding: 2rem 1rem;
    margin: 1.5rem auto 2.5rem;
    border-top: 8px solid #c917ff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(191, 103, 226, 0.3);
    max-width: 1000px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.important-dates h2 {
    font-size: 2rem;
    color: #2d3748;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.important-dates .subtitle {
    text-align: center;
    color: #718096;
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 400;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.timeline-event {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-event:nth-child(1) {
    animation-delay: 0.1s;
}

.timeline-event:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-event:nth-child(3) {
    animation-delay: 0.3s;
}

.timeline-event:nth-child(4) {
    animation-delay: 0.4s;
}

.timeline-event:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-event:nth-child(odd) {
    flex-direction: row;
}

.timeline-event:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    border: 5px solid white;
}

.timeline-content {
    width: 45%;
    max-width: 45%;
    background: #f7fafc;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    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) .timeline-content {
    margin-right: auto;
    text-align: right;
}

.timeline-event:nth-child(even) .timeline-content {
    margin-left: auto;
    text-align: left;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.timeline-date {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    word-wrap: break-word;
}

.timeline-desc {
    color: #4a5568;
    line-height: 1.6;
    font-size: 0.95rem;
    word-wrap: break-word;
}

/* ============================================
   REGISTRATION SECTION
   ============================================ */

/* Registration boxes */
.registration-fees,
.payment-section,
.registration-includes {
    animation: fadeInUp 0.6s ease forwards;
    background: #ffffff;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 20px;
    margin: clamp(1rem, 2vw, 1.5rem) auto clamp(2rem, 4vw, 2.5rem);
    /* border-top: 8px solid #c917ff; */
    color: #333;
    box-shadow: 0 4px 12px rgba(191, 103, 226, 0.3);
    max-width: 1200px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.registration-fees{
    border-top: 8px solid #c917ff;
    color: #333;
    box-shadow: 0 4px 12px rgba(191, 103, 226, 0.1);
}

.registration-table,
.payment-section,
.registration-includes {
    border-top: 8px solid #183697;
}

/* Keyframes for fade-in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section headings */
.registration-fees h2,
.payment-section h2,
.registration-includes h2 {
    font-size: clamp(1.5rem, 4vw, 1.6rem);
    color: #2d3748;
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
    font-weight: 700;
    word-wrap: break-word;
}

/* Registration Table Styles */
.registration-table {
    width: 100%;
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    line-height: 1.4;
    border-collapse: collapse;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
}

.registration-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.registration-table th {
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.25rem);
    text-align: left;
    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(1rem, 2.5vw, 1.1rem);
    font-weight: 600;
    color: #667eea;
}

/* ============================================
   PAYMENT SECTION STYLES
   ============================================ */

/* Bank Details */
.bank-details {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 15px;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    border-left: 5px solid #667eea;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.bank-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bank-details li {
    padding: clamp(0.5rem, 1.5vw, 0.75rem) 0;
    color: #4a5568;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    display: flex;
    align-items: center;
    word-wrap: break-word;
}

.bank-details .highlight {
    font-weight: 700;
    color: #2d3748;
    min-width: 140px;
    display: inline-block;
}

/* Payment Options */
.payment-options {
    background: #fff5e6;
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 15px;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    border-left: 5px solid #f59e0b;
    box-sizing: border-box;
}

.payment-options p {
    color: #4a5568;
    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: #e6f7ff;
    padding: clamp(1rem, 2vw, 1.5rem);
    border-radius: 15px;
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    border-left: 5px solid #3b82f6;
    box-sizing: border-box;
}

.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: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

.registration-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 1.5vw, 0.75rem);
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 3vw, 2rem);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none !important;
    border-radius: 12px;
    font-weight: 600;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    text-align: center;
    word-wrap: break-word;
}

.registration-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.6);
}

/* Registration Includes */
.includes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

.includes-item {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    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;
}

.includes-item:hover {
    transform: translateY(-10px);
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

.includes-icon {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.includes-text {
    color: #4a5568;
    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 {
    background: #ffffff;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem) clamp(0.5rem, 1.5vw, 1rem);
    margin: clamp(1rem, 2vw, 1.5rem) auto clamp(1rem, 2vw, 1.5rem);
    max-width: 1200px;
    box-sizing: border-box;
}

.about-restlabs p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.5;
    color: #0f0f0f;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.about-restlabs li {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: 1.5;
    color: #0f0f0f;
    margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
}

/* ============================================
   PREVIOUS EDITIONS
   ============================================ */

.previous-editions {
    max-width: 1000px;
    margin: clamp(2rem, 4vw, 3rem) auto;
    padding: clamp(2rem, 4vw, 3rem);
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    text-align: center;
    background-color: #131427;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(241, 2, 2, 0.7);
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.previous-editions h3 {
    font-size: clamp(1.3rem, 4vw, 1.5rem);
    color: #d8fd04;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    border-bottom: 2px solid #f6f7f6;
    display: inline-block;
    padding-bottom: clamp(0.2rem, 1vw, 0.3rem);
}

.previous-editions ul {
    list-style-type: none !important;
    padding-left: 0;
    margin-top: clamp(0.75rem, 2vw, 1rem);
}

.previous-editions li {
    margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
    line-height: 1.2;
}

.previous-editions a {
    text-decoration: none !important;
    color: #fbfbfc;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    transition: color 0.3s ease;
}

.previous-editions a:hover {
    color: #15f341;
}

/* ============================================
   FOOTER
   ============================================ */

.main-footer {
    width: 100%;
    max-width: 100%;
    text-align: center;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    background: linear-gradient(90deg, #206417, #138594);
    color: white;
    padding: clamp(1rem, 2vw, 1.5rem);
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;          /* allows columns to wrap */
    justify-content: center;  /* centres columns horizontally */
    gap: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;       /* centres text inside each column */
    box-sizing: border-box;
}

.footer-column {
    flex: 1 1 220px;          /* grow, shrink, and base width */
    min-width: 220px;         /* ensures minimum readable width */
    max-width: 300px;         /* optional: limits width on large screens */
    text-align: justify;
}

/* Headings */
.main-footer h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    color: #ffffff;
}

/* Paragraphs and links */
.main-footer p,
.main-footer a {
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    color: #e0e0e0;
    text-decoration: none !important;
    line-height: 1.4;
    word-wrap: break-word;
}

.main-footer a:hover {
    color: #cbd5f2;
}

.main-footer i {
    margin-right: clamp(0.25rem, 1vw, 0.5rem);
}

/* Social icons */
.main-footer .social-icons a {
    background: #7c0468;
    color: #f3f2f5;
    padding: clamp(0.5rem, 2vw, 0.65rem);
    border-radius: 50%;
    margin-right: clamp(0.5rem, 2vw, 0.75rem);
    display: inline-block;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    transition: background 0.3s ease;
}

.main-footer .social-icons a:hover {
    background: #ec0101;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #3955a1;
    margin-top: clamp(1rem, 2vw, 2rem);
    padding-top: clamp(0.5rem, 1.5vw, 1rem);
    font-size: clamp(0.9rem, 2.5vw, 1.25rem);
    color: #fafbfc;
}

/* Smartphone Responsive Styles */
@media (max-width: 768px) {

    /* Header */
    .conference-header {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
    }

    .conference-header h1 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .conference-header .iccst {
        font-size: 2.5rem;
        font-weight: bold;
        margin-top: 1rem;
    }

    .tagline {
        font-size: 1.2rem;
        margin: 0.5rem 0 2rem;
    }

    /* Highlights */
    .highlight {
        font-size: 1rem;
    }

    .da {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .rest {
        font-size: 1.5rem;
        line-height: 1.5;
    }

    .submission {
        font-size: 1.8rem;
        color: #17a067;
    }

    /* Content */
    .content-section {
        margin: 0 auto 2.5rem;
    }

    .content-section p {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Committee grid */
    .committee-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1rem;
    }

    /* Links */
    .slink a {
        font-size: 0.8rem;
        padding: 0.8rem 1.5rem;
        text-align: left;
    }

    /* Venue */
    .venue3 {
        padding: 20px;
        margin: 1rem 10px;
        width: calc(100% - 20px);
    }

    .venue3 h2 {
        font-size: 1.5rem;
    }

    .venue3 h3 {
        font-size: 0.9rem;
    }

    .venue-content,
    .map-container {
        width: 100%;
    }

    .map-container {
        height: 300px;
    }

    /* Publications */
    .pub-container {
        grid-template-columns: 1fr;
        margin: 0.5rem;
        gap: 1rem;
    }

    .pub-card {
        padding: 20px;
    }

    /* Important Dates */
    .important-dates {
        padding: 1.5rem 0.75rem;
        margin: 1rem 5px 2rem;
        width: calc(100% - 10px);
    }

    .important-dates h2 {
        font-size: 1.5em;
    }

    .important-dates .subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .timeline {
        padding: 0;
    }

    /* remove center line */
    .timeline::before {
        display: none;
    }

    /* stack events vertically */
    .timeline-event {
        flex-direction: column !important;
        align-items: flex-start;
        margin-bottom: 30px;
        padding-left: 0;
    }

    /* icon on the left */
    .timeline-icon {
        position: relative;
        left: auto;
        transform: none;
        margin: 15px auto !important;
        width: 50px;
        height: 50px;
        font-size: 1.2em;
    }

    /* content takes full width */
    .timeline-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        text-align: left !important;
        padding: 20px;
    }

    /* adjust text sizes */
    .timeline-title {
        font-size: 1.1rem;
    }

    .timeline-date {
        font-size: 0.85rem;
    }

    .timeline-desc {
        font-size: 0.9rem;
    }

    /* Registration */
    .registration-fees,
    .payment-section,
    .registration-includes {
        padding: 25px 15px;
        margin: 1rem 5px 2rem;
        width: calc(100% - 20px);
    }

    h2 {
        font-size: 1.5em;
    }

    .registration-table {
        /* display: block; */
        overflow-x: auto;
        /* width: 100%; */
        margin: 0 auto;
        font-size: 0.95rem;
    }

    .registration-table thead {
        display: none;
        /* Hide table headers for mobile */
    }

    .registration-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 2px solid #e2e8f0;
        border-radius: 10px;
        padding: 10px;
        background: #fff;
    }

    .registration-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 8px 10px;
        text-align: left;
        border: none;
        font-size: 0.95rem;
    }

    .registration-table tbody td::before {
        content: attr(data-label);
        /* Use data-label attribute for mobile headers */
        font-weight: 600;
        color: #2d3748;
    }

    .registration-table tbody td:first-child {
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        background: #f7fafc;
        border-radius: 5px;
        margin-bottom: 5px;
        padding: 8px;
    }

    .registration-table tbody td:first-child::before {
        content: '';
        /* Remove label from first column */
    }

    .registration-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .registration-links a {
        padding: 15px 20px;
        font-size: 1em;
    }

    .bank-details,
    .payment-options {
        padding: 20px;
        border-radius: 12px;
    }

    .bank-details li {
        font-size: 0.95rem;
        flex-direction: column;
        /* stack label + value */
        align-items: flex-start;
    }

    .bank-details .highlight {
        min-width: auto;
        margin-bottom: 4px;
    }

    .payment-options p {
        font-size: 0.95rem;
    }

    .registration-notes {
        padding: 20px;
        border-radius: 12px;
    }

    .registration-notes p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .includes-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .includes-text {
        font-size: 1rem;
    }

    /* About rest labs */
    .about-restlabs {
        padding: 0.5rem;
        margin: 0.5rem;
        max-width: 90vw;
    }

    .about-restlabs p,
    .about-restlabs li {
        font-size: 1rem;
        line-height: 1.5;
    }

    /* previous editions */
    .previous-editions {
        padding: 2rem 1rem;
        margin: 2rem 1rem;
        border-radius: 25px;
        font-size: 16px;
    }

    .previous-editions h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.2rem;
    }

    .previous-editions ul {
        margin-top: 0.8rem;
    }

    .previous-editions li {
        margin-bottom: 0.8rem;
        line-height: 1.4;
        font-size: 0.95rem;
    }

    .previous-editions a {
        font-size: 0.95rem;
    }

    /* Footer */
    .main-footer {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 25px;
    }

    .footer-column {
        min-width: 100%;
    }

    .main-footer h3 {
        font-size: 1.2rem;
        text-align: center;
    }

    .main-footer p,
    .main-footer a {
        font-size: 0.9rem;
        text-align: center;
    }

    .main-footer .social-icons {
        margin-top: 10px;
        text-align: center;
    }

    .main-footer .social-icons a {
        font-size: 22px;
        margin: 0 8px;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding-top: 12px;
    }
}