/* Modern Portfolio Design */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --dark-bg: #0f0f23;
  --card-bg: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --glow-color: rgba(102, 126, 234, 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  font-family: "Poppins", sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
}

*::selection {
  background: rgba(102, 126, 234, 0.3);
  color: #fff;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: #1a1a2e;
}

html::-webkit-scrollbar-thumb {
  background: var(--primary-gradient);
  border-radius: 1rem;
}

/* Loader */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  background: #0f0f23;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.loader {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(102, 126, 234, 0.1);
  border-top: 5px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-container.fade-out {
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
}

/* Modern Top Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 5%;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  transition: 0.3s;
}

header.scrolled {
  padding: 1.5rem 5%;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

header .user {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

header .user img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  background: var(--primary-gradient);
  padding: 2px;
  transition: 0.3s;
}

header .user img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--glow-color);
}

header .user .name {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Space Grotesk", sans-serif;
}

header .user .post {
  display: none;
}

section {
  min-height: 100vh;
  padding: 10rem 5% 5rem;
  position: relative;
  z-index: 10;
}

.heading {
  font-size: 4.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 5rem;
  font-family: "Space Grotesk", sans-serif;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.heading::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.heading span {
  display: inline-block;
  background: linear-gradient(135deg, #8b9ff5 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0); 
  }
  50% { 
    transform: translateY(-10px); 
  }
}

header .navbar {
  display: flex;
}

header .navbar ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

header .navbar ul li a {
  font-size: 1.6rem;
  color: #b8c5d6;
  font-weight: 500;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  border-radius: 0.8rem;
  position: relative;
  background: transparent;
}

header .navbar ul li a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

header .navbar ul li a.active {
  color: #ffffff;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
}
/* navbar ends */

/* Hamburger Menu */
#menu {
  font-size: 3rem;
  cursor: pointer;
  color: #667eea;
  display: none;
  z-index: 10001;
  transition: 0.3s;
}

#menu:hover {
  color: #764ba2;
  transform: scale(1.1);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  #menu {
    display: block;
    position: fixed;
    top: 2rem;
    right: 2rem;
  }

  header .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8rem;
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 10000;
  }

  header .navbar.nav-toggle {
    left: 0;
  }

  header .navbar ul {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 0;
  }

  header .navbar ul li {
    width: 100%;
  }

  header .navbar ul li a {
    display: block;
    font-size: 2rem;
    padding: 1.5rem 3rem;
    width: 100%;
  }
}

/* Hero Section - Tech/AI Themed Design */
.home {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
  min-height: 100vh;
  padding: 10rem 5%;
  overflow: hidden;
  z-index: 1;
}

/* Tech Background Canvas */
#tech-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: var(--bg-primary);
}

@keyframes gridMove {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 50px 50px, 50px 50px;
  }
}

/* Floating Neural Nodes */
.home::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, rgba(102, 126, 234, 0.4) 2px, transparent 2px),
    radial-gradient(circle, rgba(118, 75, 162, 0.3) 1.5px, transparent 1.5px),
    radial-gradient(circle, rgba(79, 172, 254, 0.35) 2.5px, transparent 2.5px),
    radial-gradient(circle, rgba(102, 126, 234, 0.25) 1px, transparent 1px);
  background-size: 
    300px 300px,
    200px 200px,
    250px 250px,
    150px 150px;
  background-position: 
    0 0,
    40px 60px,
    130px 270px,
    70px 100px;
  animation: floatNodes 30s ease-in-out infinite;
  z-index: 0;
}

.home .content {
  flex: 1;
  z-index: 1;
  animation: fadeInLeft 1s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home .content h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #c7d3e8;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

.home .content h2 span {
  font-size: 5.5rem;
  font-weight: 800;
  display: block;
  background: linear-gradient(135deg, #667eea 0%, #a78bfa 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Space Grotesk", sans-serif;
  margin: 1rem 0;
  animation: glow 2s ease-in-out infinite;
  filter: drop-shadow(0 0 25px rgba(102, 126, 234, 0.7));
}

@keyframes glow {
  0%, 100% {
    filter: drop-shadow(0 0 25px rgba(102, 126, 234, 0.7));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(167, 139, 250, 0.9));
  }
}

.home .content p {
  font-size: 2rem;
  color: #a3b5cf;
  margin: 2rem 0;
  font-weight: 400;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.05rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.home .content .typing-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.5));
}

