  /* Global Colors */
  :root { 
    --background-color: #eb0043; 
    --default-color: #ffffff; 
    --heading-color: #ffffff; 
    --accent-color: #ffffff; 
    --surface-color: #eb0043; 
    --contrast-color: #ffffff; 
    --footer-color: #2b2e34; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--default-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--background-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--heading-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--default-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(235, 0, 67, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 6.5rem;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Story Section */
.story-section {
    padding: 80px 0;
}

.story-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.story-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--footer-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 30px;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color:var(--footer-color);
    border: 4px solid var(--background-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.right::after {
    left: -12px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--footer-color);
    position: relative;
    border-radius: 6px;
    color: var(--default-color);
}

.timeline-content h3 {
    margin-bottom: 15px;
    color: var(--background-color);
}

/* Testimonial Section */
.testimonial {
    padding: 80px 0;
    background-color: var(--footer-color);
    text-align: center;
}

.testimonial h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--heading-color);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
}

.testimonial-text {
    font-size: 20px;
    font-style: italic;
    margin-bottom: 20px;
}

/* Founder Section */
.founder-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333;
}

.founder-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
    color: var(--background-color);
}

.founder-container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    gap: 40px;
}

.founder-image {
    flex: 1;
    text-align: center;
}

.founder-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.founder-bio {
    flex: 1;
}

.founder-bio h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--background-color);
}

.founder-bio p {
    margin-bottom: 20px;
}

.founder-quote {
    font-style: italic;
    border-left: 4px solid var(--background-color);
    padding-left: 20px;
    margin-top: 20px;
}

/* Future Section */
.future-section {
    padding: 80px 0;
    text-align: center;
}

.future-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--heading-color);
}

.future-section p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
}

.btn {
    display: inline-block;
    background-color: var(--contrast-color);
    color: var(--background-color);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--footer-color);
    padding: 60px 0 30px;
    color: var(--default-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--heading-color);
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--background-color);
}

.footer-section p, 
.footer-section a {
    color: #adb5bd;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--background-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #adb5bd;
    font-size: 14px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .story-timeline::after {
        left: 31px;
    }
    
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-container::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .left::after, .right::after {
        left: 18px;
    }

    .right {
        left: 0%;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .founder-container {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-quote {
        text-align: left;
    }
}
/*--------------------------------------------------------------
# Footer Section (Rewritten for iPhone Compatibility)
--------------------------------------------------------------*/
footer {
    background-color: var(--footer-color, #2b2e34); /* Fallback color */
    color: var(--default-color, #adb5bd); /* Fallback color */
    width: 100%;
    /* Define base padding: Top, Horizontal (LR), Bottom */
    /* Using clamp for flexible horizontal padding */
    /* Setting a base bottom padding (e.g., 25px) which will be augmented by safe-area */
    padding: clamp(40px, 6vw, 60px) clamp(15px, 4vw, 25px) 25px;
    box-sizing: border-box; /* Crucial for correct padding calculation */
  }
  
  /* Ensure container within footer doesn't add extra conflicting padding */
  footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0; /* Padding is handled by the footer element itself */
  }
  
  .footer-grid {
    display: grid;
    /* Adjust minmax for better small screen fit, e.g., 200px */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: clamp(25px, 4vw, 40px); /* Flexible gap */
    margin-bottom: clamp(30px, 5vw, 40px); /* Spacing above copyright */
  }
  
  .footer-section h3 {
    color: var(--heading-color, #ffffff); /* Fallback color */
    font-size: clamp(18px, 3vw, 20px); /* Responsive font size */
    margin-bottom: 15px;
    font-weight: 700;
    padding-bottom: 8px;
    /* Using border-bottom for the underline effect - simpler than ::after */
    border-bottom: 2px solid var(--accent-color, #cb2e40); /* Fallback color */
    display: inline-block; /* Border only spans the text width */
  }
  
  .footer-section p,
  .footer-section a {
    color: #adb5bd; /* Specific color for readability */
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: clamp(14px, 2.5vw, 15px); /* Responsive font size */
    line-height: 1.6;
    /* Help prevent long words from breaking layout */
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .footer-section a:hover {
    color: var(--accent-color, #cb2e40); /* Use accent color for hover */
  }
  
  .footer-section .location {
    margin-bottom: 18px;
  }
  
  .location strong {
    display: block;
    color: #e9ecef; /* Slightly brighter than default text */
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    margin-bottom: 6px;
    font-weight: 600; /* Slightly bolder */
  }
  
  .location p {
    margin-bottom: 5px;
  }
  
  .social-links {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 12px; /* Spacing between icons */
    margin-top: 15px;
  }
  
  .social-links a.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; /* Decent touch target size */
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--default-color, #adb5bd);
    font-size: 16px; /* Icon size */
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent icons from shrinking unevenly */
  }
  
  .social-links a.social-link img {
    width: 20px; /* SVG/image size */
    height: 20px;
    object-fit: contain;
  }
  
  .social-links a.social-link:hover {
    background-color: var(--accent-color, #cb2e40);
    color: var(--contrast-color, #ffffff); /* Ensure icon is visible on hover */
    transform: translateY(-3px); /* Subtle lift effect */
  }
  
  .copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px; /* Match base bottom padding */
    margin-top: clamp(25px, 4vw, 35px); /* Space above copyright, separate from padding */
    color: #adb5bd;
    font-size: clamp(13px, 2.2vw, 14px); /* Responsive font size */
    line-height: 1.5;
  }
  
  /* --- Refined iOS Safe Area Support --- */
  /* Applies padding adjustments ONLY if the browser supports env() variables */
  @supports (padding-bottom: env(safe-area-inset-bottom)) {
    footer {
      /* Add safe area insets to the base padding */
      /* Use max() to ensure minimum padding even if inset is 0 */
      padding-left: max(clamp(15px, 4vw, 25px), env(safe-area-inset-left));
      padding-right: max(clamp(15px, 4vw, 25px), env(safe-area-inset-right));
      padding-bottom: calc(25px + env(safe-area-inset-bottom)); /* Base padding + bottom inset */
    }
  }
  
  /* --- Responsive Adjustments --- */
  
  /* Tablet and smaller - Adjust grid and center content */
  @media (max-width: 768px) {
    .footer-grid {
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Ensure columns don't get too squished */
      gap: 30px;
    }
    /* Optionally center content within sections on smaller screens */
    .footer-section {
       text-align: center;
    }
     .footer-section h3 {
       display: inline-block; /* Required for centering border */
       border-bottom-width: 2px; /* Ensure border is visible */
    }
    .social-links {
       justify-content: center; /* Center social icons */
    }
  }
  
  /* Mobile general - Stack columns */
  @media (max-width: 576px) {
    .footer-grid {
      grid-template-columns: 1fr; /* Stack into a single column */
      gap: 30px; /* Adjust vertical gap when stacked */
    }
    .footer-section {
      padding-bottom: 10px; /* Add a bit of spacing below each section when stacked */
      text-align: center; /* Ensure centering persists */
    }
  }
  
  /* Very Small Mobile adjustments (e.g., iPhone SE 1st gen width) */
  @media (max-width: 375px) {
     .footer-section h3 {
        font-size: clamp(17px, 4.5vw, 19px);
     }
     .location strong,
     .footer-section p,
     .footer-section a {
        font-size: clamp(13px, 3.8vw, 14px); /* Slightly smaller text */
     }
     .social-links a.social-link {
        width: 36px; /* Can slightly reduce if space is very tight */
        height: 36px;
        font-size: 15px;
     }
     .social-links a.social-link img {
        width: 18px;
        height: 18px;
     }
  }