
/* ===================================================================
   MOBILE/Tablets RESPONSIVENESS BASE
   
=================================================================== */
/*==========================
    HTML-BODY
============================*/

@media (max-width: 1380px) {

  /* Allow the page to scale correctly */
  html, body {
    min-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
  }

}

/* =====================
   HEADER
============================ */
@media (min-width: 1024px) and (max-width: 1380px) {
  .header-frame { height: 100px; }
  .header-image { width: 105px; margin-top: 0.3rem; }
  .header-left { margin-top: 1.2rem; }
  .header-text h1 { font-size: 43px;margin-top: 0.01px; }
  .header-text h2 { font-size: 20px; transform: translateX(0.8);}
}

@media (min-width: 900px) and (max-width: 1020px) {
  .header-frame { height: 97px; }
  .header-image { width: 100px; margin-top: 0.3rem; }
  .header-left { margin-top: 1.17rem; }
  .header-text h1 { font-size: 43px;margin-top: 0.01px; }
  .header-text h2 { font-size: 20px; transform: translateX(0.8);}
}

@media (min-width: 600px) and (max-width: 899px)  {
  .header-frame { height: 93px; }
  .header-image { width: 95px; margin-top: 0.25rem; }
  .header-left { margin-top: 1.05rem; }
  .header-text h1 { font-size: 40px; margin-top: 0.01px;}
  .header-text h2 { font-size: 18px; }
}

@media (min-width: 400px) and (max-width: 599px)  {
  .header-frame { height: 88px; }
  .header-image { width: 95px; margin-top: 0.2rem; }
  .header-left { margin-top: 1rem; }
  .header-text h1 { font-size: 35px;margin-top: 0.01px; }
  .header-text h2 { font-size: 16px; }


   /* --- HAMBURGER MENU FOR SMALL PHONES ONLY --- */
 
 /* Hide header-right on tiny phones */
   .header-right {
  display: none !important;
  
  }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 1px;
  cursor: pointer;
  z-index: 9990;
  position: absolute;
  top: 0.7rem;        /* move up */
  left: 1rem;      /* keep aligned to the right */
  width: 28px;
  
  
}

.hamburger-arrow span {

  position: relative;
  width: 26px;
  height: 5px;
  background-color: var(--accent) !important;
  border-radius: 5px;
  display: block;
    background: black;
    margin: 3px 0;
    transition: all 0.3s ease;
	
}
/*Default CLOSED state*/
.hamburger-arrow span:nth-child(1) {
    transform-origin: center bottom; 
	transform: rotate(32deg);
}

.hamburger-arrow span:nth-child(2) {
  transform-origin: center top;
   transform: rotate(-32deg);
}
/*Active state*/

.hamburger-arrow.active span:nth-child(1) {
  transform: rotate(-32deg);
}

.hamburger-arrow.active span:nth-child(2) {
  transform: rotate(32deg);
}

/* =============== MOBILE SLIDE-IN MENU =============== */

/* MOBILE MENU — hidden by default */
.mobile-menu {
  position: fixed;
  top: 6rem;
  border-radius: 40% / 40%;
  left: -130px;      /* fully hidden off-screen */
  width: 130px;       /* slide-in panel width */
  height: 12vh;
  background: rgba(115, 156, 235, 0.4);
  z-index: 9995;
  transition: left 0.35s ease;
  padding: 0 1rem ;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  
}

/* When hamburger is active → menu slides in */
.mobile-menu.open {
  left: 0;
}

/* Keep items vertical and centered */
.mobile-menu .menu-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
  left:0.3rem;
}

.mobile-menu a {
  font-size: 18px;
  color: var(--brand);
}
}

/* =====================
   Mobile Menu-Chatbox
============================ */
@media (max-width: 600px) {
  #chatPopup {
    top: 70px !important;   /* equal to your header height */
    height: calc(70vh - 70px) !important;
    z-index: 9999 !important; /* above everything */
    position: fixed !important;
  }
}

/* =====================
   VERY SMALL PHONES
============================ */
@media (max-width: 399px) {
  .header-frame { height: 58px; }
   .header-left { margin-top: 0.25rem; }
  .header-image { width: 60px; margin-top: 0.3rem; }
  .header-text h1 { font-size: 22px; }
  .header-text h2 { font-size: 8.75px; }
  
   /* --- HAMBURGER MENU FOR SMALL PHONES ONLY --- */
 
 /* Hide header-right on tiny phones */
   .header-right {
  display: none !important;
  
  }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 1px;
  cursor: pointer;
  z-index: 9990;
  position: absolute;
  top: 0.7rem;        /* move up */
  left: 1rem;      /* keep aligned to the right */
  width: 28px;
  
  
}

