html {
  scroll-padding-top: 180px;
}


body {
    font-family: 'Palatino', 'Garamond', 'Baskerville', 'Times New Roman', 'Georgia', 'Book Antiqua', serif;
/*    font-family: 'Roboto', sans-serif;*/
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    color: #333;
    line-height: 1.6;
}

header {
   background: radial-gradient(circle at center, #0f134a 0%, #171c66 85%, #2a33a0 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-content {
    display: flex;
/*    flex-direction: column;*/
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    background: transparent;
    max-width: 1200px;
    height:auto;
}

.support-info {
    font-size: 14px;
    color: #666; /* Adjust color as needed */
    margin-top: 10px; /* Adds space between the title and the support text */
    margin-bottom: 0; /* Remove any default margin that might add extra space below */
}

.logo-container {
    display: flex;
    align-items: center;
    margin: 0 60px;
}

.logo {
    width: 100px;
    height: auto;
    padding: 5px;
}
.logo1
 {
    width: 100px;
    height: auto;
    padding: 5px;
}


nav {
    background: radial-gradient(circle at center, #0f134a 0%, #171c66 85%, #2a33a0 100%);


    text-align: center;
    padding: 0.5em 0;
    width: 100%;
    margin-top: 5px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

nav ul li a:hover {
     color: #ffcc80;               /* keep if you like the amber hover text */
  background-color: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

h1 {
    margin: 0;
    text-align: center;
    color: #ffffff; /* Updated color for better contrast */
    background-color: transparent; /* remove solid patch */
    color: #ffffff;
    padding: 0.5em; /* Adding padding for better readability */
    border-radius: 8px; /* Adding border-radius for aesthetics */
    flex: 1;
    font-size: 2.5em;
}

h2 {
    margin: 0.5em 0;
    text-align: center;
    color: #171c66;
}

strong {
    margin: 2px 0; /* Space above and below the text */
    text-align: center;
    width: 100%; /* Make sure the strong element takes up full width */
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 160px auto 0;
}

ul li {
    font-size: 18px; /* Increase font size for better readability */
    line-height: 1.3; /* Improve line spacing */
    margin-bottom: 10px; /* Space between list items */
}
.participants {
    padding-left: 40px; /* Space bullets from content */
    margin: 40px 0; /* Space around the list */
    list-style-type: disc; /* Customize bullet style if needed */
    display: grid;
    grid-template-columns: 1fr; /* Single column by default */
}

/* Double column on wider screens */
@media (min-width: 800px) { /* Adjust the breakpoint as needed */
    .participants {
        grid-template-columns: repeat(2, 1fr); /* Two equal columns */
        gap: 10px; /* Space between columns */
    }
}

#speakers, #schedule, #details, #location {
    background: linear-gradient(135deg, #ffffff 0%, #f5f6ff 100%);
    border-radius: 12px;
    margin: 80px 0;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

#organizers { padding: 30px; }
#organizers .tile-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* center rows even with odd tile counts */
  gap: 20px;
}
#organizers .tile {
  flex: 0 1 220px;          /* responsive width without calc(20% - 20px) */
  max-width: 240px;
  width: 100%;
}


/* Countdown Timer Styles */
.countdown-container {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #00796b 0%, #004d40 100%);
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 121, 107, 0.3);
}

.countdown-container h3 {
    margin: 0 0 20px 0;
    font-size: 1.8em;
    color: #ffffff;
}

#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    min-width: 80px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
}

.countdown-item span {
    font-size: 2.5em;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
}

.countdown-item label {
    font-size: 0.9em;
    color: #e0f2f1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Workshop Info Styles */
.workshop-description {
    margin: 30px 0;
    padding: 20px;
    background: radial-gradient(circle at left, #e8eafc 0%, #f5f6ff 100%);
    border-radius: 12px;
    border-left: 4px solid #171c66;
    font-size: 1.1em;
    line-height: 1.7;
}

.workshop-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: radial-gradient(circle at top left, #ffffff 0%, #f5f6ff 100%);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 1.5em;
    margin-right: 15px;
    min-width: 30px;
}

.info-item strong {
    color: #171c66;
    margin-right: 8px;
}

.info-item a {
    color: #171c66;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: #2a33a0;
    text-decoration: underline;
}

.tile-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.tile {
    padding: 20px;
    width: calc(20% - 20px); /* Adjust width to fit four tiles per row */
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 12px;
    background: radial-gradient(circle at top left, #ffffff 0%, #f5f6ff 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tile a {
    text-decoration: none;
    color: inherit;
}

.tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #e8eafc 100%); 


}

.tile:hover img {
    border: 3px solid #171c66; 
    box-sizing: border-box;
    transform: scale(1.05);
}

.tile img {
    width: 150px; /* Set a fixed width */
    height: 150px; /* Set a fixed height */
    border-radius: 50%;
    object-fit: cover; /* Ensure the image covers the entire area */
    margin-bottom: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tile h3 {
    color: #171c66;
    margin: 15px 0 5px 0;
    font-size: 1.1em;
}

.tile p {
    color: #666;
    font-size: 0.9em;
    margin: 5px 0;
}

.align-top {
    object-position: top;
}

.align-bottom {
    object-position: bottom;
}

@media screen and (max-width: 720px) {  /* For narrow screens */
  .tile-container {
    justify-content: center;
  }

  .tile {
    width: 100%;
  }

  h1 {
    font-size: 1.4em;
  }
  
  .workshop-description {
    font-size: medium;
    line-height: 1.6;
    border-left: 4px solid #171c66; 
  }
  
  main {
    margin: 160px auto 0; /* Keep original margin for initial state */
  }
  .logo-container {
    margin: 0 10px;
  }
  
  /* Mobile header scroll behavior */
  .header-content {
    transition: all 0.3s ease;
    overflow: hidden;
  }
  
  .header-content.scrolled {
    max-height: 0;
    opacity: 0;
    padding: 0 20px;
  }
  
  header strong {
    transition: all 0.3s ease;
  }
  
  header strong.scrolled {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
  }
  
  /* Make navigation more compact on mobile */
  nav {
    margin-top: 5px;
    padding: 0.8em 0;
    transition: all 0.3s ease;
  }
  
  nav.scrolled {
    margin-top: 0;
  }
  
  /* Fix navigation to stay on same line */
  nav ul li {
    margin: 0 5px; /* Reduce margin between nav items */
  }
  
  nav ul li a {
    padding: 8px 12px; /* Adequate padding for touch targets */
    font-size: 0.95em; /* Slightly smaller font size */
  }
  
  /* Hide countdown timer on mobile */
  .countdown-container {
    display: none;
  }
  
  .workshop-info {
    grid-template-columns: 1fr;
  }
  
  .info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .info-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}


table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #171c66;
    color: #fff;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

footer {
    background: radial-gradient(circle at center, #0f134a 0%, #171c66 85%, #2a33a0 100%);
    color: #fff;
    text-align: center;
    padding: 2em 0;
    position: relative;
    width: 100%;
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.9;
}

.loc-image {
    margin: 0 0 15px 15px; /* Margin around images: bottom and left */
}

.loc-image img {
    max-width: 100%; /* Ensure images are responsive */
    max-height: 220px;
    height: auto; /* Maintain aspect ratio */
    border: none; /* Remove any default borders */
    display: block; /* Remove inline spacing issues */
}

/* Align images to the right and allow text wrapping */
.alignright {
    float: right; /* Float images to the right */
    margin: 0 0 15px 15px; /* Margin to space out from text: bottom and left */
}

.map-container {
    position: relative;
    max-width: 800px; /* Adjust as needed */
    width: 100%;
    height: 56.25%;
    padding-bottom: 56.25%;
    overflow: hidden;
    margin: 0 auto;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* General mobile compactness */
@media (max-width: 768px) {
    .header-content {
        padding: 8px 15px;
    }

    .header-content h1 {
        font-size: 1.8em;
        padding: 0.3em;
        margin: 0;
    }

    .logo-container {
        margin: 0 30px;
    }

    .logo {
        width: 60px;
        height: auto;
        padding: 3px;
    }
        .logo1 {
        width: 60px;
        height: auto;
        padding: 3px;
    }


    header strong {
        font-size: 12px;
        padding: 5px 15px;
        margin: 1px 0;
    }

    nav {
        padding: 0.3em 0;
        margin-top: 3px;
    }

    nav ul li {
        margin: 0 8px;
    }

    nav ul li a {
        padding: 6px 12px;
        font-size: 13px;
    }

    main {
        margin: 120px auto 0;
        padding: 15px;
    }
}

/* Mobile scroll behavior styles - Portrait */
@media (max-width: 720px) {
    .header-content.scrolled {
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    header strong.scrolled {
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    nav.scrolled {
        padding: 0.3em 0;
        transition: all 0.3s ease;
    }

    nav.scrolled ul li a {
        padding: 4px 8px;
        font-size: 12px;
        margin: 0 8px;
        transition: all 0.3s ease;
    }
}

/* Mobile scroll behavior styles - Landscape */
@media (max-width: 1024px) and (max-height: 600px) and (orientation: landscape) {
    /* Extra compact header for landscape */
    .header-content {
        padding: 5px 10px;
    }

    .header-content h1 {
        font-size: 1.5em;
        padding: 0.2em;
        margin: 0;
    }

    .logo-container {
        margin: 0 20px;
    }

    .logo {
        width: 45px;
        height: auto;
        padding: 2px;
    }

    header strong {
        font-size: 11px;
        padding: 3px 10px;
        margin: 1px 0;
    }

    nav {
        padding: 0.2em 0;
        margin-top: 2px;
    }

    nav ul li {
        margin: 0 6px;
    }

    nav ul li a {
        padding: 4px 8px;
        font-size: 12px;
    }

    main {
        margin: 90px auto 0;
        padding: 10px;
    }

    header.scrolled {
        transform: translateY(-70%);
        transition: all 0.3s ease;
    }

    .header-content.scrolled {
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    header strong.scrolled {
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    nav.scrolled {
        padding: 0.1em 0;
        transition: all 0.3s ease;
    }

    nav.scrolled ul li a {
        padding: 2px 4px;
        font-size: 10px;
        margin: 0 4px;
        transition: all 0.3s ease;
    }
}
/* Apply Now button styling (updated indigo theme) */
/* Apply Now button – solid dark blue version */
.apply-button {
    display: inline-block;
    background-color: #171c66;        /* solid dark blue */
    color: #ffffff !important;        /* force white text, override link blue */
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    margin-left: 10px;
    text-decoration: none;
    letter-spacing: 0.4px;
    white-space: nowrap;
    vertical-align: middle;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(23, 28, 102, 0.25);
    transition: all 0.25s ease;
}

/* Hover – slightly lighter blue, keep white text */
.apply-button:hover {
    background-color: #2a33a0;        /* lighter blue on hover */
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(23, 28, 102, 0.4);
}

/* Active press state */
.apply-button:active {
    background-color: #0f134a;        /* darkest blue when pressed */
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(23, 28, 102, 0.25);
}

/* Mobile responsive for apply button */
@media (max-width: 768px) {
    .apply-button {
        padding: 8px 16px;
        font-size: 13px;
        margin-left: 8px;
        margin-top: 4px;
        display: inline-block;
        white-space: nowrap;
    }
}

.logo1 {
    filter: brightness(0) invert(1);
}
