/* COLOR PALETTE
   --primary: #0071bc (dark blue)
   --secondary: #ef5c21 (orange)
   --neutral-light: #fff (white background)
   --neutral-text: #273043 (dark navy for text)
*/

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

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #273043;
  position: relative;
}

/* Particles canvas — overlaid on top of content, non-interactive */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(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);
  }
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transform: translateY(30px);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: show content if JavaScript is disabled or hasn't loaded */
.no-js .animate-on-scroll,
.animate-on-scroll.no-animation {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-delay-1 {
  animation-delay: 0.1s;
}

.animate-delay-2 {
  animation-delay: 0.2s;
}

.animate-delay-3 {
  animation-delay: 0.3s;
}

.animate-delay-4 {
  animation-delay: 0.4s;
}

/* Page Load Animations */
.page-loaded .logo-image {
  animation: slideInDown 0.6s ease-out;
}

.page-loaded .hero h1,
.page-loaded .hero p,
.page-loaded .hero-buttons {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.page-loaded .hero h1 {
  animation-delay: 0.2s;
}

.page-loaded .hero p {
  animation-delay: 0.4s;
}

.page-loaded .hero-buttons {
  animation-delay: 0.6s;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-content .social-links {
  margin-top: 30px;
  justify-content: center;
}

/* Layout helper */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 2px solid #ef5c21;
  position: relative;
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

/* Logo highlights primary color */
.logo a {
  text-decoration: none;
  display: inline-block;
}

.logo-image {
  height: 70px;
  width: auto;
  display: block;
}

/* Navigation */
.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #0071bc;
  font-size: 15px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  transform: translateY(0);
}

.main-nav a:hover,
.main-nav a:focus {
  transform: translateY(-1px);
}

.main-nav a:hover,
.main-nav a:focus {
  text-decoration: underline;
  text-decoration-color: #ef5c21;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.main-nav a.active {
  text-decoration: underline;
  text-decoration-color: #ef5c21;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

/* Dropdown Menu */
.main-nav > ul > li {
  position: relative;
}

.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1.5px solid #ef5c21;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 113, 188, 0.15);
  list-style: none;
  padding: 12px 0 8px 0;
  margin: 0;
  min-width: 220px;
  z-index: 1000;
  margin-top: 0;
}

/* Create invisible bridge at top of dropdown to maintain hover state */
.main-nav .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}

.main-nav .dropdown-menu li {
  margin: 0;
  width: 100%;
}

.main-nav .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #0071bc;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.main-nav .dropdown-menu a:hover,
.main-nav .dropdown-menu a:focus {
  background-color: #f0f5fc;
  color: #ef5c21;
  text-decoration: none;
}

.main-nav li:hover .dropdown-menu,
.main-nav li:focus-within .dropdown-menu,
.main-nav .dropdown-menu:hover {
  display: block;
}

/* Arrow icon for dropdown menu items */
.main-nav > ul > li.has-dropdown > a::after {
  content: " ▼";
  font-size: 10px;
  margin-left: 4px;
  color: #0071bc;
  transition: color 0.2s;
  display: inline-block;
}

.main-nav > ul > li.has-dropdown > a:hover::after,
.main-nav > ul > li.has-dropdown:hover > a::after {
  color: #ef5c21;
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: #0071bc;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
  background-color: #ef5c21;
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background-color: #ef5c21;
}

/* Responsive Design - Tablet and Mobile */
@media (max-width: 768px) {
  /* Show hamburger menu button */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Hide navigation by default on mobile */
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, border-bottom 0.3s ease;
    z-index: 1000;
    box-shadow: none;
  }

  .main-nav.active {
    max-height: 1000px;
    overflow-y: auto;
    border-bottom: 2px solid #ef5c21;
    box-shadow: 0 4px 12px rgba(0, 113, 188, 0.15);
  }

  /* Stack navigation items vertically on mobile */
  .main-nav > ul {
    flex-direction: column;
    gap: 0;
    padding: 20px;
  }

  .main-nav > ul > li {
    width: 100%;
    border-bottom: 1px solid #f0f5fc;
  }

  .main-nav > ul > li:last-child {
    border-bottom: none;
  }

  .main-nav a {
    display: block;
    padding: 15px 8px;
    width: 100%;
    font-size: 16px;
  }

  /* Disable hover effects on mobile - only active state works */
  .main-nav li:hover > .dropdown-menu,
  .main-nav li:focus-within > .dropdown-menu,
  .main-nav .dropdown-menu:hover {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    max-height: 0 !important;
  }
  
  .main-nav li.has-dropdown:hover:not(.active) .dropdown-menu,
  .main-nav li.has-dropdown:focus-within:not(.active) .dropdown-menu {
    display: none !important;
  }

  /* Mobile dropdown menu */
  .main-nav .dropdown-menu {
    position: relative;
    display: none;
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: #f0f5fc;
    margin-top: 0;
    padding-top: 0;
    z-index: 1001;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  .main-nav .dropdown-menu::before {
    display: none;
  }

  .main-nav li.has-dropdown.active > .dropdown-menu {
    display: block !important;
    padding: 8px 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-height: 500px !important;
    overflow: visible !important;
  }

  .main-nav .dropdown-menu li {
    border-bottom: 1px solid #e0e8f0;
  }

  .main-nav .dropdown-menu li:last-child {
    border-bottom: none;
  }

  .main-nav .dropdown-menu a {
    padding: 12px 24px;
    color: #0071bc;
    font-size: 15px;
    display: block;
  }

  .main-nav .dropdown-menu a:hover,
  .main-nav .dropdown-menu a:focus {
    background-color: #e0e8f0;
    color: #ef5c21;
  }

  /* Change arrow icon behavior on mobile */
  .main-nav > ul > li.has-dropdown > a::after {
    content: " ▶";
    float: right;
    font-size: 12px;
    transition: transform 0.3s ease;
  }

  .main-nav > ul > li.has-dropdown.active > a::after {
    transform: rotate(90deg);
  }

  /* Adjust logo size on mobile if needed */
  .logo-image {
    height: 60px;
  }

  .site-header {
    border-bottom: none;
  }

  .site-header .container {
    height: 70px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .site-header .container {
    padding: 0 15px;
  }

  .logo-image {
    height: 50px;
  }

  .main-nav > ul {
    padding: 15px;
  }

  .main-nav a {
    font-size: 15px;
    padding: 12px 8px;
  }
}

/* Footer */
.site-footer {
  border-top: 2px solid #ef5c21;
  margin-top: 60px;
  background: #fff;
  position: relative;
  z-index: 11;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.site-footer.animate {
  opacity: 1;
  transform: translateY(0);
}

.site-footer p {
  text-align: center;
  padding: 20px 0;
  font-size: 16px;
  color: #273043;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  background-color: #f0f5fc;
  position: relative;
  overflow: hidden;
  min-height: 400px;
  /* Fallback background in case ::before fails */
  background-image: url("../images/Background.jpg");
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: -10px;
  background-image: url("../images/Background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.03); /* avoid blur edges */
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  font-weight: bold;
}

.hero h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 1px;
}

.hero h2 {
  font-size: 22px;
  font-weight: 400;
  color: #ef5c21;
  margin-bottom: 20px;
}

.hero p {
  font-size: 16px;
  color: #fff;
  margin-bottom: 30px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  transform: translateY(0) scale(1);
}

.btn.primary {
  background: #0071bc;
  color: #fff;
  margin-right: 10px;
  border: 2px solid #0071bc;
}

.btn.primary:hover,
.btn.primary:focus {
  background: #ef5c21;
  border-color: #ef5c21;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(239, 92, 33, 0.3);
}

.btn.secondary {
  border: 2px solid #ef5c21;
  color: #ef5c21;
  background: #fff;
}

.btn.secondary:hover,
.btn.secondary:focus {
  background: #ef5c21;
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(239, 92, 33, 0.3);
}

.btn.cv-download {
  border: 2px solid #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
}

.btn.cv-download:hover,
.btn.cv-download:focus {
  background: #fff;
  color: #0071bc;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

/* Section title */
.section-title {
  font-size: 28px;
  margin-bottom: 40px;
  color: #0071bc;
  position: relative;
  display: block;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-title.animate {
  opacity: 1;
  transform: translateY(0);
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #ef5c21;
  border-radius: 2px;
  margin: 12px auto 0 auto;
  transform: scaleX(0);
  transition: transform 0.6s ease 0.2s;
}

.section-title.animate::after {
  transform: scaleX(1);
}

/* Projects section */
.home-projects {
  padding: 80px 0;
  background: #fff;
}

/* Project Filters */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 20px;
  background: #fff;
  border: 2px solid #0071bc;
  color: #0071bc;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: capitalize;
}

.filter-btn:hover,
.filter-btn:focus {
  background: #f0f5fc;
  border-color: #ef5c21;
  color: #ef5c21;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #0071bc;
  color: #fff;
  border-color: #0071bc;
}

.filter-btn.active:hover,
.filter-btn.active:focus {
  background: #ef5c21;
  border-color: #ef5c21;
  color: #fff;
}

/* Project Card Filtering */
.project-card {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card.filtered-out {
  display: none;
}

/* Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Project card */
.project-card {
  background: #fff;
  border: 1.5px solid #ef5c21;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,113,188,0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  opacity: 0;
}

.project-card.animate {
  opacity: 1;
  animation: fadeInUp 0.6s ease-out forwards;
}

.project-card:hover, .project-card:focus-within {
  border-color: #0071bc;
  box-shadow: 0 8px 24px rgba(0,113,188,0.15);
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  margin-bottom: 15px;
  border: 2px solid #0071bc;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.02);
}

/* Card headings in primary */
.project-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #0071bc;
  font-weight: 700;
}

.project-card p {
  font-size: 16px;
  color: #273043;
  margin-bottom: 15px;
  opacity: 0.87;
}

/* YouTube Section */
.youtube-section {
  padding: 80px 0;
  background: #f0f5fc;
}
/* Divider */
.youtube-section hr {
  border: none;
  border-top: 1px solid #ef5c21;
  margin: 20px 0 60px 0;
}
/* Top intro */
/* About Story Section */
.about-story {
  padding: 80px 0;
}

.youtube-intro, .about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.youtube-logo img,
.about-image img {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}

.youtube-logo img.animate,
.about-image img.animate {
  opacity: 1;
  animation: fadeInUp 0.6s ease-out forwards;
}

.about-image img {
  border: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.about-image:hover img,
.youtube-logo:hover img {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 113, 188, 0.15);
}

.youtube-info h2, .about-info h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #0071bc;
}

.youtube-info p, .about-info p {
  font-size: 16px;
  color: #273043;
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 25px;
}







/* Video rows */
.youtube-video-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}

.video-embed iframe {
  width: 100%;
  height: 260px;
  border-radius: 6px;
  border: 2px solid #ef5c21;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-embed:hover iframe {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(239, 92, 33, 0.2);
}

.video-text h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #0071bc;
}

.video-text p {
  font-size: 16px;
  color: #273043;
  opacity: 0.87;
}

/* Services section */
.services-section {
  padding: 80px 0;
  background: #fff;
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Card */
.service-card {
  border: 1.5px solid #0071bc;
  padding: 25px 20px;
  text-align: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,113,188,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  opacity: 0;
}

.service-card.animate {
  opacity: 1;
  animation: fadeInUp 0.6s ease-out forwards;
}

.service-card:hover, .service-card:focus-within {
  border-color: #ef5c21;
  box-shadow: 0 8px 24px rgba(239,92,33,0.15);
  transform: translateY(-5px);
}

.service-icon {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px #ef5c21);
}

/* Icon */
.service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px #ef5c21ab);
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #0071bc;
  font-weight: 700;
}

.service-card p {
  font-size: 16px;
  color: #273043;
  margin-bottom: 20px;
  opacity: 0.87;
}

/* Image */
.service-image {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 20px;
  border: 2px solid #ef5c21;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover .service-image {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(239, 92, 33, 0.2);
}

/* Pricing section */
.pricing-section {
  padding: 80px 0;
  background: #f0f5fc;
}

/* Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Card */
.pricing-card {
  border: 2px solid #0071bc;
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,113,188,0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0) scale(1);
  opacity: 0;
  display: flex;
  flex-direction: column;
}