.hamburger-arrow span {

  position: relative;
  width: 26px;
  height: 5px;
  background-color: var(--accent) !important;
  border-radius: 5px;
  display: block;
    background: black;
    margin: 3px 0;
    transition: all 0.3s ease;
	
}
/*Default CLOSED state*/
.hamburger-arrow span:nth-child(1) {
    transform-origin: center bottom; 
	transform: rotate(32deg);
}

.hamburger-arrow span:nth-child(2) {
  transform-origin: center top;
   transform: rotate(-32deg);
}
/*Active state*/

.hamburger-arrow.active span:nth-child(1) {
  transform: rotate(-32deg);
}

.hamburger-arrow.active span:nth-child(2) {
  transform: rotate(32deg);
}

/* =============== MOBILE SLIDE-IN MENU =============== */

/* MOBILE MENU — hidden by default */
.mobile-menu {
  position: fixed;
  top: 4rem;
  border-radius: 40% / 40%;
  left: -130px;      /* fully hidden off-screen */
  width: 130px;       /* slide-in panel width */
  height: 12vh;
  background: rgba(115, 156, 235, 0.4);
  z-index: 9995;
  transition: right 0.35s ease;
  padding: 0 1rem ;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  
}

/* When hamburger is active → menu slides in */
.mobile-menu.open {
  left: 0;
}

/* Keep items vertical and centered */
.mobile-menu .menu-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
  left:0.3rem;
}

.mobile-menu a {
  font-size: 18px;
  color: var(--brand);
}
}

/*====================================
      Footer 
====================================*/

@media (min-width: 1024px) and (max-width: 1380px) {
  .footer-columns {
    gap: 1.5rem;
  }

  .footer-col h3 {
    font-size: 23px;
  }

  .footer-col .links a {
    font-size: 19px;
    padding: 5px 10px;
  }
  .links a i {
  font-size: 20px;
  }

  footer {
    font-size: 14px;
  }
  
   .quote h3{ 
    font-size:26px; 
    padding: 0 8rem; 
    margin: 0 ;
}

  .footer-image {
  width: 3%  ;
  }
}

@media (min-height: 600px) and (max-width: 1023px) {

  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .footer-col h3 {
    font-size: 21px;
  }

  .footer-col .links a {
    font-size: 17px;
    padding: 4px 8px;
  }
  .links a i {
  font-size: 19px;
  }
 .quote h3{ 
    font-size:24px; 
    padding: 0 8rem; 
    margin: 0 ;
}
    
  .footer-image {
  width: 3%  ;
  }
}

@media (min-width: 400px) and (max-width: 599px) {

  /* Stack columns vertically */
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  /* text scaling */
  .footer-col h3 {
    font-size: 20px;
  }

  footer {
    font-size: 14px;
    padding-top: 0.5rem;
  }

  .footer-col .links a {
    font-size: 16px;
    padding: 6px 12px;
  }
  .links a i {
  font-size: 18px;
  }
   .quote h3{ 
    font-size:22px; 
    padding: 0 8rem; 
    margin: 0 ;
}

  /* icons */
  .footer-col:last-child .links a {
    font-size: 1.1rem;
  }
  .footer-image {
  width: 5%  ;
  }
}

/* =====================
   VERY SMALL PHONES
============================ */
@media (max-width: 399px) {
.footer-columns {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    text-align: center;
  }
  footer {
    font-size: 12px;
  }

  .footer-col h3 {
    font-size: 18px;
  }

  .footer-col .links a {
    font-size: 14px;
    padding: 4px 8px;
  }
  .links a i {
  font-size: 16px;
  }
 .quote h3{ 
    font-size:20px; 
    padding: 0 5rem; 
    margin: 0 ;
}

  .footer-col:last-child .links a {
    font-size: 1.1rem;
  }
  .footer-image {
  width: 5%  ;
  }
}

/*=============================
         MAIN – TAK STORY
   Unified responsive ranges
============================ */



/* =========================================================
   RANGE 1 – LARGE TABLETS / NARROW DESKTOP
   1024px–1399px (all orientations)
   
   ========================================================= */
