/* Global Styles */
/* Global Reset: Applied to all elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Keep the existing box-sizing reset */
}

/* Ensure the html and body elements have no margin/padding and occupy full height */
html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* Ensure body and html take up full height */
    overflow-x: hidden; /* Prevent horizontal overflow */
    font-family: Arial, sans-serif; /* Keep the existing font-family from body */
    line-height: 1.6; /* Keep existing line-height */
    background-color: #f4f4f4; /* Keep existing background color */
    color: var(--text-color); /* Keep the text color */
}
/* Color Scheme */
:root {
    --primary-color: #FFD700;
    --secondary-color: #000;
    --text-color: #333; /* Changed back to dark gray for better readability */
    --cta-color: #FFD700;
}

/* Default section spacing when menu is closed */
section {
    padding: 40px 0;
    text-align: center;
    margin-top: 40px; /* This provides consistent spacing when menu is closed */
}

section h3 {
    margin-top: 20px; /* Space above all headings */
}
/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--secondary-color); /* Black background */
    padding: 10px 20px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 4px 2px -2px gray;
    height: 60px;
}

/* Hide nav-links initially for small screens */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links li {
    display: inline;
}

.nav-links a {
    color: #EEEEEE;
    text-decoration: none;
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--primary-color);
}
.nav-links img {
    vertical-align: middle; /* Align icon with text */
    margin: 0 5px; /* Add spacing around the icon */
    border: 1px solid #FFFFFF; /* Thin white border */
    border-radius: 3px; /* Slightly rounded corners for a polished look */
}
/* Logo Styling */
.res-logo {
    max-width: 120px; /* Adjust size if needed */
    height: auto;
    display: block;
}

/* Hamburger Icon for small screens */
.menu-icon {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    margin-bottom: 0; /* Align the bottom of the hamburger with the logo */
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column; /* Stack items vertically */
        position: absolute;
        top: 60px; /* Below the navbar */
        left: 0; /* Align to the left */
        width: 100%; /* Full screen width */
        background-color: var(--secondary-color);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 10px 0; /* Add spacing above and below */
        text-align: left; /* Align text to the left */
    }

    .nav-links.open {
        display: flex !important; /* Show when open */
    }

    .nav-links li {
        margin: 10px 20px; /* Add spacing for menu items */
    }

    .menu-icon {
        display: block; /* Show hamburger menu */
    }
}/* Hero Section */
.hero {
    position: relative;
    background-color: var(--secondary-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin: 0; /* Remove any default margin */
    padding: 0; /* Remove padding */
    z-index: 1; /* Behind the content */
    background-image: url('video_fallback.jpg'); /* Fallback image */
    background-size: cover; /* Ensure the image covers the entire background */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */

}
/* Video Background */
#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind the content */
    object-fit: cover;
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease-in-out; /* Smooth fade-in */
}


.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #EEEEEE; /* Light gray for readability on black background */

}
#play-button {
    background-color: var(--cta-color);
    padding: 10px 20px;
    color: var(--secondary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* Responsive behavior for smaller screens */
@media screen and (max-width: 768px) {
    #background-video {
        width: 100%; /* Allow the video to scale to the width of the screen */
        height: 100%; /* Maintain aspect ratio */
        display: block; /* Make sure the video is visible */
    }
    
}

.rounded-box {
    background-color: #e0e0e0; /* Light grey */
    border-radius: 15px; /* Rounded corners */
    padding: 20px; /* Inner spacing */
    margin-bottom: 20px; /* Space below each box */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
}
/* Responsive behavior for smaller screens */
@media screen and (max-width: 768px) {

}

h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--secondary-color);
}
h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

p {
    font-size: 16px;
    margin-bottom: 1em;
    color: var(--text-color);
}

/* Icon List Styling */
.icon-list {
    list-style-type: none;
    padding: 0;
}

.icon-list li {
    display: flex; /* Ensure proper alignment */
    align-items: flex-start; /* Align icon to the top of multi-line text */
    margin-bottom: 10px; /* Space between list items */
    font-size: 16px; /* Maintain readable font size */
    line-height: 1.6; /* Add spacing for wrapped lines */
}

.icon-list .icon {
    margin-right: 8px; /* Space between icon and text */
    font-size: 14px; /* Smaller icon size */
    line-height: 1; /* Ensures vertical alignment */
    align-self: center; /* Aligns the icon to the center of the line */
}

@media screen and (max-width: 768px) {
    .icon-list li {
        display: block; /* Stack icon and text vertically */
        margin-bottom: 15px; /* Add more spacing between items */
        text-align: left; /* Ensure text alignment is consistent */
    }

}  
/* Restored Round Corners for Images */
.round-corners {
    border-radius: 15px; /* Adds round corners to all images */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Adds subtle shadow */
}

