/* About Page Responsive Styles */

/* ===========================================
   TABLETS (max-width: 1024px)
   =========================================== */
@media (max-width: 1024px) {
  .about-page .container {
    padding: 0 1.25em;
  }
  
  .about-page .hero-banner {
    padding: 1em 0;
    margin-top: 1em;
  }
  
  .about-page .hero-banner h1 {
    font-size: 2.5rem;
  }
  
  .about-page .about-content h3 {
    font-size: 1.8rem;
    line-height: 1.4;
  }
  
  .about-page .about-content p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .about-page .about-stats {
    margin-top: 2.5em;
    flex-wrap: wrap;
    gap: 1.25em;
  }
  
  .about-page .stat-item {
    flex: 1;
    min-width: 7.5em;
  }
  
  .about-page .stat-number {
    font-size: 2rem;
  }
  
  .about-page .latest-works-title {
    font-size: 1.8rem;
    line-height: 1.3;
    text-align: left;
  }
  
  .about-page .image-grid {
    gap: 0.9375em;
  }
  
  .about-page .latest-works-description .desc {
    font-size: 1rem;
  }
}

/* ===========================================
   LARGER PHONES & TABLETS (max-width: 768px)
   =========================================== */
@media (max-width: 768px) {
  /* Hero Banner Overrides */
  body.about-page .hero-banner {
    margin-top: 2em !important;
    padding: 2em 0 !important;
    text-align: center;
    height: auto !important;
  }
  
  body.about-page .hero-banner h1 {
    font-size: 2rem !important;
    margin-top: 0.5em !important;
    padding-top: 0 !important;
  }
  
  body.about-page .hero-banner::before {
    display: none !important;
  }
  
  .about-page .breadcrumbs {
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  
  .about-page .about-hero-content1 {
    font-size: 1rem !important;
  }
  
  .about-page .about-hero-content2 {
    font-size: 1.4rem !important;
  }
  
  /* About Section Layout */
  .about-page .container .row {
    flex-direction: column;
  }
  
  .about-page .col-md-5 {
    width: 100%;
    margin-bottom: 1.875em;
  }
  
  .about-page .about-img {
    text-align: center;
    margin-bottom: 1.875em;
  }
  
  .about-page .about-img .img-upper,
  .about-page .about-img .img-lower {
    max-width: 100%;
    height: auto;
  }

  .about-page .about-img .img-upper {
    width: 200px;
    height: auto;
  }

  .about-page .about-img .img-lower {
    width: 300px;
    height: auto;
  }
  
  .about-page .about-content {
    text-align: center;
    padding: 0 0.9375em;
  }
  
  .about-page .about-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1.25em;
  }
  
  .about-page .about-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .about-page .btn-arrow {
    padding: 0.75em 1.5em;
    font-size: 0.9rem;
    margin-top: 1em;
  }
  
  /* Statistics Section */
  .about-page .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.9375em;
    margin-top: 1.875em;
  }
  
  .about-page .stat-item {
    flex: 1;
    min-width: calc(50% - 0.46875em);
    padding: 0.9375em;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5em;
    text-align: center;
  }
  
  .about-page .stat-number {
    font-size: 1.8rem;
    display: block;
    font-weight: 600;
  }
  
  .about-page .stat-label {
    font-size: 0.9rem;
    margin-top: 0.25em;
  }
  
  /* Latest Works Section */
  .about-page .latest-works {
    text-align: left;
    margin: 2.5em 0;
  }
  
  .about-page .latest-works-title {
    font-size: 1rem;
    margin-bottom: 1.875em;
    text-align: left;
  }
  
  .about-page .image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 1.25em;
  }
  
  .about-page .image-grid > div {
    width: 100%;
  }
  
  .about-page .image-grid img {
    width: 100%;
    height: auto;
    border-radius: 0em;
    object-fit: cover;
  }
  
  .about-page .latest-works-description {
    text-align: center;
    margin-top: -10em;
    padding-bottom: 2em;
  }
  
  .about-page .latest-works-description .desc {
    font-size: 1.5rem;
    padding-right: 6em;
    line-height: 1.4;
    text-align: left;
  }
  
  .about-page .about-arrow {
    width: 1.875em;
    height: 1.875em;
    margin-left: 11em;
    margin-top: -3.5em;
  }
}

/* ===========================================
   SMALL DEVICES (max-width: 480px)
   =========================================== */
