/* ==========================================================================
   About Page Styles - RightSpace Theme (Flat Clean Shadowless)
   ========================================================================== */

.about_hero {
  min-height: auto;
  width: 100%;
  background-color: #ffffff;
  padding: 140px 20px 100px 20px;
  box-sizing: border-box;
}

.about_hero_container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about_hero_subtitle {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #b73524;
  text-transform: capitalize;
  letter-spacing: 0.2px;
  margin-bottom: 12px;
  display: inline-block;
  text-align: center;
}

.about_hero_title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3rem, 3.8rem);
  font-weight: 700;
  color: #10222e;
  text-align: center;
  line-height: 1.18;
  max-width: 950px;
  margin: 0 0 50px 0;
  letter-spacing: -0.5px;
}

.about_hero_title .highlight {
  color: #b73524;
}

/* Image Showcase Grid */
.about_hero_grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 1080px;
  align-items: stretch;
}

.about_grid_left {
  display: flex;
  width: 100%;
  height: 100%;
}

.about_grid_right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  height: 100%;
}

.about_right_top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.about_right_bottom {
  width: 100%;
  flex: 1;
}

.about_img_wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.about_img_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.about_img_wrapper:hover img {
  transform: scale(1.03);
}

.main_img_wrapper {
  height: 100%;
  min-height: 0;
}

.top_left_wrapper,
.top_right_wrapper {
  height: 175px;
}