@media (min-width: 1024px) and (max-width: 1380px) {

 .slogan h1 { font-size: 2.8vw !important; }
  .slogan h2 { font-size: 1.8vw !important; }

  .h3-image2 {
    width: 35%;
    display: block;
    margin-right: 10rem;
  }
/* ===== AI ===== */
  .ai-window {
    max-height: 100vh;
   
  }

  .ai-bg {
    background-position: 50% 20% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 100% auto;
  }

  .ai-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  .ai-card {
    width: 100%;
    margin: 0 auto 1rem auto;
    padding: 1.7rem 1.1rem;
    border-radius: 10px;
  }

  .ai-card h3 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .ai-card p {
    font-size: 1.2rem;
    line-height: 2rem;
  }


/*2-columns*/
  .two-column-wrap {
    margin: 1.5rem;
  }



  /* ===== MISSION ===== */
  .mission-window {
    max-height: 70vh;
    
  }

  .mission-bg {
    background-position: 40% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 115% auto;
  }


  .mission-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    transform: translateY(150px);
  }

  .mission-card {
    width: 100%;
    padding: 1.5rem;
  }

  .mission-card h2 {
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: center;
  }

  .mission-card p {
    font-size: 1.05rem;
    line-height: 1.45;
  }

  /* ===== CORE VALUES ===== */
  .corevalues-window {
    max-height: 70vh;
    
  }

  .corevalues-bg {
    background-position: 50% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 120% auto;
  }

  .corevalues-foreground {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
  }

  .corevalues-wrapper {
    width: 100%;
    max-width: 1100px;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: 0 auto;
  }

  .box {
    height: 290px;
    width: 200px;
  }

  .box .front h3 {
    font-size: 1.1rem;
  }

  .box .back p {
    font-size: 0.8rem;
    line-height: 1.3rem;
  }
   .mobile-more {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg10); 
     text-align: center bottom;
  }
 

  /* ===== FOUNDER ===== */
  .founder-window {
    min-height: 80vh;
    
  }

  .founder-bg {
    background-position: 50% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 103% auto;
  }

  .founder-foreground {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
  }

  .founder-wrapper {
    position: relative;
    left: 45%;
    width: 85%;
    max-width: 900px;
    padding: 1.2rem 1rem;
    margin: 2rem auto;
    
    
  }

  .image-wrap {
    width: 70%;
    margin: 0 auto 1rem auto;
  }

  .founder-image {
    width: 60%;
  }

  .caption {
    text-align: right;
    font-size: 0.85rem;
  }

  .founder-wrapper p {
    font-size: 1.1rem;
    line-height: 2;
  }
}


/* =========================================================
   RANGE 2 – TABLETS (PORTRAIT & LANDSCAPE MID)
   900px–1023px
   (Mix of old tablet portrait + small tablet landscape)
   ========================================================= */
@media (min-width: 900px) and (max-width: 1023px) {

  .slogan{margin: 1rem 6rem 0 3rem;}   
.slogan h1 { font-size: 2.5vw !important; }
  .slogan h2 { font-size: 2vw !important; }
  .h3-image2 {
    width: 35%;
    display: block;
    margin-right: 6rem;
  }
/* ===== AI ===== */
  .ai-window {
    min-height: 100vh;
   
  }

  .ai-bg {
    background-position: 50% 20% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 100% auto;
  }
  .mission-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  .ai-card {
    width: 100%;
    margin: 0 auto 1rem auto;
    padding: 1.7rem 1.1rem;
    border-radius: 10px;
  }

  .ai-card h3 {
    font-size: 1.3rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .ai-card p {
    font-size: 1.15rem;
    line-height: 1.5rem;
  }

  .two-column-wrap {
    margin: 1.5rem;
  }

  /* ===== MISSION ===== */
  .mission-window {
    min-height: 50vh;
    
  }

  .mission-bg {
    background-position: 40% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 115% auto;
  }


  .mission-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  .mission-card {
    width: 100%;
    padding: 1.5rem;
  }

  .mission-card h2 {
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: center;
   
  }

  .mission-card p {
    font-size: 1.05rem;
    line-height: 1.45;
  }

  /* ===== CORE VALUES ===== */
  .corevalues-window {
    min-height: 60vh;
    
  }

  .corevalues-bg {
    background-position: 50% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 120% auto;
  }

  .corevalues-foreground {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
  }

  .corevalues-wrapper {
    width: 100%;
    max-width: 1100px;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: 0 auto;
  }

  .box {
    height: 290px;
    width: 150px;
  }

  .box .front h3 {
    font-size: 1.1rem;
  }

  .box .back p {
    font-size: 0.7rem;
    line-height: 1.1rem;
  }
   .mobile-more {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg10); 
     text-align: center bottom;
  }
 

  /* ===== FOUNDER ===== */
  .founder-window {
    min-height: 80vh;
    
  }

  .founder-bg {
    background-position: 50% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 103% auto;
  }

  .founder-foreground {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
  }

  .founder-wrapper {
    position: relative;
    left: 45%;
    width: 85%;
    max-width: 900px;
    padding: 1.2rem 1rem;
    margin: 2rem auto;
    
  }

  .image-wrap {
    width: 70%;
    margin: 0 auto 1rem auto;
  }

  .founder-image {
    width: 60%;
  }

  .caption {
    text-align: right;
    font-size: 0.85rem;
  }

  .founder-wrapper p {
    font-size: 1.1rem;
    line-height: 1.8;
  }
}


