/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Common Section Styling */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/* About Section */
#about-section {
    background: linear-gradient(to bottom, #ffffff, #f3f3f3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    padding: 50px 20px;
}



.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* Objective Section */
#objective-section {
    background: linear-gradient(to bottom, #f9f9f9, #eaeaea);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 60px 20px;
}

/* Titles Styling */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    color: #333;
    margin-bottom: 20px;
}

/* Objective Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.2rem;
    color: #007bff;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: attr(data-hover);
    position: absolute;
    bottom: -40px;
    right: 10px;
    font-size: 0.9rem;
    color: #fff;
    background: #007bff;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
    transform: translateY(0);
}

/*National justice*/
#women-empowerment {
    background: linear-gradient(to bottom, #f9f9f9, #eaeaea);
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Animations */
#women-empowerment::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 123, 0, 0.5);
    border-radius: 50%;
    animation: float 6s infinite;
}
#women-empowerment::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(0, 123, 255, 0.5);
    border-radius: 50%;
    animation: float 8s infinite;
}
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Title Styling */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
    color: #333;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out forwards;
}

/* Text and Grid */
.section-objective {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #007bff;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
}

.feature-card p {
    color: #555;
}

/* Hover Effects */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: attr(data-hover);
    position: absolute;
    bottom: -40px;
    right: 10px;
    font-size: 0.9rem;
    color: #fff;
    background: #007bff;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
    transform: translateY(0);
}
/*Main Contener*/
.container {
    display: flex;

    flex-direction: row;
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease;
}

/* Sidebar */
.sidebar {
    width: 30%;
    background-color: #f1f1f1;
    padding: 20px;
    border-right: 1px solid #ddd;
    margin: 30px 750px 0px 0px;
}

.sidebar h2 {
    font-size: 20px;
    color: #0078d7;
    text-align: center;
    margin-bottom: 20px;
    animation: slideIn 1s ease;
}

.sidebar ul {
    list-style-type: none;
    padding: 0;
}

.sidebar ul li {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

.sidebar ul li a {
    text-decoration: none;
}

/* Hover Effects on Links */
.sidebar ul li:hover {
    color: #0078d7;
    transform: scale(1.05);
}

/* Main Content */
.content {
    
    width: 100%;
}

.content h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #ddd;
    display: inline-block;
    animation: slideInFromRight 1s ease;
}

.image-section {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.image-section img {
    max-width: 150px;
    border-radius: 50%;
    border: 4px solid #ddd;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    animation: zoomIn 1s ease;
}

.content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
    animation: fadeIn 1s ease;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .content {
        width: 100%;
        padding: 20px;
    }

    .image-section img {
        max-width: 120px;
    }
}

/* fourth slide */
.patron-section {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    padding: 60px;
    border-radius: 10px;
    max-width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%; /* Takes full available width */
    height: 500px;
}

.image-container {
    flex: 1; /* Take half of the width */
    max-width: 50%;
    height: auto; /* Maintain aspect ratio */
    margin-right: 20px;
    border-radius: 10px;
    overflow: hidden; /* Ensures the image is contained within the rounded corners */
}

.patron-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    max-height: 300px;
}

.text-content {
    flex: 1; /* Take half of the width */
    max-width: 50%;
}

.text-content h2 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.text-content h3 {
    font-size: 24px;
    color: #a33a11; /* Dark brown color */
    font-weight: 700;
    margin-top: 5px;
}

.text-content .designation {
    font-size: 16px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.text-content .description {
    font-size: 14px;
    color: #555;
    margin-top: 15px;
    line-height: 1.6;
}

/* photo add */
.photo-add{
    height: 200px;
    width: 100%;
}
.photo-add img{
    width: 100%;
}