/* Import League Gothic from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=League+Gothic&display=swap');

/* Your custom class */
.league-gothic {
  font-family: "League Gothic", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}


/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FDB913;
    --secondary-color: #003C71;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --blue-dark: #001F3F;
    --blue-darker: #001529;
    --transition-normal: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Header - 20% taller */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1.5rem 0;
    transition: all var(--transition-normal), padding 0.3s ease-in-out;
    background-color: var(--blue-darker);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0.3rem 0;
}

header.scrolled .nav-link {    
    color: #333333 !important;
}

header.scrolled .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Logo size adjustment - 20% taller */
header .logo img {
    height: 108px;
    transition: opacity 0.3s ease-in-out, transform var(--transition-normal);
}

/* Hide logo at top of page */
header .logo.logo-hidden {
    opacity: 0;
    pointer-events: none;
}

header .container {
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Adjust desktop navigation vertical alignment */
.desktop-nav {
    height: 100%;
    align-items: center;
}

header nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-normal);
    position: relative;
}

header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

header nav a:hover {
    color: var(--primary-color);
}

header nav a:hover::after {
    width: 100%;
}

header nav a.active {
    color: var(--primary-color);
}

/* Mobile menu button - 20% larger */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
}

header.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #003C71 0%, #1e40af 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(253,185,19,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-text p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(253, 185, 19, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--secondary-color);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
/* Dynamic text sizing for hero title */
.heading3 {
    
	  font-family: "League Gothic", serif;
  	font-optical-sizing: auto;
  	font-weight: 400;
  	font-style: normal;
  	font-variation-settings: "wdth" 100;
transform: none;         /* or scaleY(1) */
  line-height: 0.95;       /* adjust to taste */
	transform-origin: top;
      display: inline-block;
      padding: 0px 0 0 0px !important; /* Optional padding */
	  margin: 0 0 0 0px!important;
	  text-shadow: 4px 4px 4px black;
      box-sizing: border-box; /* Include padding and border in size calculations */
      white-space: nowrap; /* Keep text on a single line */
      text-align: center; /* Mobile default (kept) */
      overflow: visible; /* was hidden; hidden can clip when scaling */
}
.heading3 span{
  display: inline-block;
  white-space: nowrap;
  transform-origin: center top;
}

/* Desktop: left-align title text (mobile unchanged) */
@media (min-width: 768px) {
  .heading3 {
    text-align: left;
  }
}

    #dynamic-text, #dynamic-text2 {
      opacity: 1; /* Start hidden */
      visibility: hidden; /* Fully hide the element */
      transition: opacity 0.5s ease; /* Smoothly fade in */
      color: #fff !important;    
    }

    #dynamic-text.visible, #dynamic-text2.visible {
      opacity: 1; /* Fully visible */
      visibility: visible; /* Show the element */
		transition: opacity 0.5s ease; /* Smoothly fade in */
    }
  

.mobile-spacing2 {
order: 2;
}

#dynamic-text.visible, #dynamic-text2.visible {
    opacity: 1 !important;
    visibility: visible !important;
}
#dynamic-text, #dynamic-text2 {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

#dynamic-text.visible, #dynamic-text2.visible {
    opacity: 1;
    visibility: visible;
}

/* Desktop default: normal width (so the 50% layout can work cleanly) */
.hero-title-full{
  width: 100% !important;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 4rem;
  padding-left: 0;
  padding-right: 0;
}

/* Mobile ONLY: keep your existing full-bleed behavior */
@media (max-width: 767px) {
  .hero-title-full{
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: 4rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));    
  }
}

