
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
}
/* Hero layout inside home-card */
.home-card {
  display: flex;
  flex-direction: row;   /* text left, image right */
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
  padding: 3rem;
  box-sizing: border-box;
}

/* Text content on the left */
.home-card .hero-content {
  flex: 1;
  text-align: left;
}

.home-card .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, #87ceeb, #00bfff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 0 0 30px rgba(135, 206, 235, 0.3);
  letter-spacing: -2px;
  line-height: 1.1;
}

.home-card .hero-content .subtitle {
  font-size: 1.4rem;
  color: #87ceeb;
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.home-card .hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.home-card .cta-button {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  
}

/* Image on the right */
.home-card .hero-image {
  flex: 0 0 350px; /* fixed width on desktop */
  position: relative;
}

.home-card .hero-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(135, 206, 235, 0.6));
  transition: all 0.3s ease;
}

/* --- Responsive tweaks --- */
@media (max-width: 768px) {
  .home-card {
    flex-direction: column; /* stack on mobile */
    text-align: center;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .home-card .hero-content h1 {
    font-size: 2.2rem;
    margin-top: 1rem;
  }

  .home-card .hero-content .subtitle {
    font-size: 1.2rem;
  }

  .home-card .hero-content p {
    font-size: 1rem;
  }

  .home-card .hero-image {
    max-width: 250px;
    margin: 0 auto;
  }
}

/* Interactive Background Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
}
/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(135, 206, 235, 0.1);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #87ceeb;
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.nav-links a:hover {
    color: #87ceeb;
    text-shadow: 0 0 5px rgba(135, 206, 235, 0.8);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #87ceeb, #00bfff);
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
/* Hamburger Icon */
/* Default: hide hamburger on desktop */
.hamburger {
    display: none;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background: #87ceeb;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    flex-direction: column;
    gap: 2rem;
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding-top: 5rem;
    transition: right 0.3s ease;
}

/* When active */
.nav-links.active {
    right: 0;
}

/* Nav links styling in mobile */
.nav-links li {
    text-align: center;
}
.nav-links a {
    font-size: 1.5rem;
}


/* Sections */
section {
    min-height: 100vh;
    padding: 100px 2rem 50px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10rem;
    
   
}
.hero-content {
    flex: 1;
    animation: slideInLeft 1s ease-out;
    
}
.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(45deg, #87ceeb, #00bfff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(135, 206, 235, 0.3);
    letter-spacing: -2px;
    line-height: 1.1;
}
.hero-content .subtitle {
    font-size: 1.5rem;
    color: #87ceeb;
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.hero-image {
    flex: 0 0 400px;
    position: relative;
    animation: slideInRight 1s ease-out;
    margin-top: 50px;
}
.hero-image img {
    width: 100%;
    opacity: 1;
    filter: drop-shadow(0 0 50px rgba(135, 206, 235, 0.8));
    transition: all 0.3s ease;
}
/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #00bfff, #87ceeb);
    color: #000000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(135, 206, 235, 0.3);
    letter-spacing: 0.5px;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(135, 206, 235, 0.5);
}
/* Card Styles */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-10px);
    border-color: rgba(135, 206, 235, 0.5);
    box-shadow: 0 20px 40px rgba(135, 206, 235, 0.1);
}
/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom:  2rem;
}
.section-header h2 {
    font-size: 3rem;
    background: linear-gradient(45deg, #87ceeb, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}
.section-header p {
    font-size: 1.2rem;
    opacity: 0.8;
}
/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* always 3 columns */
  gap: 2rem;
}


.card-flip {
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 180px;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

.card-flip:hover .card-inner {
  transform: rotateY(180deg);
}
.card-back p {
  font-size: 0.7rem; 
  padding: 0 10px;  
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.card-front {
  background: rgba(135, 206, 235, 0.1);
  border: 1px solid rgba(135, 206, 235, 0.3);
  color: #87ceeb;
  font-weight: bold;
}

.card-back {
  background: rgba(0, 191, 255, 0.2);
  border: 1px solid rgba(135, 206, 235, 0.3);
  transform: rotateY(180deg);
  color: #fff;
}

/* Section Breaker */
.section-breaker {
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(135, 206, 235, 0.3), transparent);
    margin: 4rem 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-breaker::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #87ceeb, #00bfff);
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
}
/* Photo Gallery Styles */


.photo-gallery {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(135, 206, 235, 0.2);
}
.gallery-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1), rgba(0, 191, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #87ceeb;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid rgba(135, 206, 235, 0.2);
}
.gallery-slide.active {
    opacity: 1;
}
.gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.gallery-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}
.gallery-indicator.active {
    background: #87ceeb;
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.8);
}
.gallery-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(135, 206, 235, 0.2);
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #87ceeb;
    font-size: 1.2rem;
}
.gallery-controls:hover {
    background: rgba(135, 206, 235, 0.4);
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
}
.gallery-prev {
    left: 20px;
}
.gallery-next {
    right: 20px;
}
/* Achievements Section */
.achievements {
  padding: 100px 2rem 50px;
  min-height: 100vh;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #87ceeb;
}

