/* style.css */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

:root{
  --bg-base:#07183d;
  --bg-overlay-start:rgba(7,24,61,0.84);
  --bg-overlay-end:rgba(10,38,92,0.90);
  --surface:#0b2360;
}

body{
  font-family:'Poppins', sans-serif;
  background:var(--bg-base);
  color:white;
  overflow-x:hidden;
  line-height:1.6;
}


img{
  max-width:100%;
  height:auto;
  display:block;
}

a{
  transition:all 0.3s ease;
}

a:hover{
  opacity:0.8;
}

/* HERO */

.hero{
  width:100%;
  min-height:100vh;
  background:linear-gradient(var(--bg-overlay-start), var(--bg-overlay-end));
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
}

/* HEADER */

.top-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px clamp(15px, 5vw, 50px);
  background:var(--surface);
  flex-wrap:wrap;
  gap:15px;
}

.header-left,
.header-right{
  display:flex;
  gap:15px;
  align-items:center;
}

.iift-logo,
.header-right img{
  transition:transform 0.3s ease;
}

.iift-logo:hover,
.header-right img:hover{
  transform:scale(1.05);
}

.header-center{
  text-align:center;
  flex:1;
  min-width:200px;
}

.header-center h1{
  font-size:clamp(18px, 4vw, 30px);
  font-weight:700;
}

.header-center h2{
  font-size:clamp(20px, 5vw, 34px);
  font-weight:800;
  margin-top:5px;
}

.header-center p{
  font-size:clamp(14px, 3vw, 18px);
  font-weight:500;
}

/* CONFERENCE */

.conference-banner{
  display:flex;
  align-items:center;
  gap:clamp(15px, 4vw, 25px);
  padding:clamp(20px, 5vw, 35px) clamp(15px, 5vw, 50px);
  background:
    linear-gradient(rgba(8, 35, 96, 0.78), rgba(8, 35, 96, 0.78)),
    url('assets/iift.jpeg');
  background-size:cover;
  background-position:center;
  animation:slideUp 0.8s ease-out;
}

.conference-logo img{
  flex-shrink:0;
  width:clamp(60px, 15vw, 90px);
}

.conference-text h3{
  font-size:clamp(18px, 5vw, 28px);
  margin-bottom:20px;
  font-weight:700;
  color:#f5f8ff;
}

.quote-box{
  display:flex;
  align-items:center;
  gap:clamp(10px, 3vw, 20px);
}

.quote{
  font-size:clamp(40px, 15vw, 90px);
  color:#d6def7;
  font-weight:800;
  line-height:1;
}

.quote-box h1{
  font-size:clamp(24px, 6vw, 42px);
  line-height:1.4;
  font-weight:800;
  color:#ffffff;
}

/* WORKSHOP */

.workshop-title{
  text-align:center;
  margin-top:clamp(30px, 8vw, 50px);
  background:#f2f2f2;
  padding-top:clamp(24px, 5vw, 40px);
}

.workshop-title h2{
  font-size:clamp(28px, 8vw, 48px);
  font-weight:800;
  color:#102657;
}

/* SPEAKER */

.speaker-section{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:clamp(40px, 10vw, 60px) clamp(15px, 5vw, 20px);
  background:#f2f2f2;
  animation:fadeInUp 0.8s ease-out;
}

.speaker-image{
  width:clamp(200px, 50vw, 260px);
  aspect-ratio:1/1;
  border-radius:50%;
  border:clamp(8px, 2vw, 15px) solid #f5c56d;
  overflow:hidden;
  margin-bottom:clamp(25px, 5vw, 35px);
  box-shadow:0 15px 40px rgba(0,0,0,0.4);
  transition:transform 0.3s ease;
}

.speaker-image:hover{
  transform:scale(1.05);
}

.speaker-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.speaker-details{
  text-align:center;
  max-width:1000px;
  width:100%;
}

.speaker-details h2{
  font-size:clamp(28px, 6vw, 42px);
  margin-bottom:15px;
  font-weight:700;
  color:#102657;
}

.designation{
  font-size:clamp(14px, 3vw, 18px);
  line-height:1.8;
  font-weight:600;
  letter-spacing:0.5px;
  margin-bottom:clamp(20px, 5vw, 35px);
  color:#1d3368;
}

