/* Update the :root and dark-mode variables in your style section */
/* Loading Screen Styles */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-content {
  text-align: center;
}

.welcome-text {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.loading-animation {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cube {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 4px;
}

.cube:nth-child(1) {
  animation: bounce 1s infinite 0s;
}

.cube:nth-child(2) {
  animation: bounce 1s infinite 0.2s;
}

.cube:nth-child(3) {
  animation: bounce 1s infinite 0.4s;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-20px);
  }
}

/* Dark mode support */
.dark-mode #loading-screen {
  background: var(--bg-color);
}

.dark-mode .welcome-text {
  color: var(--primary-color);
}
/* Certification Slider Styles */
.certification-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background: var(--card-bg);
  min-height: 400px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.certification-slide {
  min-width: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certification-image {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 8px;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  border: none;
  color: white;
  cursor: pointer;
  z-index: 2;
}

.slider-nav.prev { left: -20px; }
.slider-nav.next { right: -20px; }

.upload-btn {
  margin-top: 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}
:root {
  --primary-color: #87CEEB;
  --secondary-color: #ffffff;
  --text-color: #333333;
  --bg-color: #ffffff;
  --card-bg: #ffffff;
  --muted-color: #6c757d;
}

.dark-mode {
  --primary-color: #87CEEB;  /* Keep sky blue color */
  --secondary-color: #2d2d2d;
  --text-color: #ffffff;     /* White text for dark mode */
  --bg-color: #1a1a1a;
  --card-bg: #2d2d2d;
  --muted-color: #cccccc;
}

/* Add these dark mode specific styles */
/* Profile image styles */
.profile-image-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Dark mode fixes */
.dark-mode {
  --primary-color: #87CEEB;
  --secondary-color: #2d2d2d;
  --text-color: #ffffff !important;
  --bg-color: #1a1a1a;
  --card-bg: #2d2d2d;
}

.dark-mode .card,
.dark-mode .text-muted,
.dark-mode p,
.dark-mode h1,
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode h5,
.dark-mode h6,
.dark-mode li {
  color: var(--text-color) !important;
}

.dark-mode .bg-light {
  background-color: var(--bg-color) !important;
}
/* Update existing styles */
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: all 0.3s ease;
}

.card {
  background-color: var(--card-bg);
  color: var(--text-color);
  transition: all 0.3s ease;
}

.text-muted {
  color: var(--muted-color) !important;
}

#hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-color);
}

      /* Navbar Styles */
      .navbar {
          height: 50px; /* Fixed height */
          background: rgba(188, 237, 252, 0.95) !important;
          backdrop-filter: blur(10px);
          box-shadow: 0 2px 10px rgba(0,0,0,0.1);
          transition: all 0.3s ease;
          padding: 20px 0;
      }

      .dark-mode .navbar {
          background: rgba(26, 26, 26, 0.95) !important;
      }

      .navbar-brand {
          font-weight: 700;
          color: var(--primary-color) !important;
      }

      .nav-link {
          position: relative;
          margin: 0 10px;
          font-weight: 500;
          color: var(--text-color) !important;
          transition: color 0.3s ease;
      }

      .nav-link:after {
          content: '';
          position: absolute;
          width: 0;
          height: 2px;
          bottom: 0;
          left: 0;
          background-color: var(--primary-color);
          transition: width 0.3s ease;
      }

      .nav-link:hover:after {
          width: 100%;
      }

      /* Dark Mode Toggle */
      .dark-mode-toggle {
          cursor: pointer;
          padding: 5px 10px;
          border-radius: 20px;
          border: 2px solid var(--primary-color);
          transition: all 0.3s ease;
      }

      .dark-mode-toggle:hover {
          background: var(--primary-color);
          color: white;
      }

      /* Card Styles */
      .card {
          background-color: var(--card-bg);
          border: 1px solid rgba(0,0,0,0.1);
          transition: all 0.3s ease;
      }

      .dark-mode .card {
          border-color: #3d3d3d;
      }

      .skill-card {
          transition: transform 0.3s ease;
      }

      .skill-card:hover {
          transform: translateY(-10px);
      }

      /* Hero Section */
      
      #hero {
          padding-top: 80px;
          background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      }

      /* Sections */
      section {
          padding: 80px 0;
      }

      /* Footer */
      footer {
          background-color: var(--secondary-color);
          color: var(--text-color);
      }
      /* Social Media Links Styles */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 20px;
}

/* WhatsApp */
.social-icon.whatsapp {
  background: #25D366;
  color: white;
}

.social-icon.whatsapp:hover {
  background: #128C7E;
  transform: translateY(-5px);
}

/* Facebook */
.social-icon.facebook {
  background: #1877F2;
  color: white;
}

