/* =========================
FILE: style.css
========================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html,
body{
  width:100%;
  overflow-x:hidden;
}
/* =========================
DARK MODE VARIABLES
========================= */

:root{

  --bg:#ffffff;
  --text:#0f172a;
  --paragraph:#475569;

  --card:#ffffff;

  --border:#e2e8f0;

  --nav:#ffffff;

  --soft:#f8fafc;

  --primary:#2563eb;
}

/* DARK MODE */

body.dark-mode{

  --bg:#020617;

  --text:#f8fafc;

  --paragraph:#cbd5e1;

  --card:#0f172a;

  --border:#1e293b;

  --nav:#020617;

  --soft:#0f172a;

  --primary:#60a5fa;
}

/* GLOBAL */

body{

  font-family:'Inter', sans-serif;

  background:var(--bg);

  color:var(--text);

  overflow-x:hidden;

  transition:
  background 0.4s ease,
  color 0.4s ease;
}

/* NAVBAR */

header{
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(15px);
}

body.dark-mode header{
  background:rgba(2,6,23,0.85);
}

/* NAV ACTIONS */

.nav-actions{
  display:flex;
  align-items:center;
  gap:20px;
}

/* THEME BUTTON */

#theme-toggle{
  width:45px;
  height:45px;

  border:none;

  border-radius:50%;

  cursor:pointer;

  background:var(--soft);

  color:var(--text);

  font-size:1rem;

  transition:0.3s ease;
}

#theme-toggle:hover{
  transform:rotate(180deg) scale(1.08);
}

/* MOBILE MENU */

.menu-toggle{
  display:none;

  flex-direction:column;

  gap:5px;

  cursor:pointer;
}

.menu-toggle span{
  width:26px;
  height:3px;

  background:var(--text);

  border-radius:20px;

  transition:0.3s ease;
}

/* ACTIVE ANIMATION */

.menu-toggle.active span:nth-child(1){
  transform:
  rotate(45deg)
  translateY(11px);
}

.menu-toggle.active span:nth-child(2){
  opacity:0;
}

.menu-toggle.active span:nth-child(3){
  transform:
  rotate(-45deg)
  translateY(-11px);
}

/* MOBILE NAV */

@media(max-width:950px){

  .menu-toggle{
    display:flex;
  }

  
  .nav-links{
  position:fixed;
  top:80px;
  right:-100%;
  width:75%;
  max-width:300px;
  height:calc(100vh - 80px);

  background: var(--card);

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;

  gap:30px;

  padding-top:50px;

  transition:0.4s ease;

  z-index:999;
}

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

  .nav-links a{
    font-size:1.1rem;
  }

}

/* DARK MODE CARDS */

.card,
.project-card,
.video-card,
.contact-card,
.training-card,
.research-card{
  background:var(--card);
  border-color:var(--border);
}

/* TEXT COLORS */

p,
li{
  color:var(--paragraph);
}

h1,h2,h3,h4{
  color:var(--text);
}

/* FOOTER */

footer{
  background:var(--soft);
}

/* SMOOTH TRANSITIONS */

*{
  transition:
  background-color 0.3s ease,
  color 0.3s ease,
  border-color 0.3s ease;
}







*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter', sans-serif;
  background:#ffffff;
  color:var(--text);
  overflow-x:hidden;
}

a{
  text-decoration:none;
}

header{
  position:sticky;
  top:0;
  background:var(--card);
  z-index:1000;
  border-bottom:1px solid #e2e8f0;
}

.navbar{
  width:90%;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
}

.logo{
  font-size:1.4rem;
  font-weight:700;
  color:var(--text);
  font-family:'Poppins', sans-serif;
}

.nav-links{
  display:flex;
  gap:28px;
  list-style:none;
}

.nav-links a{
  color:var(--paragraph);
  font-weight:500;
  transition:0.3s ease;
  position:relative;
}

.nav-links a:hover,
.nav-links a.active{
  color:#2563eb;
}

.hero{
  min-height:90vh;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:60px;
  width:90%;
  margin:auto;
}

.hero-text{
  flex:1;
  animation:fadeLeft 1s ease;
}

.hero-image{
  flex:1;
  display:flex;
  justify-content:center;
}

.hero-image img{
  width:420px;
  max-width:100%;
  animation:float 5s ease-in-out infinite;
}