.pricing-card.animate {
  opacity: 1;
  animation: scaleIn 0.6s ease-out forwards;
}

.pricing-card:hover, .pricing-card:focus-within {
  border-color: #ef5c21;
  box-shadow: 0 8px 28px rgba(239,92,33,0.15);
  transform: translateY(-5px) scale(1.02);
}

.pricing-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #0071bc;
  font-weight: 700;
}

/* Price */
.price {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #ef5c21;
}

/* Divider */
.pricing-card hr {
  border: none;
  border-top: 2px solid #ef5c21;
  margin: 20px 0;
}

/* List - left-align bullet points only */
.pricing-card ul {
  text-align: left;
  max-width: 220px;
  margin: 0 auto 25px;
  list-style: none;
  padding: 0;
  flex-grow: 1;
}

/* Button at bottom of card */
.pricing-card .btn {
  margin-top: auto;
}

/* Tick bullets */
.pricing-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: #273043;
  margin-bottom: 8px;
}

.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #ef5c21;
  font-weight: bold;
}

/* Pricing Note */
.pricing-note {
  text-align: center;
  margin-top: 40px;
  padding: 20px 30px;
  background: #fff;
  border-radius: 8px;
  border: 1.5px solid #0071bc;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-note p {
  font-size: 15px;
  color: #273043;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

/* Reviews section */
.reviews-section {
  padding: 80px 0;
  background: #fff;
}

/* Slider layout */
.reviews-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

/* Arrows */
.arrow {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #ef5c21;
  transition: color 0.2s;
}

.arrow:hover,
.arrow:focus {
  color: #0071bc;
}

/* Review content */
.review-content {
  max-width: 600px;
  text-align: center;
  position: relative;
}

.review {
  display: none;
}

.review.active {
  display: block;
}

.review p {
  font-size: 16px;
  color: #273043;
  margin-bottom: 15px;
  line-height: 1.6;
}

.client-name {
  font-size: 14px;
  color: #0071bc;
  font-weight: 600;
  margin-top: 5px;
}

/* Final CTA */
.final-cta {
  padding: 100px 0;
  text-align: center;
  background: #f0f5fc;
}

.final-cta h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #0071bc;
}

