:root {
    --primary-light: #f8f9fa;
    --secondary-light: #e9ecef;
    --text-light: #212529;
    --accent-light: #6610f2;
    --gradient-light: linear-gradient(135deg, #3d2c8d 0%, #7b2cbf 100%);

    --primary-dark: #121212;
    --secondary-dark: #1e1e1e;
    --text-dark: #f8f9fa;
    --accent-dark: #bb86fc;
    --gradient-dark: linear-gradient(
      135deg,
      rgba(138, 43, 226, 0.7),
      rgba(233, 30, 99, 0.5)
    );

    /* Current Theme (defaults to light) */
    --primary: var(--primary-light);
    --secondary: var(--secondary-light);
    --text: var(--text-light);
    --accent: var(--accent-light);
    --border: var(--border-light);

    --transition-speed: 0.3s;
    --blur-amount: 10px;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }

  html{
    scroll-behavior: smooth;
  }

  body {
    background-color: var(--primary-light);
    color: var(--text-light);
    transition: background-color var(--transition-speed),
      color var(--transition-speed);
  }

  body.dark-mode {
    background-color: var(--primary-dark);
    color: var(--text-dark);
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    transition: all var(--transition-speed);
  }

  .light-navbar {
    background: rgba(248, 249, 250, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .dark-navbar {
    background: rgba(18, 18, 18, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    z-index: -1;
    transition: background var(--transition-speed);
  }

  .light-gradient {
    background: var(--gradient-light);
  }

  .dark-gradient {
    background: var(--gradient-dark);
  }

  .logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: transform var(--transition-speed);
  }

  .logo:hover {
    transform: translateY(-2px);
  }

  .nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
  }

  .nav-link {
    position: relative;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color var(--transition-speed);
    cursor: pointer;
  }

  .light-mode .nav-link {
    color: var(--text-light);
  }

  .dark-mode .nav-link {
    color: var(--text-dark);
  }

  .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: width var(--transition-speed);
  }

  .light-mode .nav-link::after {
    background-color: var(--accent-light);
  }

  .dark-mode .nav-link::after {
    background-color: var(--accent-dark);
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .active::after {
    width: 100%;
  }

  .right-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color var(--transition-speed),
      transform var(--transition-speed);
  }

  .light-mode .nav-theme-toggle {
    background-color: var(--secondary-light);
    color: var(--text-light);
  }

  .dark-mode .nav-theme-toggle {
    background-color: var(--secondary-dark);
    color: var(--text-dark);
  }

  .nav-theme-toggle:hover {
    transform: rotate(15deg);
  }

  .mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    transition: transform var(--transition-speed);
  }

  /* Close button for mobile menu */
  .close-mobile-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    z-index: 1000;
    transition: transform 0.2s;
    color: var(--text-light);
  }

  .dark-mode .close-mobile-menu {
    color: var(--text-dark);
  }

  .close-mobile-menu:hover {
    transform: rotate(90deg);
  }

  @media (max-width: 768px) {
    .mobile-toggle {
      display: block;
    }

    .close-mobile-menu {
      display: block;
    }

    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 70%;
      height: 100vh;
      gap: 2rem;
      transition: right var(--transition-speed);
      backdrop-filter: blur(calc(var(--blur-amount) * 2));
      -webkit-backdrop-filter: blur(calc(var(--blur-amount) * 2));
      z-index: 999;
    }

    .light-mode .nav-links {
      background: rgba(248, 249, 250, 0.9);
    }

    .dark-mode .nav-links {
      background: rgba(18, 18, 18, 0.9);
    }

    .nav-links.show {
      right: 0;
    }

    .right-section {
      gap: 1rem;
    }
  }

  /* Hero section=========== */
  .hero-container {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  align-items: center;
  padding: 0 5%;
    overflow: hidden;
    margin-top: 40px;
  }

  /* New styles for the gradient background */
  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
  }

  .hero-bg-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background-image: url("/Images/gradient.png");
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    transition: transform 0.2s ease-out;
    filter: brightness(1.2);
  }

  .glow-effect {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(123, 72, 147, 0.3) 0%,
      rgba(23, 224, 13, 0) 70%
    );
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 50%;
  }


  .hero-greeting {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.2s;
  }

  .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.4s;
  }

  .hero-title span {
    background: var(--gradient-light);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
  }

  body.dark-mode .hero-title span {
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    background-clip: text;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.6s;
  }

  .hero-cta {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.8s;
  }

  .hero-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
  }

  .hero-btn-primary {
    background: var(--gradient-light);
    color: white;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
  }

  .hero-btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-light);
    color: var(--accent-light);
  }

  body.dark-mode .hero-btn-primary {
    background: var(--gradient-dark);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
  }

  body.dark-mode .hero-btn-secondary {
    border: 2px solid var(--accent-dark);
    color: var(--accent-dark);
  }

  .hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(123, 44, 191, 0.4);
  }

  .hero-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 16, 242, 0.2);
  }

  body.dark-mode .hero-btn-secondary:hover {
    box-shadow: 0 8px 20px rgba(187, 134, 252, 0.2);
  }

  .hero-3d-model {
    position: relative;
    z-index: 2;
    width: 45%;
    height: 90vh;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards 1s;
  }
  
  spline-viewer {
    width: 100%;
    height: 100%;
    border-radius: 10px;
  }

  .blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(var(--blur-amount));
    opacity: 0.8;
    z-index: 0;
  }

  .blur-circle-1 {
    width: 300px;
    height: 300px;
    background: rgba(123, 44, 191, 0.15);
    top: -100px;
    left: -100px;
    animation: float 12s infinite ease-in-out;
  }

  .blur-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(102, 16, 242, 0.15);
    bottom: -50px;
    right: 10%;
    animation: float 10s infinite ease-in-out 1s;
  }

  body.dark-mode .blur-circle-1 {
    background: rgba(138, 43, 226, 0.15);
  }

  body.dark-mode .blur-circle-2 {
    background: rgba(233, 30, 99, 0.15);
  }

  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes fadeIn {
    from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

  @keyframes float {
    0%,
    100% {
      transform: translateY(-50%) translateY(0);
    }
    50% {
      transform: translateY(-50%) translateY(-20px);
    }
  }

  /* Add responsive adjustments */
@media (max-width: 1024px) {
    .hero-container {
      flex-direction: column;
      height: auto;
      min-height: 100vh;
      padding: 80px 5% 40px;
    }
    
    .hero-content {
      max-width: 100%;
      text-align: center;
      margin-bottom: 50px;
    }
    
    .hero-cta {
      justify-content: center;
    }
    
    .hero-3d-model {
      width: 100%;
      height: 50vh;
    }
  }

  @media (max-width: 992px) {
    .hero-container {
      flex-direction: column;
      justify-content: center;
      text-align: center;
      padding: 0 5%;
      margin-top: 0;
    }

    .hero-content {
      max-width: 100%;
    }

    .hero-title {
      font-size: 2.5rem;
    }

    .model-container {
      position: relative;
      width: 80%;
      max-width: 350px;
      height: 300px;
      right: auto;
      top: auto;
      transform: none;
      margin: 2rem auto 0;
      animation: fadeIn 1s ease forwards 1s,
        floatMobile 8s ease-in-out infinite;
    }

    @keyframes floatMobile {
      0%,
      100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-15px);
      }
    }

    .hero-cta {
      justify-content: center;
    }
  }

  /* Fix for mobile layout issues */
  @media (max-width: 768px) {
    .hero-title {
      font-size: 2rem;
    }

    .hero-3d-model{
        display: none;
    }
    .model-container {
      width: 90%;
      height: 250px;
      margin-bottom: 2rem;
    }

    .hero-container {
      padding-top: 80px;
      height: auto;
      min-height: 100vh;
    }

    .hero-theme-toggle {
      top: 1rem;
      right: 1rem;
    }
  }

  .about-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    overflow: hidden;
    background-color: var(--primary-light);
    transition: background-color var(--transition-speed);
  }

  body.dark-mode .about-container {
    background-color: var(--primary-dark);
  }

  .about-blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(var(--blur-amount));
    opacity: 0.6;
    z-index: 0;
    transition: background var(--transition-speed);
  }

  .about-blur-circle-1 {
    width: 400px;
    height: 400px;
    background: rgba(123, 44, 191, 0.15);
    bottom: -200px;
    left: -150px;
    animation: floatSlow 15s infinite ease-in-out;
  }

  .about-blur-circle-2 {
    width: 300px;
    height: 300px;
    background: rgba(102, 16, 242, 0.15);
    top: 20%;
    right: -100px;
    animation: floatSlow 18s infinite ease-in-out 2s;
  }

  body.dark-mode .about-blur-circle-1 {
    background: rgba(138, 43, 226, 0.15);
  }

  body.dark-mode .about-blur-circle-2 {
    background: rgba(233, 30, 99, 0.15);
  }

  .about-content {
    position: relative;
    z-index: 2;
    max-width: 550px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .about-content.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .about-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
  }

  .emoji-container {
    font-size: 2.5rem;
    margin-right: 1rem;
    animation: pulse 2.5s infinite ease-in-out;
  }

  .about-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
    position: relative;
  }

  .about-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: var(--gradient-light);
    border-radius: 2px;
    transition: background var(--transition-speed);
  }

  body.dark-mode .about-title::after {
    background: var(--gradient-dark);
  }

  .typewriter-container {
    height: 2.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
  }

  .about-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--accent-light);
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    transition: color var(--transition-speed);
  }

  body.dark-mode .about-tagline {
    color: var(--accent-dark);
  }

  .about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
  }

  .about-cta {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .about-btn {
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
  }

  .about-btn-primary {
    background: var(--gradient-light);
    color: white;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
  }

  .about-btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-light);
    color: var(--accent-light);
  }

  body.dark-mode .about-btn-primary {
    background: var(--gradient-dark);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
  }

  body.dark-mode .about-btn-secondary {
    border: 2px solid var(--accent-dark);
    color: var(--accent-dark);
  }

  .about-btn:hover {
    transform: translateY(-3px);
  }

  .about-btn-primary:hover {
    box-shadow: 0 8px 20px rgba(123, 44, 191, 0.4);
  }

  .about-btn-secondary:hover {
    box-shadow: 0 8px 20px rgba(102, 16, 242, 0.2);
  }

  body.dark-mode .about-btn-secondary:hover {
    box-shadow: 0 8px 20px rgba(187, 134, 252, 0.2);
  }

  .about-image-container {
    position: relative;
    width: 40%;
    max-width: 450px;
    z-index: 2;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
  }

  .about-image-container.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .about-image-frame {
    position: relative;
    padding-top: 120%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: box-shadow var(--transition-speed);
  }

  body.dark-mode .about-image-frame {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  .about-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/Images/IMG_20231114_123335.jpg");
    background-size: cover;
    background-position:left;
  }

  .frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border-color: var(--accent-light);
    transition: border-color var(--transition-speed);
    animation: glow 3s infinite ease-in-out;
  }

  body.dark-mode .frame-corner {
    border-color: var(--accent-dark);
  }

  .frame-corner-tl {
    top: 10px;
    left: 10px;
    border-top: 3px solid;
    border-left: 3px solid;
  }

  .frame-corner-tr {
    top: 10px;
    right: 10px;
    border-top: 3px solid;
    border-right: 3px solid;
  }

  .frame-corner-bl {
    bottom: 10px;
    left: 10px;
    border-bottom: 3px solid;
    border-left: 3px solid;
  }

  .frame-corner-br {
    bottom: 10px;
    right: 10px;
    border-bottom: 3px solid;
    border-right: 3px solid;
  }

  @keyframes floatSlow {
    0%,
    100% {
      transform: translate(0, 0);
    }
    50% {
      transform: translate(30px, -30px);
    }
  }

  @keyframes pulse {
    0%,
    100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
  }

  @keyframes glow {
    0%,
    100% {
      filter: drop-shadow(0 0 3px rgba(123, 44, 191, 0.3));
    }
    50% {
      filter: drop-shadow(0 0 8px rgba(123, 44, 191, 0.6));
    }
  }

  @media (max-width: 992px) {
    .about-container {
      flex-direction: column;
      justify-content: center;
      text-align: center;
      padding: 5rem 5%;
    }

    .about-content,
    .about-image-container {
      max-width: 100%;
      width: 100%;
      margin-bottom: 3rem;
    }

    .about-header {
      justify-content: center;
    }

    .about-title::after {
      left: 50%;
      transform: translateX(-50%);
    }

    .about-cta {
      justify-content: center;
    }

    .about-image-container {
      max-width: 350px;
    }
  }

  @media (max-width: 768px) {
    .about-title {
      font-size: 2.2rem;
    }

    .about-tagline {
      font-size: 1rem;
    }

    .about-text {
      font-size: 1rem;
    }
  }

  /* Journey Section Styles */
  .journey-section {
    min-height: 100vh;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
  }

  .journey-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }

  .journey-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
  }

  .journey-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
  }

  .dark-mode .journey-title {
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .journey-subtitle {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
  }

  .journey-subtitle strong {
    color: var(--accent-light);
  }

  .dark-mode .journey-subtitle strong {
    color: var(--accent-dark);
  }

  /* Timeline Styles */
  .timeline {
    position: relative;
    margin: 80px 0;
  }

  .timeline::before {
    content: "";
    position: absolute;
    width: 2px;
    background: var(--accent-light);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.3;
  }

  .dark-mode .timeline::before {
    background: var(--accent-dark);
  }

  .timeline-item {
    margin-bottom: 100px;
    position: relative;
    opacity: 0;
  }

  .timeline-item:last-child {
    margin-bottom: 0;
  }

  .timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
  }

  .timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
  }

  .timeline-content {
    background: var(--secondary-light);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    overflow: hidden;
  }

  .dark-mode .timeline-content {
    background: var(--secondary-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }

  .timeline-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-light);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
  }

  .dark-mode .timeline-content::before {
    background: var(--gradient-dark);
  }

  .timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }

  .dark-mode .timeline-content:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  }

  .timeline-content:hover::before {
    opacity: 0.05;
  }

  .dark-mode .timeline-content:hover::before {
    opacity: 0.1;
  }

  .timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
  }

  .dark-mode .timeline-icon {
    background: var(--gradient-dark);
  }

  .timeline-item:nth-child(odd) .timeline-icon {
    right: calc(50% - 30px);
  }

  .timeline-item:nth-child(even) .timeline-icon {
    left: calc(50% - 30px);
  }

  .timeline-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-light);
  }

  .dark-mode .timeline-title {
    color: var(--accent-dark);
  }

  .timeline-description {
    line-height: 1.6;
  }

  .timeline-description strong {
    font-weight: bold;
    color: var(--accent-light);
  }

  .dark-mode .timeline-description strong {
    color: var(--accent-dark);
  }

  /* Floating Background Elements */
  .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
  }

  .floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-light);
    opacity: 0.05;
    filter: blur(var(--blur-amount));
  }

  .dark-mode .floating-element {
    background: var(--accent-dark);
    opacity: 0.1;
  }

  .floating-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -150px;
  }

  .floating-element:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -100px;
  }

  .floating-element:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 30%;
  }

  /* Theme Toggle */
  .theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--secondary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: background-color var(--transition-speed);
  }

  .dark-mode .theme-toggle {
    background: var(--secondary-dark);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  .theme-toggle i {
    font-size: 1.5rem;
    color: var(--text-light);
    transition: color var(--transition-speed);
  }

  .dark-mode .theme-toggle i {
    color: var(--text-dark);
  }

  /* Responsive Styles */
  @media (max-width: 768px) {
    .journey-title {
      font-size: 2.5rem;
    }

    .timeline::before {
      left: 30px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
      padding-left: 80px;
      padding-right: 0;
    }

    .timeline-item:nth-child(odd) .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
      left: 0;
      right: auto;
    }
  }


