/*
 * AutoAssist Systems Website Stylesheet
 *
 * This stylesheet defines the core layout, typography and component
 * styles for the AutoAssist Systems website. The design uses a modern,
 * minimal aesthetic with a professional colour palette of blues and
 * greys accented by teal. Responsive layouts ensure the site remains
 * easy to navigate on all devices.
 */

/* CSS Variables for easy colour management */
:root {
    /* Colour palette updated to match the AutoAssist Systems logo */
    --primary-color: #004466; /* dark navy inspired by logo */
    --secondary-color: #0d2438; /* deep slate for body text */
    --accent-color: #26BBDE; /* vibrant cyan from the logo gradient */
    --light-color: #f5f7fa;
    --dark-color: #0a1e2e; /* near-black for footer backgrounds */
    --text-color: #0d2438;
    --max-width: 1200px;
}

/* Enforce light-only rendering for iOS and browsers that support color-scheme */
html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

/* Layout helpers */
.container {
    padding: 0 1rem;
}

/* Prevent background scroll when mobile nav is open */
html.no-scroll, body.no-scroll {
    overflow: hidden;
}

/* Global resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

/* iOS tap highlight removal */
body { -webkit-tap-highlight-color: transparent; }

/* Prevent iOS zoom on form controls */
input, select, textarea { font-size: 16px; }
button { font: inherit; }

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

/* Logo image placed inside the navigation bar */
.logo-img {
    height: 64px; /* default size for larger screens */
    margin-right: 0.75rem;
    display: block;
}

/* Larger logo for mobile devices */
@media screen and (max-width: 600px) {
    header .nav-container .logo .logo-img {
        height: 80px !important; /* increased size for mobile */
        width: auto !important;
        transition: height 0.3s ease; /* smooth transition if needed */
    }
}

.logo-name {
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    white-space: nowrap;
}

/* Removed conflicting oversized logo rules; responsive tweaks exist later */



.nav-list {
    display: flex;
    gap: 1.5rem;
}


.nav-list li a {
    font-weight: 500;
    color: var(--secondary-color);
    transition: color 0.3s;
    font-size: 1.2rem;
}
.nav-list li a:hover,
.nav-list li a.active {
    color: var(--accent-color);
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.75rem; /* larger tap target for iOS */
    margin-left: 0.5rem;
    cursor: pointer;
}
.menu-toggle .bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--secondary-color);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

/* Header actions container */
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 0.5rem;
  padding-right: 1rem;
}

/* Removed theme toggle styles */

/* Buttons */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s, transform 0.1s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent-color), #4be3ff);
    color: #003444;
}

.primary-btn:hover {
    filter: brightness(1.05);
}

.btn:active { transform: translateY(1px); }

.btn:focus-visible {
    outline: 3px solid rgba(38,187,222,0.35);
    outline-offset: 2px;
}

.secondary-btn {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.secondary-btn:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.tertiary-btn {
    background-color: var(--light-color);
    color: var(--accent-color);
    box-shadow: inset 0 0 0 1px rgba(38,187,222,0.35), 0 2px 8px rgba(0,0,0,0.06);
}

.tertiary-btn:hover {
    background-color: #009e8c;
    color: var(--primary-color);
}

/* Hero Sections */
.hero,
.page-hero {
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/*
 * Hero Section
 *
 * Updated to use a gradient inspired by the AutoAssist logo instead of the stock background
 * image. This gradient blends the dark navy primary colour into the vibrant cyan accent
 * colour to reflect the brand identity.
 */
.hero {
    height: 60vh; /* shortened hero */
    background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    background-size: cover;
    background-position: center;
}

/* Animated gradient subtle shimmer */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero {
  background-size: 200% 200%;
  animation: gradientShift 14s ease infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 68, 102, 0.85), rgba(0, 68, 102, 0.75)), 
                url('../assets/hero-bg.png') center/cover no-repeat;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1,
.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p,
.page-hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.page-hero {
    background-color: var(--primary-color);
    color: #fff;
    padding: 4rem 0;
}

/* Services Highlights */
.services-highlights {
    padding: 4rem 0;
    text-align: center;
}

.services-highlights h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    position: relative;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
}

.service-card .icon-wrapper {
    margin-bottom: 1rem;
}

.service-card h3 {
    margin: 0 0 0.5rem 0;
    flex-shrink: 0;
}

.service-card p {
    margin: 0;
    flex-grow: 1;
}

.timeline-item {
    position: relative;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid #e9eef3;
}

.team-member {
    position: relative;
    padding: 0;
    margin-bottom: 2rem;
    transition: transform 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.service-card:hover,
.pricing-card:hover,
.timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(38,187,222,0.35);
}

.team-member:hover {
    transform: translateY(-4px);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.9;
}