.social-icon.facebook:hover {
  background: #0D65D9;
  transform: translateY(-5px);
}

/* Gmail */
.social-icon.gmail {
  background: #EA4335;
  color: white;
}

.social-icon.gmail:hover {
  background: #D93025;
  transform: translateY(-5px);
}

/* LinkedIn */
.social-icon.linkedin {
  background: #0A66C2;
  color: white;
}

.social-icon.linkedin:hover {
  background: #0952A0;
  transform: translateY(-5px);
}

/* Dark mode fixes */
.dark-mode .social-icon {
  color: white !important;
}

.dark-mode .contact-info {
  background: var(--card-bg);
}
/* Mouse cursor animation */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease;
  transform: translate(-50%, -50%);
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
}

/* Cursor hover effect */
.custom-cursor.hover {
  transform: translate(-50%, -50%) scale(1.5);
  background: rgba(135, 206, 235, 0.1);
}

.custom-cursor-dot.hover {
  transform: translate(-50%, -50%) scale(0.5);
}

/* Hide default cursor */
body {
  cursor: none;
}

/* Show default cursor on interactive elements */
a, button, input, textarea, .dark-mode-toggle, .navbar-toggler {
  cursor: none;
}

/* Dark mode cursor colors */
.dark-mode .custom-cursor {
  border-color: var(--text-color);
}

.dark-mode .custom-cursor-dot {
  background: var(--text-color);
}
/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.scroll-to-top.visible {
  display: flex;
}

/* Dark mode fixes */
.dark-mode .scroll-to-top {
  background: #87CEEB;
  color: #1a1a1a;
}

.dark-mode .scroll-to-top:hover {
  background: #5eb1d8;
}
/* Review Cards Styling */
#reviews .card {
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

#reviews .card:hover {
  transform: translateY(-10px);
}

.dark-mode #reviews .card {
  background-color: var(--card-bg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

#reviews .text-warning {
  color: #ffc107 !important;
}