.final-cta p {
  font-size: 16px;
  color: #273043;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.87;
}



/*Projects Page Design*/

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.page-header {
  padding: 80px 0;
  text-align: center;
  background-color: #f0f5fc;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.page-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.page-header h1 {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.page-header.animate h1 {
  opacity: 1;
  transform: translateY(0);
}

.page-header .subtitle,
.page-header .description {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.page-header.animate .subtitle,
.page-header.animate .description {
  opacity: 1;
  transform: translateY(0);
}

.subtitle {
  font-weight: 600;
  color: #0071bc;
}



.cta {
  text-align: center;
  padding: 80px 0;
  background-color: #f0f5fc;
}






/* About Page Design*/


.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}





.skills-section {
  background: #f0f5fc;
  padding: 80px 0;
}





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

.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 25px 20px 20px 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  height: 170px;
  box-sizing: border-box;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  opacity: 0;
}

.skill-card.animate {
  opacity: 1;
  animation: fadeInUp 0.5s ease-out forwards;
}

.skill-card:hover {
  border-color: #0071bc;
  box-shadow: 0 6px 20px rgba(0, 113, 188, 0.15);
  transform: translateY(-5px);
}

.skill-card img {
  transition: transform 0.4s ease;
}

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

.skill-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  margin-bottom: 15px;
  flex-shrink: 0;
}

