/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

/* Hero Section */
.hero-section {
/*     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: linear-gradient(135deg, #417DF2 10%, #74A2FF 80%);
    padding: 160px 0 40px;
    color: white;
    position: relative;
    overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.logo-icon svg {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.brand-tagline {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1;
}

.year {
    display: block;
    font-weight: 700;
    color:#000;
          font-family: 'Nunito';
}

.webinars-text {
    color: #ffffff;
    
    text-decoration-color: #87CEEB;
    text-underline-offset: 8px;
    text-decoration-thickness: 3px;
      font-family: 'Nunito';
}

.cta-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cta-text {
    font-size: 1.1rem;
    margin: 0;
}

.cta-arrow {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Video Call Mockup */
.video-call-mockup {
    position: relative;
    max-width: 400px;
    margin-left: auto;
}

.screen {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.participant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.participant {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #4A90E2, #357ABD);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.participant::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.laptop-base {
    height: 20px;
    background: linear-gradient(to bottom, #ddd, #bbb);
    border-radius: 0 0 20px 20px;
    margin-top: -2px;
}

/* Webinars Section */
.webinars-section {
    padding: 80px 0;
    background: white;
}

.month-section {
    margin-bottom: 80px;
}

.month-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 50px;
    position: relative;
}

.month-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #4A90E2;
}

/* Webinar Grid */
.webinar-grid {
    display: grid;
    gap: 40px;
  margin-bottom:40px
}

.webinar-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 400px;
  position:relative; 
  overflow:hidden; 
}

.webinar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.webinar-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.webinar-title {
    color: #000000;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    text-align: left;
    margin-bottom: 20px;
      font-family: 'Nunito';
}

.webinar-meta {
      font-family: 'Nunito';
}

.date-time {
    display: flex;
    flex-direction: column;
    gap: 8px;
    
}

.date, .time {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #666;
}

.date i, .time i {
    color: #4A90E2;
    width: 16px;
}

.webinar-description {
    flex-grow: 1;
      font-family: 'Nunito';
}

.webinar-description p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
  
}

.webinar-description ul {
    list-style: none;
    padding: 0;
}

.webinar-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #555;
    line-height: 1.5;
}

.webinar-description li::before {
    content: '•';
    color: #101010;
    font-size: 1.4em;
    top: -0.4vh;
    position: absolute;
    left: 0;
}

/* Presenter Box */
.presenters-box {
  background:#f5f5f5;
  border-radius:12px;
  padding:20px 24px;
 box-shadow: 
    inset 0 20px 20px -20px rgba(0, 0, 0, 0.1),   /* top edge */
    inset 0 -20px 20px -20px rgba(0, 0, 0, 0.1); /* bottom edge */
      font-family: 'Nunito';
}

.presenters-heading {
  font-size:1rem;
  font-weight:600;
  color:#333;
  margin-bottom:16px;
}

/* Keep presenter layout inside */
.presenters {
  display:flex;
  gap:30px;
  flex-wrap:wrap;
}


.presenter {
display: flex
;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
    /* background-color: white; */
    border-radius: 99px;
    padding: 0.6em;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 6px 10px;
    max-width: auto;
    background: linear-gradient(to top, #f6f6f6, #ffffff);
}

.presenter-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    position: relative;
}

.avatar-placeholder::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
}

.avatar-placeholder::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 15px;
    background: white;
    border-radius: 15px 15px 0 0;
}

.presenter-info {
    flex-grow: 1;
}

.presenter-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 2px;
}

.presenter-name {
    font-weight: 600;
  font-size:1.1rem;
    color: #4A90E2;

}

.presenter-title {
    font-size: 0.85rem;
    color: #666;
    font-weight:600;
  
}

/* Buttons */
.btn {
    padding: 24px 38px;
    border-radius: 40px;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #000000;
    color: white;
}

.btn-primary:hover {
    background: #2ED6BD;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

.btn-secondary:hover {
    background: #4A90E2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* Webinar Visual */
.webinar-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #E8F4FD 0%, #D1E7F5 100%);
 padding:0;
}

.webinar-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
object-position:center; 
display:block; 
}

