/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #333;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
    position: fixed;
    width: 97.5%;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 24px;
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    padding: 8px 15px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover {
    background-color: #555;
    border-radius: 5px;
}

/* Burger Menu (Mobile) */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        height: 100vh;
        top: 0;
        background-color: #333;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .burger {
        display: flex;
    }

    .nav-active {
        transform: translateX(0);
    }

    /* Burger Animation */
    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Home Section */
#home {
    text-align: center;
    padding: 50px 20px;
    background-color: #f5f5f5;
}

#home h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#home p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

#home .profile-pic {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 20px;
}

#home .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

#home .btn:hover {
    background-color: #555;
}

/* About Section */
#about {
    padding: 50px 20px;
    background-color: #fff;
    color: #333;
}

#about h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

#about h3 {
    font-size: 1.5em;
    margin-top: 30px;
}


/* Contact Section */
#contact {
    padding: 60px 20px;
    background-color: #fff;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-container p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.contact-form-container {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1em;
    box-sizing: border-box;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: #007BFF;
    outline: none;
}

.contact-form .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
    background-color: #0056b3;
}

/* Contact Info */
.contact-info {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.contact-info .social-links a {
    display: inline-block;
    margin-right: 15px;
    color: #007BFF;
    font-size: 1.2em;
}

.contact-info .social-links a:hover {
    color: #0056b3;
}


/* Contact Button Styles */
.contact-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007BFF; /* Button color */
    color: #fff; /* Text color */
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-button:hover {
    background-color: #0056b3; /* Darker shade on hover */
    transform: translateY(-3px); /* Slight lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}


.contact-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.contact-buttons .contact-button {
    margin: 0;
}

/* Larger "Explore More" Button */
.contact-button.explore-more {
    padding: 22.5px 45px; /* Larger padding */
    font-size: 1.8em; /* Larger font size */
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    padding: 50px 20px;
    font-size: 0.9em;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer h2, .footer h3 {
    margin-bottom: 20px;
}

.footer-about, .footer-links, .footer-contact {
    flex: 1 1 300px;
    margin-bottom: 30px;
}

.footer-about p {
    font-size: 1em;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #007BFF;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #007BFF;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    color: #fff;
    font-size: 1.2em;
}

.social-links a:hover {
    color: #007BFF;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 20px;
}


/* Grid Container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(4, 1fr);    /* 8 rows */
    gap: 10px; /* Space between grid items */
    padding: 20px;
    background-color: #f5f5f5; /* Light background color */
}

/* Grid Items */
.grid-item {
    background-color: #fff; /* White background for grid items */
    border: 1px solid #ddd; /* Light border */
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.images-grid figure {
    margin: 0;
    text-align: center;
  }
  
  .images-grid figcaption {
    margin-top: 8px;
    color: #000000;
  }

.grid-item img {
    width: 100%;
    height: 200px; /* or 250px for more height */
    object-fit: cover; /* important: fills the area without distortion */
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }

.grid-item:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Increase shadow on hover */
}

/* Box Container Styles */
.box-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(1, 1fr);    /* 1 rows */
    gap: 10px; /* Space between grid items */
    padding: 20px;
    background-color: #f5f5f5; /* Light background color */
}

.grid-item img {
    width: 100%;
    height: 400px; /* Set fixed height */
    object-fit: cover; /* Ensure the image covers the space without distortion */
    border-radius: 10px; /* Optional: adds rounded corners to images */
    margin-bottom: 10px; /* Space between image and text */
}
