/* Global Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: url('background1.jpeg') no-repeat center center fixed; /* Apply background image */
    background-size: cover; /* Ensure the image covers the entire page */
    color: #333;
}

/* Header Styling */
header {
    background: url('head-background3.jpeg') repeat-x fixed; /* Vibrant gradient for the header */
    color: white;
    padding: 20px 0;
    text-align: center;
    text-decoration: underline;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffde59; /* Bright hover color */
}

nav ul li a::before {
    content: '';
    width: 0;
    height: 2px;
    background-color: #ffde59;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease-in-out;
}

nav ul li a:hover::before {
    width: 100%;
}

/* Hero Image */
.hero-image {
    width: 100%;
    height: auto;
    display: block;
    animation: fadeIn 2s ease-out;
}

/* Section Styling */
.section {
    margin: 60px 0;
    padding: 20px;
    border-left: 5px solid #f06543; /* Accent color for section border */
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Footer Styling */
footer {
    background: linear-gradient(90deg, #0077b6, #00b4d8); /* Cool gradient for the footer */
    color: white;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

/* Form styling to control width */
form {
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

form input, form select, form textarea, form button {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form button {
    background-color: #0077b6; /* Button color */
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #00b4d8;
}

/* Responsive Design */
@media (min-width: 768px) {
    nav ul li {
        margin: 0 25px;
    }
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Animations */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Old Images Styling */
.old-image {
    width: 100%;
    height: auto;
    margin: 20px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Image Gallery */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.old-image {
    flex: 1 1 calc(50% - 10px);
    max-width: 48%;
    margin: 10px 0;
    border: 2px solid #ddd;
}

@media (max-width: 768px) {
    .old-image {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Optional: Animation for fading left and right */
[data-aos="fade-left"] {
    animation: fadeInLeft 1.5s ease-out;
}

[data-aos="fade-right"] {
    animation: fadeInRight 1.5s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Footer Styling */
footer {
    background: linear-gradient(90deg, #0077b6, #00b4d8); /* Cool gradient for the footer */
    color: white;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

.footer-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px;
}

.link-column {
    flex: 1;
}

.link-column a {
    display: block;
    padding: 10px;
    color: #ffffff;
    text-decoration:underline;
    font-size: 20px;
    transition: color 0.3s ease;
}

.link-column a:hover {
    color: #ffde59; /* Adjust hover color as needed */
}