/* =========================================================
   RANGE 3 – Phones/Tablets (PORTRAIT & LANDSCAPE small)
   700px–899px
   ========================================================= */
@media (min-width: 700px) and (max-width: 899px) {

  .slogan{margin: 1rem 6rem 0 3rem;}   
.slogan h1 { font-size: 3.5vw !important; }
  .slogan h2 { font-size: 2.8vw !important; }

  .h3-image2 {
    width: 40%;
    display: block;
    margin-right: 5rem;
  }

  /* ===== AI ===== */
  .ai-window {
    min-height: 100vh;
   
  }

  .ai-bg {
    background-position: 50% 20% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 100% auto;
  }
.mission-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  .ai-card {
    width: 100%;
    margin: 0 auto 1rem auto;
    padding: 1.7rem 1.1rem;
    border-radius: 10px;
  }

  .ai-card h3 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 0.75rem;
  }

  .ai-card p {
    font-size: 1.05rem;
    line-height: 1.45rem;
  }

  .two-column-wrap {
    margin: 1.5rem;
  }

  /* ===== MISSION ===== */
  .mission-window {
    min-height: 50vh;
    
  }

  .mission-bg {
    background-position: 40% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 115% auto;
  }


  .mission-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  .mission-card {
    width: 100%;
    padding: 1.5rem;
  }

  .mission-card h2 {
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: center;
  }

  .mission-card p {
    font-size: 1.05rem;
    line-height: 1.45;
  }

  /* ===== CORE VALUES ===== */
  .corevalues-window {
    min-height: 60vh;
    
  }

  .corevalues-bg {
    background-position: 50% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 120% auto;
  }

  .corevalues-foreground {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
  }

  .corevalues-wrapper {
    width: 100%;
    max-width: 1100px;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: 0.5rem auto;
  }

  .box {
    height: 290px;
    width: 140px;
  }

  .box .front h3 {
    font-size: 1.1rem;
  }

  .box .back p {
    font-size: 0.7rem;
    line-height: 1.1rem;
  }
   .mobile-more {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg10); 
     text-align: center bottom;
  }
 

  /* ===== FOUNDER ===== */
  .founder-window {
    min-height: 80vh;
    
  }

  .founder-bg {
    background-position: 50% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 103% auto;
  }

  .founder-foreground {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
  }

  .founder-wrapper {
    position: relative;
    left: 45%;
    width: 85%;
    max-width: 900px;
    padding: 1.2rem 1rem;
    margin: 2rem auto;
    
  }

  .image-wrap {
    width: 70%;
    margin: 0 auto 1rem auto;
  }

  .founder-image {
    width: 60%;
  }

  .caption {
    text-align: right;
    font-size: 0.85rem;
  }

  .founder-wrapper p {
    font-size: 1.1rem;
    line-height: 1.7;
  }
}


/* =========================================================
   RANGE 4 – PHONE LANDSCAPE / SMALL TABLETS
   600px–699px
   (Based on your old phone-landscape block)
   ========================================================= */