.tag{
  display:inline-block;
  background:#eff6ff;
  color:#2563eb;
  padding:8px 18px;
  border-radius:50px;
  font-weight:600;
  margin-bottom:20px;
}

.hero h1{
  font-size:4.2rem;
  line-height:1.1;
  margin-bottom:20px;
  font-family:'Poppins', sans-serif;
}

.hero h3{
  color:#2563eb;
  margin-bottom:25px;
}

.hero p{
  line-height:1.9;
  color:var(--paragraph);
  margin-bottom:18px;
  max-width:650px;
}

.hero-buttons{
  display:flex;
  gap:18px;
  margin-top:30px;
  flex-wrap:wrap;
}

.btn{
  background:#2563eb;
  color:white;
  padding:14px 28px;
  border-radius:12px;
  transition:0.3s ease;
  font-weight:600;
}

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

.btn-outline{
  border:2px solid #2563eb;
  color:#2563eb;
  padding:14px 28px;
  border-radius:12px;
  font-weight:600;
  transition:0.3s ease;
}

.btn-outline:hover{
  background:#2563eb;
  color:white;
}

.skills-icons{
  display:flex;
  gap:18px;
  margin-top:35px;
}

.skills-icons i{
  font-size:2.7rem;
  transition:0.3s ease;
}

.skills-icons i:hover{
  transform:scale(1.15);
}

section{
  padding:90px 5%;
}

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h2{
  font-size:2.8rem;
  margin-bottom:15px;
}

.section-title p{
  color:#64748b;
}

.cards-container,
.video-grid,
.contact-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px,1fr));
  gap:30px;
}

.card,
.video-card,
.project-card,
.contact-card{
  background:var(--card);
  border:1px solid #e2e8f0;
  border-radius:24px;
  padding:35px;
  transition:0.4s ease;
  box-shadow:0 10px 30px rgba(0,0,0,0.04);
}

.card:hover,
.video-card:hover,
.project-card:hover,
.contact-card:hover{
  transform:translateY(-10px);
}

.card i,
.contact-card i{
  font-size:2rem;
  color:#2563eb;
  margin-bottom:20px;
}

.card h3,
.project-card h2{
  margin-bottom:15px;
}

.card p,
.project-card p{
  line-height:1.8;
  color:var(--paragraph);
}

.page-hero{
  padding:120px 5% 80px;
  text-align:center;
  background:#f8fafc;
}

.page-hero h1{
  font-size:3.5rem;
  margin-bottom:20px;
}

.page-hero p{
  color:#64748b;
  max-width:700px;
  margin:auto;
  line-height:1.8;
}

.story{
  max-width:1000px;
  margin:auto;
}

.story-text h2{
  margin-bottom:25px;
  font-size:2.2rem;
}

.story-text p{
  line-height:2;
  margin-bottom:20px;
  color:var(--paragraph);
}

.video-card img{
  width:100%;
  border-radius:18px;
  margin-bottom:20px;
}

.video-card h3{
  margin-bottom:15px;
}

.youtube-button{
  text-align:center;
  margin-bottom:80px;
}

.project-card{
  margin:40px auto;
  max-width:1100px;
}

.project-card ul{
  padding-left:20px;
  margin-top:20px;
}

.project-card li{
  margin-bottom:12px;
  color:var(--paragraph);
}

.mini-project{
  margin-top:35px;
  padding-top:30px;
  border-top:1px solid #e2e8f0;
}

.quote-section{
  padding-top:0;
}

.quote-card{
  max-width:900px;
  margin:auto;
  background:#2563eb;
  color:white;
  text-align:center;
  padding:60px;
  border-radius:30px;
}

.quote-card i{
  font-size:2rem;
  margin-bottom:20px;
}

.quote-card p{
  font-size:1.4rem;
  line-height:1.8;
}

.contact-card{
  text-align:center;
}

.contact-card a{
  color:#2563eb;
}

footer{
  background:#f8fafc;
  text-align:center;
  padding:35px;
  color:#64748b;
  margin-top:60px;
}

/* ANIMATIONS */

.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:all 0.8s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

@keyframes fadeLeft{
  from{
    opacity:0;
    transform:translateX(-40px);
  }

  to{
    opacity:1;
    transform:translateX(0);
  }
}

@keyframes float{
  0%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-18px);
  }

  100%{
    transform:translateY(0px);
  }
}

/* RESPONSIVE */

