/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #1a365d;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #e67e22;
}

.btn {
    display: inline-block;
    background-color: #1a365d;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
}

/* Header Styles */
header {
    background-color: rgba(26, 54, 93, 0.8); /* still transparent */
    backdrop-filter: blur(6px);             /* blurs background */
    -webkit-backdrop-filter: blur(6px);     /* Safari support */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    display: flex;
    align-items: center;
}

.logo-img img {
    height: 100%;
    width: auto;
}

.logo-text {
    margin-left: 5px;
    color: white;
}

.logo-text h1 {
    font-size: 1.5rem;
    line-height: 1.2;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 40px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

nav ul li a:hover {
    color: #e67e22;
}

/* Default (desktop view)*/
.menu-icon {
    display: none;
  }

#menu-toggle {
    display: none;
}

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    background: url('logo/herobackground.png') no-repeat center center;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-top: 70px;
    overflow: hidden;
}

/* Add a subtle bottom fade overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 40%,   /* Increased opacity for better contrast */
        rgba(0, 0, 0, 0.9) 100%   /* Increased opacity at bottom */
    );
    z-index: 1;
}

/* Make sure text stays above overlay */
.hero > * {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;   /* keeps text and image aligned vertically */
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 18px;   /* gap between paragraphs */
    line-height: 1.6;      /* better readability */
}

.about-text .btn {
    margin-top: 25px;      /* space before button */
    display: inline-block;
}

.about-image {
    flex: 1;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    background-color: #f1f8ff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid #1a365d;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #1a365d;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image i {
    font-size: 4rem;
    color: #1a365d;
}

.product-image img {
    height: 100%;
    width: auto;
    object-fit: contain; /* Keeps full image visible */
    display: block;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: #1a365d;
}

/* Clients Section */
.clients {
    background-color: #f1f8ff;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.client-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-item img {
    max-width: 100%;
    max-height: 80px;
}

/* Brands Section */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin: auto; 
}

.brand-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-width: 100%;
    max-height: 80px;
}


/* Contact Section */
.contact {
    background-color: #1a365d;
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: #e67e22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 1.2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 150px;
}

/* Footer */
footer {
    background-color: #0f2240;
    color: white;
    padding: 40px 0 20px;
}

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

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e67e22;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: #e67e22;
    transform: translateY(-5px);
}

footer .disclaimer {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #ccc; /* lighter so it doesn’t overpower */
    text-align: center;
    line-height: 1.4;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top : 30px;
}

.copyright {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
}

/* Extra Large Screens (desktops >1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    .hero-content h2 {
        font-size: 4rem;
    }
}

/* Large Tablets & Small Desktops */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    nav ul li {
        margin-left: 20px;
    }
}

/* Tablets & Mobile */
@media (max-width: 768px) {
    /* General responsive fixes */
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }

    .hero {
        height: auto;   /* allows hero to shrink if content is taller */
        padding: 80px 20px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-container {
        flex-direction: column;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 10px;  /* space between logo image and text */
    }

    /* Hamburger menu */
    nav ul {
        display: none;
        flex-direction: column;
        background: #002b5c;
        position: absolute;
        top: 60px;
        left: 10px; /* menu opens from left */
        padding: 15px;
        border-radius: 10px;
    }

    #menu-toggle:checked + .menu-icon + nav ul {
        display: flex;
    }

    .menu-icon {
        display: block;
        font-size: 28px;
        cursor: pointer;
        color: white;
        margin-left: 15px; /* spacing from logo */
    }
}