.home .content .btn {
  display: inline-block;
  margin-top: 3rem;
  padding: 1.5rem 4rem;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 600;
  border-radius: 5rem;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

.home .content .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.5s;
}

.home .content .btn:hover::before {
  left: 100%;
}

.home .content .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.home .content .btn i {
  margin-left: 1rem;
}

.home .socials {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

.home .socials a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 50%;
  color: #667eea;
  font-size: 2rem;
  transition: 0.3s;
}

.home .socials a:hover {
  background: var(--primary-gradient);
  color: #fff;
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.home .socials .credly-link .credly-icon {
  font-size: 2.4rem;
  font-weight: 800;
  font-family: 'Space Grotesk', sans-serif;
  font-style: italic;
  position: relative;
  display: inline-block;
}

.home .socials .credly-link .credly-icon::after {
  content: '';
  position: absolute;
  top: 0;
  right: -2px;
  width: 3px;
  height: 10px;
  background-color: currentColor;
}

.home .socials .credly-link:hover .credly-icon {
  transform: scale(1.1);
}

.home .image {
  flex: 1;
  z-index: 1;
  animation: fadeInRight 1s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.home .image img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid transparent;
  background: linear-gradient(135deg, #667eea, #764ba2);
  padding: 5px;
  box-shadow: 
    0 20px 60px rgba(102, 126, 234, 0.5),
    0 0 0 10px rgba(102, 126, 234, 0.1),
    0 0 0 20px rgba(118, 75, 162, 0.05);
  animation: float 6s ease-in-out infinite, imagePulse 3s ease-in-out infinite;
  transition: 0.3s;
}

.home .image img:hover {
  transform: scale(1.05);
  box-shadow: 
    0 25px 80px rgba(102, 126, 234, 0.7),
    0 0 0 10px rgba(102, 126, 234, 0.2),
    0 0 0 20px rgba(118, 75, 162, 0.1);
}

@keyframes imagePulse {
  0%, 100% {
    box-shadow: 
      0 20px 60px rgba(102, 126, 234, 0.5),
      0 0 0 10px rgba(102, 126, 234, 0.1),
      0 0 0 20px rgba(118, 75, 162, 0.05);
  }
  50% {
    box-shadow: 
      0 25px 70px rgba(102, 126, 234, 0.6),
      0 0 0 10px rgba(102, 126, 234, 0.15),
      0 0 0 20px rgba(118, 75, 162, 0.08);
  }
}

/* social icons start */
.socials {
  position: relative;
  margin-top: 9rem;
}
.socials .social-icons {
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.socials .social-icons li {
  display: inline-block;
  margin-bottom: 14px;
}
.social-icons a {
  font-size: 2rem;
  display: inline-block;
  line-height: 44px;
  color: #00d9ff;
  background-color: #09011b;
  width: 44px;
  height: 44px;
  text-align: center;
  margin-right: 8px;
  border-radius: 100%;
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}
.social-icons a:active,
.social-icons a:focus,
.social-icons a:hover {
  color: #fff;
  background-color: #0685da;
}
.social-icons a.github:hover {
  background-color: #0e0e0e;
}
.social-icons a.twitter:hover {
  background-color: #00aced;
}
.social-icons a.linkedin:hover {
  background-color: #007bb6;
}
.social-icons a.dev:hover {
  background-color: #070707;
}
.social-icons a.instagram:hover {
  background-color: #ee00da;
}
/* social icons end */

/* hero media queries starts*/
@media (max-width: 450px) {
  .home {
    flex-direction: column-reverse;
    padding: 8rem 2rem 5rem;
    gap: 2rem;
  }
  .home .image {
    width: 100%;
    margin-top: 3rem;
  }
  .home .image img {
    width: 250px;
    height: 250px;
    margin-top: 0;
  }
  .home .btn {
    margin: 4rem 0;
  }
  .socials {
    margin-top: 3rem;
  }
  .home .content p {
    font-size: 2.2rem;
  }
  .home .content p span {
    font-size: 2.2rem;
  }
}
/* hero media queries ends*/
/* hero section end */

/* about section starts */
/* Modern About Section */
.about {
  background: linear-gradient(135deg, #1e2a47 0%, #1a1f3a 100%);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.about::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.15) 0%, transparent 70%);
  top: -250px;
  right: -250px;
  border-radius: 50%;
  z-index: 0;
}

.about::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
  border-radius: 50%;
  z-index: 0;
}

.about .row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.about .row .content {
  flex: 1;
  max-width: 1000px;
}

.about .row .content h3 {
  font-size: 3.5rem;
  color: #e8eef7;
  margin-bottom: 2rem;
  font-family: "Space Grotesk", sans-serif;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about .row .content h3 span {
  background: linear-gradient(135deg, #8b9ff5 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about .row .content p {
  font-size: 1.7rem;
  line-height: 1.8;
  color: #c5d1e6;
  margin-bottom: 2rem;
  text-transform: none;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.about .row .content .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.about .row .content .box-container .box {
  background: rgba(30, 42, 71, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 126, 234, 0.3);
  padding: 2rem;
  border-radius: 1rem;
  transition: 0.3s;
}

.about .row .content .box-container .box:hover {
  transform: translateY(-10px);
  border-color: #667eea;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
  background: rgba(30, 42, 71, 0.8);
}

.about .row .content .box-container .box p {
  font-size: 1.5rem;
  color: #c5d1e6;
  margin: 0.5rem 0;
}

.about .row .content .box-container .box p span {
  color: #8b9ff5;
  font-weight: 600;
}

.resumebtn .btn {
  padding: 1.5rem 4rem;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 600;
  border-radius: 5rem;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  display: inline-block;
  margin-top: 2rem;
}

.resumebtn .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.resumebtn .btn i {
  margin-left: 1rem;
}

/* Modern Skills Section with Grouped Cards */
.skills {
  background: #1a1a2e;
  position: relative;
}

.skills .container {
  background: transparent;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.skills .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.skills .skill-group-card {
  background: rgba(22, 27, 56, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.skills .skill-group-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.skills .skill-group-card:hover {
  transform: translateY(-10px);
  border-color: #667eea;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.skills .skill-group-card:hover::before {
  opacity: 1;
}

.skills .skill-category-title {
  color: #e8eef7;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.3);
  background: linear-gradient(90deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.skills .skill-category-title i {
  font-size: 2rem;
  -webkit-text-fill-color: #667eea;
}

.skills .skill-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.skills .skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  background: rgba(102, 126, 234, 0.05);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.skills .skill-item:hover {
  background: rgba(102, 126, 234, 0.15);
  border-color: #667eea;
  transform: translateY(-5px) scale(1.05);
}

.skills .skill-item i {
  font-size: 3.5rem;
  transition: all 0.3s ease;
}

/* Brand Colors for Skill Icons */
.skills .skill-item .fa-java { color: #007396; }
.skills .skill-item .fa-python { color: #3776AB; }
.skills .skill-item .fa-js-square { color: #F7DF1E; }
.skills .skill-item .fa-golang { color: #00ADD8; }
.skills .skill-item .fa-r-project { color: #276DC3; }
.skills .skill-item .fa-react { color: #61DAFB; }
.skills .skill-item .fa-angular { color: #DD0031; }
.skills .skill-item .fa-node-js { color: #339933; }
.skills .skill-item .fa-aws { color: #FF9900; }
.skills .skill-item .fa-docker { color: #2496ED; }
.skills .skill-item .fa-dharmachakra { color: #326CE5; }
.skills .skill-item .fa-git-alt { color: #F05032; }
.skills .skill-item .fa-jenkins { color: #D24939; }
.skills .skill-item .fa-database { color: #4DB33D; }
.skills .skill-item .fa-flask { color: #000000; }
.skills .skill-item .fa-cogs { color: #6DB33F; }
.skills .skill-item .fa-server { color: #667eea; }
.skills .skill-item .fa-robot { color: #667eea; }
.skills .skill-item .fa-brain { color: #10A37F; }
.skills .skill-item .fa-comment-dots { color: #10A37F; }
.skills .skill-item .fa-search { color: #667eea; }
.skills .skill-item .fa-user-robot { color: #764ba2; }
.skills .skill-item .fa-microchip { color: #10A37F; }
.skills .skill-item .fa-face-smile { color: #FFD21E; }
.skills .skill-item .fa-vector-square { color: #667eea; }
.skills .skill-item .fa-project-diagram { color: #667eea; }
.skills .skill-item .fa-sitemap { color: #008CC1; }
.skills .skill-item .fa-map-pin { color: #000000; }
.skills .skill-item .fa-cloud { color: #FF9900; }
.skills .skill-item .fa-infinity { color: #667eea; }
.skills .skill-item .fa-cube { color: #EE0000; }
.skills .skill-item .fa-chart-bar,
.skills .skill-item .fa-chart-area,
.skills .skill-item .fa-chart-line { color: #F2C811; }
.skills .skill-item .fa-tools { color: #0078C0; }
.skills .skill-item .fa-code { color: #00599C; }
.skills .skill-item .fa-layer-group { color: #667eea; }

.skills .skill-item:hover i {
  transform: rotateY(360deg);
  filter: brightness(1.2);
}

.skills .skill-item span {
  font-size: 1.3rem;
  color: #c5d1e6;
  font-weight: 600;
  text-align: center;
  transition: color 0.3s ease;
}

.skills .skill-item:hover span {
  color: #e8eef7;
}

/* skills media queries starts*/
@media screen and (max-width: 768px) {
  .skills .skills-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .skills .skill-group-card {
    padding: 2rem 1.5rem;
  }
  
  .skills .skill-icons {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 1.5rem;
  }
  
  .skills .skill-item {
    padding: 1rem 0.5rem;
  }
  
  .skills .skill-item i {
    font-size: 2.5rem;
  }
  
  .skills .skill-item span {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 600px) {
  .skills .container {
    padding: 1rem;
  }
  
  .skills .skill-category-title {
    font-size: 1.6rem;
  }
  
  .skills .skill-icons {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* skills media queries ends*/
/* skills section ends */

/* education section starts */
.education {
  background: #e5ecfb;
  min-height: 80vh;
  position: relative;
  z-index: 10;
}
.education .qoute {
  font-size: 1.5rem;
  text-align: center;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  margin-top: 0.5rem;
}
.education .box-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.education .box-container .box {
  display: flex;
  flex-direction: row;
  width: 80%;
  border-radius: 0.5rem;
  box-shadow: 0.2rem 0.5rem 1rem rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  transition: 0.3s;
  background: rgb(252, 252, 252);
}
.education .box-container .box:hover {
  transform: scale(1.03);
  box-shadow: 1rem 0.5rem 1.2rem rgba(0, 0, 0, 0.3);
}
.education .box-container .box .image {
  flex: 1 1 20rem;
  width: 100%;
}
.education .box-container .box img {
  object-fit: cover;
  position: relative;
  width: 100%;
  height: 100%;
}
.education .box-container .box .content {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  flex-wrap: wrap;
  flex: 1 1 70rem;
}
.education .box-container .box .content h3 {
  font-size: 2.5rem;
  color: #012970;
  padding: 0.5rem 0;
  font-weight: 600;
  text-align: left;
  margin-left: 1rem;
}
.education .box-container .box .content p {
  font-size: 1.5rem;
  margin-left: 1rem;
  text-align: left;
}
.education h4 {
  font-size: 2rem;
  color: rgb(34, 109, 0);
  text-align: left;
  margin: 1rem;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
}

/* education media queries starts*/
@media screen and (max-width: 600px) {
  .education .box-container .box {
    flex-direction: column;
    width: 100%;
  }
  .education .box-container .box .image {
    width: 100%;
    height: 25rem;
  }
  .education .box-container .box img {
    width: 100%;
  }
  .education .box-container .box .content {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    flex-wrap: wrap;
    flex: 0;
  }
  .education .btns {
    margin-top: 2rem;
    margin-left: 1rem;
    margin-right: 1rem;
    flex-wrap: wrap;
  }
}
/* education media queries ends*/
/* education section ends */

/* work section starts */
.work {
  background: #1a1a2e;
  min-height: 100vh;
  padding: 5rem 2rem;
  position: relative;
  z-index: 10;
}

.work h2 {
  color: #e8eef7;
  padding: 1rem;
  text-align: center;
}

.work .heading span {
  background: linear-gradient(135deg, #8b9ff5 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.work .filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.work .filter-btn {
  padding: 1rem 2.5rem;
  background: rgba(30, 42, 71, 0.6);
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: #c5d1e6;
  border-radius: 5rem;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.work .filter-btn:hover,
.work .filter-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.work .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.work .box-container .box {
  background: rgba(30, 42, 71, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 2rem;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.work .box-container .box:hover {
  transform: translateY(-10px);
  border-color: #667eea;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.work .box-container .box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 2px solid rgba(102, 126, 234, 0.3);
}

.work .box-container .box .project-images {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.work .box-container .box .project-images img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.work .box-container .box .project-images img.active {
  opacity: 1;
  z-index: 1;
}

.work .box-container .box .project-images .image-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
  z-index: 2;
}

.work .box-container .box .project-images .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.work .box-container .box .project-images .indicator.active {
  background: #667eea;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
}

.work .box-container .box .project-images .indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.work .box-container .box .content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.work .box-container .box .content .tag {
  margin-bottom: 1.5rem;
}

.work .box-container .box .content .tag h3 {
  font-size: 2rem;
  color: #e8eef7;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

.work .desc {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.work .desc p {
  font-size: 1.4rem;
  color: #c5d1e6;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.work .desc .tech-stack {
  font-size: 1.3rem;
  color: #8b9ff5;
  margin-top: auto;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.work .desc .tech-stack strong {
  color: #667eea;
  font-weight: 700;
}

.work .desc .btns {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.work .desc .btns .btn {
  flex: 1;
  padding: 1.2rem 2rem;
  border-radius: 1rem;
  font-size: 1.4rem;
  color: #fff;
  background: rgba(102, 126, 234, 0.3);
  border: 1px solid rgba(102, 126, 234, 0.5);
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.work .desc .btns .btn:hover {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}
.work .viewall {
  display: flex;
  justify-content: center;
}
.work .viewall .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: rgb(255, 255, 255);
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0px 5px 10px rgba(65, 84, 241, 0.4);
  text-align: center;
}
.work .viewall .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.work .viewall .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.work .viewall .btn:hover {
  background: #fff;
  color: #000;
}
.work .viewall .btn:hover i {
  transform: translateX(5px);
}
/* work section ends */

/* experience section starts */
/* Modern Experience Cards */
.experience {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  position: relative;
  z-index: 10;
}

.experience-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  z-index: 10;
}

.experience-card {
  background: rgba(30, 42, 71, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 1.5rem;
  padding: 3rem;
  transition: all 0.3s ease;
  animation: fadeIn 1s ease-out;
}

.experience-card:hover {
  transform: translateY(-10px);
  border-color: #667eea;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
  background: rgba(30, 42, 71, 0.8);
}

.experience-card .card-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.experience-card .company-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

.experience-card:hover .company-logo {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
}

.experience-card .company-info {
  flex: 1;
}

.experience-card .company-info h3 {
  font-size: 2.2rem;
  color: #e8eef7;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
}

.experience-card .company-info h4 {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #8b9ff5 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.experience-card .company-info .duration {
  font-size: 1.4rem;
  color: #a5b4cb;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.experience-card .company-info .duration i {
  color: #667eea;
}

.experience-card .card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.experience-card .card-body ul li {
  font-size: 1.6rem;
  color: #c5d1e6;
  padding: 1rem 0;
  display: flex;
  align-items: start;
  gap: 1.5rem;
  line-height: 1.6;
}

.experience-card .card-body ul li i {
  color: #667eea;
  margin-top: 0.3rem;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .experience-card {
    padding: 2rem;
  }
  
  .experience-card .card-header {
    flex-direction: column;
    text-align: center;
  }
  
  .experience-card .company-logo {
    width: 60px;
    height: 60px;
  }
  
  .experience-card .company-info h3 {
    font-size: 1.8rem;
  }
  
  .experience-card .card-body ul li {
    font-size: 1.4rem;
  }
}

/* Old timeline styles - keeping for backward compatibility */
.experience .timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.experience .timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background: #020133;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: -2;
}
.experience .container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}
/*circles on timeline*/
.experience .container::after {
  content: "\f0b1";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: rgb(255, 255, 255);
  border: 4px solid #ff9f55;
  top: 15px;
  border-radius: 50%;
  z-index: 100;
  font-size: 1.89rem;
  text-align: center;
  font-weight: 600;
  color: #02094b;
  font-family: "Font Awesome\ 5 Free";
}
.experience .left {
  left: 0;
}
.experience .right {
  left: 50%;
}
/* arrows pointing right */
.experience .left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #f68c09;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #f68c09;
}
/* arrows pointing left  */
.experience .right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #f68c09;
  border-width: 10px 10px 10px 0;
  border-color: transparent #f68c09 transparent transparent;
}
.experience .right::after {
  left: -16px;
}
.experience .content {
  background-color: #cfd2e9;
  position: relative;
  border-radius: 6px;
}
.experience .content .tag {
  font-size: 1.3rem;
  padding-top: 1.5rem;
  padding-left: 1.5rem;
}
.experience .content .desc {
  margin-left: 1.5rem;
  padding-bottom: 1rem;
}
.experience .content .desc h3 {
  font-size: 1.5rem;
  font-weight: 600;
}
.experience .content .desc p {
  font-size: 1.2rem;
}
/* view all button */
.morebtn {
  display: flex;
  justify-content: center;
}
.morebtn .btn {
  position: relative;
  line-height: 0;
  padding: 1.6rem 3rem;
  border-radius: 0.5em;
  transition: 0.5s;
  color: #fff;
  background: #2506ad;
  box-shadow: 0px 5px 10px rgba(48, 68, 247, 0.6);
  text-align: center;
}
.morebtn .btn span {
  font-weight: 600;
  font-size: 1.7rem;
  font-family: "Nunito", sans-serif;
}
.morebtn .btn i {
  margin-left: 0.3rem;
  font-size: 1.5rem;
  transition: 0.3s;
}
.morebtn .btn:hover {
  background: #1a047e;
}
.morebtn .btn:hover i {
  transform: translateX(5px);
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  .experience {
    min-height: 80vh;
  }
  .experience .timeline {
    margin-top: 2rem;
  }
  .experience .timeline::after {
    left: 31px;
  }
  .experience .container {
    width: 100%;
    padding-left: 8rem;
    padding-right: 2rem;
  }
  .experience .container::after {
    font-size: 2.2rem;
  }
  .experience .container::before {
    left: 61px;
    border: medium solid #f68c09;
    border-width: 10px 10px 10px 0;
    border-color: transparent #f68c09 transparent transparent;
  }
  .experience .left::after {
    left: 15px;
  }
  .experience .right::after {
    left: 15px;
  }
  .experience .right {
    left: 0%;
  }
  .morebtn {
    margin-top: 3rem;
  }
}
/* experience media queries ends */
/* experience section ends */

/* contact section starts */
.contact {
  background: #1a1a2e;
  min-height: 100vh;
  padding: 5rem 2rem;
  position: relative;
  z-index: 10;
}

.contact .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.contact .contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.contact .info-card {
  background: rgba(30, 42, 71, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
}

.contact .info-card:hover {
  transform: translateY(-10px);
  border-color: #667eea;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.contact .info-card .icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.contact .info-card h3 {
  font-size: 2rem;
  color: #e8eef7;
  margin-bottom: 1rem;
}

.contact .info-card p {
  font-size: 1.5rem;
  color: #c5d1e6;
}

.contact .info-card .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  border-radius: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.contact .info-card .contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.contact .info-card .contact-btn i {
  font-size: 1.4rem;
}

.contact .contact-form-wrapper {
  background: rgba(30, 42, 71, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 2rem;
  padding: 4rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.contact .input-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact .input-group label {
  font-size: 1.5rem;
  color: #c5d1e6;
  font-weight: 500;
}

.contact .input-group input,
.contact .input-group textarea {
  width: 100%;
  padding: 1.5rem 2rem;
  background: rgba(22, 33, 62, 0.8);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 1rem;
  color: #e8eef7;
  font-size: 1.5rem;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
  outline: none;
}

.contact .input-group input::placeholder,
.contact .input-group textarea::placeholder {
  color: #8b9ff5;
}

.contact .input-group input:focus,
.contact .input-group textarea:focus {
  border-color: #667eea;
  background: rgba(22, 33, 62, 1);
  box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.contact .input-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact .submit-btn {
  align-self: flex-start;
  padding: 1.5rem 4rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  border-radius: 1rem;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.contact .submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.contact .submit-btn i {
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}

.contact .submit-btn:hover i {
  transform: translateX(5px);
}
/* contact section media queries starts */
@media (max-width: 900px) {
  .contact .container {
    padding: 0 2rem;
  }
  .contact .contact-form-wrapper {
    padding: 3rem 2rem;
  }
  .contact .form-row {
    grid-template-columns: 1fr;
  }
}
/* contact section media queries ends */
/* contact section ends */

/* certifications section starts */
.certifications {
  background: #1a1a2e;
  min-height: 100vh;
  padding: 5rem 2rem;
  position: relative;
  z-index: 10;
}

.certifications .cert-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  padding: 2rem;
}

.certifications .cert-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  background: rgba(30, 42, 71, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 126, 234, 0.3);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certifications .cert-card:hover {
  transform: translateY(-10px);
  border-color: #667eea;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.5);
}

.certifications .cert-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: all 0.4s ease;
  padding: 1rem;
}

.certifications .cert-card:hover img {
  transform: scale(1.1);
}

.certifications .cert-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(102, 126, 234, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.certifications .cert-card:hover .cert-overlay {
  opacity: 1;
}

.certifications .cert-overlay i {
  font-size: 4rem;
  color: #fff;
  transform: scale(0);
  transition: all 0.4s ease;
}

.certifications .cert-card:hover .cert-overlay i {
  transform: scale(1);
}

@media (max-width: 768px) {
  .certifications .cert-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
}
/* certifications section ends */

/* organizations section starts */
.organizations {
  background: #16213e;
  min-height: 100vh;
  padding: 5rem 2rem;
  position: relative;
  z-index: 10;
}

.organizations .org-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: 2rem;
}

.organizations .org-card {
  background: rgba(30, 42, 71, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 1.5rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
}

.organizations .org-card:hover {
  transform: translateY(-10px);
  border-color: #667eea;
  box-shadow: 0 20px 60px rgba(102, 126, 234, 0.5);
}

.organizations .org-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 1.5rem;
  transition: all 0.4s ease;
}

.organizations .org-card:hover .org-logo {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.organizations .org-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.organizations .org-info h3 {
  font-size: 1.8rem;
  color: #e8eef7;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.organizations .org-role {
  font-size: 1.4rem;
  color: #8b9ff5;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .organizations .org-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem;
  }

  .organizations .org-logo {
    width: 100px;
    height: 100px;
  }

  .organizations .org-info h3 {
    font-size: 1.6rem;
  }

  .organizations .org-role {
    font-size: 1.3rem;
  }
}
/* organizations section ends */

/* footer section starts */
.footer {
  min-height: auto;
  padding-top: 0;
  background: rgb(0, 1, 43);
}
.footer .box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.footer .box-container .box {
  flex: 1 1 25rem;
  margin: 2.5rem;
}
.footer .box-container .box h3 {
  font-size: 2.5rem;
  color: #fff;
  padding-bottom: 1rem;
  font-weight: normal;
}
.footer .box-container .box p {
  font-size: 1.5rem;
  color: #ccc;
  padding: 0.7rem 0;
  text-transform: none;
}
.footer .box-container .box p i {
  padding-right: 1rem;
  color: #ffae00;
}
.footer .box-container .box a {
  font-size: 1.5rem;
  color: rgb(238, 238, 238);
  padding: 0.3rem 0;
  display: block;
}
.footer .box-container .box a:hover {
  color: #ffae00;
}
.footer .box-container .box .share {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.footer .box-container .box .share a {
  height: 4rem;
  width: 4rem;
  padding: 1rem;
  text-align: center;
  border-radius: 5rem;
  font-size: 1.7rem;
  margin-right: 1rem;
  transition: 0.2s;
  background: rgb(230, 230, 230);
  color: #02094b;
  border: none;
}
.footer .box-container .box .share a:hover {
  background: transparent;
  transform: scale(0.98);
  border: 0.1rem solid rgb(180, 178, 178);
  color: #ffae00;
}
.footer .credit {
  padding: 1rem 0 0 0;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  color: #fff;
  border-top: 0.1rem solid #fff3;
}
.footer .credit a {
  color: #ffae00;
}
.footer .fa {
  color: #e90606;
  margin: 0 0.3rem;
  font-size: 1.5rem;
  animation: pound 0.35s infinite alternate;
}
@-webkit-keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@keyframes pound {
  to {
    transform: scale(1.1);
  }
}
@media (max-width: 450px) {
  .footer .box-container .box {
    margin: 1.5rem;
  }
  .footer .box-container .box p {
    padding: 0.7rem;
  }
  .footer .box-container .box .share a {
    padding: 1.2rem;
  }
}
/* footer section ends */

/* common media queries starts*/
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
  body {
    padding-right: 0;
  }
  section {
    padding: 2rem;
  }
}
/* common media queries ends*/

/* scroll top starts */
#scroll-top {
  position: fixed;
  top: -140%;
  right: 2rem;
  padding: 1rem 1.5rem;
  font-size: 2rem;
  background: #ffae00;
  color: rgb(13, 0, 44);
  border-radius: 50%;
  transition: 1s linear;
  z-index: 1000;
}
#scroll-top.active {
  top: calc(100% - 12rem);
}
/* scroll top ends */

/* Chatbot Widget Styles */
.chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.chatbot-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.chatbot-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.chatbot-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 350px;
  max-width: 90vw;
  height: 500px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  overflow: hidden;
}

.chatbot-container.hidden {
  display: none;
}

.chatbot-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.close-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f5f5f5;
}

.bot-message,
.user-message {
  margin-bottom: 15px;
  padding: 10px 15px;
  border-radius: 15px;
  max-width: 80%;
  word-wrap: break-word;
  animation: fadeIn 0.3s ease;
}

.bot-message {
  background: white;
  color: #333;
  align-self: flex-start;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-message {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  align-self: flex-end;
  margin-left: auto;
  text-align: right;
}

.chatbot-input {
  display: flex;
  padding: 15px;
  background: white;
  border-top: 1px solid #e0e0e0;
}

.chatbot-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  outline: none;
  font-size: 14px;
}

.chatbot-input button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  margin-left: 10px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.chatbot-input button:hover {
  transform: scale(1.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Filter buttons */
.filter-buttons {
  text-align: center;
  margin-bottom: 30px;
}

.filter-btn {
  margin: 5px;
  padding: 10px 25px;
  background: #f0f0f0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #764ba2;
}

/* Responsive */
@media (max-width: 768px) {
  .chatbot-container {
    width: calc(100vw - 40px);
    height: 400px;
    right: 20px;
    bottom: 90px;
  }
}