/* Event Info Bar */
.event-info {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.info-item {
    text-align: center;
}

.info-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.info-item strong {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.info-item span {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Sections */
section {
    padding: 5rem 0;
}
section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem; /* mobile */
}

@media (min-width: 640px) { /* Tailwind 'sm' */
  section .container {
    padding: 0 2rem; /* desktop/tablet */
  }
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(253, 185, 19, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.feature-content p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Agenda Section */
.agenda-grid {
    display: grid;
    gap: 2rem;
}

.agenda-item {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
    border-left: 4px solid var(--primary-color);
}

.agenda-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.agenda-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.agenda-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.agenda-type {
    background-color: rgba(253, 185, 19, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.agenda-item h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.agenda-item p {
    color: var(--text-light);
}

/* Speakers Section */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.speaker-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition-normal);
}

.speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.speaker-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.speaker-info {
    padding: 1.5rem;
}

.speaker-info h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.speaker-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.speaker-company {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.speaker-bio {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Registration Section */
.registration {
    background: linear-gradient(135deg, var(--primary-color) 0%, #f59e0b 100%);
    color: var(--secondary-color);
}

.registration .section-title h2,
.registration .section-title p {
    color: var(--secondary-color);
}

.registration-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.registration-form {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: inherit;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.submit-btn:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(253, 185, 19, 0.3);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 2;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #E6EDFE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    color: #3b82f6; /* Medium blue */
    text-decoration: none;
    font-size: 1.125rem;
}

.social-icon i {
    color: #3b82f6; /* Medium blue for icons */
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-4px);
    color: var(--secondary-color);
}

.social-icon:hover i {
    color: var(--secondary-color); /* Dark blue on hover */
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Sponsor Section Styles */
.sponsor-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    transform: scale(1.05);
}

.sponsor-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem;
    background: white;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.sponsor-logo-link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Platinum Sponsors - More padding */
.sponsor-platinum .sponsor-logo-link {
    padding: 0.385rem;
}

/* Diamond Sponsors - Largest (2 cols mobile, 3 cols desktop) */
.sponsor-diamond .sponsor-logo {
    max-height: 160px;
}

@media (min-width: 768px) {
    .sponsor-diamond .sponsor-logo {
        max-height: 198px;
    }
}

/* Platinum Sponsors - Medium-Large (3 cols mobile, 4 cols desktop) */
.sponsor-platinum .sponsor-logo {
    max-height: 127px;
}

@media (min-width: 768px) {
    .sponsor-platinum .sponsor-logo {
        max-height: 154px;
    }
}

/* Gold Sponsors - Medium (4 cols mobile, 5 cols desktop) */
.sponsor-gold .sponsor-logo {
    max-height: 99px;
}

@media (min-width: 768px) {
    .sponsor-gold .sponsor-logo {
        max-height: 127px;
    }
}

/* Silver & Lucky Draw Sponsors */
.sponsor-silver .sponsor-logo,
.sponsor-lucky .sponsor-logo {
    max-height: 127px;
}

@media (min-width: 768px) {
    .sponsor-silver .sponsor-logo,
    .sponsor-lucky .sponsor-logo {
        max-height: 154px;
    }
}

/* Supporting Organisations - Smaller (5 cols mobile, 6 cols desktop) */
.sponsor-supporting .sponsor-logo {
    max-height: 83px;
}

@media (min-width: 768px) {
    .sponsor-supporting .sponsor-logo {
        max-height: 99px;
    }
}

/* Logo image optimization - ENHANCED */
header .logo img,
footer img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: -moz-crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* All sponsor logos */
.card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: -moz-crisp-edges;
}

/* Specifically for SVG logos */
header .logo img[src$=".svg"],
footer img[src$=".svg"] {
    image-rendering: auto;
}

/* Presentation Page Specific Styles */
.presentation-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.presentation-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.download-btn {
    background-color: var(--blue-dark);
    border: 2px solid var(--blue-dark);
    color: white;
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    text-decoration: none;
}

.download-btn:hover {
    background-color: var(--blue-darker);
    border-color: var(--blue-darker);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 31, 63, 0.3);
}

/* Badge styles for consistency */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge.bg-slate-200 {
    background-color: #e2e8f0;
}

.badge.text-slate-700 {
    color: #334155;
}

.badge.bg-blue-100 {
    background-color: #dbeafe;
}

.badge.text-blue-700 {
    color: #1d4ed8;
}

.badge.bg-yellow-100 {
    background-color: #fef3c7;
}

.badge.text-yellow-700 {
    color: #a16207;
}

/* Card styles for agenda and presentations */
.card {
    background: white;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.card.border-none {
    border: none;
}

.card.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card:hover.hover\:shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1.2rem 0;
    }
    
    header.scrolled {
        padding: 0.24rem 0;
    }
    
    header .logo img {
        height: 72px;
    }

    header nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