@media(max-width:950px){

  .hero{
    flex-direction:column-reverse;
    text-align:center;
    padding-top:50px;
  }

  .hero-buttons,
  .skills-icons{
    justify-content:center;
  }

  .hero h1{
    font-size:3rem;
  }

  .page-hero h1{
    font-size:2.5rem;
  }

  .nav-links{
    gap:14px;
    font-size:0.9rem;
  }

  .hero-image img{
    width:300px;
  }

}




/* RESEARCH BANNER */

.research-banner{
  position:relative;
  min-height:70vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;

  background:
  linear-gradient(
    rgba(15,23,42,0.75),
    rgba(15,23,42,0.78)
  ),

  url("images/drug-banner.jpg");

  background-size:cover;
  background-position: center;
}

.research-banner-content{
  position:relative;
  z-index:2;
  max-width:950px;
  padding:20px;
  color:white;
}

.banner-tag{
  display:inline-block;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.2);
  padding:10px 18px;
  border-radius:50px;
  margin-bottom:25px;
  backdrop-filter:blur(10px);
  font-size:0.95rem;
}

.research-banner h1{
  font-size:3.8rem;
  margin-bottom:20px;
  font-family:'Poppins', sans-serif;
}

.research-banner p{
  font-size:1.1rem;
  line-height:1.9;
  color:#e2e8f0;
  max-width:800px;
  margin:auto;
}

.research-icons{
  margin-top:35px;
  display:flex;
  justify-content:center;
  gap:25px;
}

.research-icons i{
  font-size:2rem;
  color:white;
  animation:float 4s ease-in-out infinite;
}


/* RESEARCH BANNER IMAGE */

.research-banner{
  position:relative;
  overflow:hidden;
}

/* YOUR LAB IMAGE */

.research-banner-image{
  position:absolute;

  right:7%;
  bottom:0;

  height:95%;

  object-fit:contain;

  z-index:1;

  opacity:0.20;

  filter:
  grayscale(10%)
  blur(0.5px);

  pointer-events:none;
}

/* KEEP TEXT ABOVE IMAGE */

.research-banner-content{
  position:relative;
  z-index:3;
}

/* MOBILE */

@media(max-width:950px){

  .research-banner-image{
    height:70%;
    right:-10%;
    opacity:0.12;
  }

}

/* RESEARCH WRAPPER */

.research-wrapper{
  width:90%;
  margin:auto;
  padding-top:100px;
}

/* RESEARCH CARD */

.research-card{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:40px;

  background:var(--card);
  border-radius:30px;

  overflow:hidden;

  margin-bottom:50px;

  border:1px solid #e2e8f0;

  box-shadow:0 15px 40px rgba(0,0,0,0.05);

  transition:0.4s ease;
}

.research-card:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 50px rgba(37,99,235,0.12);
}

.research-image{
  overflow:hidden;
}

.research-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.5s ease;
}


.research-card:hover .research-image img{
  transform:scale(1.05);
}

.research-content{
  padding:40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.research-badge{
  display:inline-block;
  width:fit-content;

  background:#eff6ff;
  color:#2563eb;

  padding:8px 15px;
  border-radius:50px;

  font-weight:600;
  margin-bottom:20px;
}

.research-content h2{
  font-size:1.5rem;
  line-height:1.4;
  margin-bottom:20px;
  color:var(--text);
}

.research-content p{
  color:var(--paragraph);
  line-height:1.9;
  margin-bottom:25px;
}

.research-meta{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin-bottom:30px;
}

.meta-box{
  display:flex;
  align-items:center;
  gap:10px;

  background:#f8fafc;

  padding:12px 18px;

  border-radius:14px;

  color:#334155;

  font-size:0.95rem;
}

.meta-box i{
  color:#2563eb;
}


/* TRAINING / EXPERIENCE SECTION */

.training-section{
  margin-top:70px;
}

.training-grid{
  display:flex;
  flex-direction:column;
  gap:35px;
}

/* TRAINING CARD */

.training-card{
  background:var(--card);

  border:1px solid #e2e8f0;

  border-radius:28px;

  padding:40px;

  box-shadow:0 15px 40px rgba(0,0,0,0.05);

  transition:0.4s ease;
}

.training-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 50px rgba(37,99,235,0.10);
}

.training-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin-bottom:25px;
  flex-wrap:wrap;
}