.bottom_wide_wrapper {
  height: 185px;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .about_hero {
    padding-top: 110px;
  }

  .about_hero_grid {
    gap: 14px;
  }

  .about_grid_right {
    gap: 14px;
  }

  .about_right_top {
    gap: 14px;
  }

  .top_left_wrapper,
  .top_right_wrapper {
    height: 150px;
  }

  .bottom_wide_wrapper {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .about_hero {
    padding: 110px 20px 60px 20px;
    min-height: auto;
  }

  .about_hero_title {
    margin-bottom: 35px;
  }

  .about_hero_grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about_grid_right {
    gap: 14px;
  }

  .about_right_top {
    gap: 14px;
  }

  .main_img_wrapper {
    height: 250px;
  }

  .top_left_wrapper,
  .top_right_wrapper {
    height: 135px;
  }

  .bottom_wide_wrapper {
    height: 150px;
  }

  .about_img_wrapper {
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .about_hero {
    padding: 110px 20px 60px 20px;
  }

  .about_hero_subtitle {
    font-size: 0.88rem;
  }

  .about_hero_title {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .about_hero_grid {
    gap: 10px;
  }

  .about_grid_right {
    gap: 10px;
  }

  .about_right_top {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .main_img_wrapper {
    height: 200px;
  }

  .top_left_wrapper,
  .top_right_wrapper {
    height: 110px;
  }

  .bottom_wide_wrapper {
    height: 120px;
  }

  .about_img_wrapper {
    border-radius: 12px;
  }
}

/* ==========================================================================
   Our Story Section Styles
   ========================================================================== */
.our_story {
  width: 100%;
  background-color: #10222e;
  color: #f8fafc;
  padding: 100px 20px;
  box-sizing: border-box;
}

.our_story_container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

.our_story_title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 40px 0;
  letter-spacing: -0.5px;
}

.our_story_top {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
}

.our_story_img_box {
  width: 100%;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background-color: #1e293b;
  flex-shrink: 0;
}

.our_story_img_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.our_story_img_box:hover img {
  transform: scale(1.04);
}

.our_story_top_text p {
  font-family: "Inter", sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}

.our_story_top_text strong {
  color: #ffffff;
  font-weight: 700;
}

.our_story_bottom_text {
  width: 100%;
}

.our_story_bottom_text p {
  font-family: "Inter", sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}

/* Responsiveness for Our Story Section */
@media (max-width: 1024px) {
  .our_story {
    padding: 80px 20px;
  }

  .our_story_top {
    grid-template-columns: 300px 1fr;
    gap: 30px;
  }

  .our_story_img_box {
    height: 210px;
  }
}

@media (max-width: 768px) {
  .our_story {
    padding: 60px 20px;
  }

  .our_story_title {
    font-size: 2.1rem;
    margin-bottom: 25px;
  }

  .our_story_top {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .our_story_img_box {
    height: 230px;
    max-width: 100%;
    border-radius: 14px;
  }

  .our_story_top_text p,
  .our_story_bottom_text p {
    font-size: 0.98rem;
    line-height: 1.68;
  }
}

@media (max-width: 480px) {
  .our_story {
    padding: 60px 20px;
  }

  .our_story_title {
    font-size: 1.75rem;
    margin-bottom: 20px;
  }

  .our_story_img_box {
    height: 190px;
    border-radius: 12px;
  }

  .our_story_top_text p,
  .our_story_bottom_text p {
    font-size: 0.92rem;
    line-height: 1.65;
  }
}

/* ==========================================================================
   Drives & Why Choose Section Styles
   ========================================================================== */
.drives_section {
  width: 100%;
  background-color: #ffffff;
  padding: 100px 20px;
  box-sizing: border-box;
}

.drives_container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Part 1: What Drives Us */
.drives_block {
  width: 100%;
  text-align: center;
  margin-bottom: 0;
}

.drives_divider {
  width: 80px;
  height: 3px;
  background-color: #b73524;
  border: none;
  border-radius: 3px;
  margin: 65px auto 70px auto;
  opacity: 0.85;
}

.drives_title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: #10222e;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.drives_title .highlight {
  color: #b73524;
}

.drives_subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  max-width: 820px;
  margin: 0 auto 50px auto;
}

.drives_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.drives_card {
  background-color: #ffffff;
  border: 1px solid #cecece;
  border-radius: 20px;
  padding: 38px 28px;
  text-align: left;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.drives_card:hover {
  transform: translateY(-4px);
  border-color: #bb5345;
}

.drives_icon_box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fce8e6;
  color: #b73524;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}

.drives_card_title {
  font-family: "Inter", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #10222e;
  margin: 0 0 10px 0;
}

.drives_card_desc {
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* Part 2: Why Choose Rightspace */
.why_choose_block {
  width: 100%;
  text-align: center;
}

.why_choose_title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: #10222e;
  margin: 0 0 45px 0;
  letter-spacing: -0.5px;
}

.why_choose_title .highlight {
  color: #b73524;
}

.why_choose_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

.why_card {
  background-color: #10222e;
  border-radius: 18px;
  padding: 30px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  transition: transform 0.3s ease;
}

.why_card:hover {
  transform: translateY(-3px);
}

.why_icon_box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #fce8e6;
  color: #b73524;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why_card_content {
  flex: 1;
}

.why_card_title {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.why_card_desc {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

/* Responsiveness */
@media (max-width: 1024px) {
  .drives_section {
    padding: 80px 20px;
  }

  .drives_grid {
    gap: 18px;
  }

  .why_choose_grid {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .drives_section {
    padding: 60px 20px;
  }

  .drives_block {
    margin-bottom: 60px;
  }

  .drives_grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px 18px 4px;
    gap: 16px;
    width: 100%;
  }

  .drives_grid::-webkit-scrollbar {
    display: none;
  }

  .drives_card {
    flex: 0 0 270px;
    scroll-snap-align: center;
    text-align: center;
    align-items: center;
    padding: 32px 24px;
    border-radius: 16px;
  }

  .why_choose_grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why_card {
    padding: 24px 20px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .drives_section {
    padding: 60px 20px;
  }

  .drives_subtitle {
    font-size: 0.95rem;
    margin-bottom: 35px;
  }

  .drives_card {
    flex: 0 0 250px;
    padding: 26px 20px;
    border-radius: 14px;
    text-align: center;
    align-items: center;
  }

  .why_card {
    gap: 14px;
    padding: 20px 16px;
    border-radius: 14px;
  }

  .why_icon_box {
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================================
   Our Team Section Styles
   ========================================================================== */
.team_section {
  width: 100%;
  background-color: #10222e;
  color: #f8fafc;
  padding: 100px 20px;
  box-sizing: border-box;
}

.team_container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

.team_header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 60px auto;
}

.team_subtitle {
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #b73524;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.team_title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.team_title .highlight {
  color: #b73524;
}

.team_desc {
  font-family: "Inter", sans-serif;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #94a3b8;
  margin: 0;
}

/* Team Grid */
.team_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.team_card {
  background-color: #172b38;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.team_card:hover {
  transform: translateY(-6px);
  border-color: rgba(183, 53, 36, 0.3);
}

.team_img_wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: #0f172a;
}

.team_avatar_icon_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #172b38 0%, #0d1a24 100%);
  height: 230px !important;
}

.team_user_icon_box {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: rgba(183, 53, 36, 0.12);
  border: 2px solid rgba(183, 53, 36, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b73524;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.team_card:hover .team_user_icon_box {
  transform: scale(1.1);
  border-color: #b73524;
  background-color: rgba(183, 53, 36, 0.22);
}

.team_img_wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team_card:hover .team_img_wrapper img {
  transform: scale(1.05);
}

.team_socials {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.team_card:hover .team_socials {
  opacity: 1;
  transform: translateY(0);
}

.social_icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(16, 34, 46, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.social_icon:hover {
  background-color: #b73524;
  transform: scale(1.1);
}

.team_info {
  padding: 24px 22px 28px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team_name {
  font-family: "Inter", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.team_role {
  font-family: "Inter", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: #b73524;
  margin-bottom: 12px;
}

.team_bio {
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #94a3b8;
  margin: 0;
}

/* Team Responsiveness */
@media (max-width: 1100px) {
  .team_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .team_img_wrapper {
    height: 290px;
  }
}

@media (max-width: 768px) {
  .team_section {
    padding: 60px 20px;
  }

  .team_header {
    margin-bottom: 45px;
  }

  .team_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .team_img_wrapper {
    height: 240px;
  }

  .team_info {
    padding: 20px 16px;
  }

  .team_socials {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 540px) {
  .team_section {
    padding: 60px 20px;
  }

  .team_grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team_img_wrapper {
    height: 280px;
  }

  .team_card {
    border-radius: 16px;
  }
}

/* ==========================================================================
   Final CTA Section Styles
   ========================================================================== */
.cta_section {
  width: 100%;
  background-color: #ffffff;
  padding: 100px 20px;
  box-sizing: border-box;
}

.cta_container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

.cta_card {
  background-color: #10222e;
  border-radius: 28px;
  padding: 70px 40px;
  text-align: center;
  color: #ffffff;
}

.cta_title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 14px 0;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.cta_description {
  font-family: "Inter", sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0 auto 35px auto;
  max-width: 580px;
  font-weight: 400;
}

.cta_buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 32px;
  border-radius: 15px;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta_btn_primary {
  background-color: #ffffff;
  color: #10222e;
  border: 1.5px solid #ffffff;
}

.cta_btn_primary:hover {
  background-color: #b73524;
  color: #ffffff;
  border-color: #b73524;
}

.cta_btn_secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}

.cta_btn_secondary:hover {
  background-color: #ffffff;
  color: #10222e;
}

/* Mobile Responsiveness for CTA Section */
@media (max-width: 768px) {
  .cta_section {
    padding: 60px 20px;
  }

  .cta_card {
    padding: 50px 24px;
    border-radius: 20px;
  }

  .cta_title {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .cta_description {
    font-size: 0.88rem;
    margin-bottom: 28px;
  }

  .cta_btn {
    padding: 11px 24px;
    font-size: 0.85rem;
    border-radius: 15px;
  }
}

@media (max-width: 480px) {
  .cta_section {
    padding: 60px 20px;
  }

  .cta_card {
    padding: 40px 18px;
    border-radius: 16px;
  }

  .cta_title {
    font-size: 1.65rem;
  }

  .cta_description {
    font-size: 0.84rem;
    margin-bottom: 24px;
  }

  .cta_buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta_btn {
    width: 100%;
  }
}