/* Section Styles */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}
/* About AQUS Section */


/* About Section Layout */
.about-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns for images */
    gap: 20px; /* Space between images */
    justify-content: center; /* Center images horizontally */
}

.about-layout img {
    width: 100%; /* Scale dynamically based on container width */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure image fits within container without cropping */
    display: block; /* Avoid inline spacing issues */
}

/* Sample Section Layout */
.sample-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three equal columns for images */
    gap: 20px; /* Space between images */
    justify-content: center; /* Center images horizontally */
}

.sample-layout img {
    width: 100%; /* Scale dynamically based on container width */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure image fits within container without cropping */
    display: block; /* Avoid inline spacing issues */
}

/* Responsive Design for Smaller Screens */
@media screen and (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr; /* Single column layout for images */
    }

    .sample-layout {
        grid-template-columns: repeat(2, 1fr); /* Two columns for images */
    }

    .sample-layout img,
    .about-layout img {
        width: 100%; /* Scale images to full container width */
        height: auto; /* Maintain aspect ratio */
    }
}/* Portfolio Section Layout */
.portfolio-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Equal width for left and right columns */
    grid-template-rows: 1fr 1fr; /* Two equal rows */
    gap: 20px; /* Space between images */
    align-items: stretch; /* Stretch items to fill rows */
    justify-content: stretch; /* Stretch items horizontally */
    height: auto; /* Dynamically adjust height */
}

/* Portfolio Section Layout */
.portfolio-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Equal width for left and right columns */
    grid-template-rows: 1fr 1fr; /* Two equal rows */
    gap: 20px; /* Space between images */
    align-items: stretch; /* Stretch items to fill rows */
    justify-content: stretch; /* Stretch items horizontally */
}

/* Large Image */
.portfolio-layout .large-image {
    grid-column: 1 / 2; /* Occupy the first column */
    grid-row: 1 / 3; /* Span two rows */
    width: 100%; /* Full width of the column */
    height: 100%; /* Fully occupy the grid cell */
    object-fit: contain; /* Scale the image to fit without cropping */
    display: block; /* Avoid inline spacing issues */
}

/* Smaller Images */
.portfolio-layout .small-image {
    grid-column: 2 / 3; /* Occupy the second column */
    width: 100%; /* Scale to column width */
    height: 100%; /* Fully occupy the grid cell */
    object-fit: cover; /* Allow cropping at top and bottom */
    display: block; /* Avoid inline spacing issues */
}

/* Top Small Image */
.portfolio-layout .small-image:first-of-type {
    grid-row: 1 / 2; /* Top small image */
}

/* Bottom Small Image */
.portfolio-layout .small-image:last-of-type {
    grid-row: 2 / 3; /* Bottom small image */
}



footer {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    padding: 40px 20px;
    text-align: center;
}

footer a {
    color: var(--primary-color); /* Yellow links */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-contact {
    margin-bottom: 40px;
}

.footer-contact h2 {
    margin-top: 15px; /* Add space above the button */
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-contact p {
    font-size: 16px;
    margin: 5px 0;
    color: #ccc; /* Light gray text */
}

.cta-btn {
    margin-top: 15px; /* Add space above the button */
    background-color: var(--cta-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block; /* Ensure it's treated as a block-like element */
}

.cta-btn:hover {
    background-color: #ccac00;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 columns for large screens */
    gap: 20px; /* Space between campaigns */
    justify-content: center;
    align-items: start;
}

.contact {
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    color: #ddd;
}

.contact img {
    max-width: 68%;
    border-radius: 8px;
    margin-bottom: 10px;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: repeat(1, 1fr); /* 2 columns for smaller screens */
    }
    .contact img {
        max-width: 80%;
    }
    }

.featured-campaigns {
    margin-top: 25px;
}

.featured-campaigns h4 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.campaigns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for large screens */
    gap: 20px; /* Space between campaigns */
    justify-content: center;
    align-items: start;
}

.campaign {
    background-color: #222;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    color: #ddd;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.campaign img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.campaign p {
    font-size: 16px;
    color: #fff;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .campaigns-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller screens */
    }
}

footer p {
    font-size: 14px;
    margin-top: 20px;
}
/* Logo Styling */
.res-logo {
    max-width: 100px; /* Ensure logo stays appropriately sized */
    width: 100%;      /* Makes sure it scales with container */
    height: auto;
}

/* Responsive Image Styling */
.res-pics230 {
    width: 230px;
    height: auto;
    object-fit: cover;
}