.center-button {
    margin-top: 2rem;
}

/* How It Works */
.how-it-works {
    background-color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
}

.how-it-works h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.step {
    width: 250px;
}

.step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 600;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
}

.step h4 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.step p {
    font-size: 0.9rem;
    color: #555;
}

/* Why Choose Us */
.why-choose-us {
    padding: 4rem 0;
    text-align: center;
}

.why-choose-us h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.benefit-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.benefit h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.benefit p {
    font-size: 0.9rem;
    color: #555;
}

/* Testimonials */
.testimonials {
    background-color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-grid blockquote {
    background-color: #fff;
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: left;
}
/* Removed dark mode component overrides */

.testimonial-grid blockquote p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #444;
}

.testimonial-grid blockquote cite {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Global Reach */
.global-reach {
    background-color: var(--primary-color);
    color: #fff;
    padding: 4rem 0;
}

.reach-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.reach-icon {
    font-size: 3rem;
    color: var(--accent-color);
}

.reach-text h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.reach-text p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Final Call to Action */
.final-cta {
    background-color: var(--accent-color);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
}

.final-cta p {
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-col p, .footer-col ul li, .footer-col a {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icons a {
    color: #ccc;
    font-size: 1rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* Icon Utilities
 *
 * Icons throughout the site are rendered via Font Awesome. These
 * helper classes ensure consistent sizing and colouring for the
 * various contexts where icons appear. If you wish to adjust the
 * appearance globally, tweak the values below.
 */

/* Generic small icon used within text (e.g. in contact details) */
.small-icon {
    font-size: 1rem;
    margin-right: 0.4rem;
    color: var(--accent-color);
    vertical-align: middle;
}

/* Service cards icon */
.icon-wrapper i {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Benefit icons */
.benefit-icon i {
    font-size: 2rem;
    color: var(--accent-color);
}

/* Global reach icon */
.reach-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

/* Service details page icon */
.detail-icon i {
    font-size: 3rem;
    color: var(--accent-color);
}

/* Icons inside feature lists */
.feature-list li i {
    color: var(--accent-color);
    margin-top: 0.25rem;
}

/* Social icons */
.social-icons a i {
    font-size: 1.2rem;
    color: #ccc;
    transition: color 0.3s;
}
.social-icons a:hover i {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #bbb;
}

/* Responsive Navigation */
@media (max-width: 900px) {
  .menu-toggle { 
    display: block;
    margin-left: auto;
    order: 2;
    z-index: 1001;
    position: relative;
  }
  .nav-actions {
    order: 2;
    margin-left: auto;
  }
  #navbar { 
    position: absolute; 
    top: 100%; 
    right: 0;
    width: 100%; 
    max-width: 100%; 
    background: #fff; 
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease; 
    padding: 1rem; 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    border-bottom: 1px solid #e0e0e0;
  }
  #navbar.open { 
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list { 
    flex-direction: column; 
    gap: 0.5rem;
    padding: 0.5rem 0;
    margin: 0;
    align-items: center;
  }
  .nav-list li {
    width: 100%;
    text-align: center;
  }
  .nav-list li a { 
    font-size: 1.05rem; 
    padding: 0.75rem 1rem; 
    display: block;
    text-align: center;
    color: var(--secondary-color);
    border-radius: 4px;
    transition: background-color 0.2s;
  }
  .nav-list li a:hover {
    background-color: rgba(0, 68, 102, 0.05);
  }
  header { 
    position: sticky; 
    top: 0; 
  }
  .nav-container { 
    padding: 0.5rem 0; 
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logo { 
    order: 1;
    margin-right: 0;
  }
  .logo-img { 
    height: 44px; 
  }
  nav {
    order: 3;
    width: 100%;
  }
}

@media (min-width: 901px) {
  #navbar { position: static; transform: none !important; width: auto; background: transparent; padding: 0; box-shadow: none; border: 0; }
}

/* iOS Safe Area Insets */
@supports (padding: max(0px)) {
  body {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
  }
  header {
    padding-top: env(safe-area-inset-top);
  }
}

/* Typography and section spacing on small screens */
@media (max-width: 600px) {
  .hero { height: 60vh; }
  .hero h1, .page-hero h1 { font-size: 1.85rem; }
  .hero p, .page-hero p { font-size: 1rem; }
  .services-highlights, .how-it-works, .why-choose-us, .testimonials, .global-reach, .final-cta, .services-details, .pricing-section, .mission-vision, .company-story, .about-hero, .pricing-hero, .services-hero, .contact-hero { padding: 3rem 0; }
}

@media (min-width: 1200px) {
  .logo-img { height: 140px; }
}

/* Services Detail Page */
.services-hero {
    background-color: var(--primary-color);
    color: #fff;
    padding: 4rem 0;
}

.services-details {
    padding: 4rem 0;
}

.service-detail {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Align icons to the top of the content */
    gap: 2rem;
    margin: 3rem 0;
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

.detail-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-top: 0.5rem; /* Adjusted for better alignment */
}

.detail-content h2 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.detail-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #555;
}

/* Feature lists */
.feature-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.services-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light-color);
    border-radius: 8px;
}

.services-cta h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.services-cta p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #555;
}

/* Pricing Page */
.pricing-hero {
    background-color: var(--primary-color);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.pricing-section {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.pricing-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.recommended {
    border: 2px solid var(--accent-color);
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.pricing-card .price {
    font-size: 2rem;
    margin: 1rem 0;
    color: var(--primary-color);
}

.pricing-card .price .currency {
    font-size: 1rem;
    vertical-align: super;
}

.pricing-card .period {
    font-size: 1rem;
    color: #666;
}

.plan-features {
    text-align: left;
    margin-bottom: 1.5rem;
}

.plan-features li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features li i {
    color: var(--accent-color);
}

.pricing-card a {
    margin-top: auto;
}

/* About Page */
.about-hero,
.pricing-hero,
.services-hero {
    background: linear-gradient(rgba(0, 68, 102, 0.85), rgba(0, 68, 102, 0.75)), 
                url('../assets/hero-bg.png') center/cover no-repeat;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    background-attachment: fixed;
}

.mission-vision {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    text-align: center;
}

.mv-item h2 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.mv-item p {
    font-size: 1rem;
    color: #555;
}

.company-story {
    padding: 4rem 0;
    text-align: center;
}

.company-story h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.company-story p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    text-align: center;
}

.company-story p {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #555;
    text-align: center;
    max-width: 800px;
}

/* Global Reach centering */
.global-reach { text-align: center; padding: 3rem 0; }
.reach-content { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.reach-content .reach-text { max-width: 760px; }
.reach-content .reach-text h2 { color: #ffffff; }
.reach-icon i { font-size: 2.25rem; color: var(--accent-color); }

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    left: -1%; /* Small adjustment to counter any inherited margins */
}

/* New container for the company story section */
.company-story-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.timeline-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    min-height: 120px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}


.timeline-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.year-icon {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--accent-color);
}

.year {
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 0.25rem;
    font-size: 1.00rem;
}

.timeline-header h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: var(--primary-color);
}

.milestone-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--accent-color);
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    margin: 0.5rem auto 0.75rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-content {
    text-align: center;
    margin: 0;
    padding: 0.5rem 0 0;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    padding: 0.5rem 0.5rem 0;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.team {
    padding: 4rem 0;
    background-color: var(--light-color);
    text-align: center;
}

.team h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.team-member img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.team-member h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.team-member p {
    font-size: 0.9rem;
    color: #555;
}

.industries {
    padding: 4rem 0;
    text-align: center;
}

.industries h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.industries p {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #555;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.industry i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.industry h5 {
    font-size: 1rem;
    color: var(--secondary-color);
}

.join-us {
    background-color: var(--accent-color);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.join-us h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.join-us p {
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(rgba(0, 68, 102, 0.85), rgba(0, 68, 102, 0.75)), 
                url('../assets/hero-bg.png') center/cover no-repeat;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    background-attachment: fixed;
}

/* site-title */
.site-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem; /* even larger */
  font-weight: 900; /* extra bold */
  letter-spacing: 1px; /* slight spacing for style */
}


.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: flex-start;
}