/* Achievement Card */
.achievement-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05); /* translucent */
  backdrop-filter: blur(5px);           /* blur effect */
  -webkit-backdrop-filter: blur(10px);   /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 191, 255, 0.3);
}


/* Image block */
.achievement-image {
  flex: 0 0 40%;
  border-radius: 15px;
  overflow: hidden;
}

.achievement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text block */
.achievement-content {
  flex: 1;
  color: #fff;
}

.achievement-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.achievement-content .highlight {
  background: #007bff;
  color: #fff;
  padding: 0 6px;
  border-radius: 4px;
}
/* Desktop Navigation - Add this BEFORE the mobile media query */
@media (min-width: 769px) {
  .skills-grid {
    /* Change to 6 columns for desktop view */
    grid-template-columns: repeat(6, 1fr); 
  }
    .nav-links {
        position: static;
        right: auto;
        height: auto;
        width: auto;
        flex-direction: row;
        gap: 2rem;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding-top: 0;
        display: flex;
    }
    
    .nav-links a {
        font-size: 1rem;
    }
    
    .hamburger {
        display: none;
    }
}
/* Responsive Design for Mobile */
@media (max-width: 768px) {

    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        /* margin-top: 3rem; */
    }

    .hero-image {
        flex: none;
        margin-top: -9rem;
        max-width: 300px;
    }

    /* Sections padding */
    section {
        padding: 80px 1rem 30px;
    }

    /* Hamburger Icon - show only in mobile */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 20px;
        cursor: pointer;
    }

    .hamburger span {
        height: 3px;
        width: 100%;
        background: #87ceeb;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Mobile Navigation Menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;       /* hidden by default */
        height: 100vh;
        width: 250px;
        flex-direction: column;
        gap: 2rem;
        background: rgba(10, 10, 10, 0.5);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding-top: 5rem;
        transition: right 0.3s ease;
        display: flex;
    }

    /* When hamburger clicked */
    .nav-links.active {
        right: 0; /* slide in */
    }

    /* Nav links styling in mobile */
    .nav-links li {
        text-align: center;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    /* Achievements cards */
    .achievement-card {
        flex-direction: column;
        text-align: center;
    }

    .achievement-image {
        flex: none;
        width: 100%;
        height: auto;
    }

    .achievement-content {
        margin-top: 1rem;
    }

    /* Nav links gap adjustment */
    .nav-links {
        gap: 1rem;
    }
}
/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(135, 206, 235, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #87ceeb;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #87ceeb;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group textarea {
    resize: vertical;
    height: 90px;
}

/* Submit button uses existing .cta-button style */
.contact-form .cta-button {
    width: 100%;
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 18px 30px;
}

.contact-form .cta-button:hover {
    transform: translateY(-2px);
}

/* Mobile responsiveness for contact form */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
    }
}

@media (min-width: 769px) {
  .hero {
    display: block; /* not flex, since card will cover all */
    position: relative;
    overflow: hidden;
    padding: 0; /* remove extra padding */
  }

  .home-swiper {
    position: relative;
    width: 100%;
    height: 100vh;
  }

  .home-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
  }

  .home-slide.active {
    opacity: 1;
  }