.training-top h2{
  font-size:2rem;
  color:var(--text);
  line-height:1.4;
}

.training-date{
  background:#eff6ff;
  color:#2563eb;

  padding:10px 18px;

  border-radius:50px;

  font-weight:600;
}

.training-role{
  color:#2563eb;
  font-weight:600;

  margin-bottom:25px;
}

.training-card ul{
  padding-left:20px;
}

.training-card li{
  margin-bottom:18px;
  line-height:1.9;
  color:var(--paragraph);
}

/* RESPONSIVE */

@media(max-width:950px){

  .research-banner h1{
    font-size:3rem;
  }

  .research-card{
    grid-template-columns:1fr;
  }

  .research-image img{
    height:320px;
  }

  .research-content h2{
    font-size:1.6rem;
  }

}

/* =========================
RESEARCH CATEGORY TITLES
========================= */

.research-category{
  display:flex;

  align-items:center;
  justify-content:center;

  gap:25px;

  margin:80px 0 45px;

  text-align:center;
}

.research-category h2{
  font-size:2rem;

  color:var(--text);

  font-family:'Poppins', sans-serif;

  white-space:nowrap;
}


/* INSTAGRAM EMBED */

.instagram-embed{
  margin-top:35px;

  border-radius:20px;

  overflow:hidden;
}

/* BETTER SPACING */

.instagram-media{
  min-width:100% !important;
  max-width:100% !important;
}

/* LINES */

.category-line{
  width:120px;
  height:2px;

  background:
  linear-gradient(
    to right,
    transparent,
    #2563eb,
    transparent
  );
}

/* CURRENT */

.current-category h2{
  color:#2563eb;
}

/* PREVIOUS */

.previous-category h2{
  color:var(--text);
}

/* MOBILE */

@media(max-width:768px){

  .research-category{
    gap:15px;
  }

  .research-category h2{
    font-size:1.4rem;
  }

  .category-line{
    width:50px;
  }

}

/* STORY SECTION */

.story-section{
  position:relative;

  min-height:100vh;

  display:flex;
  align-items:center;
  justify-content:center;

  overflow:hidden;

  padding:120px 8%;
}

/* BACKGROUND IMAGE */

.story-bg-image{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  object-fit:cover;

  opacity:0.22;

  filter:blur(1px);

  transform:scale(1.03);
}

/* DARK OVERLAY */

.story-overlay{
  position:absolute;
  inset:0;

  background:
  linear-gradient(
    to bottom,
    rgba(255,255,255,0.78),
    rgba(255,255,255,0.9)
  );

  z-index:1;
}

/* STORY CONTENT */

.story-content{
  position:relative;
  z-index:2;

  max-width:900px;

  background:rgba(255,255,255,0.72);

  backdrop-filter:blur(10px);

  border:1px solid rgba(255,255,255,0.4);

  padding:70px;

  border-radius:35px;

  text-align:center;

  box-shadow:0 20px 60px rgba(0,0,0,0.08);

  transition:0.4s ease;
}

.story-content:hover{
  transform:translateY(-8px);
}

/* QUOTE ICONS */

.quote-icon-left,
.quote-icon-right{
  position:absolute;

  color:#2563eb15;

  font-size:4.5rem;
}

.quote-icon-left{
  top:25px;
  left:35px;
}

.quote-icon-right{
  bottom:25px;
  right:35px;
}

/* SMALL TAG */

.small-tag{
  display:inline-block;

  background:#eff6ff;

  color:#2563eb;

  padding:10px 18px;

  border-radius:50px;

  font-weight:600;

  margin-bottom:25px;
}

/* STORY TEXT */

.story-content h2{
  font-size:3rem;

  margin-bottom:30px;

  color:var(--text);

  font-family:'Poppins', sans-serif;
}

.story-content p{
  line-height:2;

  color:#334155;

  margin-bottom:22px;

  font-size:1.05rem;
}

/* BLOCKQUOTE */

.story-content blockquote{
  margin-top:40px;

  font-size:1.35rem;

  line-height:1.8;

  font-style:italic;

  color:#2563eb;

  font-weight:600;
}

/* VIDEO GRID */

.video-grid{
  display:grid;

  grid-template-columns:repeat(auto-fit, minmax(320px,1fr));

  gap:40px;

  margin-top:50px;
}

/* VIDEO CARD */

