/* ============================================
   GOOGLE FONTS
============================================ */
@import url('https://fonts.googleapis.com/css2?family=Kalam&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sacramento&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* ============================================
   GLOBAL BASE FONT
============================================ */
html {
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
}

/* ============================================
   ABOUT HERO LAYOUT
============================================ */
.about-hero-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  padding: 4rem 6%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
  text-align: center;
}

/* ============================================
   INFO & CONTENT PANELS
============================================ */
.info-panel,
.content-panel {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #003544;

  background: linear-gradient(135deg, #e0f7fa, #d5f5fb, #b1c8cc);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 180, 220, 0.15), inset 0 0 20px rgba(0, 220, 255, 0.05);
  padding: 2.5rem;
  text-align: center;
}

/* ============================================
   FOUNDER'S NOTE
============================================ */
.founder-note {
  font-family: 'Dancing Script', cursive;
  font-size: 1.33rem;
  font-weight: 400;
  color: #00222b;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #00727f;
  box-shadow: 0 6px 20px rgba(0, 90, 100, 0.35);
  padding: 2rem 2rem;
  border-radius: 20px;
  line-height: 1.5;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  max-height: none;
}

.founder-note:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 200, 220, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.3);
  color: #002f3b;
}

/* Signature */
.founder-note .signature .name {
  font-family: 'Dancing Script', cursive;
  font-size: 1.6rem;
  color: #00535d;
  text-align: right;
  text-shadow: 0 0 2px rgba(0,0,0,0.3);
  margin-top: 0;
  padding: 0;
}

.founder-note .signature .title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #555;
}


/* Ensure founder-note has no extra top spacing affecting signature */
.founder-note {
  padding: 2rem 3.5rem 0rem 3.5rem; /* top right bottom left */
  text-align: center;     /* ensures content aligns left by default */
  position: relative;   /* allows absolute/flex positioning inside */
}

/* Signature container */
.founder-note .signature {
  text-align: right;    /* force signature to right */
  margin-top: 0.5rem;   /* reduce gap between text and signature */
}

/* Signature name */
.founder-note .signature .name {
  display: inline-block; /* makes text obey text-align */
  margin-top: 0;         /* remove extra margin */
  font-size: 1.4rem;     /* keep previous large font */
  color: #00535d;
  text-shadow: 0 0 2px rgba(0,0,0,0.3);
}

/* Signature title */
.founder-note .signature .title {
  font-size: .9rem;
  color: #555;
  display: block;
}

/* ============================================
   VALUES LIST
============================================ */
.info-panel .values-widget .style2 {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
  font-family: 'Rajdhani', sans-serif;
}

.info-panel .values-widget .style2 li {
  position: relative;
  padding: 1rem 2rem;
  margin-bottom: 1.6rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #003845;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: #e1eff5;
  border-radius: 24px;
  box-shadow: 0 4px 8px rgba(0, 180, 220, 0.2), inset 0 -3px 6px rgba(255, 255, 255, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-panel .values-widget .style2 li:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 180, 220, 0.3), inset 0 -3px 6px rgba(255, 255, 255, 0.7);
  color: #007f99;
}

.info-panel .values-widget .style2 li strong {
  font-size: 1.2rem;
  background: rgba(0, 123, 153, 0.1);
  color: #005e73;
  padding: 0 6px;
  border-radius: 6px;
  font-weight: 700;
}

/* ============================================
   SECTION TITLES
============================================ */
.section-title,
.section-subtitle,
.values-widget h3 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #004d66;
  border-left: 4px solid #00aecd;
  padding-left: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 2px rgba(0, 174, 205, 0.3);
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
============================================ */

/* Tablets */
@media (max-width: 768px) {
  .about-hero-layout { display: block; width: 100%; padding: 0 5%; }
  .founder-note { font-size: 1.5rem; padding: 1rem 1rem; }
  .founder-note .signature .name { font-size: 1.3rem; }
  .values-widget .style2 li strong { font-size: 1.2rem; }
}

/* Mobile */
@media (max-width: 480px) {
  .founder-note { font-size: 1.5rem; line-height: 1.5; padding: 1.4rem 1rem; }
  .founder-note .signature .name { font-size: 1.4rem; }
  .founder-note .signature .title { font-size: 0.9rem; }
}

/* Large screens 1400px+ */
@media (min-width: 1400px) {

  .container, .about-hero-layout { max-width: 1800px; padding: 8rem 10rem; gap: 5rem; grid-template-columns: 450px 1fr; text-align: left; }

  .info-panel, .content-panel { font-size: 2rem; line-height: 2; padding: 3.5rem; border-radius: 28px; }

  .info-panel .values-widget .style2 li { font-size: 1.7rem; padding: 1.4rem 3rem; border-radius: 32px; }
  .values-widget .style2 li strong { font-size: 2.2rem; }

  .section-title, .section-subtitle, .values-widget h3 { font-size: 3rem; border-left-width: 6px; padding-left: 1.5rem; }

  .founder-note { font-size: 4rem; line-height: 1.9; padding: 3rem 3.5rem; border-radius: 28px; }
  .founder-note .signature .name { font-size: 2.4rem; text-align: right;}
  .founder-note .signature .title { font-size: 1.6rem; }

  .content-panel .section-text { font-size: 2rem; line-height: 2; }
  .about-card.founder-note .section-text { font-size: 2.5rem; line-height: 2.1; text-align: center; margin-top: 1.8rem; }
}




@media (max-width: 800px) and (max-height: 600px) {
  .founder-note {
    width: 100%;              /* full container width */
    max-width: 100%;          /* ensure no shrinking */
    padding: 0 1rem;          /* minimal horizontal padding so text isn’t cut off */
    margin: 0;                /* remove extra spacing around */
    box-sizing: border-box;   /* include padding in width */
    font-size: 1.4rem;        /* readable size */
    line-height: 1.6;
  }

  .founder-note .signature {
    text-align: right;        /* signature stays right-aligned */
    margin-top: 0.3rem;       /* minimal gap from note text */
    padding-right: 0.5rem;    /* small offset so signature is not cut off */
  }

  .founder-note .signature .name {
    font-size: 1.3rem;
  }

  .founder-note .signature .title {
    font-size: 0.9rem;
  }
}


@media (min-width: 1400px) {
  .founder-note .signature {
    display: flex;            /* use flex for proper alignment */
    justify-content: flex-end; /* push content to the right */
    align-items: baseline;     /* optional: vertical align */
    margin-top: 0.5rem;        /* small gap from note text */
    flex-direction: row;
  }

  .founder-note .signature .name,
  .founder-note .signature .title {
    text-align: right;         /* ensure inner text also aligns right */
  }
}


