/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
    :root {
      --primary: #eb2525;
      --primary-dark: #d81d1d;
      --secondary: #f59e0b;
      --dark: #3b1e1e;
      --light: #f8fafc;
      --gray: #64748b;
      --light-gray: #e2e8f0;
      --success: #10b981;
      --error: #ef4444;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Poppins', sans-serif;
      color: var(--dark);
      line-height: 1.6;
      background-color: var(--light);
      overflow-x: hidden;
    }

    h1, h2, h3, h4 {
      font-weight: 700;
      line-height: 1.2;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .section {
      padding: 100px 0;
    }

    .section-title {
      font-size: 2.5rem;
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .section-title span {
      color: var(--primary);
    }

    .section-subtitle {
      color: var(--gray);
      text-align: center;
      max-width: 700px;
      margin: 0 auto 3rem;
    }

    .btn {
      display: inline-block;
      padding: 12px 28px;
      border-radius: 50px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-align: center;
    }

    .btn-primary {
      background-color: var(--primary);
      color: white;
      border: 2px solid var(--primary);
    }

    .btn-primary:hover {
      background-color: var(--primary-dark);
      border-color: var(--primary-dark);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    }

    .btn-outline {
      background-color: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
    }

    .btn-outline:hover {
      background-color: var(--primary);
      color: white;
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    }

    /* Header */
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      transition: all 0.3s ease;
      padding: 20px 0;
      background-color: rgba(255, 255, 255, 0.95);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    header.scrolled {
      padding: 15px 0;
      background-color: rgba(255, 255, 255, 0.98);
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--primary);
    }

    .logo span {
      color: var(--secondary);
    }

    .nav-links {
      display: flex;
      gap: 30px;
    }

    .nav-links a {
      font-weight: 500;
      position: relative;
      padding: 5px 0;
    }

    .nav-links a:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: var(--primary);
      transition: width 0.3s ease;
    }

    .nav-links a:hover:after {
      width: 100%;
    }

    .nav-links a.active:after {
      width: 100%;
    }

    .hamburger {
      display: none;
      cursor: pointer;
    }

    .hamburger div {
      width: 25px;
      height: 3px;
      background-color: var(--dark);
      margin: 5px;
      transition: all 0.3s ease;
    }

    /* Hero Section */
    #hero {
      height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      background: 
        linear-gradient(
          rgba(231, 231, 231, 0.5),
          rgba(231, 231, 231, 0.5)
        ),
        url('radha.jpg');
        background-size: cover;
        background-position: center;

    }

    .hero-content {
      max-width: 600px;
      z-index: 2;
    }

    .hero-content h1 {
      font-size: 3.5rem;
      margin-bottom: 1rem;
      line-height: 1.2;
    }

    .hero-content h1 span {
      color: var(--primary);
    }

    .hero-content p {
      font-size: 1.2rem;
      color: var(--gray);
      margin-bottom: 2rem;
    }

    .hero-btns {
      display: flex;
      gap: 20px;
    }

    .hero-image {
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 50%;
      max-width: 700px;
      z-index: 1;
    }

    .hero-image img {
      width: 100%;
      height: auto;
      animation: float 6s ease-in-out infinite;
    }

    @keyframes float {
      0% { transform: translateY(0px); }
      50% { transform: translateY(-20px); }
      100% { transform: translateY(0px); }
    }

    /* Journey Section */
    #journey {
      background-color: white;
    }

    .journey-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
    }

    .journey-card {
      background-color: white;
      border-radius: 15px;
      padding: 30px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      border: 1px solid var(--light-gray);
    }

    .journey-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
      border-color: var(--primary);
    }

    .journey-icon {
      width: 60px;
      height: 60px;
      background-color: rgba(37, 99, 235, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: var(--primary);
      font-size: 1.5rem;
    }

    .journey-card h3 {
      font-size: 1.5rem;
      margin-bottom: 15px;
    }

    .journey-card p {
      color: var(--gray);
    }

    /* Projects Section */
    #projects {
      background-color: #f1f5f9;
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 30px;
    }

    .project-card {
      background-color: white;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
    }

    .project-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    .project-image {
      height: 200px;
      overflow: hidden;
    }

    .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 {
      padding: 25px;
    }

    .project-content h3 {
      font-size: 1.5rem;
      margin-bottom: 10px;
    }

    .project-content p {
      color: var(--gray);
      margin-bottom: 20px;
    }

    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 20px;
    }

    .project-tag {
      background-color: var(--light-gray);
      color: var(--dark);
      padding: 5px 15px;
      border-radius: 50px;
      font-size: 0.8rem;
      font-weight: 500;
    }

    .project-links {
      display: flex;
      gap: 15px;
    }

    .project-link {
      display: flex;
      align-items: center;
      gap: 5px;
      font-weight: 500;
      color: var(--primary);
    }

    .project-link i {
      transition: transform 0.3s ease;
    }

    .project-link:hover i {
      transform: translateX(5px);
    }

    /* About Section */
    #about {
      background-color: white;
    }

    .about-container {
      display: flex;
      align-items: center;
      gap: 50px;
    }

    .about-image {
      flex: 1;
      position: relative;
    }

    .about-image img {
      border-radius: 15px;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
      width: 100%;
      max-width: 500px;
      height: auto;
    }

    .about-image::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      border: 3px solid var(--primary);
      border-radius: 15px;
      top: 20px;
      left: 20px;
      z-index: -1;
    }

    .about-content {
      flex: 1;
    }

    .about-content h2 {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .about-content p {
      color: var(--gray);
      margin-bottom: 20px;
    }

    .about-skills {
      margin-top: 30px;
    }

    .about-skills h3 {
      margin-bottom: 15px;
    }

    .skills {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .skill {
      background-color: var(--light-gray);
      padding: 8px 20px;
      border-radius: 50px;
      font-weight: 500;
    }

    /* Contact Section */
    #contact {
            background: 
        linear-gradient(
          rgba(231, 231, 231, 0.5),
          rgba(231, 231, 231, 0.5)
        ),
        url('radha2.jpg');
        background-size: cover;
        background-position: center;
    }

    .contact-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 50px;
    }

    .contact-info {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }

    .contact-card {
      display: flex;
      align-items: center;
      gap: 20px;
      background-color: white;
      padding: 25px;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
    }

    .contact-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }

    .contact-icon {
      width: 60px;
      height: 60px;
      background-color: rgba(37, 99, 235, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 1.5rem;
    }

    .contact-details h3 {
      margin-bottom: 5px;
    }

    .contact-details p, .contact-details a {
      color: var(--gray);
    }

    .contact-details a:hover {
      color: var(--primary);
    }

    .contact-form {
      background-color: white;
      padding: 40px;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .contact-form h2 {
      font-size: 1.8rem;
      margin-bottom: 20px;
      color: var(--dark);
    }

    .form-group {
      margin-bottom: 20px;
    }

    .form-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
    }

    .form-control {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid var(--light-gray);
      border-radius: 8px;
      font-family: 'Poppins', sans-serif;
      transition: all 0.3s ease;
    }

    .form-control:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    }

    textarea.form-control {
      min-height: 150px;
      resize: vertical;
    }

    /* Footer */
    footer {
      background-color: var(--dark);
      color: white;
      padding: 60px 0 30px;
    }

    .footer-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-bottom: 50px;
    }

    .footer-col h3 {
      font-size: 1.5rem;
      margin-bottom: 20px;
      position: relative;
      display: inline-block;
    }

    .footer-col h3:after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 0;
      width: 50px;
      height: 3px;
      background-color: var(--primary);
    }

    .footer-col p {
      color: #94a3b8;
      margin-bottom: 20px;
    }

    .footer-links li {
      margin-bottom: 10px;
    }

    .footer-links a {
      color: #94a3b8;
      transition: all 0.3s ease;
    }

    .footer-links a:hover {
      color: white;
      padding-left: 5px;
    }

    .social-links {
      display: flex;
      gap: 15px;
    }

    .social-link {
      width: 40px;
      height: 40px;
      background-color: #334155;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }

    .social-link:hover {
      background-color: var(--primary);
      transform: translateY(-5px);
    }

    .footer-bottom {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid #334155;
      color: #94a3b8;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .hero-content h1 {
        font-size: 3rem;
      }
      
      .about-container {
        flex-direction: column;
      }
      
      .about-image {
        margin-bottom: 40px;
      }
      
      .about-image::after {
        display: none;
      }
    }

    @media (max-width: 768px) {
      .section {
        padding: 70px 0;
      }
      
      .section-title {
        font-size: 2rem;
      }
      
      .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: all 0.5s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
      }
      
      .nav-links.active {
        right: 0;
      }
      
      .hamburger {
        display: block;
      }
      
      .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
      }
      
      .hamburger.active div:nth-child(2) {
        opacity: 0;
      }
      
      .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
      }
      
      .hero-content {
        max-width: 100%;
        text-align: center;
      }
      
      .hero-btns {
        justify-content: center;
      }
      
      .hero-image {
        display: none;
      }
    }

    @media (max-width: 576px) {
      .hero-content h1 {
        font-size: 2.5rem;
      }
      
      .hero-btns {
        flex-direction: column;
        gap: 15px;
      }
      
      .btn {
        width: 100%;
      }
      
      .projects-grid {
        grid-template-columns: 1fr;
      }
    }
    .messenger-button {
  display: inline-block;
  background-color: #0084FF;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

.messenger-button:hover {
  background-color: #006dbf;
}
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #eb2525; /* Change this to match your theme */
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  display: none;
  transition: all 0.3s ease-in-out;
}
#backToTopBtn:hover {
  background-color: #eb2525; /* Change this to match your theme */
}
/* Back to Top Button */
