/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
  overflow-x: hidden;
  width: 100%;
}

* {
  box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Poppins, sans-serif;
    line-height: 1.6;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
/* Hamburger icon - hidden by default */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  position: relative;
  z-index: 1100; /* keeps it above everything */
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile menu styles */
@media (max-width: 768px) {
  /* Hide default nav & enquiry button */
  nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
  }

  nav.active {
    display: block;
    max-height: 400px; /* enough for all menu items */
  }

  nav ul {
    list-style: none;
    padding: 15px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  nav ul li a {
    text-decoration: none;
    color: #000;
    font-weight: inherit; /* keeps your same font style */
  }

  .menu-toggle {
    display: flex;
  }

  .cta-button {
    display: none;
  }

  /* Animate burger to close icon */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
  }
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #4682B4;
}

.cta-button button {
    /* A blue closer to the image's shade */
    background-color: #5a8fc2; 
    color: white;
    border: none;
    /* Adjusted padding to better match the image */
    padding: 12px 28px;
    /* This is the key change for the pill shape */
    border-radius: 50px; 
    cursor: pointer;
    /* The font in the image looks a bit lighter than 600 */
    font-weight: 500;
    /* This can help match the text size */
    font-size: 16px; 
}

.cta-button button:hover {
    background-color: #4682B4;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* video element will be used as the background; keep background none or a fallback image */
    background: none;
    z-index: 0;
    overflow: hidden;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Ensure the video fills the hero area and is properly layered */
.hero-background video,
#heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.learn-more {
  display: inline-block;
  /* Adjust padding as needed for size */
  padding: 1rem 2.5rem; 
  
  /* This is a closer color to the image */
  background-color: #c84a4a; 
  
  color: white;
  text-decoration: none;
  font-family: Arial, sans-serif; /* Added for a cleaner look */
  font-weight: bold; /* Makes text a bit stronger */
  
  /* This is the key change for the pill shape */
  border-radius: 50px; 
  
  border: none; /* Removes any default border */
  margin-top: 2rem;
  transition: background-color 0.3s;
  cursor: pointer; /* Ensures the cursor changes to a hand */


}

.learn-more:hover {
  /* A darker shade of the new base color */
  background-color: #a83c3c; 
}

/* --- Import this at the top of your CSS file --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700;800&display=swap');

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;

  /* * CHANGE #1: 
   * Replaced the video background with the solid color from the image.
   * I used a color picker to get the exact shade.
  */
  background-color: #3e464f;

  /* * CHANGE #2: 
   * Set the font for the entire section.
  */
  font-family: 'Montserrat', sans-serif;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

/* * We don't need .hero-background, .hero-background::after, 
 * or the video styles, so they have been removed.
*/

/* * CHANGE #3: 
 * Added a new style for the small text at the top.
*/
.hero-subheadline {
  font-size: 1rem;
  font-weight: 300; /* This makes it thin, like the image */
  margin-bottom: 1.5rem;
}


.hero-content h1 {
  /* * CHANGE #4: 
   * Increased font-size and set a heavy font-weight 
   * to match the large, bold headline.
  */
  font-size: 4.5rem; /* Much larger than 3.5rem */
  font-weight: 0; /* Extra-bold */
  margin-bottom: 2rem; /* More space before the button */
  line-height: 1.2;
}

.learn-more {
  display: inline-block;
  padding: 1rem 2.5rem;
  
  /* * CHANGE #5: 
   * Used a color picker for the exact button red.
  */
  background-color: #d1514c;
  
  color: white;
  text-decoration: none;
  font-weight: 700; /* Bold text */
  font-size: 1rem;
  
  /* This is correct! */
  border-radius: 50px; 
  
  border: none;
  margin-top: 1rem; /* Adjusted margin slightly */
  transition: all 0.3s ease;
  cursor: pointer;
}

