/* Reset and base styles */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   font-family: 'Arial', sans-serif;
   line-height: 1.6;
   color: #1f1f1f;
   overflow-x: hidden;
}

.container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

/* Navigation */
.navbar {
   background: #fff;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   position: fixed;
   top: 0;
   width: 100%;
   z-index: 1000;
   transition: all 0.3s ease;
}

.navbar a {
   text-decoration: none;
}

.nav-container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
   display: flex;
   justify-content: space-between;
   align-items: center;
   height: 70px;
}

.nav-logo h2 {
   color: #4a90e2;
   font-size: 1.8rem;
   font-weight: bold;
}

.nav-menu {
   display: flex;
   list-style: none;
   margin: 0;
}

/* Nav bar link for mobile and desktop */
.nav-item.nav-bar-link {
   display: block;
   margin-left: 2rem;
   text-decoration: none;
   color: #1f1f1f;
   font-weight: 500;
   transition: color 0.3s ease, background 0.3s;
   position: relative;
   padding: 0.7rem 1.2rem;
   border-radius: 8px;
}
.nav-item.nav-bar-link:hover {
   color: #4a90e2;
   background: #f0f4ff;
}
.nav-item.nav-bar-link.active {
   color: #fff;
   background: #4a90e2;
}

.nav-toggle {
   display: none;
   flex-direction: column;
   cursor: pointer;
}

.bar {
   width: 25px;
   height: 3px;
   background-color: #333;
   margin: 3px 0;
   transition: 0.3s;
}

/* Hero Section */
.hero {
   background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
   color: white;
   padding: 120px 0 80px;
   min-height: 100vh;
   display: flex;
   align-items: center;
}

.hero-container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
   text-align: center;
}

.hero-content h1 {
   font-size: 5rem;
   margin-bottom: 1rem;
   opacity: 0;
   animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-content p {
   font-size: 1.3rem;
   margin-bottom: 2rem;
   opacity: 0;
   animation: fadeInUp 1s ease forwards 0.7s;
}

.cta-button {
   background: #ff6b6b;
   color: white;
   border: none;
   padding: 15px 30px;
   font-size: 1.1rem;
   border-radius: 30px;
   cursor: pointer;
   transition: all 0.3s ease;
   opacity: 0;
   animation: fadeInUp 1s ease forwards 0.9s;
   text-decoration: none;
   text-align: center;
}

.cta-button:hover {
   background: #ff5252;
   transform: translateY(-2px);
   box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

/* About Section */
.about {
   padding: 80px 0;
   background: #f8f9fa;
}

.about h2 {
   text-align: center;
   font-size: 2.5rem;
   margin-bottom: 3rem;
   color: #333;
}

.about-content {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 3rem;
   align-items: center;
}

.about-text p {
   font-size: 1rem;
   margin-bottom: 1.5rem;
   color: #1f1f1f;
}

.about-features {
   display: flex;
   flex-direction: column;
   gap: 1.5rem;
}

.about-btn-center {
   display: flex;
   justify-content: center;
   align-items: center;
   margin-top: 2rem;
}

.about-btn-center a{
   padding-left: 100px;
   padding-right: 100px;
}

.feature {
   background: white;
   padding: 1.5rem;
   border-radius: 10px;
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease;
}

.feature:hover {
   transform: translateY(-5px);
}

.feature h3 {
   color: #4a90e2;
   margin-bottom: 0.5rem;
}

/* Team Members Section */
.members {
   padding: 80px 0;
   background: white;
}

.members h2 {
   text-align: center;
   font-size: 2.5rem;
   margin-bottom: 3rem;
   color: #333;
}

/* Members grid: two columns, gap */
.members-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 2rem;
}

.member-card {
   display: flex;
   align-items: center;
   background: linear-gradient(90deg, #764ba2 0%, #667eea 100%);
   color: #fff;
   border-radius: 14px;
   box-shadow: 0 4px 16px rgba(118, 75, 162, 0.10);
   padding: 1.2rem 1.5rem;
   transition: transform 0.2s, box-shadow 0.2s;
   position: relative;
   overflow: hidden;
   min-height: 90px;
   max-width: 100%;
}

.member-emoji {
   font-size: 1.8rem;
   margin-right: 1.2rem;
   flex: 0 0 48px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: rgba(255,255,255,0.10);
   border-radius: 50%;
   width: 48px;
   height: 48px;
}

.member-info {
   flex: 1;
   min-width: 0;
}
.member-info h3 {
   font-size: 1.15rem;
   margin-bottom: 0.2rem;
   color: #fff;
   font-weight: 700;
   text-overflow: ellipsis;
   overflow: hidden;
   white-space: nowrap;
}
.member-title {
   font-size: 0.95rem;
   font-weight: 500;
   color: #e0d7f7;
   margin-bottom: 0.2rem;
}

@media screen and (max-width: 900px) {
   .members-grid {
      grid-template-columns: 1fr;
   }
   .member-card {
      flex-direction: row;
      padding: 1rem 0.7rem;
   }
   .member-emoji {
      margin-right: 0.7rem;
      width: 40px;
      height: 40px;
      font-size: 2rem;
   }
}

@media screen and (max-width: 900px) {
   .member-card {
      flex-direction: column !important;
      text-align: center;
      padding: 1.5rem 1rem;
   }
}

/* Footer */
footer {
   background: #333;
   color: white;
   text-align: center;
   padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
   from {
       opacity: 0;
       transform: translateY(30px);
   }
   to {
       opacity: 1;
       transform: translateY(0);
   }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
   .nav-menu {
       position: fixed;
       left: -100%;
       top: 70px;
       flex-direction: column;
       background-color: white;
       width: 100%;
       text-align: center;
       transition: 0.3s;
       box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
       z-index: 999;
   }

   .nav-menu.active {
       left: 0;
   }

   .nav-item.nav-bar-link {
      margin: 1rem 0;
      width: 100%;
      text-align: center;
      font-size: 1.2rem;
      padding: 1rem 0;
   }
   .nav-toggle {
      display: flex;
   }
   .nav-toggle.active .bar:nth-child(2) {
      opacity: 0;
   }
   .nav-toggle.active .bar:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
   }
   .nav-toggle.active .bar:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
   }

   .hero-content h1 {
       font-size: 2.5rem;
   }

   .hero-content p {
       font-size: 1.1rem;
   }

   .about-content {
       grid-template-columns: 1fr;
       gap: 2rem;
   }

   .contact-content {
       grid-template-columns: 1fr;
       gap: 2rem;
   }

   .members-grid {
       grid-template-columns: 1fr;
   }
}

@media screen and (max-width: 480px) {
   .container {
       padding: 0 15px;
   }

   .hero-content h1 {
       font-size: 2rem;
   }

   .about h2,
   .members h2,
   .contact h2 {
       font-size: 2rem;
   }
}

/* Smooth scrolling */
html {
   scroll-behavior: smooth;
}

/* Additional utility classes */
.text-center {
   text-align: center;
}

.mb-2 {
   margin-bottom: 2rem;
}

.mt-2 {
   margin-top: 2rem;
}