* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f7f7f7;
  color: #333;
  line-height: 1.6;
}

header {
  background: #222;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00adb5;
}

.hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(15, 23, 42, 0.1) 100%);
      position: relative;
      overflow: hidden;
      padding-top: 80px;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
      opacity: 0.1;
      z-index: -1;
    }

    /* Updated Hero Section with Improved Padding */
    .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
              url('https://plus.unsplash.com/premium_photo-1681566925294-7ff6eba5a9c2?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center/cover;
  position: relative;
  overflow: hidden;
  padding: 120px 2rem 80px;
  color: white; /* Add white text for better contrast */
}

    .hero-content {
      max-width: 650px;
      padding: 40px 0; /* Added vertical padding */
    }

    .hero h2 {
      font-size: 3.5rem;
      margin-bottom: 1rem;
      text-align: left;
      color: var(--secondary);
      line-height: 1.2;
    }

    .hero p {
      font-size: 1.3rem;
      margin-bottom: 2rem;
      color: var(--primary);
      max-width: 550px;
    }

    .hero-btns {
      display: flex;
      gap: 20px;
      margin-top: 30px;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-block;
      padding: 12px 30px;
      background: var(--primary);
      color: white;
      border-radius: 50px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: var(--transition);
      border: 2px solid var(--primary);
      box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
      text-decoration: none;
    }

    .btn:hover {
      background: transparent;
      color: var(--primary);
      transform: translateY(-3px);
      box-shadow: 0 8px 15px rgba(37, 99, 235, 0.4);
    }

    .btn-outline {
      background: transparent;
      color: var(--primary);
      border: 2px solid var(--primary);
    }

    .btn-outline:hover {
      background: var(--primary);
      color: white;
    }

/* About Section */
    #about {
      background-color: #f8fafc;
      position: relative;
      overflow: hidden;
    }

    #about::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: url('img/Profile.jpg') center/cover;
      opacity: 0.03;
      z-index: 0;
    }

    #about .container {
      position: relative;
      z-index: 1;
    }

    #about h2 {
      color: black;
      flex 1;
      margin-bottom: 50px;
      align-self: center;
      align-items:center ;
    }

    .about-content {
      display: flex;
      align-items: center;
      gap: 60px;
      padding: 30px;
      background: white;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .about-text {
      flex: 1;
      padding: 20px;
    }

    .about-text p {
      color: #475569;
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 25px;
    }

    .about-img {
      flex: 1;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
      transform: rotate(-3deg);
      transition: all 0.4s ease;
      border: 8px solid white;
    }

    .about-img:hover {
      transform: rotate(0) scale(1.02);
    }

    .about-img img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.5s ease;
    }

    .about-img:hover img {
      transform: scale(1.05);
    }

    .interests {
      display: flex;
      gap: 25px;
      margin-top: 40px;
    }

    .interest-card {
      background: white;
      padding: 30px 20px;
      border-radius: 12px;
      text-align: center;
      flex: 1;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
      transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      border: 1px solid #e2e8f0;
    }

    .interest-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
      border-color: #cbd5e1;
    }

    .interest-card i {
      font-size: 2.8rem;
      color: var(--accent);
      margin-bottom: 20px;
      transition: transform 0.3s ease;
    }

    .interest-card:hover i {
      transform: scale(1.1);
    }

    .interest-card h4 {
      color: var(--secondary);
      font-size: 1.3rem;
      margin-bottom: 10px;
    }

    .interest-card p {
      color: var(--gray);
      font-size: 0.95rem;
    }

    /* Responsive Design */
    @media (max-width: 992px) {
      .about-content {
        flex-direction: column;
      }
    
      .about-img {
        max-width: 500px;
        margin: 0 auto;
      }
    }

    @media (max-width: 768px) {
      #about {
        padding: 70px 0;
      }
    
      .interests {
        flex-direction: column;
      }
    
      .about-content {
        padding: 20px;
      }
    }

    @media (max-width: 576px) {
      .about-img {
        border-width: 5px;
      }
    }
    /* Contact Section */
    #contact {
      background-color: white;
      padding: 100px 0; /* Added more vertical padding */
    }
    
    .contact-container {
      display: flex;
      gap: 50px;
      padding: 40px 0; /* Added vertical padding inside container */
    }
    
    .contact-info {
      flex: 1;
      padding: 30px; /* Added padding to contact info */
    }
    
    .contact-info p {
      margin-bottom: 40px; /* Increased bottom margin */
      font-size: 1.1rem;
      color: var(--gray);
      line-height: 1.8; /* Better line spacing */
    }