.learn-more:hover {
  /* A darker shade of the new base color */
  background-color: #b34541;
  /* Added a subtle grow effect */
  transform: scale(1.05);
}
/* About Section */
/* Import the Poppins font (as used in your previous header) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');


/* Main section styling */
.about {
    /* Applies the font to the whole section */
    font-family: 'Poppins', sans-serif;
    padding: 60px 20px; /* Adds space above and below the section */
    text-align: center;   /* Centers all text by default */
    background-color: #fff;
    overflow-x: hidden; /* Prevents horizontal scroll */
}

/* Styles the top text content block */
.about .about-content {
    max-width: 850px; /* Constrains the width of the text */
    margin: 0 auto 40px auto; /* Centers the block and adds space below */
}

/* NOTE: The "About Us" <h3> is in your HTML but not the image.
  This line hides it to match the image.
*/
/* Styles the "About Us" sub-heading */
.about .about-content h3 {
    font-size: 18px;         /* Smaller font size */
    font-weight: 600;        /* Medium bold */
    color: #011627;         /* Same dark blue as the main title */
    margin-bottom: 10px;   /* Space between it and the h2 */
}

/* Styles the main heading "Fueling Progress..." */
.about .about-content h2 {
    font-size: 36px;       /* Large font size */
    font-weight: 700;      /* Bold */
    color: #011627;       /* Dark blue color */
    margin-bottom: 25px; /* Space before the paragraphs */
    line-height: 1.3;
}


/* Styles the main heading "Fueling Progress..." */
.about .about-content h2 {
    font-size: 32px; /* Large font size */
    font-weight: 700;  /* Bold */
    color: #011627;  /* Dark blue color */
    margin-bottom: 25px;
}

/* Styles the paragraphs below the main heading */
.about .about-content p {
    font-size: 16px;
    color: #555; /* Medium grey color */
    line-height: 1.6;
    margin-bottom: 8px; /* Adds small spacing between <p> tags */
}

/* Container for the Mission and Vision cards */
.about .mission-vision {
    display: flex;
    justify-content: center; /* Centers the cards */
    gap: 30px; /* Space between the cards */
    flex-wrap: wrap; /* Allows cards to stack on small screens */
    margin-bottom: 40px; /* Space before the "Learn More" button */
}

/* Individual card styling (for both Mission and Vision) */
.about .mission-vision .card {
    background-color: #f4f4f4; /* Light grey background */
    border-radius: 15px;      /* Rounded corners */
    padding: 30px;
    /* Soft shadow from the image */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); 
    text-align: center;
    /* Each card takes up to 400px */
    flex-basis: 400px; 
    flex-grow: 1; /* Allows cards to grow if space is available */
    max-width: 450px;
}

/* Heading inside the cards ("Our Mission", "Our Vision") */
.about .mission-vision .card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* Paragraph text inside the cards */
.about .mission-vision .card p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

/* Styles the "Learn More" button */
.about .learn-more {
    display: inline-block; /* Allows padding and margins */
    background-color: #e44d4d; /* Red color from image */
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    padding: 12px 35px;
    border-radius: 25px; /* Rounded shape */
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.about .learn-more:hover {
    background-color: #d94040; /* Slightly darker red on hover */
}

/* --- Responsive styles for mobile --- */
@media (max-width: 768px) {
    .about .about-content h2 {
        font-size: 28px; /* Slightly smaller heading on mobile */
    }

    .about .mission-vision {
        flex-direction: column; /* Stacks the cards vertically */
        align-items: center;  /* Centers the stacked cards */
    }

    .about .mission-vision .card {
        /* Cards take up most of the width */
        flex-basis: 90%; 
        width: 90%;
    }
}

/* Products Section */
.products {
    padding: 5rem 0;
    position: relative;
    background: url('images/P-AJ-1-scaled.jpg') center/cover fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.products-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    gap: 2rem;
}

.product-content {
    flex: 1;
    padding: 2rem;
    color: white;
}

.product-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}
.learn-more-product {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #c84a4a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s;

}
.learn-more-product:hover {
    background-color: #c84a4a;
}
/* 1. Main Section Background 
   (Updated to use the solid color from your image)
*/
.products {
    padding: 5rem 2rem; /* Adds spacing around the content */
    position: relative;
    background-color: #525d67; /* This is the dark gray-blue from the image */
}

