/* Base Styles */
:root {
    --primary-color: #701d19;
    --text-color: #701d19;
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 5px;
}

/* Language Button Styles */
.language-buttons {
    position: fixed;
    right: 80px;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.lang-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.lang-btn:hover {
    background: darken(var(--primary-color), 10%);
}

.lang-btn.active {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.lang-btn:active {
    transform: scale(0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 150px;
    background-color: #feedcf;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto; 
    width: auto;
    display: block;
}
.cta-img img{
    width: 170px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
    margin-bottom: 10px;
    padding-top: 50px;
}

.btn {
    display: inline-block;
  
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: #e06862a8;
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

.section-header {
    margin-bottom: 30px;
    text-align: center;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: var(--dark-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.top-bar {
    background: #feedcf;
    padding: 15px 0;
    border-bottom: 1px solid #701d19;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.contact-info a {
    color: #701d19;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #701d19;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    color: darken(#701d19, 10%);
}

.main-nav {
    background: #feedcf;
    box-shadow: var(--box-shadow);
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
    color: #701d19;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links li a {
    color: #701d19;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 10px 15px;
    border-radius: var(--border-radius);
}

.nav-links li a:hover,
.nav-links li a.active {
    color: #ffff;
    background: #daa4a149;
}

.btn-contact {
    color: #fff;
    padding: 10px 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-contact:hover {
    background: darken(#701d19, 10%);
    transform: translateY(-2px);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #feedcf;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    min-width: 200px;
    display: none;
    z-index: 1000;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #701d19;
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: #701d19;
    color: #fff;
}

@media (max-width: 991px) {
    .nav-right {
        justify-content: flex-end;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        flex-direction: column;
        box-shadow: var(--box-shadow);
        text-align: center;
    }

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

    .menu-toggle {
        display: block;
    }

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

    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin: 10px 0;
    }

    .dropdown-menu li {
        margin: 10px 0;
    }
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 100px; /* Slightly smaller for better balance */
    width: auto;
    margin-right: 12px;
    padding: 0 0 8px 0; /* Reduced bottom padding */
}

.logo h1 {
    font-size: 26px;
    margin: 0;
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links > li {
    margin-left: 25px;
    position: relative;
}

.nav-links > li:first-child {
    margin-left: 0;
}

.nav-links > li > a {
    font-weight: 500;
    color: var(--secondary-color);
    padding: 8px 0;
    position: relative;
    text-decoration: none;
    font-size: 16px;
    transition: color var(--transition);
}

.nav-links > li > a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition);
}

.nav-links > li > a:hover:after,
.nav-links > li > a.active:after {
    width: 100%;
}

.nav-links > li > a.active,
.nav-links > li > a:hover {
    color: var(--primary-color);
}


/* Dropdown Menu */


.dropdown-menu1 {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 99;
}

.dropdown-menu1 li {
    padding: 0;
}

.dropdown-menu1 li a {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-menu1 li a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown:hover .dropdown-menu1 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 99;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: var(--text-color);
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background-color: #daa4a188;
    color: var(--primary-color);
    padding-left: 25px;
}

/* Hero Section */
.hero {
      background: url('../assest/images/index/welcome.png');
                 
     
    background-size: contain;
    background-size: 100% 100%;
    height: 100vh;
    min-height: 700px;
    margin-top: 35px; /* Compensate for fixed header */
    padding-top: 180px; /* Match body padding */
    box-sizing: border-box;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
}

.hero .btn {
    margin: 0 10px;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Message Section */
.message-section {
    padding: 50px 0;
    background-color: var(--light-gray);
}

.message-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
    margin-top: 60px;
}

.trustee-image {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10%;
    margin-top: 20%;
} 

.trustee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
   
    transition: transform 0.3s ease;
}

.trustee-image:hover img {
    transform: scale(1.02);
}

.message-text {
    background: white;
    width: 900px;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex: 0 0 60%;
    background: #f5e9d2;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.message-header {
    margin-bottom: 30px;
}

.message-header h3 {
    font-size: 28px;
    color: #bb0000;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.position {
    font-size: 18px;
    color: #666;
    opacity: 0.9;
    font-weight: 500;
}

.message-content {
    margin-bottom: 30px;
}

.message-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: var(--text-color);
}

.message-footer {
    text-align: right;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #bb0000;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 24px;
    border-radius: 30px;
    background: rgba(187, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #bb0000;
}

.read-more:hover {
    background: #bb0000;
    color: white;
    transform: translateY(-2px);
}

.read-more i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color-dark);
}

.read-more i {
    font-size: 14px;
}

.message-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 40px;
}

.message-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding: 40px;
    align-items: start;
    
}



.trustee-info {
    text-align: center;
    color: #fff;
}

.trustee-info h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.trustee-info p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

.trustee-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trustee-image:hover .trustee-overlay {
    opacity: 1;
}

.trustee-details {
    text-align: center;
    color: #fff;
}

.trustee-details h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #fff;
}