.contact-item {
      display: flex;
      align-items: center;
      margin-bottom: 30px; /* Increased spacing between items */
      padding: 15px; /* Added padding to each contact item */
      border-radius: 8px;
      transition: var(--transition);
    }
    
    .contact-item:hover {
      background-color: rgba(37, 99, 235, 0.05);
    }
    
    .contact-item i {
      width: 60px; /* Slightly larger icon container */
      height: 60px;
      background: var(--light);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem; /* Slightly larger icons */
      color: var(--primary);
      margin-right: 20px; /* Increased right margin */
      transition: var(--transition);
    }
    
    .contact-item:hover i {
      background: var(--primary);
      color: blue;
      transform: scale(1.1);
    }
    
    .contact-item-content {
      flex: 1;
    }
    
    .contact-item h4 {
      color: var(--secondary);
      margin-bottom: 8px; /* Slightly more spacing */
      font-size: 1.2rem;
    }
    
    .contact-item p, .contact-item a {
      color: var(--gray);
      margin: 0;
      font-size: 1rem;
    }
    
    .contact-item a {
      text-decoration: none;
      transition: var(--transition);
    }
    
    .contact-item a:hover {
      color: var(--primary);
    }
    
    .contact-form {
      flex: 1;
      background: var(--light);
      padding: 50px; /* Increased form padding */
      border-radius: 12px; /* Slightly larger radius */
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Softer shadow */
    }
    
    .form-group {
      margin-bottom: 25px; /* Increased spacing between fields */
    }
    
    .form-group label {
      display: block;
      margin-bottom: 12px; /* More space below labels */
      font-weight: 600;
      color: var(--secondary);
      font-size: 1.05rem;
    }
    
    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 15px 20px; /* More comfortable input padding */
      border: 1px solid #e2e8f0;
      border-radius: 8px; /* Slightly rounded corners */
      font-family: inherit;
      font-size: 1rem;
      transition: var(--transition);
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
      border-color: var(--primary);
      outline: none;
      box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }
    
    .form-group textarea {
      min-height: 180px; /* Taller textarea */
      resize: vertical;
    }
    
    .btn1 {
      display: inline-block;
      padding: 15px 35px; /* Larger button */
      background: var(--primary);
      color: black;
      border: none;
      border-radius: 8px;
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      transition: var(--transition);
      width: 100%; /* Full width button */
    }
    
    .btn1:hover {
      background: #1d4ed8;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(29, 78, 216, 0.3);
    }
    
    /* Map Section */
    #map {
      padding: 100px 0; /* Matching contact section padding */
      background-color: var(--light);
    }
    
    .map-container {
      height: 450px; /* Taller map */
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
      margin-top: 30px; /* Space below heading */
    }
    
    .map-container iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
    
    /* Responsive Design */
    @media (max-width: 992px) {
      .contact-container {
        flex-direction: column;
        gap: 40px;
      }
      
      .contact-info, .contact-form {
        padding: 30px;
      }
      
      .map-container {
        height: 400px;
      }
    }
    
    @media (max-width: 768px) {
      section {
        padding: 80px 0;
      }
      
      h2 {
        font-size: 2.2rem;
      }
      
      .contact-item {
        margin-bottom: 25px;
      }
    }
    
    @media (max-width: 576px) {
      section {
        padding: 70px 0;
      }
      
      h2 {
        font-size: 2rem;
      }
      
      .contact-info, .contact-form {
        padding: 25px;
      }
      
      .contact-item i {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-right: 15px;
      }
    }


 /* Footer */
    footer {
      background: black;
      color: white;
      padding: 40px 0;
      text-align: center;
    }

    .social-links {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 20px;
    }

    .social-links a {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      transition: var(--transition);
    }

    .social-links a:hover {
      background: var(--primary);
      transform: translateY(-5px);
    }

    .copyright {
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.9rem;
    }

     /* Animations */
    .fade-section {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }

    .fade-in {
      opacity: 1;
      transform: translateY(0);
    }