/* 2. "Our Products" Heading 
   (Updated to be white and bold)
*/
.product-content h2 {
    font-size: 2.5rem; /* Or 3rem, adjust to your liking */
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700; /* This makes it bold */
}

/* 3. The Intro Paragraph 
   (Updated to be large, white, and bold like the image)
*/
.product-content > p {
    font-size: 2rem; /* Large font size */
    font-weight: 700; /* This makes it bold */
    line-height: 1.4; /* Adds space between the lines */
    color: #ffffff;
    margin-bottom: 2rem;
    
    /* Adjust this width to get the exact line break you want */
    max-width: 800px; 
}
/* Container for the scroller */
.scrolling-container {
    margin-top: 3rem;
    height: 400px; /* Fixed height for the viewport */
    overflow: hidden; /* Hides the content that scrolls out */
    position: relative;
    
    /* Styling from your image */
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 0 2.5rem; /* Padding left/right, no top/bottom */
}

/* Wrapper that holds BOTH content blocks and gets animated */
.scrolling-wrapper {
    will-change: transform; /* Performance boost for animation */
    /* Change '40s' to be faster or slower.
      Bigger number = slower scroll.
    */
    animation: scrollUp 40s linear infinite;
}

/* Pause animation on hover for readability */
.scrolling-container:hover .scrolling-wrapper {
    animation-play-state: paused;
}

/* Individual item styling */
.scroll-item {
    padding: 2.5rem 0; /* Space above and below each item */
    
    /* Divider line from your image */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Remove border from the last item in each list */
.scrolling-wrapper .scroll-item:last-child {
  border-bottom: none;
}


.scroll-item h3 {
    color: #ffffff;
    font-size: 1.5rem; /* Made text bigger like the image */
    font-weight: 700; /* Bolder */
    margin-top: 0;
    margin-bottom: 1rem;
}

.scroll-item p {
    color: #fff;
    line-height: 1.6;
    margin: 0;
}

/* The Keyframes:
  - Starts at 0 (top)
  - Ends at -50% (scrolled up by exactly the height of ONE content block)
  This creates the seamless loop.
*/
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.product-info {
    flex: 1;
    padding: 2rem;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-logo {
    margin-bottom: 2rem;
}

.small-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
}

.info-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
}

