/* ================= GLOBAL RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f7fb;
    color: #333;
    padding-top: 80px; /* Reserve space for fixed navbar */
}

/* ================= NAVBAR ================= */

.navbar {
    display: flex;
    align-items: center;          /* Vertically center content */
    justify-content: space-between;
    padding: 0 20px;
    height: 80px;                 /* Fixed navbar height */
    background: #ffffff;
    position: fixed;              /* Keep navbar on top */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* subtle shadow */
}

/* LOGO */

.navbar .logo img {
    height: 60px;   /* Bigger logo */
    width: auto;    /* Maintain aspect ratio */
    display: block;
}

/* NAV LINKS */

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ff7a00;
}

/* BUTTON */

.btn-orange {
    background: #ff7a00;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn-orange:hover {
    background-color: #e56700;
}

/* ================= RESPONSIVE NAVBAR ================= */

@media (max-width: 1024px) {
    .navbar {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 10px;
    }

    .btn-orange {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .btn-orange {
        align-self: center;
        width: 100%;
        text-align: center;
    }
}

/* ================= OPTIONAL: NAVBAR SHADOW ON SCROLL ================= */
.navbar.scrolled {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

/* ================= NAVBAR END ================= */


/* ================= ABOUT HERO SECTION ================= */
.industries-hero {
    background-color: #1f3c88;   /* Prime blue */
    height: 50vh;                /* Same height as About section */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 55px;             /* Same heading size */
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    color: #d1d5db;              /* Grey description */
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================= ABOUT HERO SECTION ================= */



/* ================= INDUSTRIES SECTION ================= */

.industries{
    padding:80px 0;
    background:#f4f7fc;
}

/* CENTERED CONTAINER */

.container{
    width:90%;              /* space from screen edges */
    max-width:1100px;       /* limits width */
    margin:0 auto;          /* centers the section */
}

/* GRID LAYOUT */

.industries-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

/* INDUSTRY BOX */

.industry-box{
    background:#ffffff;
    padding:35px;
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

/* ICON */

.industry-icon{
    font-size:36px;
    color:#1f3c88; /* Prime Blue */
    margin-bottom:15px;
}

/* HEADING */

.industry-box h3{
    font-size:20px;
    color:#1f3c88;
    margin-bottom:12px;
}

/* DESCRIPTION */

.industry-box p{
    color:#666;
    line-height:1.6;
}

/* ================= INDUSTRIES SECTION ================= */


/* ================= INDUSTRY ADVANTAGES SECTION ================= */

.industry-advantages{
    background:#f4f7fc;
    padding:80px 0;
}

/* Container */

.container{
    width:90%;
    max-width:1100px;
    margin:0 auto;
}

/* Section Heading */

.advantages-title{
    text-align:center;
    font-size:40px;
    color:#1f3c88; /* Prime Blue */
    margin-bottom:60px;
    font-weight:700;
}

/* Grid Layout */

.advantages-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
}

/* Advantage Box */

.advantage-box{
    background:#ffffff;
    padding:35px;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* Box Heading */

.advantage-box h3{
    color:#1f3c88;
    font-size:22px;
    margin-bottom:15px;
}

/* Description */

.advantage-box p{
    color:#6b7280;
    font-size:16px;
    line-height:1.7;
}


/* ================= INDUSTRY ADVANTAGES SECTION ================= */

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-column {
    width: 100%;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-bottom-buttons {
    margin-top: 10px;
  }

  .footer-bottom-buttons a {
    margin-left: 0;
    margin-right: 10px;
  }
}


/* Footer Section */



/* ================= FINAL MOBILE RESPONSIVE FIX ================= */

@media (max-width: 768px) {

    /* ================= NAVBAR ================= */
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        padding: 15px;
        text-align: center;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 10px;
        text-align: center;
    }

    .btn-orange {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    /* ================= HERO SECTION ================= */
    .industries-hero {
        height: auto;
        padding: 80px 20px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 16px;
    }

    /* ================= INDUSTRIES GRID ================= */
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .industry-box {
        padding: 25px;
    }

    /* ================= ADVANTAGES GRID ================= */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .advantage-box {
        padding: 25px;
    }

    /* ================= SECTION HEADING ================= */
    .advantages-title {
        font-size: 28px;
    }

}