/* This is the CORRECTED block */
.home-card {
    width: calc(100%);
    height: calc(100vh - 80px);
    border-radius: 0;
    
    display: flex;
    margin-top: 90px;
    flex-direction: row; /* Changed to row */
    justify-content: space-between; /* Pushes items to ends */
    align-items: center; /* Vertically centers them */
    text-align: left; /* Aligns text to the left */

    background: rgba(255,255,255,0.0);
    backdrop-filter: blur(0px);
    border: none;
    
    padding: 3rem 5rem; /* Added more horizontal padding */
    gap: 5rem; /* Adds space between text and image */
}
  .home-controls {
    position: absolute;
    bottom: 30px; /* at bottom inside card */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
  }

  .home-prev, .home-next {
    background: rgba(135, 206, 235, 0.2);
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    color: #87ceeb;
    font-size: 2rem;
    transition: all 0.3s ease;
  }

  .home-prev:hover, .home-next:hover {
    background: rgba(135, 206, 235, 0.4);
  }
}
/* Replace the existing .autoplay styles with this corrected version */
/* Three images per slide gallery */
/* Coverflow Gallery */
.coverflow-container {
    position: relative;
    width: 100%;
    height: 640px;
    margin: 0 auto;
    perspective: 1200px;
    overflow: hidden;
}

.coverflow-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coverflow-slide {
    position: absolute;
    width: 480px;
    height: 320px;
    transition: all 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.coverflow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid rgba(135, 206, 235, 0.3);
    transition: border-color 0.3s ease;
}

.coverflow-slide.active img {
    border-color: rgba(135, 206, 235, 0.8);
    box-shadow: 0 0 30px rgba(135, 206, 235, 0.5);
}

.coverflow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(135, 206, 235, 0.2);
    border: 1px solid rgba(135, 206, 235, 0.4);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #87ceeb;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.coverflow-nav:hover {
    background: rgba(135, 206, 235, 0.4);
    box-shadow: 0 0 20px rgba(135, 206, 235, 0.3);
}

.coverflow-nav.prev {
    left: 50px;
}

.coverflow-nav.next {
    right: 50px;
}