/* ================================================================================================ */
.skills-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }

  .skills-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
  }

  .skills-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background var(--transition-speed);
  }

  .dark-mode .skills-header h2 {
    background: var(--gradient-dark);
    -webkit-background-clip: text;
    background-clip: text;
  }

  .skills-header p {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
  }

  .bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, minmax(120px, auto));
    gap: 1rem;
    margin-top: 2rem;
  }

  .bento-tile {
    background-color: var(--secondary-light);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease,
      background-color var(--transition-speed);
    cursor: pointer;
  }

  .dark-mode .bento-tile {
    background-color: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .bento-tile:hover {
    transform: translateY(-5px) scale(1.02);
  }

  .dark-mode .bento-tile:hover {
    box-shadow: 0 0 15px 2px var(--accent-dark);
  }

  .light-mode .bento-tile:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }

  .tile-icon {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .tile-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
  }

  .tile-content {
    opacity: 0.8;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
  }

  .tile-hover-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-light);
    color: var(--accent-light);
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
  }

  .dark-mode .tile-hover-text {
    background-color: var(--secondary-dark);
    color: var(--accent-dark);
  }

  .bento-tile:hover .tile-hover-text {
    opacity: 1;
  }

  /* Specific tile sizes */
  .tile-large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .tile-medium {
    grid-column: span 2;
    grid-row: span 1;
  }

  .tile-vertical {
    grid-column: span 1;
    grid-row: span 2;
  }

  /* Featured tile */
  .tile-featured {
    background: var(--gradient-light);
    color: white;
    grid-column: span 2;
    grid-row: span 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 1.3rem;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .tile-featured-vertical {
    background: var(--gradient-light);
    color: white;
    grid-column: span 1;
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .dark-mode .tile-featured,
  .dark-mode .tile-featured-vertical {
    background: var(--gradient-dark);
  }

  .tile-featured::before,
  .tile-featured-vertical::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
      to bottom right,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0)
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
  }

  @keyframes shine {
    0% {
      transform: translateX(-100%) rotate(45deg);
    }
    100% {
      transform: translateX(100%) rotate(45deg);
    }
  }

  @keyframes float {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

  @keyframes pulse {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0.7;
    }
  }

  .dark-mode .tile-featured .text-glitch,
  .dark-mode .tile-featured-vertical .text-glitch {
    animation: textGlitch 3s infinite;
    position: relative;
  }

  @keyframes textGlitch {
    0%,
    100% {
      text-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }
    5%,
    15% {
      text-shadow: 0.1em 0 0 rgba(255, 0, 255, 0.75),
        -0.1em -0.1em 0 rgba(0, 255, 255, 0.75);
    }
    10%,
    20% {
      text-shadow: -0.1em 0 0 rgba(255, 0, 255, 0.75),
        0.1em -0.1em 0 rgba(0, 255, 255, 0.75);
    }
  }

  .skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .skill-tag {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: background-color var(--transition-speed),
      transform 0.2s ease;
  }

  .dark-mode .skill-tag {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .skill-tag:hover {
    transform: scale(1.1);
    background-color: var(--accent-light);
    color: white;
  }

  .dark-mode .skill-tag:hover {
    background-color: var(--accent-dark);
    color: var(--primary-dark);
  }

  /* Glassmorphism effect for dark mode */
  .dark-mode .bento-tile {
    backdrop-filter: blur(var(--blur-amount));
    background-color: rgba(30, 30, 30, 0.6);
  }

  /* Media queries */
  @media screen and (max-width: 992px) {
    .bento-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media screen and (max-width: 768px) {
    .bento-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .tile-large,
    .tile-medium {
      grid-column: span 2;
    }
  }

  @media screen and (max-width: 576px) {
    .bento-grid {
      grid-template-columns: 1fr;
    }
    .tile-large,
    .tile-medium,
    .tile-featured,
    .tile-featured-vertical {
      grid-column: span 1;
    }
    .tile-vertical,
    .tile-featured-vertical {
      grid-row: span 1;
    }
  }

  /* 3D transform effect on scroll */
  .perspective-container {
    perspective: 1000px;
    transition: transform 0.5s ease;
  }

  .tilt-effect {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
  }

  /* Theme toggle styles */
  .toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .mode-label {
    margin: 0 0.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
  }

/* ===================================== */
.drives-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all var(--transition-speed);
    margin-top: 6rem;
    margin-bottom: 6rem;
    margin-left: auto;
  }

  .light-mode .drives-container {
    background-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .dark-mode .drives-container {
    background-color: var(--secondary-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 40px var(--accent-dark);
  }

  .header {
    padding: 30px;
    position: relative;
    overflow: hidden;
  }

  .light-mode .header {
    background-color: var(--secondary-light);
  }

  .dark-mode .header {
    background: var(--gradient-dark);
    backdrop-filter: blur(var(--blur-amount));
  }

  .title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
  }

  .light-mode .title {
    background: var(--gradient-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .dark-mode .title {
    color: var(--text-dark);
    text-shadow: 0 0 10px var(--accent-dark);
  }

  .content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
    position: relative;
    z-index: 2;
  }

  @media (min-width: 768px) {
    .content {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .drive-card {
    position: relative;
    border-radius: 12px;
    padding: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
  }

  .light-mode .drive-card {
    background-color: var(--primary-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }

  .dark-mode .drive-card {
    background-color: rgba(30, 30, 30, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(187, 134, 252, 0.1);
  }

  .drive-card:hover {
    transform: translateY(-10px);
  }

  .light-mode .drive-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }

  .dark-mode .drive-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-dark);
    border: 1px solid var(--accent-dark);
  }

  .drive-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    transition: height 0.4s ease;
  }

  .light-mode .drive-card::before {
    background: var(--accent-light);
  }

  .dark-mode .drive-card::before {
    background: var(--accent-dark);
  }

  .drive-card:hover::before {
    height: 100%;
  }

  .drive-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
  }

  .light-mode .drive-icon {
    color: var(--accent-light);
  }

  .dark-mode .drive-icon {
    color: var(--accent-dark);
  }

  .drive-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .drive-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
  }

  .background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
  }

  .shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    filter: blur(40px);
  }

  .light-mode .shape {
    background: var(--gradient-light);
    opacity: 0.2;
  }

  .dark-mode .shape {
    background: var(--gradient-dark);
    opacity: 0.4;
  }

  .shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
  }

  .shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
  }

  .shape-3 {
    width: 150px;
    height: 150px;
    top: 40%;
    left: 30%;
  }

  .animated-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
  }

  .particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: float 15s infinite linear;
    opacity: 0;
  }

  .light-mode .particle {
    background-color: var(--accent-light);
  }

  .dark-mode .particle {
    background-color: var(--accent-dark);
    box-shadow: 0 0 10px var(--accent-dark);
  }

  @keyframes float {
    0% {
      transform: translateY(0) translateX(0);
      opacity: 0;
    }
    10% {
      opacity: 0.8;
    }
    90% {
      opacity: 0.8;
    }
    100% {
      transform: translateY(-500px) translateX(100px);
      opacity: 0;
    }
  }