.contact-form,
.contact-info {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.contact-form h2,
.contact-info h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: #fff;
}

.form-group textarea {
    resize: vertical;
}

.contact-info p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-info i {
    color: var(--accent-color);
}

.contact-info h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-list {
        gap: 1rem;
    }
    .hero h1,
    .page-hero h1 {
        font-size: 2rem;
    }
    .hero p,
    .page-hero p {
        font-size: 1rem;
    }
    .step {
        width: 200px;
    }
    .timeline {
        padding-left: calc(var(--tl-circle) + var(--tl-gap));
    }
    .timeline-year {
        left: calc(var(--tl-circle) / 2); /* stay centered on the line */
        transform: translateX(-50%);
    }
    .nav-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .timeline {
        --tl-circle: 2.5rem;
        --tl-gap: 0.5rem;
        padding-left: calc(var(--tl-circle) + var(--tl-gap));
    }
    .timeline-year {
        left: calc(var(--tl-circle) / 2);
    }
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-list {
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }
    .hero {
        height: 60vh;
    }
    .step {
        width: 100%;
    }
    .pricing-card .price {
        font-size: 1.6rem;
    }
    .pricing-card h3 {
        font-size: 1.3rem;
    }
    .team-member img {
        width: 100px;
        height: 100px;
    }
}