/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

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

h1, h2, h3, h4 {
    color: #2c3e50; /* Dark blue/gray */
}

a {
    text-decoration: none;
    color: #3498db; /* Blue */
}

.button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.button.primary {
    background-color: #27ae60; /* Green */
    color: white;
}

.button.primary:hover {
    background-color: #219d55;
}

.button.secondary {
    background-color: #3498db; /* Blue */
    color: white;
}

.button.secondary:hover {
    background-color: #2980b9;
}

/* Header Section */
.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; 
    flex-wrap: wrap; /* Don su iya wrapping idan space yayi kadan */
}

/* Welcome to text styling */
.header .welcome-text {
    font-size: 14px;
    color: #777;
    margin-right: 10px; /* Sarari tsakanin "Welcome to" da logo */
    margin-bottom: 0; /* Cire margin na kasa */
}

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

.header .logo img {
    height: 40px; /* Adjust as needed */
    /* An cire margin-right: 10px saboda babu rubutu a kusa da logo */
}

.header .navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.header .navbar ul li {
    margin-left: 30px;
}

.header .navbar ul li a {
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header .navbar ul li a:hover {
    color: #3498db; /* Blue */
}

.header .contact-button-nav {
    background-color: #3498db; /* Blue */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: none; 
}

.hamburger-menu {
    display: none; /* A ɓoye shi a kan manyan screens */
    background: none;
    border: none;
    font-size: 28px;
    color: #2c3e50;
    cursor: pointer;
    padding: 5px;
    z-index: 1001; /* Domin ya fito sama da komai */
}

/* Hero Section */
.hero {
    background-color: #ecf0f1; /* Light gray */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden; /* For any abstract background shapes */
}

.hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.hero-content p {
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin-bottom: 30px;
}

/* About Us Section */
.about-us {
    padding: 80px 0;
    background-color: #fff;
}

.about-us .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.about-content h3 {
    font-size: 24px;
    color: #3498db; /* Blue */
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 15px;
    color: #555;
}

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

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Our Services Section */
.services {
    padding: 80px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

.service-cards .card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.service-cards .card img {
    height: 70px;
    margin-bottom: 20px;
}

.service-cards .card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #3498db; /* Blue */
}

.service-cards .card p {
    color: #666;
    margin-bottom: 20px;
}

.service-cards .card .learn-more {
    color: #27ae60; /* Green */
    font-weight: 500;
}

.service-cards .card .learn-more:hover {
    text-decoration: underline;
}

/* Call to Action / Contact Section */
.cta-contact {
    background-color: #3498db; /* Blue */
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-contact h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: white;
}

.cta-contact p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-contact .button.primary {
    background-color: #27ae60; /* Green */
    color: white;
    margin-bottom: 20px;
}

.cta-contact .button.primary:hover {
    background-color: #219d55;
}

.cta-contact p a {
    color: white;
    font-weight: 500;
    text-decoration: underline;
}

/* Footer Section */
.footer {
    background-color: #2c3e50; /* Dark blue/gray */
    color: white;
    padding: 50px 0 20px;
}

.footer .footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer .footer-logo img {
    height: 40px; 
    margin-right: 10px; 
}

.footer h4 {
    color: #ecf0f1;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer ul li a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #fff;
}

.footer-contact p {
    margin-bottom: 10px;
    color: #bdc3c7;
}

.footer-contact a {
    color: #bdc3c7;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-social img {
    height: 30px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.footer-social img:hover {
    transform: scale(1.1);
}

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

/* Basic Responsiveness (for smaller screens) */
@media (max-width: 768px) {
    .header .container {
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center;
    }

    /* Sanya welcome-text da logo a gefe */
    .header .welcome-text {
        order: -2; /* Ya fara fitowa */
        margin-right: 5px;
    }

    .header .logo {
        order: -1; /* Baya da welcome-text */
        margin-right: auto; /* Tura shi zuwa hagu gwargwadon yadda zai yiwu */
    }

    .header .navbar {
        position: absolute;
        top: 100%; /* Kasa da header */
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        display: none; /* A ɓoye ta ta default */
        flex-direction: column;
        padding: 20px 0;
        border-top: 1px solid #eee;
    }

    .header .navbar.active {
        display: flex; /* Nuna navbar idan "active" class tana nan */
    }

    .header .navbar ul {
        flex-direction: column;
        width: 100%;
    }

    .header .navbar ul li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .header .navbar ul li:last-child {
        border-bottom: none;
    }

    .header .contact-button-nav {
        display: none; /* A ɓoye shi gaba daya a mobile idan ba a cikin menu bane */
    }

    .hamburger-menu {
        display: block; /* Nuna hamburger menu a mobile */
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .about-us .container {
        flex-direction: column;
    }

    .about-image {
        margin-top: 30px;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links,
    .footer-contact,
    .footer-social {
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 30px;
    }
    .hero-content p {
        font-size: 16px;
    }
}

/* Styling for Services Detail Page (services.html) */
.service-detail {
    padding: 80px 0;
    text-align: center;
}

.service-detail:nth-child(even) { /* Don canza background ga kowane sashe na biyu */
    background-color: #f8f8f8;
}

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

.service-detail .detail-icon {
    height: 100px; /* Girman icon a shafin services */
    margin-bottom: 25px;
}

.service-detail h2 {
    font-size: 32px;
    color: #3498db; /* Blue */
    margin-bottom: 20px;
}

.service-detail p {
    font-size: 17px;
    color: #555;
    margin-bottom: 20px;
}

.service-detail ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: left; /* Don lists su fara daga hagu */
    display: inline-block; /* Don center lists */
}

.service-detail ul li {
    background-color: #eaf7f7; /* Light greenish background for list items */
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 5px;
    color: #2c3e50;
    font-weight: 500;
}

/* Responsiveness for services.html */
@media (max-width: 768px) {
    .service-detail h2 {
        font-size: 28px;
    }

    .service-detail p {
        font-size: 16px;
    }

    .service-detail ul {
        width: 100%; /* Make list take full width on smaller screens */
    }
}
