 /* 
    =====================
    This is the css file for about page(in the root folder).
    ====================== 
*/

 :root {
     --primary-green: #198754;
     --dark-navy: #212529;
 }

 body {
     font-family: 'Segoe UI', Roboto, sans-serif;
     background-color: #fcfcfc;
     color: #444;
 }

 /* Hero Styling */
 .about-hero {
     background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
         url('https://images.unsplash.com/photo-1533900298318-6b8da08a523e?auto=format&fit=crop&q=80&w=2070');
     background-size: cover;
     background-position: center;
     color: white;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     text-align: center;
     min-height: 60vh;
     padding: 0;

 }

 .section-padding {
     padding: 80px 0;
 }

 /* about card  */
 /* .icon-card {
     border: none;
     border-radius: 0 !important;
     transition: all 0.3s ease;
     background: #fff;
 }

 .icon-card:hover {
     transform: translateY(-2px);
     box-shadow: none !important;
     border: none !important;
 } */

 /* Remove all borders and shadows even on hover */
 .icon-card,
 .icon-card:hover {
     border: none !important;
     box-shadow: none !important;
     background-color: transparent !important;
     transform: none !important;
     /* Prevents the card from "lifting" on hover */
 }

 .icon-card:active,
 .icon-card:focus {
     outline: none !important;
     box-shadow: none !important;
 }

 .mission-box {
     border-left: 5px solid var(--primary-green);
     padding: 20px 30px;
     background: #eaecef;
 }


 /* about image */
 img .no-drag {
     -webkit-user-drag: none;
     user-select: none;
 }

 /*  ready_to_grow */
 .ready_to_grow {
     margin-top: 0 !important;
     padding-top: 0 !important;
 }


 /* ============= Mobile Alignment & Overflow Fix ============= */
 @media (max-width: 767.98px) {

     /* Prevent horizontal scroll on the entire page */
     html,
     body {
         overflow-x: hidden;
     }

     /* Ensure all containers and rows respect the screen width */
     .container,
     .container-fluid {
         padding-left: 1rem;
         padding-right: 1rem;
     }

     /* Reduce hero padding for smaller screens */
     .about-hero {
         padding: 60px 0;
     }

     /* Make the mission box full width and stack nicely */
     .mission-box {
         padding: 15px 20px;
         border-left: 4px solid var(--primary-green);
     }

     /* Allow the "Ready to grow" buttons to stack on very small screens */
     .d-flex.justify-content-center.gap-3 {
         flex-direction: column;
         gap: 0.5rem !important;
     }

     /* Slightly tighten the navbar on mobile */
     .navbar .btn-sm {
         font-size: 0.8rem;
         padding: 0.3rem 0.6rem;
     }
 }