@media (min-width: 600px) and (max-width: 699px) {

 
.slogan{margin: 1rem 5rem 0 3rem;}
 .slogan h1 { font-size: 3.4vw !important; line-height: 1.1;}
  .slogan h2 { font-size: 2.8vw !important; }

  .h3-image2 {
    width: 35%;
    display: block;
    margin-right: 12rem;
  }

  /* ===== AI ===== */
  .ai-window {
    min-height: 120vh;
    
  }

  .ai-bg {
   background-position: 50% 1% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 150% auto;

  }

  .ai-foreground {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
  }

  .ai-wrapper {
    
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
  }

  .ai-card {
    width: 100%;
    margin: 0 auto 1rem auto;
    padding: 1.3rem 1.1rem;
    border-radius: 10px;
  }

  .ai-card h3 {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 0.75rem;
  }

  .ai-card p {
    font-size: 1rem;
    line-height: 1.45rem;
  }

  
    .two-column-wrap {
    grid-template-columns: 1fr;
    margin: 1.5rem 0.7rem !important;
    padding: 0 !important;
    max-width: 100%;
  }

  /* ===== MISSION ===== */
  .mission-window {
   
    min-height: 100vh;
    
  }

  .mission-bg {
   background-position: 50% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 110% auto;
  
  }

  .mission-foreground {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
  }

  .mission-wrapper {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
  }

  .mission-card {
    width: 100%;
    padding: 1.5rem;
  }

  .mission-card h2 {
    font-size: 1.4rem;
    line-height: 1.4;
    text-align: center;
  }

  /* ===== CORE VALUES ===== */
  .corevalues-window {
    min-height: 150vh;
    
  }

  .corevalues-bg {
   background-position: 50% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 120% auto;
  }
  

  .corevalues-foreground {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
  }

  .corevalues-wrapper {
    width: 95%;
    max-width: 1200px;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    margin: 0 auto;
  }

  .box {
    height: 350px;
    width: 118px;
  }

  .box .front h3 {
    font-size: 1rem;
  }

  .box .back p {
    font-size: 0.7rem;
    line-height: 1rem;
  }
   .mobile-more {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg10); 
     text-align: center bottom;
  }
  

  /* ===== FOUNDER ===== */
  .founder-window {
    
    min-height: 70vh;
  }
   

  .founder-bg {
    background-position: 50% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 105% auto;
  
  }

  .founder-foreground {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
  }

  .founder-wrapper {
    position: relative;
    left: 45%;
    width: 80%;
    max-width: 900px;
    padding: 1.2rem 1rem;
    margin: 2rem auto;
    
  }

  .image-wrap {
    width: 70%;
    margin: 0 auto 1rem auto;
  }

  .founder-image {
    width: 60%;
  }

  .caption {
    text-align: right;
    font-size: 0.85rem;
  }

  .founder-wrapper p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

/* =========================================================
   RANGE 4 – PHONE PORTRAIT
   400px–599px
   (Based on your old phone-portrait block)
   ========================================================= */
@media (min-width: 400px) and (max-width: 599px) {
	
.slogan{margin: 1rem 5rem 0 3rem;}
  .slogan h1 { font-size: 4vw !important; line-height:1.1;}
  .slogan h2 { font-size: 3vw !important; }
  
  .h3-image2 {
    width: 35%;
    display: block;
    margin: 3rem auto 0;
  }
  
  .brand.container h3{font-size:24px;}

  /* ===== AI ===== */
  .ai-window {
    max-height:95vh;
  }

  .ai-bg {
    background-position: 50% 10% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 150% auto;
	
  }

  .ai-foreground {
    padding: 3rem 0;
  }
 .ai-wrapper {
    
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
  }
 
   
  .ai-card {
    padding: 1.3rem 0.2rem;
    border-radius: 10px;
  }

  .ai-card h3 {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 0.75rem;
  }

  .ai-card p {
    font-size: 0.9rem;
    line-height: 1.3rem;
  }

  .two-column-wrap {
    grid-template-columns: 1fr;
    margin: 2rem 1rem !important;
    padding: 0 !important;
    max-width: 100%;
  }

  /* ===== MISSION ===== */
  .mission-window {
    max-height:65vh;
  }

  .mission-bg {
    background-position: 40% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 110% auto;
  }
   
  
   .mission-wrapper {
    
    width:65%;
    padding:5rem 1rem;
    transform: translateY(80%);
    
   
  }

  .mission-card {
    padding: 1.3rem 1.1rem;
    border-radius: 10px;
  }

  .mission-card h2 {
    font-size: 1.3rem;
    line-height: 1.7rem;
    text-align: center;
    margin-bottom: 0.75rem;
  }

  .mission-card p {
    font-size: 1rem;
    line-height: 1.45rem;
  }
   .two-column-wrap {
    grid-template-columns: 1fr;
    margin: 1.5rem 0.7rem !important;
    padding: 0 !important;
    max-width: 100%;
  }

  /* ===== CORE VALUES ===== */
  .corevalues-window {
    min-height:123vh;
  }

  .corevalues-bg {
     background-position: 50% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 125% auto;
	
  }

  .corevalues-foreground {
    padding: 2rem 0;
  }

  .corevalues-wrapper {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 90%;
    max-width: 420px;
  }

  .box {
    width: 73%;
    height: 150px;
    margin: 0 auto;
  }

  .box .front h3 {
    font-size: 1rem;
  }

  .box .back p {
    font-size: 0.6rem;
    line-height: 1rem;
  }
   .mobile-more {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg10); 
     text-align: center bottom;
  }
 

  /* ===== FOUNDER ===== */
  .founder-window {
    
    
    min-height: 123vh;
    
  }

  .founder-bg {
    background-position: 40% 20% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 110% auto;
	
  }

  .founder-wrapper {
    position: relative;
    left: 45%;
    width: 90%;
    max-width: 900px;
    padding: 1.2rem 1rem;
    margin: 2rem auto;
    max-height: none;
   
  }

  .image-wrap {
    float: none;
    width: 60%;
    margin: 0 auto 1rem auto;
  }

  .founder-image {
    width: 50%;
  }

  .caption {
    text-align: right;
    font-size: 0.85rem;
  }

  .founder-wrapper p {
    font-size: 1rem;
    line-height: 1.35;
  }
}

