/* About Page Styles - Based on Services Page */
:root {
    --primary-blue: #02a6e9;
    --primary-blue-dark: #0288c5;
    --primary-blue-light: rgba(2, 166, 233, 0.2);
    --base: #2a3d8f;
    --hover_btn: #475abd; 
    --services-bg: rgba(0, 0, 0, 0.4); 
    --services-hover-bg: rgba(0, 0, 0, 0.5); 
    --purple-dark: #1b113d;
    --purple-dark-light: #1a103d;
    --card-icon-size: 45px; 
    --navbar-margin: 40px;
    --section-margin-left: 250px;
    --button-border-radius: 20px;
    background: #00126a;
}
/* About Section Styles */
.about-section {
    color: #1b113d;
    display: flex;
    flex-direction: column;
}

.hero{
    background: url("images/bgs/team-bg.webp");
    background-size: cover;
    background-position: center;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -240px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.about-container h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.about-container p {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


.img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #1b113d;
    border-radius: 20px;
    padding: 20px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(27, 17, 61, 0.3);
}

.img-container img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}


.roles-container {
    background: transparent;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background-color: transparent;
}

.roles-container h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.role-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.role-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.role-photo {
    width: 300px;
    height: 300px;
    border-radius: 15px;
    object-fit: cover;
    margin: 0 auto;
    border: 4px solid #02a6e9;
    box-shadow: 0 8px 20px rgba(2, 166, 233, 0.3);
    transition: box-shadow 0.3s ease;
    flex-shrink: 0;
}

.role-photo:hover {
    box-shadow: 0 12px 30px rgba(2, 166, 233, 0.4);
}

.role-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
}

.role-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1b113d;
    margin: 0;
}

.role-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

.role-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.skill-tag {
    background: linear-gradient(135deg, #02a6e9, #2a3d8f);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Slider Container */
.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.role-slide {
  min-width: 100%;
  position: relative;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  padding: 3rem 2rem;
  color: white;
}

.slide-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.slide-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.slide-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}


/* Slider Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #1a1a1a;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background-color: white;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 1rem;
}

.next-btn {
  right: 1rem;
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-bottom: 0.25rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #02a6e9;
  transform: scale(1.3);
}

/* Responsive design for roles section */
@media (max-width: 768px) {
    .roles-container h2 {
        font-size: 2rem;
    }
    
    .roles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .role-card {
        padding: 25px;
    }
    
    .role-photo {
        width: 220px;
        height: 220px;
    }
    
    .role-title {
        font-size: 1.2rem;
    }
    
    .role-description {
        font-size: 0.9rem;
    }
    
    .role-slide {
    height: 500px;
  }
  
  .slide-overlay {
    padding: 2rem 1.5rem;
  }
  
  .slide-title {
    font-size: 1.8rem;
  }
  
  .slide-description {
    font-size: 1rem;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
    .roles-container {
        padding: 20px 15px;
    }
    
    .roles-container h2 {
        font-size: 1.8rem;
    }
    
    .role-card {
        padding: 20px;
    }
    
    .role-photo {
        width: 200px;
        height: 200px;
    }
    
    .skill-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }
}