.trustee-details p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.message-header {
    margin-bottom: 30px;
}

.message-header h3 {
    color: #701d19;
    margin-bottom: 15px;
}

.message-text p {
    margin-bottom: 20px;
    color: #ad4343;
    line-height: 1.8;
    font-size: 16px;
}

.signature {
    margin-top: 40px;
    text-align: right;
    font-style: italic;
    color: #701d19;
}

.signature p {
    margin: 0;
}

.read-more:hover i {
    transform: translateX(5px);
}



/* Programs Section */


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

.program-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    color: var(--primary-color);
    transition: var(--transition);
}

.program-card:hover .program-icon {
    background-color: #bba4a493;
    color: var(--white);
}

.program-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.program-card p {
    color: #666;
    margin-bottom: 0;
}

/* Events Section */
.events-section {
      background-color: var(--light-gray);
}

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

.event-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #feedcf;
    color: var(--white);
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    line-height: 1.2;
}

.event-date .day {
    font-size: 24px;
    font-weight: 700;
    display: block;
}

.event-date .month {
    font-size: 14px;
    text-transform: uppercase;
    display: block;
}

.event-date .year {
    font-size: 12px;
    display: block;
}

.event-content {
    padding: 25px;
}

.event-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.event-content p {
    margin-bottom: 15px;
    color: #666;
    display: flex;
    align-items: center;
}

.event-content i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* News Section Styles */

/* Responsive Design */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        margin-bottom: 30px;
    }
    
    .news-image-container {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 18px;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 30px 0;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay a {
    color: white;
    font-size: 30px;
    transition: transform 0.3s ease;
}

.gallery-overlay a:hover {
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .gallery-item img {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .gallery-item img {
        height: 300px;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay a {
    color: var(--white);
    font-size: 30px;
    transition: var(--transition);
}

.gallery-overlay a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    background: #f5e9d2;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
}

.cta-img {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px; /* Adjust as needed */
  }

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-buttons .btn {
    margin: 0 10px;
}

/* Footer */
.footer-top {
    background-color: #1a2a38;
    padding: 80px 0 50px;
    color: #bbb;
}



.footer-widget {
    margin-bottom: 30px;
}

/* Values Section Styles */
.values-section {
    padding: 80px 0;
    background: #feedcf;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 15px;
}

.value-item {
    background-color:var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-radius: var(--border-radius);
    padding: 40px 30px;
}          

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

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.value-item h4 i {
    font-size: 24px;
    color: var(--primary-color);
}

.value-item p {
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

@media (max-width: 768px) {
    .values-list {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .value-item h4 {
        justify-content: center;
    }
}

.footer-widget h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-widget p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

    

.lang-btn {
    padding: 0.6rem 1.2rem;
    border: 2px solid #333;
    border-radius: 25px;
    background-color: transparent;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lang-btn:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.lang-btn.active {
    background-color: #333;
    color: #fff;
}

.lang-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:active {
    transform: scale(0.95);
}

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

.footer-widget ul li a {
    color: #bbb;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-widget ul li a i {
    margin-right: 8px;
    font-size: 12px;
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 5px;
}

.contact-info a {
    color: #990707;
    transition: var(--transition);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    background-color: #151f28;
    padding: 20px 0;
    text-align: center;
    color: #777;
    font-size: 14px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    color: #777;
    margin-left: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #f6cccaf2;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #f6cccaf2;
    color: var(--white);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .message-content {
        flex-direction: column;
    }
    
    .trustee-image {
        flex: 0 0 100%;
        height: 400px;
    }
    
    .message-text {
        flex: 0 0 100%;
        padding: 30px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        margin-bottom: 10px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 998;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links > li {
        margin: 0 0 15px;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        padding: 0 0 0 20px;
        transform: none;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        z-index: 999;
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 997;
    }
    
    .overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .hero {
        height: auto;
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero .btn {
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }
    
    .message-section, .programs-section, .events-section, .gallery-section, .cta-section {
        padding: 60px 0;
    }
    
    .event-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 7px;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .trustee-image {
        height: 300px;
    }
    
    .message-text {
        padding: 20px 15px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons .btn {
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }
}