.video-card{
  overflow:hidden;

  border-radius:28px;

  background:var(--card);

  border:1px solid #e2e8f0;

  transition:0.4s ease;

  box-shadow:0 15px 40px rgba(0,0,0,0.05);
}

.video-card:hover{
  transform:translateY(-12px);
  box-shadow:0 20px 50px rgba(37,99,235,0.12);
}

/* VIDEO IMAGE */

.video-card img{
  width:100%;
  height:240px;

  object-fit:cover;

  transition:0.5s ease;
}

.video-card:hover img{
  transform:scale(1.05);
}

/* VIDEO CONTENT */

.video-content{
  padding:30px;
}

.video-tag{
  display:inline-block;

  background:#eff6ff;

  color:#2563eb;

  padding:8px 14px;

  border-radius:50px;

  font-size:0.85rem;

  font-weight:600;

  margin-bottom:18px;
}

.video-content h3{
  line-height:1.5;

  margin-bottom:18px;

  color:var(--text);
}

.video-content p{
  color:var(--paragraph);

  line-height:1.8;

  margin-bottom:30px;
}

/* =========================
ADD TO style.css
========================= */

/* YOUTUBE EMBED */

.youtube-embed{
  position:relative;

  width:100%;

  padding-top:56.25%;

  overflow:hidden;

  border-radius:24px 24px 0 0;

  background:#000;
}

/* IFRAME */

.youtube-embed iframe{
  position:absolute;

  top:0;
  left:0;

  width:100%;
  height:100%;

  border:none;
}

/* BETTER VIDEO CARD */

.video-card{
  overflow:hidden;
}

/* YOUTUBE ICON COLOR */

.fa-youtube{
  color:#ff0000 !important;
}


/* FIX BUTTON OVERLAP */

.hero-buttons{
  display:flex;

  gap:18px;

  flex-wrap:wrap;

  margin-top:30px;
}

.btn,
.btn-outline{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-width:170px;

  padding:14px 28px;

  border-radius:14px;

  font-weight:600;

  transition:0.3s ease;
}

/* YOUTUBE SECTION */

.youtube-section{
  padding-top:20px;
}

.youtube-box{
  max-width:850px;

  margin:auto;

  text-align:center;

  background:var(--card);

  border-radius:35px;

  padding:70px 50px;

  border:1px solid #e2e8f0;

  box-shadow:0 20px 60px rgba(0,0,0,0.06);

  transition:0.4s ease;
}

.youtube-box:hover{
  transform:translateY(-10px);
}

.youtube-box i{
  font-size:5rem;

  color:#ff0000;

  margin-bottom:25px;

  animation:pulse 2s infinite;
}

.youtube-box h2{
  font-size:2.6rem;

  margin-bottom:20px;
}

.youtube-box p{
  color:var(--paragraph);

  line-height:1.9;

  max-width:650px;

  margin:auto auto 35px;
}

/* PULSE ANIMATION */

@keyframes pulse{

  0%{
    transform:scale(1);
  }

  50%{
    transform:scale(1.08);
  }

  100%{
    transform:scale(1);
  }

}

/* RESPONSIVE */

@media(max-width:900px){

  .story-content{
    padding:45px 30px;
  }

  .story-content h2{
    font-size:2.2rem;
  }

  .quote-icon-left,
  .quote-icon-right{
    font-size:3rem;
  }

  .youtube-box{
    padding:50px 30px;
  }

}


/* CERTIFICATE SHOWCASE */

.certificate-showcase{
  display:grid;

  grid-template-columns:1fr 1fr;

  gap:40px;

  align-items:center;

  margin-top:45px;

  background:#f8fafc;

  border:1px solid #e2e8f0;

  border-radius:28px;

  padding:35px;

  transition:0.4s ease;
}

.certificate-showcase:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 50px rgba(37,99,235,0.08);
}

/* CERTIFICATE IMAGE */

.certificate-image{
  overflow:hidden;

  border-radius:20px;
}

.certificate-image img{
  width:100%;

  display:block;

  border-radius:20px;

  transition:0.5s ease;

  box-shadow:0 12px 35px rgba(0,0,0,0.12);
}

.certificate-showcase:hover .certificate-image img{
  transform:scale(1.03);
}

/* CERTIFICATE CONTENT */

.certificate-content h3{
  font-size:2rem;

  margin-bottom:20px;

  color:var(--text);
}

.certificate-content p{
  line-height:1.9;

  color:var(--paragraph);

  margin-bottom:28px;
}