.speaker-details h3{
  font-size:clamp(18px, 5vw, 42px);
  line-height:1.5;
  font-style:italic;
  font-weight:700;
  color:#102657;
}

/* EVENT INFO */

.event-info{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:clamp(25px, 5vw, 40px) clamp(15px, 5vw, 80px) clamp(40px, 10vw, 70px);
  flex-wrap:wrap;
  gap:clamp(25px, 5vw, 80px);
  background:#f2f2f2;
}

.register-box{
  flex:1;
  min-width:280px;
  animation:slideInLeft 0.8s ease-out;
}

.register-box h2{
  font-size:clamp(28px, 6vw, 45px);
  margin-bottom:clamp(12px, 3vw, 20px);
  font-weight:700;
  color:#102657;
}

.register-box a{
  color:#1c356d;
  text-decoration:underline;
  font-size:clamp(14px, 2.5vw, 20px);
  word-break:break-word;
  display:inline-block;
  padding:8px 0;
}

.register-box a:hover{
  color:#f5c56d;
}

.register-btn{
  background:#f5c56d;
  color:#0c1e52 !important;
  border:2px solid #f5c56d;
  border-radius:8px;
  padding:10px 22px !important;
  text-decoration:none !important;
  font-size:clamp(14px, 2.6vw, 20px);
  font-weight:700;
  letter-spacing:0.4px;
}

.register-btn:hover{
  background:transparent;
  color:#f5c56d !important;
}

.date-venue{
  display:flex;
  flex-direction:column;
  gap:clamp(18px, 4vw, 25px);
  flex:1;
  min-width:280px;
}

.info-card{
  display:flex;
  align-items:flex-start;
  gap:clamp(12px, 3vw, 18px);
  animation:slideInRight 0.8s ease-out;
}

.icon{
  font-size:clamp(32px, 7vw, 45px);
  flex-shrink:0;
}

.info-card h4{
  font-size:clamp(16px, 3vw, 24px);
  margin-bottom:5px;
  font-weight:700;
  color:#102657;
}

.info-card p{
  font-size:clamp(14px, 2.5vw, 20px);
  line-height:1.4;
  color:#1d3368;
}

.second-workshop{
  margin-top:clamp(20px, 6vw, 60px);
  padding-top:clamp(20px, 5vw, 40px);
  border-top:none;
  background:transparent;
}

.second-workshop .workshop-title,
.second-workshop .speaker-section,
.second-workshop .event-info{
  background:transparent;
}

.second-workshop .workshop-title h2,
.second-workshop .speaker-details h2,
.second-workshop .speaker-details h3,
.second-workshop .register-box h2,
.second-workshop .info-card h4,
.second-workshop .info-card p,
.second-workshop .register-box a,
.second-workshop .designation{
  color:#ffffff;
}

.second-workshop .quote,
.second-workshop .register-box a:hover{
  color:#f5c56d;
}

/* PARTNER */

.partner-section{
  background:#f2f2f2;
  color:#111;
  padding:clamp(35px, 8vw, 50px) clamp(15px, 5vw, 20px);
  text-align:center;
  animation:fadeIn 0.8s ease-out;
}

.partner-section h2{
  font-size:clamp(24px, 6vw, 38px);
  margin-bottom:clamp(25px, 5vw, 40px);
  font-weight:700;
}

.partner-box{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:clamp(25px, 5vw, 60px);
  flex-wrap:wrap;
  max-width:1000px;
  margin:0 auto;
}

.partner-left img{
  width:clamp(200px, 50vw, 320px);
  height:auto;
}

.partner-right h3{
  font-size:clamp(20px, 5vw, 32px);
  margin-bottom:10px;
  font-weight:700;
}

.partner-right p{
  font-size:clamp(18px, 4vw, 26px);
}

/* CONTACT STRIP */

.contact-strip{
  background:#f4f6fb;
  color:#0d1f4f;
  text-align:center;
  padding:12px 16px;
  border-top:2px solid #d7deee;
  border-bottom:2px solid #d7deee;
}

.contact-strip p{
  margin:0 auto;
  max-width:1000px;
  font-size:clamp(13px, 2.2vw, 20px);
  font-weight:600;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:6px 10px;
}

