/* Header Styles */
header {
    background: #282c34;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space between logo, navigation, and WhatsApp */
    position: fixed;  /* Keeps header fixed on top */
    width: 100%;  /* Ensures it spans the full width */
    top: 0;  /* Pins it to the top */
    left: 0;
    z-index: 1000; /* Ensures it's above all other elements */
}

header .container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

header .logo {
    max-height: 50px; /* Adjust based on your logo size */
}

header h1 {
    margin: 0;
    font-size: 1.5em; /* Adjust size as needed */
    flex: 1;
    text-align: center; /* Center header text */
}

nav {
    flex: 2;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Center navigation menu */
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #e99905;
}

/* WhatsApp Icon */
.whatsapp-contact {
    display: flex;
    align-items: center;
}

.whatsapp-icon {
    color: #25D366; /* WhatsApp green color */
    font-size: 2em; /* Size of the WhatsApp icon */
    text-decoration: none;
    transition: color 0.3s;
    margin-left: 20px; /* Space between nav and WhatsApp icon */
}

.whatsapp-icon:hover {
    color: #128C7E; /* Darker green on hover */
}

/* Add this to your styles.css */

.social-contact {
    display: flex;
    align-items: center;
}

.social-icon {
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
}

/* Facebook Icon */
.social-icon.facebook {
    color: #3b5998;
}

.social-icon.facebook:hover {
    color: #2d4373; /* Slightly darker shade on hover */
}

/* Instagram Icon */
.social-icon.instagram {
    color: #E1306C;
}

.social-icon.instagram:hover {
    color: #c13584; /* Slightly darker shade on hover */
}

/* Ensure proper alignment in header */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 120px 20px;
}

/* Hero Image Styling */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the section properly */
    z-index: -1; /* Keeps it in the background */
}

.hero-content {
    position: relative;
    z-index: 1; /* Ensures content is above the background image */
}

/* Optional: Style for the text and button */
.hero-content h2 {
    font-size: 3em;
    margin: 0;
}
.hero-content h3 {
    font-size: 2em;
    margin: 0;
}

.hero-content p {
    font-size: 1.3em;
    margin: 10px 0;
}

.btn-primary {
    background: #ff0000;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.15s;
}

.btn-primary:hover {
    background: #d47777;
}


/* Section Styles */
section {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

/* Services Section */
.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: bold;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
    justify-content: center;
}

/* Service Item - Floating Glassmorphism Effect */
.service-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

/* Icon Styling */
.service-item i {
    font-size: 3em;
    margin-bottom: 10px;
    display: block;
    background: linear-gradient(45deg, #007bff, #00c8ff);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Text Styling */
.service-item h3 {
    font-size: 1.5em;
    margin: 10px 0;
    font-weight: bold;
    color: #222;
}

.service-item p {
    color: #555;
    font-size: 1.1em;
}


.works-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.work-item {
    position: relative;
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.video-wrapper:hover video {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 100%;
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.video-wrapper:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    margin: 5px 0;
    font-size: 1.2rem;
}

.overlay p {
    font-size: 0.9rem;
}

.work-item a {
    text-decoration: none;
    color: inherit;
}



/* Clients Section */
.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.client-item {
    margin: 20px;
}

.client-item img {
    max-width: 200px;
    height: auto;
    border-radius: 5px;
}

/* About Us Section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.about-text {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    max-width: 800px;
    padding: 20px;
    background: #ffffff;
    border-left:none;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: justify;
}

/* Team Section */
.team {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Top Row Styling */
.top-row {
    display: flex;
    justify-content: center;
    margin-bottom: 20px; /* Space below the top row */
}

/* General Row Styles */
.team-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Space between team members */
    margin-bottom: 20px; /* Space between rows */
}

/* Member Styling */
.team-member {
    text-align: center;
    margin: 15px;
    flex: 1 0 100px; /* Ensures each team member has a minimum width */
}

.team-member img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.team-member h4 {
    margin: 10px 0 5px;
    font-size: 1.2em;
}

.team-member p {
    color: #666;
}


/* Contact Info */
.contact-info {
    margin-top: 25px;
    text-align: center;
}

.contact-info p {
    margin: 10px 0;
}

.contact-info a {
    color: black;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: none;
}
.social-media {
    text-align: center;
    margin: 20px 0;
}

.social-media a {
    display: inline-block;
    margin: 0 10px;
    font-size: 24px;
    color: white;
    background: #282c34;
    padding: 12px;
    border-radius: 50%;
    transition: background 0.3s ease-in-out;
}

.social-media a:hover {
    background: #979798;
}
.social-icon.youtube {
    color: red; /* Sets the icon color to red */
    font-size: 24px; /* Adjust size if needed */
    transition: color 0.3s ease-in-out; /* Smooth color transition */
}

.social-icon.youtube:hover {
    color: darkred; /* Darker red on hover */
}


/* Footer */
footer {
    background: #282c34;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

footer ul li {
    margin: 0 10px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

footer ul li a:hover {
    color: #61dafb;
}
/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 1.8em;
    color: #fff;
    cursor: pointer;
}

/* Mobile Menu Styling */
nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: max-height 0.3s ease;
}

nav ul.active {
    max-height: 500px; /* Adjust if needed */
}

@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        background: #282c34;
        position: absolute;
        top: 70px; /* Adjust depending on header height */
        left: 0;
        width: 100%;
        overflow: hidden;
        max-height: 0;
    }

    nav ul li {
        margin: 15px 0;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    /* Hide default flex navigation on mobile */
    nav {
        flex: 1;
    }
}