@media (max-width: 480px) {
  /* Hero Banner */
  .about-page .hero-banner {
    padding: 1.5em 0 !important;
  }
  
  .about-page .hero-banner h1 {
    font-size: 1.8rem !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  
  .about-page .breadcrumbs {
    font-size: 0.8rem;
  }
  
  .about-page .about-hero-content1 {
    font-size: 1.5em !important;
  }
  
  .about-page .about-hero-content2 {
    font-size: 2.5em !important;
  }
  
  /* Container & Layout */
  .about-page .container {
    padding: 0 0.9375em;
  }
  
  .about-page .about-content {
    padding: 0 0.625em;
  }
  
  .about-page .about-content h3 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 1em;
  }
  
  .about-page .about-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .about-page .btn-arrow {
    padding: 0.625em 1.25em;
    font-size: 0.85rem;
    margin-top: 0.75em;
  }
  
  /* About Images */
  .about-page .about-img .img-upper {
    width: 150px;
  }

  .about-page .about-img .img-lower {
    width: 200px;
  }
  
  /* Statistics Section */
  .about-page .about-stats {
    margin-top: 1.5625em;
    gap: 0.75em;
  }
  
  .about-page .stat-item {
    padding: 0.75em 0.5em;
    min-width: calc(50% - 0.375em);
  }
  
  .about-page .stat-number {
    font-size: 1.6rem;
  }
  
  .about-page .stat-label {
    font-size: 0.8rem;
  }
  
  /* Latest Works Section */
  .about-page .latest-works {
    margin: 1.5em 0;
    text-align: left;
  }
  
  .about-page .latest-works-title {
    font-size: 2em !important;
    margin-bottom: 1.2em;
    line-height: 1.2;
    text-align: left;
  }
  .about-page .latest-works-highlight {
    font-size: 1.2em !important;
    padding: 0 !important;
  }
  
  .about-page .image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 0em;
    margin-bottom: 1em;
    align-items: start;
  }
  
  .about-page .image-grid > div {
    width: 100%;
    height: 120px;
    overflow: hidden;
  }
  
  .about-page .image-grid .div1 {
    grid-column: 1;
    grid-row: 1;
  }
  
  .about-page .image-grid .div2 {
    grid-column: 2;
    grid-row: 1;
  }
  
  .about-page .image-grid .div3 {
    grid-column: 1;
    grid-row: 2;
  }
  
  .about-page .image-grid .div4 {
    grid-column: 2;
    grid-row: 2;
  }
  
  .about-page .image-grid .div5 {
    grid-column: 1 / -1;
    grid-row: 3;
    height: 100px;
  }
  
  .about-page .image-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  
  .about-page .latest-works-description {
    margin-top: 0;
    display: flex;
    align-items: center;
    padding-bottom: 2em;
    margin-top: -3em;
  }
  
  .about-page .latest-works-description .desc {
    font-size: 0.55em;
    line-height: 1.6;
    text-align: left;
    flex: 1 1 auto;
    margin-right: 0.75em;
    padding-right: 5em !important;
  }
  
  .about-page .about-arrow {
    width: 1.5625em;
    height: 1.5625em;
    flex: 0 0 auto;
    margin-left: 8.8em;
    display: inline-block;
    margin-top: -3em;
  }
}

/* ===========================================
   EXTRA SMALL DEVICES (max-width: 360px)
   =========================================== */
@media (max-width: 360px) {
  .about-page .container {
    padding: 0 0.75em;
  }
  
  .about-page .hero-banner h1 {
    font-size: 1.6rem !important;
  }
  
  .about-page .about-hero-content1 {
    font-size: 0.8rem !important;
  }
  
  .about-page .about-hero-content2 {
    font-size: 1rem !important;
  }
  
  .about-page .about-content h3 {
    font-size: 1.2rem;
  }
  
  .about-page .about-content p {
    font-size: 0.85rem;
  }
  
  .about-page .about-img .img-upper {
    width: 120px;
  }

  .about-page .about-img .img-lower {
    width: 160px;
  }
  
  .about-page .stat-item {
    padding: 0.5em 0.25em;
  }
  
  .about-page .stat-number {
    font-size: 1.4rem;
  }
  
  .about-page .stat-label {
    font-size: 0.75rem;
  }
  
  .about-page .latest-works-title {
    font-size: 1rem;
    text-align: left;
  }
  
  .about-page .image-grid > div {
    height: 100px;
  }
  
  .about-page .image-grid .div5 {
    height: 80px;
  }
  .about-page .latest-works-description {
    margin-top: -3.5em;
    padding-bottom: 2em;
  }
  
  .about-page .latest-works-description .desc {
    font-size: 0.5em;
  }
  .about-page .about-arrow {
    margin-top: -3.8em !important;
    margin-left: 6.9em !important;
  }
}