.skill-card p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #273043;
  font-weight: 500;
  line-height: 1.4;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
}

/* Featured Certifications Section */
.cert-featured {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.cert-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 113, 188, 0.2), transparent);
}

.cert-row {
  display: flex;
  gap: 35px;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

.cert-row img {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  box-shadow: 
    0 8px 30px rgba(0, 113, 188, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 12px;
  object-fit: contain;
  cursor: pointer;
  border: 3px solid transparent;
  position: relative;
  filter: brightness(1) saturate(1);
}

.cert-row img:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    0 20px 60px rgba(0, 113, 188, 0.2),
    0 8px 20px rgba(239, 92, 33, 0.15),
    0 0 0 4px rgba(239, 92, 33, 0.1);
  border-color: #ef5c21;
  filter: brightness(1.05) saturate(1.1);
}

.cert-row img:active {
  transform: translateY(-8px) scale(1.01);
}

.cert-slider img {
  width: 100%;
  max-width: 280px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.cert-slider img:hover {
  transform: scale(1.05);
}

/* Certification categories grid - 2 columns */
.cert-categories .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Certificate Categories Section */
.cert-categories {
  padding: 80px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* Each category card */
.cert-category {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #fafbfd 100%);
  border: 2px solid rgba(0, 113, 188, 0.1);
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 
    0 4px 20px rgba(0, 113, 188, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
}

.cert-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0071bc, #ef5c21);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cert-category:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 12px 40px rgba(0, 113, 188, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 113, 188, 0.3);
}

.cert-category:hover::before {
  opacity: 1;
}

.cert-category h3 {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  color: #0071bc;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 12px;
}

.cert-category h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #0071bc, #ef5c21);
  border-radius: 2px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .cert-categories .container {
    grid-template-columns: 1fr;
  }
}



.cert-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.cert-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  flex: 1;
  min-width: 0; /* Important for flex children */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.cert-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.cert-slider img {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  border-radius: 8px;
  scroll-snap-align: start;
  object-fit: contain;
  display: block;
  height: auto;
}

/* Arrow buttons */
.slider-btn {
  background: #0071bc;
  color: #fff;
  border: none;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.slider-btn.prev {
  margin-right: 10px;
}

.slider-btn.next {
  margin-left: 10px;
}



































/* Image Modal/Lightbox */
.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
}

.image-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: transform 0.2s ease, color 0.2s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.modal-close:hover,
.modal-close:focus {
  color: #ef5c21;
  transform: rotate(90deg) scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.modal-caption {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 18px;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Category Expansion Modal */
.category-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.category-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.category-modal-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  margin: auto;
  padding: 25px;
  border-radius: 20px;
  max-width: 85%;
  width: auto;
  height: auto;
  max-height: calc(100vh - 40px);
  overflow: visible;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: zoomIn 0.3s ease;
  border: 3px solid rgba(0, 113, 188, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.category-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #0071bc;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: transform 0.2s ease, color 0.2s ease;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-modal-close:hover,
.category-modal-close:focus {
  color: #ef5c21;
  transform: rotate(90deg) scale(1.1);
  background: #fff;
}

#categoryModalBody {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#categoryModalBody h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #0071bc;
  font-weight: 700;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 3px solid #ef5c21;
  width: 100%;
}

#categoryModalBody .cert-slider-wrapper {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

#categoryModalBody .cert-slider {
  width: 100%;
  max-width: 700px;
}

#categoryModalBody .cert-slider img {
  max-width: 650px;
  width: 100%;
  max-height: calc(100vh - 200px);
  height: auto;
  object-fit: contain;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* MEDIA QUERIES — (Do not change for color theme) */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-filters {
    gap: 8px;
    margin-bottom: 30px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .youtube-intro,
  .about-intro {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .about-info {
    margin-top: 0 !important;
  }

  .about-image img,
  .youtube-logo img {
    max-width: 280px;
  }

  .about-info h2,
  .youtube-info h2 {
    font-size: 24px;
  }

  .about-info p,
  .youtube-info p {
    font-size: 15px;
    line-height: 1.6;
  }

  .about-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-top: 25px;
  }

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

/* Tablet and Medium Screens */
@media (max-width: 1024px) and (min-width: 769px) {
  .about-intro {
    gap: 30px;
  }

  .about-image img {
    max-width: 300px;
  }

  .about-info h2 {
    font-size: 26px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .about-story {
    padding: 60px 0;
  }

  .about-intro {
    gap: 25px;
    margin-bottom: 40px;
  }

  .about-image img {
    max-width: 220px;
  }

  .about-info h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .about-info p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .about-actions {
    gap: 12px;
    margin-top: 20px;
  }

  .about-actions .btn {
    padding: 10px 20px;
    font-size: 13px;
    max-width: 100%;
  }
}

/* Extra Small Devices */
@media (max-width: 360px) {
  .about-image img {
    max-width: 180px;
  }

  .about-info h2 {
    font-size: 20px;
  }

  .about-info p {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-note {
    margin-top: 30px;
    padding: 15px 20px;
  }
  
  .pricing-note p {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .reviews-slider {
    gap: 15px;
  }

  .arrow {
    font-size: 24px;
  }
}







/* ===============================
Contact Page
=============================== */

.contact-info {
  padding: 60px 0;
  background: #f9fafb;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.info-card h3 {
  color: #0071bc;
  margin-bottom: 10px;
}

.info-card a {
  color: #273043;
  text-decoration: none;
}

.info-card a:hover,
.info-card a:focus {
  color: #ef5c21;
  text-decoration: underline;
}

/* Main Contact Section */
.contact-main {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left Text */
.contact-text h2 {
  font-size: 2rem;
  color: #0071bc;
  margin-bottom: 15px;
}

.contact-text p {
  margin-bottom: 25px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  position: relative;
}

.social-links a:hover,
.social-links a:focus {
  border-color: #ef5c21;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(239, 92, 33, 0.3);
}

.social-icon {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.social-links a:hover .social-icon,
.social-links a:focus .social-icon {
  transform: scale(1.1);
}

/* Form */
.contact-form form {
  background: #ffffff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: #0071bc;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #005fa3;
}

/* Responsive */
@media (max-width: 768px) {
  .info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}












/* ===============================
Project Detail Page
=============================== */

.project-overview {
  padding: 80px 0;
  background: #f9fafb;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
}

.overview-text h1 {
  font-size: 2.2rem;
  color: #0071bc;
  margin-bottom: 15px;
  transition: transform 0.4s ease-out;
}

.overview-text.animated h1 {
  animation: slideInLeft 0.6s ease-out forwards;
}

.overview-text p {
  line-height: 1.7;
  max-width: 520px;
}

.overview-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.overview-card.animated {
  animation: scaleIn 0.6s ease-out forwards;
}

.overview-card h3 {
  margin-bottom: 15px;
  color: #0071bc;
}

.overview-card ul {
  list-style: none;
  padding: 0;
}

.overview-card li {
  margin-bottom: 10px;
  font-size: 14px;
}

.overview-list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px 20px;
  align-items: start;
}

.overview-list li {
  display: contents;
  margin-bottom: 0;
}

.overview-list li.fade-in-item {
  display: contents;
}

.overview-list li.fade-in-item .label,
.overview-list li.fade-in-item .value {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.overview-list li.fade-in-item.animated .label,
.overview-list li.fade-in-item.animated .value {
  opacity: 1;
  transform: translateY(0);
}

.overview-list .label {
  font-weight: 600;
  color: #333;
  text-align: left;
}

.overview-list .value {
  color: #666;
  text-align: left;
}

/* Project Image Section */
.project-visual {
  padding: 80px 0;
}

.project-image {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.project-description h2 {
  color: #0071bc;
  margin-bottom: 10px;
  transition: transform 0.4s ease-out;
}

.project-description.animated h2 {
  animation: slideInLeft 0.5s ease-out forwards;
}

.dashboard-features {
  margin-top: 40px;
}

.dashboard-features h2 {
  color: #0071bc;
  margin-bottom: 15px;
  transition: transform 0.4s ease-out;
}

.dashboard-features.animated h2 {
  animation: slideInLeft 0.5s ease-out forwards;
}

.dashboard-features ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-features li {
  margin-bottom: 0;
  padding: 12px 15px;
  padding-left: 15px;
  line-height: 1.5;
  border-left: 3px solid #ef5c21;
  background: #f9fafb;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.dashboard-features li:hover {
  background: #f0f5fc;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 113, 188, 0.1);
}

.dashboard-features li strong {
  color: #ef5c21;
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.dashboard-features li br {
  display: block;
  margin: 0;
}

/* Animation styles for list items */
.fade-in-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.fade-in-item.animated {
  opacity: 1;
  transform: translateY(0);
}

.feature-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.feature-item.animated {
  opacity: 1;
  transform: translateX(0);
}

.feature-item:nth-child(1) { transition-delay: 0.1s; }
.feature-item:nth-child(2) { transition-delay: 0.2s; }
.feature-item:nth-child(3) { transition-delay: 0.3s; }
.feature-item:nth-child(4) { transition-delay: 0.4s; }
.feature-item:nth-child(5) { transition-delay: 0.5s; }

/* Kaggle Notebook Embed */
.embed-wrapper iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  display: block !important;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  background: #fff;
}

.kaggle-link-footer {
  text-align: center;
  margin-top: 20px;
  padding: 15px;
}

.kaggle-link-footer p {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.kaggle-external-link {
  color: #0071bc;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.kaggle-external-link:hover {
  color: #ef5c21;
  text-decoration: underline;
}

.kaggle-external-link svg {
  transition: transform 0.3s ease;
}

.kaggle-external-link:hover svg {
  transform: translate(3px, -3px);
}

/* View All Projects Section */
.view-projects-section {
  padding: 80px 0;
  background: #fff;
  text-align: center;
}

.view-projects-content h2 {
  color: #0071bc;
  font-size: 28px;
  margin-bottom: 15px;
}

.view-projects-content p {
  color: #273043;
  font-size: 16px;
  margin-bottom: 30px;
  opacity: 0.87;
}

.view-projects-content .btn {
  display: inline-block;
}

/* Embedded Dashboard */
.project-embed {
  padding: 80px 0;
  background: #fff;
  overflow-x: hidden;
  width: 100%;
}

.project-embed .container {
  max-width: 1160px;
  width: 95%;
}

.project-embed h2 {
  text-align: center;
  color: #0071bc;
  margin-bottom: 30px;
  transition: transform 0.4s ease-out;
}

.project-embed h2.animated {
  animation: fadeInUp 0.6s ease-out forwards;
}

.embed-wrapper {
  position: relative;
  width: 100%;
  max-width: 1140px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  background: #fff;
  margin: 0 auto;
  overflow: hidden;
  transition: transform 0.4s ease-out, box-shadow 0.4s ease-out;
}

.embed-wrapper.animated {
  animation: scaleIn 0.8s ease-out forwards;
}

.embed-wrapper .tableauPlaceholder {
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
}

.embed-wrapper .tableauViz {
  width: 100% !important;
  max-width: 100% !important;
}

.embed-wrapper iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  display: block !important;
}

/* Hide scrollbars on embed wrapper and children */
.embed-wrapper {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.embed-wrapper::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.embed-wrapper .tableauPlaceholder,
.embed-wrapper .tableauViz,
.embed-wrapper iframe {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.embed-wrapper .tableauPlaceholder::-webkit-scrollbar,
.embed-wrapper .tableauViz::-webkit-scrollbar,
.embed-wrapper iframe::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Mobile Message for Dashboards/Notebooks */
.mobile-device-message {
  display: none;
  background: linear-gradient(135deg, #f0f5fc 0%, #e8f4fd 100%);
  border: 2px solid #0071bc;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  margin: 0 auto;
  max-width: 500px;
}

.mobile-device-message .message-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #0071bc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-device-message .message-icon svg {
  width: 40px;
  height: 40px;
  color: #fff;
}

.mobile-device-message h3 {
  color: #0071bc;
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
}

.mobile-device-message p {
  color: #273043;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.mobile-device-message .device-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
}

.mobile-device-message .device-icons svg {
  width: 32px;
  height: 32px;
  color: #0071bc;
  opacity: 0.8;
}

/* Show mobile message and hide embed on small screens */
@media (max-width: 900px) {
  .mobile-device-message {
    display: block;
  }
  
  .embed-wrapper iframe,
  .embed-wrapper .tableauPlaceholder,
  .embed-wrapper object,
  .embed-wrapper .notebook-container,
  .embed-wrapper .pdf-embed-container,
  .kaggle-link-footer {
    display: none !important;
  }
}

/* PDF Comparison Section */
.comparison-description {
  text-align: center;
  color: #273043;
  margin-bottom: 40px;
  font-size: 16px;
  opacity: 0.87;
}

.pdf-comparison-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.pdf-comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}

.pdf-viewer-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pdf-section-title {
  color: #0071bc;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.pdf-embed-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  background: #fff;
  overflow: hidden;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.pdf-embed-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.pdf-embed-wrapper iframe,
.pdf-embed-wrapper object {
  width: 100%;
  height: 800px;
  border: none;
  display: block;
  background: #fff;
}

.pdf-embed-wrapper object {
  min-height: 800px;
}

.pdf-embed-wrapper .pdf-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f8fa;
  border-radius: 12px;
  z-index: 1;
}

.pdf-embed-wrapper .pdf-fallback-message {
  width: 100%;
  height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pdf-embed-wrapper .pdf-loading p {
  margin: 0;
  color: #273043;
  font-size: 16px;
}

.pdf-embed-wrapper .pdf-loading a {
  color: #0071bc;
  text-decoration: none;
  font-weight: 500;
}

.pdf-embed-wrapper .pdf-loading a:hover {
  text-decoration: underline;
  color: #ef5c21;
}

.pdf-embed-wrapper object {
  min-height: 800px;
}

.pdf-link-footer {
  margin-top: 15px;
  text-align: center;
}

.pdf-external-link {
  color: #0071bc;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.pdf-external-link:hover {
  color: #ef5c21;
  text-decoration: underline;
}

.pdf-external-link svg {
  transition: transform 0.3s ease;
}

.pdf-external-link:hover svg {
  transform: translate(3px, -3px);
}

/* Responsive styles for PDF comparison */
@media (max-width: 968px) {
  .pdf-comparison-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .pdf-embed-wrapper iframe {
    height: 600px;
  }
}

@media (max-width: 640px) {
  .pdf-embed-wrapper iframe {
    height: 500px;
  }
  
  .pdf-section-title {
    font-size: 18px;
  }
}


/* ===============================
Mentoring Page Styles
=============================== */

.mentoring-offer {
  padding: 80px 0;
  background: #fff;
}

.mentoring-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.mentoring-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #f0f5fc;
}

.mentoring-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 113, 188, 0.15);
  border-color: #0071bc;
}

.mentoring-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f5fc;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.mentoring-card:hover .mentoring-icon {
  background: #0071bc;
  transform: scale(1.1);
}

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

.mentoring-card:hover .mentoring-icon svg {
  stroke: #fff;
}

.mentoring-card h3 {
  font-size: 20px;
  color: #0071bc;
  margin-bottom: 15px;
  font-weight: 600;
}

.mentoring-card p {
  font-size: 15px;
  color: #273043;
  line-height: 1.6;
  opacity: 0.87;
}

.mentoring-topics {
  padding: 80px 0;
  background: #f9fafb;
}

.topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
  justify-content: center;
}

.topic-tag {
  display: inline-block;
  padding: 12px 24px;
  background: #fff;
  color: #0071bc;
  border: 2px solid #0071bc;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.topic-tag:hover {
  background: #0071bc;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 113, 188, 0.2);
}

.mentoring-audience {
  padding: 80px 0;
  background: #fff;
}

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.audience-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f9fafb;
  border-radius: 12px;
  border-left: 4px solid #ef5c21;
  transition: all 0.3s ease;
}

.audience-item:hover {
  background: #f0f5fc;
  transform: translateX(5px);
}

.audience-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.audience-item p {
  font-size: 16px;
  color: #273043;
  margin: 0;
  font-weight: 500;
}

.mentoring-process {
  padding: 80px 0;
  background: #f9fafb;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: #0071bc;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: 0 4px 15px rgba(0, 113, 188, 0.3);
}

.process-step h3 {
  font-size: 20px;
  color: #0071bc;
  margin-bottom: 15px;
  font-weight: 600;
}

.process-step p {
  font-size: 15px;
  color: #273043;
  line-height: 1.7;
  opacity: 0.87;
}

.mentoring-cta {
  padding: 80px 0;
  background: #f0f5fc;
  text-align: center;
}

.cta-content h2 {
  font-size: 32px;
  color: #0071bc;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 18px;
  color: #273043;
  margin-bottom: 30px;
  opacity: 0.87;
}

/* Responsive Design for Mentoring Page */
@media (max-width: 1024px) {
  .mentoring-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .mentoring-cards {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .audience-list {
    grid-template-columns: 1fr;
  }
  
  .topics-grid {
    justify-content: flex-start;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }
}

/* YouTube Video Grid */
.youtube-video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
}

.youtube-video-card {
  background: #f9fafb;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 20px;
  max-width: 420px;
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s;
}

.youtube-video-card:hover {
  box-shadow: 0 8px 24px rgba(0,113,188,0.10);
}

.youtube-video-card .video-embed {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}

.youtube-video-card .video-text h3 {
  color: #ef5c21;
  margin: 0 0 8px 0;
  font-size: 20px;
  text-align: center;
}

.youtube-video-card .video-text p {
  color: #273043;
  font-size: 15px;
  margin: 0;
  text-align: center;
}

@media (max-width: 900px) {
  .youtube-video-grid {
    flex-direction: column;
    gap: 24px;
  }
  
  .youtube-video-card {
    max-width: 100%;
  }
}