/* =============================================== */
.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
  }

  .projects-heading {
    text-align: center;
    margin-bottom: 60px;
    font-size: 3rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
  }

  .projects-heading::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-light);
    transition: background var(--transition-speed);
  }

  body.dark-mode .projects-heading::after {
    background: var(--accent-dark);
    box-shadow: 0 0 10px var(--accent-dark);
  }

  .project-cards {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .project-card {
    width: 100%;
    max-width: 900px;
    min-height: 250px;
    padding: 25px;
    border-radius: 12px;
    background-color: var(--secondary-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.6s ease, opacity 0.6s ease,
      background-color var(--transition-speed),
      box-shadow var(--transition-speed);
    display: flex;
    position: relative;
    overflow: hidden;
  }

  body.dark-mode .project-card {
    background-color: var(--secondary-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(187, 134, 252, 0.1);
  }

  body.dark-mode .project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(
        90deg,
        var(--accent-dark),
        transparent,
        var(--accent-dark)
      )
      border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.3;
  }

  .project-card.highlight {
    max-width: 1000px;
    min-height: 300px;
    background: var(--gradient-light);
    color: white;
  }

  body.dark-mode .project-card.highlight {
    background: var(--gradient-dark);
  }

  .project-card.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .project-card:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }

  body.dark-mode .project-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  }

  .project-image {
    flex: 0 0 40%;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
  }

  .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .project-card:hover .project-image img {
    transform: scale(1.1);
  }

  .project-content {
    flex: 0 0 60%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .project-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
  }

  .project-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-light);
    transition: width 0.3s ease, background var(--transition-speed);
  }

  body.dark-mode .project-title::after {
    background: var(--accent-dark);
    box-shadow: 0 0 5px var(--accent-dark);
  }

  .project-card:hover .project-title::after {
    width: 100%;
  }

  .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    margin-bottom: 15px;
  }

  .tech-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    background-color: rgba(102, 16, 242, 0.1);
    color: var(--accent-light);
    transition: background-color var(--transition-speed),
      color var(--transition-speed), transform 0.3s ease;
  }

  body.dark-mode .tech-badge {
    background-color: rgba(187, 134, 252, 0.1);
    color: var(--accent-dark);
  }

  .tech-badge:hover {
    transform: translateY(-3px);
  }

  .project-description {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
  }

  .project-links {
    display: flex;
    gap: 15px;
  }

  .project-link {
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }

  .project-link.demo {
    background-color: var(--accent-light);
    color: white;
  }

  .project-link.code {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
  }

  body.dark-mode .project-link.demo {
    background-color: var(--accent-dark);
    color: var(--primary-dark);
    box-shadow: 0 0 15px rgba(187, 134, 252, 0.3);
  }

  body.dark-mode .project-link.code {
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
  }

  .project-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
  }

  .project-link:hover::before {
    transform: translateX(0);
  }

  .project-link.demo:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(102, 16, 242, 0.2);
  }

  body.dark-mode .project-link.demo:hover {
    box-shadow: 0 10px 20px rgba(187, 134, 252, 0.4);
  }

  .project-link.code:hover {
    transform: translateY(-3px);
  }

  /* Highlight card special styling */
  .highlight .project-content {
    text-align: center;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 30px;
  }

  .highlight .project-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .highlight-animation {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }

  /* Glassmorphism effect */
  .glass-effect {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

  /* Responsive design */
  @media (max-width: 768px) {
    .project-card {
      flex-direction: column;
    }

    .project-image {
      height: 200px;
      flex: none;
      margin-bottom: 20px;
    }

    .project-content {
      padding: 0;
    }
  }


/* ============================================== */

  /* Blog Section Styles */
  .blog-section {
    padding: 6rem 2rem;
    overflow: hidden;
    position: relative;
  }

  .blog-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }

  .blog-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
  }

  .section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-light);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
  }

  .section-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
  }

  /* Blog Carousel */
  .blog-carousel-container {
    position: relative;
    padding: 1rem 0;
  }

  .blog-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 2rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    gap: 2rem;
    scroll-snap-type: x mandatory;
  }

  .blog-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  /* Blog Cards */
  .blog-card {
    min-width: 320px;
    width: calc(33.333% - 1.33rem);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
    animation-delay: calc(var(--card-index, 0) * 0.15s);
    background-color: var(--secondary-light);
    scroll-snap-align: start;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }

  body.dark-mode .blog-card {
    background-color: var(--secondary-dark);
    backdrop-filter: blur(var(--blur-amount));
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .blog-card:hover {
    transform: translateY(-8px);
  }

  body.light-mode .blog-card:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  }

  body.dark-mode .blog-card:hover {
    box-shadow: 0 10px 20px rgba(187, 134, 252, 0.1);
  }

  body.dark-mode .blog-card:hover::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-dark);
    z-index: -1;
    border-radius: 14px;
    opacity: 0.7;
    filter: blur(8px);
    animation: pulseGlow 3s infinite;
  }

  /* Blog Card Image */
  .blog-card-image-container {
    height: 180px;
    overflow: hidden;
  }

  .blog-card-image {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    transition: transform 0.6s ease;
  }

  .blog-card:hover .blog-card-image {
    transform: scale(1.08);
  }

  /* Blog Content */
  .blog-card-content {
    padding: 1.5rem;
    position: relative;
  }

  .blog-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
  }

  .blog-date, 
  .blog-category {
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
    display: inline-block;
  }

  .blog-date {
    background-color: rgba(102, 16, 242, 0.1);
    color: var(--accent-light);
  }

  body.dark-mode .blog-date {
    background-color: rgba(187, 134, 252, 0.1);
    color: var(--accent-dark);
  }

  .blog-category {
    background-color: rgba(0, 0, 0, 0.05);
  }

  body.dark-mode .blog-category {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .blog-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
  }

  .blog-excerpt {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    transition: opacity 0.3s ease;
  }

  .blog-card:hover .blog-excerpt {
    opacity: 1;
  }

  .read-more-btn {
    display: inline-flex;
    align-items: center;
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
  }

  body.dark-mode .read-more-btn {
    color: var(--accent-dark);
  }

  .read-more-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 0.25rem;
  }

  .read-more-btn:hover .arrow {
    transform: translateX(5px);
  }

  .read-more-btn::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-light);
    transition: width 0.3s ease;
  }

  body.dark-mode .read-more-btn::after {
    background-color: var(--accent-dark);
  }

  .read-more-btn:hover::after {
    width: 100%;
  }

  /* Navigation Controls */
  .blog-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .blog-nav-dots {
    display: flex;
    gap: 0.75rem;
  }

  .blog-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  body.dark-mode .blog-dot {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .blog-dot.active {
    background-color: var(--accent-light);
    transform: scale(1.2);
  }

  body.dark-mode .blog-dot.active {
    background-color: var(--accent-dark);
    box-shadow: 0 0 10px var(--accent-dark);
  }

  .blog-arrows {
    display: flex;
    gap: 1.5rem;
  }

  .blog-arrow-prev,
  .blog-arrow-next {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--text-light);
    transition: all 0.3s ease;
  }

  body.dark-mode .blog-arrow-prev,
  body.dark-mode .blog-arrow-next {
    background-color: rgba(255, 255, 255, 0.07);
    color: var(--text-dark);
  }

  .blog-arrow-prev:hover,
  .blog-arrow-next:hover {
    background-color: var(--accent-light);
    color: white;
    transform: translateY(-2px);
  }

  body.dark-mode .blog-arrow-prev:hover,
  body.dark-mode .blog-arrow-next:hover {
    background-color: var(--accent-dark);
    box-shadow: 0 0 15px rgba(187, 134, 252, 0.5);
  }

  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes pulseGlow {
    0% {
      opacity: 0.5;
    }
    50% {
      opacity: 0.8;
    }
    100% {
      opacity: 0.5;
    }
  }

  /* Responsive Design */
  @media (max-width: 1200px) {
    .blog-card {
      width: calc(50% - 1rem);
      min-width: 280px;
    }
  }

  @media (max-width: 768px) {
    .blog-card {
      width: 85%;
      min-width: 260px;
    }
    
    .section-title {
      font-size: 2rem;
    }
    
    .blog-section {
      padding: 4rem 1.5rem;
    }
  }

  @media (max-width: 480px) {
    .blog-card {
      width: 90%;
    }
    
    .blog-controls {
      flex-direction: column;
      gap: 1rem;
    }
    
    .section-title {
      font-size: 1.8rem;
    }
  }


  /* ==================================================== */
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    margin-bottom: 3rem;
  }

  .dark-mode .container {
    background: var(--secondary-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
      0 0 20px rgba(79, 70, 229, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .split-container {
    display: flex;
    flex-direction: row;
    min-height: 600px;
  }

  .left-panel {
    flex: 1;
    padding: 40px;
    position: relative;
    background: var(--secondary);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s ease;
  }

  .dark-mode .left-panel {
    background: var(--secondary-dark);
  }

  .holographic-effect {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(
      45deg,
      transparent,
      rgba(67, 97, 238, 0.05),
      transparent
    );
    animation: hologram 15s infinite linear;
    pointer-events: none;
  }

  .dark-mode .holographic-effect {
    background: linear-gradient(
      45deg,
      transparent,
      rgba(79, 70, 229, 0.1),
      transparent
    );
    animation: hologram-dark 15s infinite linear;
  }

  @keyframes hologram {
    0% {
      transform: translateX(-100%) translateY(-100%);
    }
    100% {
      transform: translateX(100%) translateY(100%);
    }
  }

  @keyframes hologram-dark {
    0% {
      transform: translateX(-100%) translateY(-100%);
      opacity: 0.3;
    }
    50% {
      opacity: 0.7;
    }
    100% {
      transform: translateX(100%) translateY(100%);
      opacity: 0.3;
    }
  }

  .left-content {
    position: relative;
    z-index: 2;
  }

  .headline {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
  }

  .dark-mode .headline {
    background: linear-gradient(
      90deg,
      var(--text-dark),
      var(--accent-dark)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(79, 70, 229, 0.3);
  }

  .subheadline {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
  }

  .contact-info {
    margin-bottom: 30px;
    
  }

  .contact-info a{
    color: var(--primary-dark);
    
    text-decoration: none;
  }
  .dark-mode .contact-info a{
    color: var(--primary-light);
    transition: var(--transition-speed);
  }


  .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
  }

  .contact-item:hover {
    transform: translateX(5px);
  }

  .contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: white;
  }

  .contact-text {
    font-size: 1rem;
  }

  .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
  }

  .dark-mode .social-link {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border-dark);
  }

  .social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: var(--accent);
    color: white;
  }

  .dark-mode .social-link:hover {
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
    background: var(--accent-dark);
  }

  .right-panel {
    flex: 1.2;
    padding: 40px;
    background: var(--primary);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
  }

  .dark-mode .right-panel {
    background: var(--primary-dark);
    box-shadow: inset 0 0 30px rgba(79, 70, 229, 0.1);
  }

  .form-headline {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
  }

  .form-group {
    margin-bottom: 25px;
    position: relative;
  }

  .form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .form-control {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--primary);
    color: var(--accent-dark);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    outline: none;
  }

  .dark-mode .form-control {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-dark);
    box-shadow: 0 0 0 1px rgba(79, 70, 229, 0);
  }

  .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
  }

  .dark-mode .form-control:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2),
      0 0 15px rgba(79, 70, 229, 0.1);
  }

  textarea.form-control {
    min-height: 120px;
    resize: none;
    overflow-y: auto;
    color: var(--accent-light);
  }

  .send-button {
    position: relative;
    padding: 15px 30px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
  }

  .send-button:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      45deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0)
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
  }

  .send-button:hover:before {
    transform: translateX(100%);
  }

  .dark-mode .send-button {
    background: var(--accent-dark);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
  }

  .send-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.2);
  }

  .dark-mode .send-button:hover {
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.4),
      0 0 30px rgba(79, 70, 229, 0.2);
  }

  .form-control.error {
    border-color: #e53e3e;
    animation: shake 0.5s linear;
  }

  @keyframes shake {
    0%,
    100% {
      transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70%,
    90% {
      transform: translateX(-5px);
    }
    20%,
    40%,
    60%,
    80% {
      transform: translateX(5px);
    }
  }

  .error-message {
    color: #e53e3e;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
  }

  .error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
  }

  .dark-mode .ripple {
    background: rgba(79, 70, 229, 0.4);
  }

  @keyframes ripple {
    to {
      transform: scale(4);
      opacity: 0;
    }
  }

  .success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    background: #10b981;
    color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(200%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
  }

  .success-message.show {
    transform: translateX(0);
  }

  /* Placeholder animation */
  .form-control::placeholder {
    transition: all 0.3s ease;
    opacity: 0.6;
  }

  .form-control:focus::placeholder {
    opacity: 0.3;
    transform: translateX(10px);
  }

  /* Loading animation */
  .lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 24px;
    display: none;
  }
  .lds-ellipsis div {
    position: absolute;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
  }
  .lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
  }
  .lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
  }
  @keyframes lds-ellipsis1 {
    0% {
      transform: scale(0);
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes lds-ellipsis3 {
    0% {
      transform: scale(1);
    }
    100% {
      transform: scale(0);
    }
  }
  @keyframes lds-ellipsis2 {
    0% {
      transform: translate(0, 0);
    }
    100% {
      transform: translate(24px, 0);
    }
  }

  .button-content {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .button-text {
    margin-right: 10px;
  }

  .paper-plane {
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-20px);
  }

  .sending .button-text,
  .sending .paper-plane {
    display: none;
  }

  .sending .lds-ellipsis {
    display: inline-block;
  }

  .send-button:hover .paper-plane {
    opacity: 1;
    transform: translateX(0);
  }

  /* Responsive Design */
  @media (max-width: 992px) {
    .split-container {
      flex-direction: column;
    }

    .left-panel,
    .right-panel {
      width: 100%;
    }
  }

  @media (max-width: 576px) {
    .container {
      width: 95%;
    }

    .left-panel,
    .right-panel {
      padding: 30px 20px;
    }

    .headline {
      font-size: 2rem;
    }
  }

  .footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  .social-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
  }

  .social-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-light);
    transition: all 0.3s ease;
  }

  .social-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-light);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: -1;
  }

  .social-icon:hover {
    transform: translateY(-3px);
  }

  .social-icon:hover::after {
    opacity: 0.2;
    transform: scale(1.4);
  }

  .social-icon:hover svg {
    stroke: var(--accent);
  }