/* =========================================================
   RANGE 5 – VERY SMALL PHONES
   <= 399px
   (Tighter version of phone-portrait)
   ========================================================= */
@media (max-width: 399px) {
	
.slogan{margin: 1rem 5rem 0 3rem;}
  .slogan h1 { font-size: 4vw !important; line-height:1.1;}
  .slogan h2 { font-size: 3vw !important; }

  .h3-image2 {
    width: 35%;
    display: block;
    margin: 1.5rem auto 0;
  }
  
    .brand.container h3{font-size:23px;}
  

  /* ===== AI ===== */
  .ai-window {
    max-height:100vh;
    
  }

  .ai-bg {
     background-position: 50% 5% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 150% auto;
	
  }
 
  .ai-wrapper {
    
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
  }

  .ai-card {
    padding: 1.1rem 0.1rem;
    border-radius: 10px;
  }

  .ai-card h3 {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0.6rem;
  }

  .ai-card p {
    font-size: 0.75rem;
    line-height: 1.2rem;
  }

  .two-column-wrap {
    grid-template-columns: 1fr;
    margin: 1.5rem 0.7rem !important;
    padding: 0 !important;
    max-width: 100%;
  }

  /* ===== MISSION ===== */
  .mission-window {
    max-height:60vh;
   
  }

  .mission-bg {
     background-position: 40% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 115% auto;
    
  }
 .mission-wrapper {
    
    width: 65%;
    padding:2rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    transform: translateY(80%);
  }

  .mission-card {
    padding: 1rem 1rem;
    border-radius: 10px;
    
  }

  .mission-card h2 {
    font-size: 1.1rem;
    line-height: 1.4rem;
    text-align: center;
    margin-bottom: 0.6rem;
  }

  .mission-card p {
    font-size: 0.9rem;
    line-height: 1.3rem;
  }

  /* ===== CORE VALUES ===== */
  .corevalues-window {
    min-height:90vh;
  }

  .corevalues-bg {
     background-position: 50% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 125% auto;
	
  }
 

  .corevalues-wrapper {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    width: 90%;
    max-width: 340px;
    
  }

  .box {
    width: 73%;
    height: 100px;
    margin: 0 auto;
  }

  .box .front h3 {
    font-size: 0.9rem;
  }

  .box .back p {
    font-size: 0.6rem;
    line-height: 0.95rem;
  }
  .mobile-more {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bg10); 
     text-align: center bottom;
  }
 

  /* ===== FOUNDER ===== */
  .founder-window {
    min-height: 100vh;
   
  }

  .founder-bg {
     background-position: 50% 30% !important; /* “zoom out feel” by showing upper area */
    background-repeat: repeat;
	background-size: 125% auto;
  }


  .founder-wrapper {
    position: relative;
    left: 45%;
    width: 92%;
    max-width: 900px;
    padding: 1rem 0.8rem;
    margin: 1.5rem auto;
    max-height: none;
    
  }

  .image-wrap {
    float: none;
    width: 60%;
    margin: 0 auto 0.8rem auto;
  }

  .founder-image {
    width: 50%;
  }

  .caption {
    text-align: right;
    font-size: 0.8rem;
  }

  .founder-wrapper p {
    font-size: 1rem;
    line-height: 1.2;
  }
}


