
/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    background-color: #f4f4f9;
}

a {
    text-decoration: none;
    color: #007BFF;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
p {
    margin: 10px 0;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #333;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
   
}

.logo img {
    width: 100px;
    border-radius: 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;

}

.nav-links li {
    position: relative;
  
}

.nav-links a {
    color: white;
    padding: 10px;
    font-size: 18px;
    transition: color 0.3s ease;
  

}

.nav-links a:hover {
    color: #ff8c00;
    
}



/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444;
    border-radius: 5px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 10px 20px;
}

.dropdown-menu a {
    color: white;
}

.dropdown-menu a:hover {
    background-color: #555;
}

/* Hero Section */
.hero {
    background: url('img/hero-bg.jpg') center/cover no-repeat; /* Replace with your background image */
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 150px 0;
}

.hero h1 {
    font-size: 50px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 20px;
}

.btn-main {
    padding: 10px 30px;
    background-color: #ff8c00;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background 0.3s ease;
}

.btn-main:hover {
    background-color: #ff6500;
}

/* Sections */
.section {
    padding: 60px 5%;
    text-align: center;
}

.section-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.text-content {
    flex: 1;
    padding: 20px;
}

.image-content img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
    }

.service {
padding: 20px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
    }
    
.service i {
color: #ff8c00;
margin-bottom: 10px;
}

.service h3 {
margin-bottom: 10px;
font-size: 22px;
}

/* Products Section */
.product-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-secondary {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    font-size: 18px;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background-color: #0056b3;
}

/* Contact Section */
.contact-info {
    text-align: left;
    max-width: 600px;
    margin: 20px auto;
}

.contact-info a {
    color: #007BFF;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Mobile hamburger menu */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    background-color: white;
    height: 3px;
    width: 25px;
    border-radius: 2px;
}

/* Show burger menu on mobile */
@media screen and (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        border-radius: 5px;
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 10px 0;
        text-align: center;
    }
}


/* Mobile Dropdown Toggle */
.navbar.active .nav-links .dropdown-menu {
    display: none;
}

.navbar.active .nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-delay {
    animation: fadeIn 1s ease-in-out 0.5s forwards ; /* Delay for the paragraph */
}

/* Icons Section */
.icons {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.icon {
    font-size: 3em;
    margin: 0 15px;
    transition: transform 0.3s;
    color: #007BFF; /* Change icon color */
}

.icon:hover {
    transform: scale(1.2);
    color: #ff8c00; /* Change icon color on hover */
}
/* Page Opening Animation */
@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Apply animations to specific sections */
body {
    animation: pageFadeIn 1s ease-in-out forwards; /* Fades in the whole page */
}
header, .hero, .section, footer {
    opacity: 1;
    animation: slideIn 1.2s  ; /* Slide in from top for header and sections */
}


.hero-content {
    animation: scaleIn 1.5s ease-out 0.3s forwards; /* Scale up hero content */
}

/* Delay the animation of sections */
.section, footer {
    animation-delay: 0.8s;
}

/* Fade in for hero elements */
.hero h1 {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.3s forwards;
}

.hero p {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.6s forwards;
}

.btn-main {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 0.9s forwards;
}

/* Icons Section Animation */
.icons i {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s ease-in-out 1s forwards;
}

/* Footer Animation */
footer {
    opacity: 0;
    animation: fadeIn 1s ease-in-out 1.2s forwards;
}

.suggestions {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    width: 200px;
    list-style: none;
    padding: 5px;
    margin: 0;
    display: none;
    z-index: 1000;
}

.suggestions li {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
}

.suggestions li:hover {
    background-color: #f0f0f0;
}