#reviews .card-text {
  font-style: italic;
}
/* Services Section Styles */
.service-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-icon {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-hover-content {
  opacity: 0;
  height: 0;
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-card:hover .service-hover-content {
  opacity: 1;
  height: auto;
  margin-top: 1rem;
}

/* Dark mode fixes */
.dark-mode .service-card {
  background: var(--card-bg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.dark-mode .service-card:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.dark-mode .service-icon {
  color: var(--primary-color);
}

.dark-mode .card-title,
.dark-mode .card-text {
  color: var(--text-color);
}



#ai-chat-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 1000;
    font-family: 'Segoe UI', sans-serif;
}

.chat-toggle-btn {
    background: linear-gradient(135deg, #87CEEB, #5eb1d8);
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.chat-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.ai-icon {
    position: relative;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-icon i {
    color: white;
    font-size: 20px;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chat-label {
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    padding: 12px 15px;
    background: linear-gradient(135deg, #87CEEB, #5eb1d8);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-avatar {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-text {
    display: flex;
    flex-direction: column;
}

.ai-name {
    font-weight: 600;
    font-size: 14px;
}

.ai-status-indicator {
    font-size: 12px;
    opacity: 0.8;
}

.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.message {
    margin-bottom: 10px;
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 13px;
    line-height: 1.4;
}

.ai-message {
    background: #f0f4f8;
    margin-right: auto;
    border-bottom-left-radius: 5px;
}

.user-message {
    background: #87CEEB;
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 5px;
}

.chat-input {
    padding: 10px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 8px;
}

.chat-input textarea {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 12px;
    resize: none;
    font-size: 13px;
}

.send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #87CEEB;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

.send-btn:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Dark mode support */
.dark-mode #ai-chat-widget .chat-window {
    background: #2d2d2d;
    color: white;
}

.dark-mode #ai-chat-widget .chat-input textarea {
    background: #1a1a1a;
    color: white;
    border-color: #444;
}

.dark-mode #ai-chat-widget .ai-message {
    background: #3d3d3d;
    color: white;
}
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.robot-loader {
    text-align: center;
}

/* Robot Styles */
.robot {
    width: 200px;
    height: 300px;
    margin: 0 auto 2rem;
    position: relative;
    animation: floatRobot 3s ease-in-out infinite;
}

/* Head Styles */
.head {
    width: 120px;
    height: 120px;
    background: #2d2d2d;
    border-radius: 30px;
    position: relative;
    margin: 0 auto;
    border: 3px solid #87CEEB;
    box-shadow: 0 0 20px rgba(135, 206, 235, 0.3);
}

/* Antenna */
.antenna {
    width: 4px;
    height: 30px;
    background: #87CEEB;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    animation: antennaGlow 2s ease-in-out infinite;
}

.antenna-light {
    width: 8px;
    height: 8px;
    background: #87CEEB;
    border-radius: 50%;
    position: absolute;
    top: -4px;
    left: -2px;
    animation: pulse 1s ease-in-out infinite;
}

/* Eyes */
.eyes {
    display: flex;
    justify-content: space-around;
    padding: 30px 20px;
}

.eye {
    width: 30px;
    height: 30px;
    background: #87CEEB;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.pupil {
    width: 15px;
    height: 15px;
    background: #0a0a0a;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: lookAround 4s ease-in-out infinite;
}

.scan-line {
    width: 100%;
    height: 2px;
    background: rgba(10, 10, 10, 0.5);
    position: absolute;
    top: 50%;
    animation: scan 2s linear infinite;
}

/* Mouth */
.mouth {
    width: 40px;
    height: 6px;
    background: #87CEEB;
    margin: 15px auto;
    position: relative;
    overflow: hidden;
}

.mouth-lights {
    display: flex;
    justify-content: space-around;
}

.light {
    width: 4px;
    height: 4px;
    background: #0a0a0a;
    border-radius: 50%;
    animation: speak 0.5s linear infinite;
}

/* Body */
.body {
    width: 140px;
    height: 160px;
    background: #2d2d2d;
    margin: 10px auto;
    border-radius: 20px;
    border: 3px solid #87CEEB;
    position: relative;
    overflow: hidden;
}

/* Chest Light */
.chest-light {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.core {
    width: 20px;
    height: 20px;
    background: #87CEEB;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

.core-ring {
    width: 100%;
    height: 100%;
    border: 3px solid #87CEEB;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: rotate 4s linear infinite;
}

/* Welcome Text */
.welcome-text {
    color: #87CEEB;
    margin-top: 2rem;
}

.welcome-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: glow 2s ease-in-out infinite;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(135, 206, 235, 0.2);
    margin: 1rem auto;
    border-radius: 2px;
    overflow: hidden;
}

.progress {
    width: 0%;
    height: 100%;
    background: #87CEEB;
    animation: progress 3s ease-out forwards;
}

.status-text {
    color: #87CEEB;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Animations */
@keyframes floatRobot {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

@keyframes lookAround {
    0%, 100% { transform: translate(-50%, -50%); }
    25% { transform: translate(-30%, -30%); }
    50% { transform: translate(-50%, -70%); }
    75% { transform: translate(-70%, -30%); }
}

@keyframes scan {
    0%, 100% { transform: translateY(-50%) scaleX(0); opacity: 0; }
    50% { transform: translateY(-50%) scaleX(1); opacity: 1; }
}

@keyframes speak {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 10px rgba(135, 206, 235, 0.5); }
    50% { text-shadow: 0 0 20px rgba(135, 206, 235, 0.8); }
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}



    .blog-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        overflow: hidden;
    }
    
    .blog-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .blog-image-container {
        position: relative;
        overflow: hidden;
    }
    
    .blog-image-container img {
        height: 200px;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
    
    .blog-card:hover .blog-image-container img {
        transform: scale(1.1);
    }
    
    .blog-overlay {
        position: absolute;
        top: 15px;
        left: 15px;
    }
    
    .blog-category {
        background: #007bff;
        color: white;
        padding: 5px 15px;
        border-radius: 20px;
        font-size: 0.8rem;
    }
    
    .blog-meta {
        display: flex;
        gap: 15px;
        font-size: 0.9rem;
        color: #6c757d;
        margin-top: 15px;
    }
    
    .blog-meta i {
        margin-right: 5px;
    }
    
    .digital-clock {
      font-family: 'Orbitron', sans-serif;
      font-size: 14px;
      color: var(--text-color);
      margin-right: 20px;
      padding: 5px 10px;
      border-radius: 15px;
      background: rgba(135, 206, 235, 0.1);
      border: 1px solid var(--primary-color);
      display: inline-block;
  }
  
  .dark-mode .digital-clock {
      background: rgba(135, 206, 235, 0.05);
      color: var(--text-color);
  }
  
  @keyframes clockPulse {
      0% { opacity: 1; }
      50% { opacity: 0.7; }
      100% { opacity: 1; }
  }
  
  #clock {
      animation: clockPulse 2s infinite;
  }

  /* Add this to your existing CSS */
#hero {
  position: relative;
  overflow: hidden;
}

.digital-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.1;
}

.grid-line {
  position: absolute;
  background: #000;
}

.digital-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #000;
  border-radius: 50%;
}

.digital-path {
  position: absolute;
  border: 2px solid #000;
  border-radius: 20px;
}

/* Make sure content stays above animation */
#hero .container {
  position: relative;
  z-index: 2;
}

/* Dark mode support */
.dark-mode .grid-line,
.dark-mode .digital-particle,
.dark-mode .digital-path {
  background: #000;
  border-color: #000;
}