/* Overlay icon */
.platform-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.9);
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.platform-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}



.illustration svg {
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .webinar-card {
        grid-template-columns: 1fr;
    }
    
    .webinar-visual {
        order: -1;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 160px 0 0px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .webinar-content {
        padding: 30px;
        gap: 20px;
    }
    
    .webinar-title {
        font-size: 1.5rem;
    }
    
    .presenters {
        flex-direction: column;
        gap: 20px;
    }
    
    .month-title {
        font-size: 2rem;
    }
    
    .webinars-section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cta-section {
        flex-direction: column;
        gap: 20px;
    }
    
    .webinar-content {
        padding: 20px;
    }
    
    .webinar-title {
        font-size: 1.3rem;
    }
    
    .btn {
        width: 100%;
        padding: 16px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .cta-arrow {
        animation: none;
    }
    
    .webinar-card {
        transition: none;
    }
    
    .btn {
        transition: none;
    }
}

/* Focus States */
.btn:focus {
    outline: 2px solid #4A90E2;
    outline-offset: 2px;
}

.webinar-card:focus-within {
    outline: 2px solid #4A90E2;
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    .hero-section {
        background: white !important;
        color: black !important;
    }
    
    .webinar-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn {
        display: none;
    }
}




/* Make visual image fill & center, overriding HubSpot inline styles */
.webinar-visual{
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #E8F4FD 0%, #D1E7F5 100%); /* fallback when no image */
  margin: 0; /* kill figure default margins just in case */
  padding: 0; /* no inner padding so the image can truly fill */
  display: block;
}

.webinar-visual img{
  display:block;
  width:100% !important;   /* defeat inline width/height */
  height:100% !important;  /* defeat inline height:auto */
  object-fit:cover;        /* fill area */
  object-position:center;  /* center the crop */
}

/* Optional: ensure a nice height when stacked on mobile */
@media (max-width:1024px){
  .webinar-visual{ aspect-ratio: 16 / 9; }
  
  
}

.btn-black {
  background:#000;
  color:#fff;
  border-radius:9999px;
  padding:14px 24px;
  font-weight:600;
  font-size:1rem;
  line-height:1;
  text-decoration:none;
  display:inline-block;
  transition:background .3s ease, transform .2s ease, box-shadow .2s ease;
}

.btn-black:hover {
  background:#2ED6BD; /* hover colour */
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(0,0,0,.25);
}

.btn-outline {
    background: transparent;
    border: 2px solid #000;
    border-radius: 9999px;
    color: #000;
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    padding: 12px 24px;
    text-decoration: none;
    transition: background .3s ease, transform .2s ease, box-shadow .2s ease, color .3s ease;
}

/* .btn-outline::after {
    content: "+"; 
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
    display: inline-block;
    transform: translateY(-1px); /* nudge for optical centering */
} */

.btn-outline:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


@media (max-width:768px){
  .webinar-action .btn-black {
    width:100%;
    text-align:center;
  }
}

/* Larger, consistent gutters for date/time icons */
.meta-icon{
  width:28px; height:28px; flex:0 0 28px;
  display:inline-flex; align-items:center; justify-content:center;
}
.meta-icon img{
  width:100%; height:100%;
  object-fit:contain; object-position:center;
  display:block;
}

/* Ensure rows align nicely with the new span */
.date, .time{
  display:flex; align-items:center; gap:10px;
}


/* Top-right overlay badge */
.platform-badge{
  position:absolute;
  top:12px;
  right:12px;
  z-index:3; /* over the image */
  background:rgba(255,255,255,0.95);
  border-radius:12px;
  padding:6px;
  box-shadow:0 2px 10px rgba(0,0,0,.15);
}
.platform-badge img{
  width:32px; height:32px; object-fit:contain; display:block;
}
.platform-badge a{ display:block; line-height:0; }

/* Optional: slightly smaller on mobile */
@media (max-width:768px){
  .platform-badge{ top:10px; right:10px; padding:5px; border-radius:10px; }
  .platform-badge img{ width:28px; height:28px; }
}