* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.about-section {
    min-height: 100vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Side - Image */
.about-image {
    position: relative;
    width: 350px;
    text-align: center;
    margin-left: 20%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #fff;
}

.about-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.info-box {
    background: #fff;
    padding: 12px;
    text-align: center;
}

.owner-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0d2040;
}

.owner-desc {
    margin: 5px 0 0;
    font-size: 14px;
    color: chocolate;
    font-weight: bold;
}

/* Right Side - Content */
.about-text {
    padding: 20px 0;
}

.about-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff5722 0%, #ff7043 100%);
    margin-bottom: 30px;
    border-radius: 2px;
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80px;
        opacity: 1;
    }
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    text-align: justify;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.about-description:nth-of-type(3) {
    animation-delay: 0.5s;
}

.about-description:nth-of-type(4) {
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   MEDIA QUERIES FOR RESPONSIVENESS
   ================================ */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {
    .about-image {
        width: 380px;
        margin-left: 15%;
    }
    
    .about-title {
        font-size: 3rem;
    }
}

/* Desktop to Large Tablet (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .about-content {
        gap: 50px;
    }
    
    .about-image {
        width: 320px;
        margin-left: 15%;
    }
    
    .about-title {
        font-size: 2rem;
        margin-left:-30px;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .about-image {
        width: 280px;
        margin-left: 10%;
    }
    
    .about-title {
        font-size: 2rem;
        margin-left: -30px;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 30px;
    }
   
}

/* Tablet Portrait (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .about-section {
        padding: 50px 0;
        min-height: auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-image {
        width: 300px;
        margin: 0 auto;
        justify-self: center;
    }
    
    .about-text {
        padding: 0;
        width: 500px;
    }
    
    .about-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .title-underline {
        margin: 0 auto 30px;
    }
    
    .about-description {
        font-size: 1rem;
        text-align: left;
    }
    
    .container {
        padding: 0 40px;
    }
}

/* Mobile Large (480px - 575px) */
@media (max-width: 575px) and (min-width: 480px) {
    .about-section {
        padding: 40px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        width: 250px;
        margin: 0 auto;
    }
    
    .about-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .title-underline {
        width: 60px;
        margin: 0 auto 25px;
    }
    
    .about-description {
        font-size: 0.95rem;
        text-align: left;
        margin-bottom: 20px;
    }
    
    .container {
        padding: 0 25px;
    }
    
    .owner-name {
        font-size: 15px;
    }
    
    .owner-desc {
        font-size: 13px;
    }
}

/* Mobile Small (320px - 479px) */
@media (max-width: 479px) {
    .about-section {
        padding: 30px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .about-image {
        width: 220px;
        margin: 0 auto;
    }
    
    .about-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .title-underline {
        width: 50px;
        height: 3px;
        margin: 0 auto 20px;
    }
    
    .about-description {
        font-size: 0.9rem;
        line-height: 1.6;
        text-align: left;
        margin-bottom: 18px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .info-box {
        padding: 10px;
    }
    
    .owner-name {
        font-size: 14px;
    }
    
    .owner-desc {
        font-size: 12px;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
    .about-section {
        padding: 25px 0;
    }
    
    .about-image {
        width: 180px;
    }
    
    .about-title {
        font-size: 1.6rem;
    }
    
    .about-description {
        font-size: 0.85rem;
    }
    
    .container {
        padding: 0 10px;
    }
}

/* High-resolution displays */
@media (min-width: 1400px) {
    .about-title {
        font-size: 3.2rem;
    }
    
    .about-image {
        width: 400px;
        margin-left: 10%;
    }
    
    .about-content {
        gap: 70px;
    }
}
/* Stats Section */
.stats-section {
    padding: 0px 0;
}

.stats-container {
    position: relative;
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.stat-item {
    position: relative;
    text-align: center;
    padding: 10px 5px 10px;
    background: white;
    flex: 1;
    max-width: 200px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

/* Leaf decorations for each stat item */
.stat-item::before,
.stat-item::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-image: url('https://images.pexels.com/photos/1072179/pexels-photo-1072179.jpeg?auto=compress&cs=tinysrgb&w=80&h=80');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
}

.stat-item::before {
    left: -60px;
}

.stat-item::after {
    right: -60px;
    transform: translateY(-50%) scaleX(-1);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.stat-icon i{
    position: relative;
    z-index: 2;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 87, 34, 0.1);
    color:#ff5722;
    font-size: 30px;
    border-radius: 50%;
    margin: 0 auto 15px;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon i{
    transform: scale(1.1);
}
.stat-number {
    position: relative;
    z-index: 2;
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: rgb(1, 1, 71);
    margin-bottom: 5px;
}

.stat-label {
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-title {
        font-size: 2.2rem;
    }
    
    .main-image {
        height: 300px;
    }
    
    .stats-container {
        flex-wrap: wrap;
        gap: 25px;
    }
    
    .stat-item {
        flex: 1 1 calc(50% - 12.5px);
        min-width: 150px;
    }
    
    /* Hide leaf decorations on mobile */
    .stat-item::before,
    .stat-item::after {
        display: none;
    }
    
    .about-description {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .about-section {
        padding: 40px 0;
    }
    
    .stats-section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .stat-item {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Loading Animation */

.about-text {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.about-text {
    animation-delay: 0.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.stat-item:focus {
    outline: 2px solid #ff5722;
    outline-offset: 2px;
}

/* our team */
#app {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.team-container {
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  padding: 4rem 2rem;
}

.team-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}



.team-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
  line-height: 1.2;
}



.team-description {
  color: #64748b;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  background: white;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #f1f5f9;
  position: relative;
}

.member-image {
  position: relative;
  overflow: hidden;
}

.member-image img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

.member-description {
  position: absolute;
  top: 0; /* at the top of image */
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(0, 0, 0, 0.7); /* dark overlay */
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 0.3s ease;
  padding: 20px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.team-member:hover .member-description {
  opacity: 1;
  transform: translateY(0); /* slide in from top */
}


.member-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .team-container {
    padding: 2rem 1rem;
  }
  
  .team-title {
    font-size: 2rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .team-member {
    padding: 1.5rem 1rem;
  }
  
}

@media (max-width: 480px) {
  .team-title {
    font-size: 1.75rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
}