/* ========== Global Reset ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    padding-top: 0px;
}

.container {
    margin: 0 auto;
    padding: 0px 20px;
}

/* ========== Header ========== */
header {
    background: #fff;
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 60px;
    margin-right: 30px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.btn-primary {
    background: #40c5ff;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: auto;
}

.close-btn,
.hamburger,
.nav-links .btn-primary {
    display: none;
}

.hamburger {
    font-size: 28px;
    cursor: pointer;
    user-select: none;
}

/* ========== Webinar Section ========== */
.webinar-section {
    text-align: center;
    padding: 100px 20px;
    background: #fff;
}

.webinar-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.4;
}

.webinar-content .subtitle {
    font-size: 1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.webinar-banner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    background: url("../images/webinar-bg.png") no-repeat center center/cover;
    border-radius: 0px;
    overflow: hidden;
    height: 420px;
}

.banner-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.9) 20%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.1) 100%);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
    height: 100%;
    justify-content: center;
}

.banner-overlay h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.banner-overlay p {
    font-size: 1rem;
    margin-bottom: 90px;
}

.btn-join {
    display: inline-block;
    background: #40c5ff;
    color: #fff;
    padding: 13px 60px;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-join:hover {
    background: #40c5ff;
    transform: translateY(-2px);
}

/* ========== QA Strips ========== */
.qa-strips {
    padding: 40px 20px 10px;
    background: #fff;
}

.qa-grid {
    max-width: 1200px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
}

.qa {
    --accent: #f4742f;
    position: relative;
    padding: 18px 8px 40px;
    min-height: 240px;
    background: transparent;
}

.qa::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.qa-icon {
    display: inline-flex;
    margin-top: 14px;
    margin-bottom: 14px;
    color: var(--accent);
}

.qa h2 {
    margin: 0;
    font-weight: 800;
    color: #151515;
    line-height: 1.12;
    letter-spacing: -0.3px;
    font-size: clamp(28px, 3.4vw, 44px);
    max-width: 28ch;
    text-align: left;
}

.qa-orange {
    --accent: #f4742f;
}

.qa-blue {
    --accent: #2a92ff;
    margin-top: 100px;
}

/* Responsive QA */
@media (max-width: 900px) {
    .qa-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .qa {
        min-height: auto;
        padding-bottom: 12px 8px 16px;
    }
}

/* ========== CTA Webinar Section ========== */
.cta-webinar {
    background: url("../images/Group\ 1261152819.png") no-repeat center center/cover,
        linear-gradient(135deg, #1ecbff, #00aaff);
    text-align: center;
    padding: 80px 20px;
    color: #fff;
    height: 350px;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 20.5px;
    margin-bottom: 55px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: #40c5ff;
    padding: 20px 48px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    background: #f4f4f4;
    color: #40c5ff;
}

/* ========== Resources Section ========== */
.resources-section {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.resources-section h2 {
    font-size: 48px;
    margin-bottom: 30px;
    font-weight: bolder;
}

.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 75px;
    gap: 20px;
    overflow: hidden; 
    margin-left: 200px;
    margin-right:200px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  gap:30px;
}

.slide {
  min-width: 100px;     /* each video takes full viewport */
  flex-shrink: 0;
}

.slide iframe {
  width: 100%;
  height: 220px;       /* adjust height as you like */
  border: none;
  border-radius: 12px;
}

.arrow {
    background: #00aaff;
    border: none;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.arrow:hover {
    background: #0097a7;
}

.arrow.left {
    margin-right: 15px;
}

.arrow.right {
    margin-left: 15px;
}


/* ========== Footer ========== */
/* Footer */
footer {
  background-color: #1A1F36;
  color: #fff;
  margin-top: 80px;
}

/* Main Layout */
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 20px;
}

/* Left Section */
.footer-left {
  flex: 1;
  min-width: 280px;
  margin-left: 100px;
}

.footer-left p {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Right Section - Newsletter */
.footer-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;   
  align-items: flex-end;    
}

.footer-bottom .links {
    display: flex;
    gap: 100px;
}

.footer-bottom .links a {
  color: #fff;        
  text-decoration: none; 
  transition: color 0.3s;
}

.footer-bottom .links a:hover {
  color: #ffc53d; 
}
.newsletter-box {
    background: #ffc53d;
    padding: 30px;
    border-radius: 2px;
    color: #000;
    max-width: 450px;
    width: 100%;
    margin-right: 100px;
    height: 100%;
}

.newsletter-box h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-box p {
  font-size: 14px;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.newsletter-form button {
  background: #1a1f36; /* Dark button */
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #333;
}

/* Contact icons */
.contact-info {
    display: flex;
    align-items: flex-start;
    text-align: left;
    flex-direction: column; 
    gap: 40px; 
}
.callMail {
    display: flex;       
    align-items: center; 
    gap: 20px;          
}

.callMail img {
    width: 40px;  
    height: 40px;  
    object-fit: contain; 
}

.callMail p {
  margin: 0;            
  line-height: 1.2;     
  font-weight: 600;   
}

.callMail span {
  display: block;   
  margin-top: 2px;      
  font-size: 14px;      
}

.footer-bottom {
  display: flex;
  justify-content: space-between; 
  align-items: center;        
  flex-wrap: wrap;            
  padding: 20px 40px;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .social {
  display: flex;
  gap: 15px;
}

.footer-bottom .social a img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.footer-bottom .social a img:hover {
  transform: scale(1.1);
}

.footer-right .logo {
  margin-top: 15px;
}

.footer-right .logo img {
  max-width: 180px;
  height: 50px;
  display: block;
  margin-right: 100px;
  border-radius: 2px;
}

.callMail img {
    width: 40px;  
    height: 40px;  
    object-fit: contain; 
}


/* ========== Mobile Responsive ========== */
@media (max-width: 768px) {

    .btn-primary {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        background: #fff;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 2000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        display: block;
        margin: 10px 0;
        font-weight: 600;
        color: #333;
        text-decoration: none;
    }

    .nav-links .btn-primary {
        display: inline-block;
        margin-top: 20px;
        text-align: center;
    }

    .close-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        color: #333;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1500;
        display: none;
    }
    
    .nav-overlay.active {
        display: block;
    }

    .hamburger {
        display: block;
        margin-left: auto;
        font-size: 28px;
        cursor: pointer;
    }

    .logo img {
        height: 50px;
    }

    .webinar-content h1 {
        font-size: 24px;
        text-align: left;
    }

    .webinar-content .subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
        text-align: left;
    }

    .webinar-banner {
        height: auto;
        border-radius: 0px;
        width: 100%;
    }

    .banner-overlay {
        padding: 30px 15px;
    }

    .banner-overlay h2 {
        font-size: 1.6rem;
    }

    .banner-overlay p {
        font-size: 0.9rem;
    }

    .btn-join {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .qa-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .qa-icon {
        margin: 0 8px 0 0;
    }

    .qa h2 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .qa-blue {
        margin-top: 10px;
    }

    /* CTA Webinar */
    .cta-webinar {
        margin-bottom: 10px;
        padding: 30px 15px;
    }

    .cta-content h2 {
        font-size: 1.4rem;
        padding-left: 20px;
        padding-right: 10px;
    }

    .cta-content p {
        font-size: 0.9rem;
        padding-left: 20px;
        padding-right: 10px;
    }

    .cta-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .resources-section {
        padding: 40px 15px;
    }

    .resources-section h2 {
        font-size: 1.8rem;
        margin-top: 0;
    }

    /* Resources Slider */
    .slider {
        width: 100%;
        gap: 10px;
        flex: 0 0 100%;
    }

    .slide {
        min-width: 100%;
    }

    .slide iframe {
        width: 100%;
        height: 220px;
    }

    .slider-container {
        margin-top: 25px;
        margin-left: 5px;
        margin-right:5px;
    }

    .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #00aaff;
        color: #fff;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
    }

    .arrow.left {
        left: -1px;
    }

    .arrow.right {
        right: -1px;
    }

      footer {
        background-color: #1A1F36;
        color: #fff;
        width: 100%;     /* ensure full width */
    }

  .footer-main.container, 
    .footer-bottom.container {
        max-width: 1200px;  /* keep content aligned */
        margin: 0 auto;     
        padding: 40px 20px;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }
    .footer-left {
        flex: 1;
        min-width: 280px;
        margin-left: 0px;
    }
    
    .footer-left p {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .footer-right { order: 1; }   
    .footer-left { order: 2; }
    
    .footer-right {
        width: 100%;             
        flex-direction: column;    
        align-items: flex-start;  
    }

    .newsletter-box {
        width: 100%;             
        max-width: 400px;        
        margin: 0 -10px;   
        margin-bottom: 30px;     
    }
    
    .footer-right .logo {
        margin: 0;  
        margin-bottom: 30px;         
    } 
    .contact-info {
        display: flex;
        align-items: left;
        text-align: left;
        flex-direction: column; 
        gap: 10px; 
    }
    .callMail {
        display: flex;       
        align-items: center; 
        gap: 10px;          
    }

    .callMail img {
        width: 40px;  
        height: 40px;  
        object-fit: contain; 
    }

    .callMail p {
        margin: 0;            
        line-height: 1.2;     
        font-weight: 600;   
    }
    
    .callMail span {
        display: block;   
        margin-top: 2px;      
        font-size: 14px;      
    }

    .footer-bottom {
        display: flex;
        flex-direction: column; /* stack copyright, links, social vertically */
        align-items: flex-start; /* align everything to the left */
        gap: 10px; /* spacing between elements */
    }

    .footer-bottom p {
        order: 1;
    }

    .footer-bottom .links {
        order: 2;
        display: flex;
        flex-direction: column; /* stack links vertically */
        gap: 5px;
    }

    .footer-bottom .social {
        order: 3;
        display: flex;
        flex-direction: row; /* horizontal icons */
        justify-content: flex-start; /* align left */
        gap: 10px;
    }
    .callMail div {
        display: flex;        
        flex-direction: column; 
    }
    .footer-bottom .links {
        flex-direction: column;
        gap: 1px; 
    }
    /* Contact Section */
    .contact-info {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
        text-align: left;
        align-items: flex-start;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .contact-item i,
    .contact-item img {
        font-size: 22px;
        width: 30px;
        height: 30px;
    }

    .footer-bottom {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
        text-align: left;
        align-items: flex-start;
    }

    .footer-bottom .links {
        flex-direction: column;
        gap: 8px;
    }

    .footer-bottom a {
        margin: 0px 0;
        display: block;
    }

    .social {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .social span {
        font-size: 14px;
        font-weight: 500;
    }

    .social a img {
        width: 22px;
        height: 22px;

    }

}

@media (max-width: 480px) {

    .webinar-content {
        padding: 0 15px; /* adds even spacing left & right */
        text-align: left; /* aligns all children text */
    }

    .webinar-content h1 {
        font-size: 24px;
        text-align: left;
        margin: 0 0 10px 0;
    }

    .webinar-content .subtitle {
        font-size: 14px;
        margin: 0 0 20px 0; /* same left alignment as h1 */
        text-align: justify; /* optional, if you want subtitle justified */
    }

    .webinar-section {
        padding: 100px 0px 15px;
    }

    .banner-overlay {
        padding: 50px 20px;
    }

    .banner-overlay p {
        margin-bottom: 15px;
    }

    .btn-join {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .cta-webinar {
        padding: 15px 12px;   
        margin-bottom: 0px; 
        height: 250px; 
    }
    
    .cta-content h2 {
        font-size: 28px;
        text-align: left; 
    }
    
    .cta-content p {
        text-align: left;        
    }
    

    .qa {
        padding: 10px 6px 14px;
    }

    .qa h2 {
        font-size: 1.2rem;
    }

    .resources-section h2 {
        font-size: 1.8rem;
        padding: 10px 5px;
    }

    .slider {
        width: 100%;
        gap: 10px;
        flex: 0 0 100%;
    }

    .slide {
        min-width: 100px;
    }

    .slide iframe {
        width: 260px;
        height: 220px;
    }


    .slider-container {
        margin-top: 15px;
        margin-top: 5px;
        margin-top: 5px;
        
    }
    
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        display: none;
        z-index: 1500; /* below nav-links (2000) */
    }
    
    .nav-overlay.active {
        display: block;
    }
}