/* RESPONSIVE */

@media(max-width:900px){

  .certificate-showcase{
    grid-template-columns:1fr;

    padding:25px;
  }

  .certificate-content h3{
    font-size:1.6rem;
  }

}

/* =========================
GLOBAL DARK MODE SUPPORT
========================= */

section,
.page-hero,
.story-section,
.youtube-section,
.videos-section,
.research-section,
.dev-section,
.contact-section{

  background:var(--bg);
}

/* CARDS */

.card,
.video-card,
.project-card,
.research-card,
.training-card,
.contact-card,
.youtube-box{

  background:var(--card);

  border:1px solid var(--border);
}

/* TEXT */

h1,h2,h3,h4,h5,h6{
  color:var(--text);
}

p,
li,
span{
  color:var(--paragraph);
}

/* NAVBAR */

header{
  background:var(--nav);
}

/* FOOTER */

footer{
  background:var(--soft);
}



/* =========================
MOBILE RESPONSIVENESS
========================= */

@media screen and (max-width: 992px){

  .hero,
  .research-hero,
  .story-section,
  .project-flex,
  .research-flex{
    flex-direction:column;
    text-align:center;
    gap:40px;
  }

  .hero-image img,
  .research-banner-image,
  .story-bg-image{
    width:100%;
    max-width:380px;
    margin:auto;
  }

  .hero-text h1,
  .page-hero h1,
  .research-banner-content h1{
    font-size:2.5rem;
    line-height:1.2;
  }

  .hero-text h3{
    font-size:1.1rem;
  }

  .hero-text p,
  .page-hero p,
  .research-banner-content p{
    font-size:1rem;
    line-height:1.8;
  }

  .cards-container,
  .video-grid,
  .research-grid,
  .projects-grid{
    grid-template-columns:1fr;
  }

  .video-card iframe{
    height:220px;
  }

  .skills-icons{
    justify-content:center;
    flex-wrap:wrap;
  }

}

/* =========================
SMALL MOBILE DEVICES
========================= */

@media screen and (max-width: 768px){

  section{
    padding:70px 6%;
  }

  .navbar{
    padding:15px 6%;
  }

  .logo{
    font-size:1.2rem;
  }

  .hero{
    min-height:auto;
    padding-top:120px;
  }

  .hero-text h1,
  .page-hero h1,
  .research-banner-content h1{
    font-size:2rem;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:center;
    gap:15px;
  }

  .btn,
  .btn-outline{
    width:100%;
    max-width:300px;
    text-align:center;
  }

  .card,
  .video-card,
  .project-card,
  .research-card{
    padding:25px;
  }

  .video-content{
    padding:20px;
  }

  .research-banner{
    min-height:65vh;
    padding:80px 6%;
  }

  .research-banner-content{
    width:100%;
  }

  .youtube-box{
    padding:35px 25px;
  }

  .youtube-box i{
    font-size:4rem;
  }

  .story-content{
    padding:35px 25px;
  }

  .quote-icon-left,
  .quote-icon-right{
    font-size:2rem;
  }

  footer{
    padding:25px 15px;
    text-align:center;
  }

}

/* =========================
VERY SMALL DEVICES
========================= */

@media screen and (max-width: 480px){

  .hero-text h1,
  .page-hero h1,
  .research-banner-content h1{
    font-size:1.7rem;
  }

  .section-title h2{
    font-size:1.6rem;
  }

  .hero-text p,
  .page-hero p,
  .card p,
  .video-content p{
    font-size:0.95rem;
  }

  .btn,
  .btn-outline{
    padding:13px 20px;
    font-size:0.95rem;
  }

  .video-card iframe{
    height:200px;
  }

  .skills-icons i{
    font-size:2rem;
  }

  .research-icons{
    gap:15px;
  }

  .research-icons i{
    font-size:1.3rem;
  }

}
iframe{
  max-width:100%;
  border:none;
}

img{
  max-width:100%;
  display:block;
}

@media screen and (max-width:480px){

  h1{
    font-size:1.8rem;
    line-height:1.3;
  }

  h2{
    font-size:1.4rem;
  }

  h3{
    font-size:1.1rem;
  }

  p{
    font-size:0.95rem;
    line-height:1.7;
  }

  .hero{
    padding-top:110px;
  }

  .hero-text{
    width:100%;
  }

}