/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Navigation styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Add a container for the header */
header {
    background-color: white;
    padding: 0 5%;
    border-bottom: 1px solid #eee;
    position: relative;
}

/* Update logo size */
.logo img {
    height: 60px;
}

/* Center the navigation links */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links li {
    margin: 0; /* Remove individual margins */
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping */
}

.nav-links a:hover {
    color: #c1272d; /* Red color from the logo */
}

.active {
    color: #c1272d !important;
}

.dropdown {
    position: relative;
}

.fa-chevron-down {
    font-size: 0.8rem;
    margin-left: 0.3rem;
}

.search-icon {
    font-size: 1.1rem;
}

/* Hamburger menu */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hamburger menu animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive design */
@media (max-width: 1024px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 60px;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 10px 20px;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem;
    }

    .logo img {
        height: 50px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: #c1272d;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 4px;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
    list-style: none;
}

.dropdown-menu a {
    color: #333;
    padding: 8px 20px 8px 30px;
    display: block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f5f5f5;
    color: #c1272d;
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f5f5f5;
        min-width: auto;
        padding: 0;
    }
    
    .dropdown-menu a {
        padding-left: 40px;
    }
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/images/slider_01.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-bottom: 50px;
}

.about-hero h1 {
    font-size: 2.5em;
    margin: 0;
}

.about-content {
    padding: 50px 0;
}

.about-content h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    text-align: justify;
}

.team-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    color: #333;
    margin-bottom: 5px;
}

.position {
    color: #666;
    font-style: italic;
    margin-bottom: 10px;
}

.bio {
    color: #777;
    line-height: 1.6;
}

.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 20px;
}

.value-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

/* Gallery Page Styles */
.gallery-content {
    padding: 50px 0;
}

.gallery-content h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.fb-gallery-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fb-gallery-container iframe {
    display: block;
    width: 100%;
    border: none;
}

@media (max-width: 768px) {
    .fb-gallery-container {
        margin: 0 15px;
    }
}

/* Contact Page Styles */
.contact-content {
    padding: 50px 0;
}

.contact-content h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
}

.contact-info {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5em;
    color: #c1272d;
    margin-bottom: 20px;
}

.contact-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.contact-card p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
    font-size: 0.9em;
}

.social-btn i {
    font-size: 1em;
}

.social-btn.facebook {
    background-color: #1877f2;
}

.social-btn.youtube {
    background-color: #ff0000;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
}

.social-btn span {
    font-size: 0.9em;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: #f8f8f8;
    border-radius: 5px;
    color: #c1272d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid #eee;
}

.social-link i {
    font-size: 1.2em;
}

.social-link:hover {
    background: #c1272d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(193, 39, 45, 0.2);
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

/* Projects Pages Styles */
.projects-content {
    padding: 50px 0;
}

.projects-content h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

/* Projects Navigation */
.projects-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-category {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-category:hover {
    transform: translateY(-5px);
}

.project-category img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-category h2 {
    padding: 20px;
    margin: 0;
    color: #333;
    font-size: 1.5em;
}

.project-category p {
    padding: 0 20px 20px;
    color: #666;
    margin: 0;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 20px;
}

.project-content h2 {
    color: #333;
    margin: 0 0 10px;
    font-size: 1.3em;
}

.project-content p {
    color: #666;
    margin: 0 0 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    padding: 8px 20px;
    background: #c1272d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background: #a61f24;
}

@media (max-width: 768px) {
    .projects-nav {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}