.contact-strip .contact-item{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:6px;
}

.contact-strip a{
  color:#0d1f4f;
  text-decoration:none;
}

.contact-strip a:hover{
  text-decoration:underline;
  color:#13348a;
}

.contact-strip .sep{
  margin:0 10px;
  color:#5d6b90;
}

/* FOOTER */

footer{
  background:var(--surface);
  padding:clamp(15px, 3vw, 20px);
  display:flex;
  justify-content:space-around;
  align-items:center;
  flex-wrap:wrap;
  gap:clamp(15px, 3vw, 20px);
  font-size:clamp(12px, 2.5vw, 18px);
  text-align:center;
}

footer a{
  color:white;
  text-decoration:none;
}

footer a:hover{
  color:#f5c56d;
}

.social-handle,
.social-org{
  display:flex;
  align-items:center;
  gap:10px;
}

.social-handle img,
.social-org img{
  width:22px;
  height:22px;
  object-fit:contain;
  border-radius:4px;
}

.social-org img[alt="Facebook"]{
  width:26px;
  height:26px;
}

/* ANIMATIONS */

@keyframes slideUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes fadeInUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes fadeIn{
  from{
    opacity:0;
  }
  to{
    opacity:1;
  }
}

@keyframes slideInLeft{
  from{
    opacity:0;
    transform:translateX(-30px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}

@keyframes slideInRight{
  from{
    opacity:0;
    transform:translateX(30px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}

.show{
  animation:fadeInUp 0.8s ease-out !important;
}

/* RESPONSIVE BREAKPOINTS */

@media(max-width:1024px){
  .event-info{
    justify-content:space-around;
  }
}

@media(max-width:768px){
  .top-header{
    flex-direction:column;
    padding:15px 10px;
  }

  .header-left,
  .header-right{
    flex-wrap:wrap;
    justify-content:center;
  }

  .conference-banner{
    flex-direction:column;
    text-align:center;
    padding:20px 15px;
  }

  .conference-logo img{
    width:100px;
  }

  .quote-box{
    flex-direction:column;
  }

  .quote{
    display:none;
  }

  .speaker-image{
    width:200px;
  }

  .event-info{
    flex-direction:column;
    align-items:center;
  }

  .register-box,
  .date-venue{
    width:100%;
  }

  .partner-left img{
    width:80vw;
    max-width:250px;
  }
}

@media(max-width:480px){
  .top-header{
    padding:12px 10px;
    gap:10px;
  }

  .header-left,
  .header-right{
    gap:8px;
  }

  .header-center h1{
    font-size:16px;
  }

  .header-center h2{
    font-size:18px;
  }

  .header-center p{
    font-size:12px;
  }

  .conference-banner{
    padding:15px 10px;
    gap:10px;
  }

  .workshop-title{
    margin-top:20px;
  }

  .speaker-image{
    width:150px;
    border-width:6px;
  }

  .speaker-details h2{
    font-size:20px;
  }

  .speaker-details h3{
    font-size:14px;
  }

  .designation{
    font-size:12px;
  }

  .event-info{
    padding:20px 10px 30px;
    gap:15px;
  }

  .register-box a{
    font-size:12px;
  }

  .info-card h4{
    font-size:14px;
  }

  .info-card p{
    font-size:12px;
  }

  footer{
    padding:10px 5px;
    font-size:11px;
    gap:10px;
  }

  .social-handle,
  .social-org{
    justify-content:center;
    width:100%;
    flex-wrap:wrap;
  }

  .contact-strip p{
    line-height:1.5;
    flex-direction:column;
    gap:8px;
  }

  .contact-strip .sep{
    display:none;
  }

  .contact-strip .contact-item{
    width:100%;
  }
}

/* LANDSCAPE MODE */

@media(max-height:600px) and (orientation:landscape){
  .hero{
    min-height:auto;
  }

  .speaker-section,
  .event-info{
    padding:30px 20px;
  }
}

/* ACCESSIBILITY */

@media(prefers-reduced-motion:reduce){
  *{
    animation:none !important;
    transition:none !important;
  }
}

@media(prefers-color-scheme:dark){
  body{
    background:var(--bg-base);
  }
}