/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}
/* login register css */
.topbar-right {
    position: absolute; /* or fixed, depending on use case */
    top: 0;
    right: 0;
    padding: 1rem; /* optional, for spacing */
    z-index: 1000; /* optional, to keep it on top */
  }
/* Header and Navigation */
header {
    background-color: #333;
    color: white;
    padding: 15px 0;
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: url('./images/R.jpeg') no-repeat center center/cover;
    color: rgba(211, 23, 23, 0.801);
    text-align: center;
    padding: 50px 20px;
    height: 40vh;
}

/* Content Sections */
.content {
    padding: 50px 20px;
    text-align: center;
}

#about {
    background: url('./images/pngtree-vibrant-watercolor-texture-featuring-shades-of-green-and-yellow-image_13844404.png') 

}

#services {
    color: rgba(231, 52, 52, 0.829);
    text-align: center;
    padding: 50px 20px;
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 20px;
}

.service-item {
    background-image: url('./images/Water-Drop-Wallpaper-HD-Desktop.jpg');
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.service-item:hover {
    transform: scale(1.05);
}

#contact {
    background-image: url('./images/R.png');
    /* background-color: #dc3545; */
    color: black;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 10px 0;
}

/* Social Icons */
.social-icons a {
    text-decoration: none;
    font-size: 20px;
    margin-left: 15px;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.social-icons a.facebook { color: #3b5998; }
.social-icons a.twitter { color: #1da1f2; }
.social-icons a.instagram { color: #e4405f; }
.social-icons a.linkedin { color: #0077b5; }
.social-icons a.youtube { color: #ff0000; }

/* Testimonials */
.testimonials {
    padding: 50px 20px;
    background-color: white;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-item {
    background-color: rgb(235, 76, 76);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Blog Section */
.blog-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    padding: 20px;
    gap: 15px;
}

.blog {
    min-width: 300px;
    max-width: 350px;
    background: yellowgreen;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex-shrink: 0;
}

.blog-container::-webkit-scrollbar {
    display: none;
}