.info-content h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.product-highlights {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.product-highlights li {
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    transition: transform 0.3s;
}

.product-highlights li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 10%;
    background-color: #fff;
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Footer Section */
.site-footer {
    background-color: #0d1a2d; /* Dark navy background from your image */
    color: #ffffff; /* Light grayish-blue for text */
    padding-top: 60px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap; /* Allows columns to wrap on small screens */
    justify-content: space-between;
    gap: 40px; /* Space between columns */
}

.footer-column {
    flex: 1; /* Each column will try to take equal space */
    min-width: 250px; /* Minimum width before wrapping */
}

/* Column 1: About & Contact */
.about-contact .footer-description {
    margin-top: 0;
    margin-bottom: 25px;
    max-width: 350px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start; /* Aligns icon with the start of text */
    margin-bottom: 15px;
}

.contact-list i {
    color: #ffffff; /* Icon color */
    font-size: 1.1rem;
    width: 25px; /* Gives space for the icon */
    margin-top: 3px;
    margin-right: 10px;
}

/* Columns 2, 3, 4: Link Lists */
.links h4 {
    color: #ffffff; /* White color for headings */
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
}

.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links ul li {
    margin-bottom: 12px;
}

.links ul a {
    color: #ffffff; /* Same as main text color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.links ul a:hover {
    color: #ffffff; /* Brightens on hover */
    text-decoration: underline;
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid #1a2c47; /* Subtle divider line */
    text-align: center;
    padding: 25px 20px;
    margin-top: 40px;
    color: #8892b0; /* Slightly more muted color */
}

/* Responsive Design: Stacks columns on smaller screens */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack columns vertically */
        gap: 30px;
    }
    
    .footer-column {
        min-width: 100%; /* Each column takes full width */
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin: 1rem 0;
    }

    .mission-vision {
        flex-direction: column;
    }

    .products-container {
        flex-direction: column;
    }

    .product-content,
    .product-info {
        width: 100%;
    }

    .scrolling-container {
        height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
/* Basic body styling */


/* The main flex container */
.container {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on small screens */
    gap: 20px; /* Adds space between the columns */
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}

/* The left column (text) */
.text-section {
    flex: 1; /* Takes up 1 part of the available space */
    min-width: 300px; /* Ensures it doesn't get too squished */
}

/* The right column (chart) */
.chart-section {
    flex: 1.5; /* Takes up 1.5 parts, making it wider than the text */
    min-width: 400px;
}

/* Placeholder styling for the chart area */
.chart-placeholder {
    width: 100%;
    height: 400px; /* Adjust height as needed */
    background-color: #e9ecef;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #888;
    border-radius: 4px;
}
/* The right column (chart) */
.chart-section {
    flex: 1.5; /* Takes up 1.5 parts, making it wider than the text */
    min-width: 400px;
}

/* Styling for the iframe to make it responsive */
.chart-section iframe {
    max-width: 100%; /* Ensures it scales down on small screens */
    border: 1px solid #ddd; /* Adds a light border, similar to the image */
    border-radius: 4px;
}
/* Basic Reset & Body Styling */


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    justify-content:center
}

/* Testimonials Section Styling */
.testimonials-section {
    position: relative;
    background-image: url('images/P-AJ-2-resized.jpg'); /* REPLACE THIS with your image path */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Makes the background scroll slower, giving a parallax effect */
    padding: 100px 0; /* Vertical padding */
    text-align: center;
    overflow: hidden; /* Ensures nothing spills out */
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay */
    z-index: 1; /* Puts the overlay behind the content */
}

/* Ensure content is above the overlay */
.testimonials-section > .container {
    position: relative;
    z-index: 2; /* Puts content above the overlay */
}

.subtitle {
    color: #f7a11f; /* Orange color for the subtitle */
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 60px;
    line-height: 1.2;
    color: #ffffff;
}

/* Testimonials Grid */
.testimonials-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
    gap: 30px; /* Space between testimonial cards */
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    max-width: 480px; /* Max width for each card */
    flex: 1; /* Allows cards to grow and shrink */
    min-width: 300px; /* Minimum width before wrapping */
    display: flex; /* Use flex for internal layout (quote and author) */
    flex-direction: column;
    justify-content: space-between; /* Pushes author info to the bottom */
}

.quote {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows the quote to take up available space */
}

.author-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px; /* Space above author info */
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Makes the image round */
    object-fit: cover;
    border: 2px solid #f7a11f; /* Orange border around avatar */
}

.author-name {
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0;
    color: #fff;
}

.author-title {
    font-size: 0.9rem;
    color: #ccc;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }

    .testimonials-grid {
        flex-direction: column; /* Stacks cards vertically on small screens */
        align-items: center;
    }

    .testimonial-card {
        max-width: 90%; /* Adjust width for stacked cards */
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
}

.cta-section {
    background-color: #f8f9fa;
    padding: 60px 20px;
    text-align: center;

}
.solutions {
    background: url('images/lyndon-antcliff-Cd_xnJUNmcw-unsplash-1-scaled.jpg') center/cover fixed;
    padding: 60px 20px;
    text-align: center;
}
.text-section{
    margin:auto;
    padding:10px;
    box-sizing:border-box;
}

@media (max-width: 767px) {
    .info-content h3 {
        /* * THIS IS THE KEY RULE * */
        text-align: inherit;
        
        /* Optional: Also reduce the font size for better mobile fit */
        font-size: 1.5rem; 
    }
}