.coverflow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(135, 206, 235, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #87ceeb;
    box-shadow: 0 0 15px rgba(135, 206, 235, 0.8);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .coverflow-container {
        height: 400px;
    }
    
    .coverflow-slide {
        width: 300px;
        height: 200px;
    }
    
    .coverflow-nav {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .coverflow-nav.prev {
        left: 20px;
    }
    
    .coverflow-nav.next {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .coverflow-slide {
        width: 280px;
        height: 180px;
    }
    
    .coverflow-nav.prev {
        left: 10px;
    }
    
    .coverflow-nav.next {
        right: 10px;
    }
}


/* Single Contact Card */
/* Make sure this CSS is in place */
.contact-container {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 1rem;
}

.contact-info {
    flex: 0 0 40%; /* Left side - fixed 40% width */
}

.contact-info img{
    height: 20px;
}

.contact-form-wrapper {
    flex: 1; /* Right side - takes remaining space */
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(135, 206, 235, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}
.contact-card img{
  height: 20px;
}
.contact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(135, 206, 235, 0.5);
    box-shadow: 0 20px 40px rgba(135, 206, 235, 0.1);
}

.contact-form h3 {
    color: #87ceeb;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
}
.contact-card h3 {
    color: #87ceeb;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(135, 206, 235, 0.1);
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-icon {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(135, 206, 235, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.info-text strong {
    color: #87ceeb;
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.info-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .contact-card {
        padding: 1.5rem;
    }
    
    .info-item {
        gap: 0.8rem;
    }
    
    .info-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Footer Styles */
.site-footer {
    background: rgba(10, 10, 10, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid rgba(135, 206, 235, 0.1);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
    position: relative;
}

/* Optional: Add a subtle gradient overlay for better readability */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.1) 100%
    );
    z-index: -1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-column h3 {
    color: #87ceeb;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.3);
}

.footer-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.footer-icon {
    margin-right: 10px;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 3px rgba(135, 206, 235, 0.5));
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
    color: #87ceeb;
    padding-left: 10px;
    text-shadow: 0 0 10px rgba(135, 206, 235, 0.5);
}

.footer-links a::before {
    content: '▸';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #87ceeb;
}

.footer-links a:hover::before {
    opacity: 1;
    left: -10px;
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-form .form-group {
    margin-bottom: 1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(135, 206, 235, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #87ceeb;
    box-shadow: 0 0 10px rgba(135, 206, 235, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    backdrop-filter: blur(5px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(135, 206, 235, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Mobile Responsiveness for Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .site-footer {
        padding: 2rem 1rem 1rem;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
}



/* Skills Container */
.skills-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Skills Grid - 9 cards in one row */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Individual skill cards */
.skill-card {
  background: rgba(135, 206, 235, 0.1);
  border: 1px solid rgba(135, 206, 235, 0.3);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Apply same styles for both hover and active (JS adds .active) */
.skill-card:hover,
.skill-card.active {
  background: rgba(0, 191, 255, 0.3);
  border-color: #87ceeb;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(135, 206, 235, 0.4);
}


.skill-card h3 {
  color: #87ceeb;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
}

.skill-card:hover {
  background: rgba(0, 191, 255, 0.2);
  border-color: rgba(135, 206, 235, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(135, 206, 235, 0.2);
}

.skill-card.active {
  background: rgba(0, 191, 255, 0.3);
  border-color: #87ceeb;
  box-shadow: 0 0 20px rgba(135, 206, 235, 0.4);
}

/* Details card below */
.skill-details {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(135, 206, 235, 0.2);
  border-radius: 15px;
  padding: 2rem;
  min-height: 120px;
  transition: all 0.3s ease;
}

.skill-detail {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.skill-detail.active {
  display: block;
  opacity: 1;
}

.skill-detail p {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .skills-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
  
  .skill-card {
    padding: 1rem 0.5rem;
    min-height: 80px;
  }
  
  .skill-card h3 {
    font-size: 0.8rem;
  }
  
  .skill-details {
    padding: 1.5rem;
  }
  
  .skill-detail p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}



/* Hide second home slide on mobile */
@media (max-width: 768px) {
    .home-card {
        background: rgba(255,255,255,0.0) !important;
        backdrop-filter: blur(0px) !important;
        -webkit-backdrop-filter: blur(0px) !important;
        border: none !important;
        box-shadow: none !important;
        
    }

    .home-slide:nth-child(2) {
        display: none !important;
    }
    
    /* Ensure first slide is visible */
    .home-slide:nth-child(1) {
        display: block !important;
    }
}


/* Fix navbar for mobile view */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem !important;
    }
    
    nav {
        padding: 0.5rem 0 !important;
    }
    
    .logo {
        font-size: 1.5rem !important;
    }
    
    .hamburger {
        width: 20px !important;
        height: 16px !important;
    }
    
    /* Ensure nav links fit within screen */
    .nav-links {
        width: 100% !important;
        max-width: 280px !important;
        right: -100% !important;
    }
    
    .nav-links.active {
        right: 0 !important;
    }
    
    /* Adjust hero section to account for fixed nav */
    .hero {
        padding-top: 70px !important;
    }
    
    .home-card {
        margin-top: 10px !important;
        padding: 1rem !important;
    }
}

/* Additional navbar mobile fixes */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }
    
    nav {
        width: 100vw !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    .nav-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
}

/* Stack contact section vertically on mobile */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column !important;
        gap: 2rem !important;
    }
    
    .contact-info {
        flex: none !important;
        width: 100% !important;
        order: 1 !important;
    }
    
    .contact-form-wrapper {
        flex: none !important;
        width: 100% !important;
        order: 2 !important;
    }
}


/* Center align home content and justify description on mobile */
@media (max-width: 768px) {
    .home-card .hero-content {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    
    .home-card .hero-content h1 {
        text-align: center !important;
        width: 100% !important;
    }
    
    .home-card .hero-content .subtitle {
        text-align: center !important;
        width: 100% !important;
    }
    
    .home-card .hero-content p {
        /* text-align: justify !important; */
        text-align-last: center !important;
        width: 100% !important;
    }
    
    .home-card .cta-button {
        align-self: center !important;
    }
}


/* Remove horizontal scroll on mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    html {
        overflow-x: hidden;
    }
    
    /* Ensure all sections don't cause overflow */
    section {
        max-width: 100vw;
        overflow: hidden;
    }
    
    .nav-container {
        max-width: 100vw;
    }
}