/* Main CSS file for Fondation pour la promotion des droits */

/* ========== GENERAL STYLES ========== */
:root {
    --primary-color: #3cb496;      /* R60/V180/B150 - Teal/Turquoise */
    --secondary-color: #f39207;    /* R243/V146/B7 - Orange */
    --accent-color: #3cb496;       /* Changed from blue to teal */
    --text-color: #333;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-color: #6c757d;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    
    /* Updated gradients to use brand colors */
    --primary-gradient: linear-gradient(135deg, #3cb496, #2a9d80);
    --secondary-gradient: linear-gradient(135deg, #f39207, #e67e22);
    --accent-gradient: linear-gradient(135deg, #3cb496, #2a9d80);
    --light-gradient: linear-gradient(135deg, #f8f9fa, #e9ecef);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    --text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

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

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

p {
    margin-bottom: 15px;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    font-size: 32px;
    letter-spacing: 0.5px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--secondary-gradient);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.btn, .btn-primary, .btn-secondary, .btn-outline, .btn-small {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transition: all 0.6s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(60,180,150,0.4);
}

.btn-primary:hover:before {
    left: 100%;
}

.btn-secondary {
    background: #fff;
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: var(--secondary-gradient);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(243, 146, 7, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(60, 180, 150, 0.3);
}

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

.center {
    text-align: center;
    margin: 30px 0;
}

/* ========== HEADER STYLES ========== */
header {
    background: rgba(255,255,255,0.92);
    box-shadow: 0 4px 30px rgba(60,180,150,0.08);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(60,180,150,0.07);
    transition: all 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 15px;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 28px;
    letter-spacing: 1px;
    font-weight: 700;
    text-shadow: var(--text-shadow);
    margin-bottom: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.language-switch {
    display: flex;
    margin-left: 20px;
}

.language-switch a {
    margin-right: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-weight: 500;
}

.language-switch a.active {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 3px 10px rgba(44,62,80,0.2);
}

.language-switch a:not(.active):hover {
    background: rgba(44,62,80,0.05);
    transform: translateY(-2px);
}

nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--secondary-gradient);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 3px;
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 70%;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(60, 180, 150, 0.1);
    color: var(--primary-color);
}

nav ul li a.active {
    font-weight: 600;
    color: var(--secondary-color);
}

.menu-toggle {
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(44,62,80,0.15);
    display: none;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--secondary-color);
    color: white;
    transform: rotate(90deg);
}

/* ========== HERO SECTION ========== */
.hero {
    padding: 160px 0 180px;
    background-image: linear-gradient(135deg, rgba(60, 180, 150, 0.85), rgba(243, 146, 7, 0.85)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 0;
}

.hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 30px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    color: white;
    line-height: 1.2;
}

.hero p {
    font-size: 22px;
    max-width: 850px;
    margin: 0 auto 45px;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.95);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ========== LATEST NEWS SECTION ========== */
.latest-news {
    padding: 120px 0;
    background-color: var(--light-color);
    position: relative;
}

.latest-news:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern-bg.png');
    opacity: 0.05;
}

.latest-news .container {
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.news-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    top: 0;
}

.news-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
}

.news-image {
    height: 200px;
    background-color: #f5f5f5;
    border-radius: 10px 10px 0 0;
    position: relative;
    overflow: hidden;
    background-image: url('../img/news-placeholder.jpg');
    background-size: cover;
    background-position: center;
}

.news-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 40%);
}

.news-image:after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255,255,255,0.3);
    transform: rotate(35deg);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.news-card:hover .news-image:after {
    left: 130%;
    opacity: 1;
}

.news-content {
    padding: 35px;
}

.news-content .date {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    padding: 4px 12px;
    background: rgba(243, 146, 7, 0.1);
    border-radius: 20px;
    margin-bottom: 10px;
}

.news-content h3 {
    margin: 15px 0;
    font-size: 22px;
    line-height: 1.4;
    color: var(--primary-color);
}

.news-content p {
    color: var(--gray-color);
    line-height: 1.7;
    margin-bottom: 25px;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    position: relative;
    padding-bottom: 3px;
    color: var(--accent-color);
}

.read-more:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-gradient);
    transition: transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: right;
}

.read-more:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

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

/* ========== MISSION SECTION ========== */
.mission {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.mission:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44,62,80,0.03) 0%, rgba(211,84,0,0.03) 100%);
    z-index: 0;
}

.mission:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 80%;
    background: radial-gradient(circle at top right, rgba(52,152,219,0.08), rgba(0,0,0,0) 60%);
    z-index: 0;
}

.mission .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mission-content {
    padding-right: 20px;
}

.mission-content h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.mission-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--secondary-gradient);
    border-radius: 3px;
}

.mission-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.mission-list {
    margin: 30px 0;
}

.mission-list li {
    margin-bottom: 20px;
    background: rgba(255,255,255,0.8);
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    transform: translateX(0);
}

.mission-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left-width: 8px;
    background: rgba(255,255,255,0.95);
}

.mission-list li i {
    font-size: 24px;
    color: var(--secondary-color);
    margin-right: 15px;
    min-width: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.mission-list li:hover i {
    transform: scale(1.2);
}

.mission-list li span {
    font-weight: 500;
    color: var(--primary-color);
}

.mission-image {
    position: relative;
    width: 100%;
    min-height: 500px;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background-image: url('../img/mission.jpg');
    background-size: cover;
    background-position: center;
}

.mission-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.mission-image:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44,62,80,0.2), rgba(211,84,0,0.2));
    z-index: 1;
    transition: all 0.3s ease;
}

.mission-image:hover:before {
    opacity: 0.6;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.mission-image:hover img {
    transform: scale(1.05);
}

/* ========== PROGRAMS SECTION ========== */
.programs {
    padding: 120px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.programs:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern-bg.png');
    opacity: 0.05;
}

.programs .container {
    position: relative;
    z-index: 1;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.program-card {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    padding: 45px 30px;
    text-align: center;
    position: relative;
    top: 0;
}

.program-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--secondary-gradient);
    border-radius: 5px 5px 0 0;
}

.program-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 5px;
    background: var(--primary-gradient);
    border-radius: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--hover-shadow);
}

.program-card:hover:after {
    opacity: 1;
    transform: translateY(0);
}

.program-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 25px;
    background: rgba(211,84,0,0.1);
    width: 110px;
    height: 110px;
    line-height: 110px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    margin: 0 auto 30px;
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.program-icon:before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, rgba(243, 146, 7, 0.2), rgba(60, 180, 150, 0.2));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
}

.program-card:hover .program-icon {
    color: white;
    background: var(--secondary-gradient);
    transform: rotate(10deg);
    border-radius: 50%;
}

.program-card:hover .program-icon:before {
    opacity: 1;
}

.program-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.program-card:hover h3 {
    color: var(--secondary-color);
}

.program-card p {
    margin-bottom: 25px;
    color: var(--gray-color);
    line-height: 1.7;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    padding: 140px 0;
    background: var(--light-gradient);
    position: relative;
    overflow: hidden;
}

.testimonials:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/pattern-bg.png');
    opacity: 0.05;
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    padding: 50px;
    border-radius: 20px;
    background: #fff;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(0);
    opacity: 1;
    text-align: center;
    margin-top: 50px;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.testimonial:before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    color: var(--secondary-color);
    opacity: 0.1;
    z-index: -1;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: -100px auto 30px;
    border: 5px solid white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.testimonial p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    color: var(--text-color);
    font-style: italic;
}

.testimonial p:after {
    content: '\201D';
    font-family: Georgia, serif;
    position: absolute;
    bottom: -20px;
    right: -10px;
    font-size: 40px;
    color: var(--secondary-color);
    opacity: 0.2;
}

.testimonial-author {
    padding-top: 20px;
    position: relative;
}

.testimonial-author:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--secondary-gradient);
}

.testimonial-author .name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-color);
    display: block;
}

.testimonial-author .role {
    color: var(--secondary-color);
    font-size: 16px;
    display: block;
}

.testimonial-nav {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.testimonial-nav button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(211, 84, 0, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-nav button.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

.testimonial-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 2;
}

.testimonial-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-arrow:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

/* ========== NEWSLETTER SECTION ========== */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png');
    opacity: 0.05;
    z-index: 0;
}

.newsletter .container {
    position: relative;
    z-index: 1;
}

.newsletter h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.newsletter-form {
    max-width: 600px;
    margin: 30px auto 0;
}

.newsletter-form input {
    padding: 16px 20px;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.newsletter-form button {
    padding: 16px 30px;
    font-size: 16px;
    letter-spacing: 1px;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(90deg, #fff 0%, var(--accent-color) 100%);
    color: var(--primary-color);
    font-weight: 600;
}

.newsletter-form button:hover {
    background: #fff;
}

/* ========== FOOTER STYLES ========== */
footer {
    background: var(--primary-gradient);
    color: #fff;
    position: relative;
    padding: 80px 0 20px;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png');
    opacity: 0.05;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 25px;
    padding-bottom: 15px;
}

.footer-section h3:after {
    height: 3px;
    width: 60px;
    background: var(--secondary-color);
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
}

.footer-section p i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-section p a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.footer-section p a:hover {
    color: var(--secondary-color);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-gradient);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 60px;
    padding: 30px 0;
    background: rgba(0,0,0,0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 992px) {
    .mission .container {
        grid-template-columns: 1fr;
    }
    
    .mission-content {
        padding-right: 0;
    }
    
    .mission-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
    }
    
    nav ul li {
        margin: 0 0 20px;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 5px 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        margin-bottom: 10px;
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
    }
}

/* ========== ABOUT PAGE STYLES ========== */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb span {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.7);
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    height: 400px;
    border-radius: 8px;
    background-color: var(--gray-color);
    background-size: cover;
    background-position: center;
}

.about-content h2 {
    margin-bottom: 20px;
}

.team-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
}

.team-image {
    height: 250px;
    background-color: var(--gray-color);
    background-size: cover;
    background-position: center;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    margin-bottom: 5px;
}

.team-info .role {
    color: var(--gray-color);
    margin-bottom: 15px;
    display: block;
}

.team-social {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.team-social a {
    margin: 0 5px;
    color: var(--gray-color);
    transition: all 0.3s ease;
}

.team-social a:hover {
    color: var(--secondary-color);
}

/* ========== RTL SUPPORT (ARABIC) ========== */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .section-title:after {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

[dir="rtl"] nav ul li {
    margin-left: 0;
    margin-right: 20px;
}

[dir="rtl"] .mission-list li i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .footer-section h3:after {
    left: auto;
    right: 0;
}

[dir="rtl"] .footer-section p i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .social-links a {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .breadcrumb span {
    transform: rotate(180deg);
}

/* ========== ADDITIONAL PAGE STYLES ========== */
/* Add more specific styles for other pages as needed */

/* ========== OBJECTIVES SECTION ========== */
.objectives-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
}

.objective-item {
    display: flex;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    padding: 20px;
}

.objective-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.objective-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    font-size: 24px;
    font-weight: 600;
    border-radius: 50%;
    margin-right: 20px;
}

.objective-text h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.objective-text p {
    color: var(--text-color);
}

/* Responsive adjustments for objectives */
@media (max-width: 768px) {
    .objectives-list {
        grid-template-columns: 1fr;
    }
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: grid;
    grid-row-gap: 20px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 20px;
}

.contact-details h3 {
    margin-bottom: 5px;
}

.contact-details p {
    margin-bottom: 5px;
    color: var(--gray-color);
}

.social-contact {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.social-contact h3 {
    margin-bottom: 15px;
}

.contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    margin-bottom: 10px;
}

.contact-form-container p {
    margin-bottom: 30px;
    color: var(--gray-color);
}

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

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(60, 180, 150, 0.1);
}

.contact-form button {
    margin-top: 10px;
}

.map-section {
    margin-bottom: 80px;
}

.map-container {
    width: 100%;
    overflow: hidden;
}

/* ========== ASSISTANCE SECTION ========== */
.assistance-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.assistance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.assistance-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.assistance-item:hover {
    transform: translateY(-10px);
}

.assistance-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.assistance-item h3 {
    margin-bottom: 15px;
}

.assistance-item p {
    color: var(--gray-color);
}

/* Responsive adjustments for contact */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
} 

/* ========== CIVIL SOCIETY PAGE STYLES ========== */
.civil-society-intro {
    padding: 60px 0;
    background-color: #fff;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

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

.civil-box {
    background: #fff;
    border-radius: 10px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    text-align: center;
}

.civil-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.civil-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.civil-icon i {
    font-size: 32px;
    color: #fff;
}

.civil-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.civil-box p {
    color: var(--gray-color);
    line-height: 1.7;
}

/* Networks Section */
.networks {
    padding: 60px 0;
    background-color: var(--light-color);
    position: relative;
}

.networks:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern-bg.png');
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 0;
}

.network-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.network-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.network-item {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-left: 5px solid var(--secondary-color);
}

.network-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

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

.network-item h3 i {
    color: var(--secondary-color);
}

.network-item p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.network-actions {
    margin-top: 15px;
}

.network-actions li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.network-actions li i {
    color: var(--success-color);
    margin-right: 10px;
}

/* Support Programs Section */
.support-programs {
    padding: 70px 0;
    background-color: #fff;
}

.support-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.support-card {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.support-icon {
    flex: 0 0 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.support-icon i {
    font-size: 40px;
    color: #fff;
}

.support-content {
    flex: 1;
    padding: 25px;
}

.support-content h3 {
    margin-bottom: 10px;
    font-size: 22px;
    color: var(--primary-color);
}

.support-content p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.support-details {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.support-details li {
    margin-bottom: 5px;
    color: var(--gray-color);
}

/* Join Network Section */
.join-network {
    padding: 70px 0;
    background-color: var(--primary-color);
    color: #fff;
    position: relative;
}

.join-network:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern-light.png');
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 0;
}

.join-network .container {
    position: relative;
    z-index: 1;
}

.join-network h2 {
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.join-network p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255,255,255,0.8);
}

.join-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.join-form .form-group {
    margin-bottom: 20px;
}

.join-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #fff;
}

.join-form input,
.join-form select,
.join-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 16px;
}

.join-form input::placeholder,
.join-form textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255,255,255,0.2);
}

.join-form button {
    width: 100%;
    padding: 14px;
    font-size: 17px;
    background: var(--secondary-color);
    border: none;
    border-radius: 5px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.join-form button:hover {
    background: #ff7d2e;
    transform: translateY(-2px);
}

/* Partners Section */
.partners {
    padding: 60px 0;
    background-color: #fff;
}

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

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
}

/* Responsive styles for Civil Society page */
@media (max-width: 992px) {
    .support-card {
        flex-direction: column;
    }
    
    .support-icon {
        flex: 0 0 auto;
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .civil-society-grid {
        grid-template-columns: 1fr;
    }
    
    .network-item {
        padding: 20px;
    }
    
    .join-form {
        padding: 20px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== IMAGE GALLERY STYLES ========== */
.gallery-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

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

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-item .overlay h3 {
    margin-bottom: 5px;
    color: #fff;
    font-size: 18px;
}

.gallery-item .overlay p {
    font-size: 14px;
    margin-bottom: 0;
    color: rgba(255,255,255,0.8);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.gallery-filter button {
    padding: 8px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.gallery-filter button.active,
.gallery-filter button:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.modal-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.modal-nav button {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-nav button:hover {
    background: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .gallery-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-filter button {
        width: 100%;
        max-width: 300px;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 1s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 1s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Staggered animations for grid elements */
.stagger-animation > * {
    opacity: 0;
}

.stagger-animation > *:nth-child(1) {
    animation: fadeIn 0.5s ease 0.1s forwards;
}

.stagger-animation > *:nth-child(2) {
    animation: fadeIn 0.5s ease 0.2s forwards;
}

.stagger-animation > *:nth-child(3) {
    animation: fadeIn 0.5s ease 0.3s forwards;
}

.stagger-animation > *:nth-child(4) {
    animation: fadeIn 0.5s ease 0.4s forwards;
}

.stagger-animation > *:nth-child(5) {
    animation: fadeIn 0.5s ease 0.5s forwards;
}

.stagger-animation > *:nth-child(6) {
    animation: fadeIn 0.5s ease 0.6s forwards;
}

.stagger-animation > *:nth-child(n+7) {
    animation: fadeIn 0.5s ease 0.7s forwards;
}

/* ========== ENHANCED CONTACT FORM STYLES ========== */
.contact-form .form-group.success input,
.contact-form .form-group.success textarea {
    border-color: var(--success-color);
}

.contact-form .form-group.error input,
.contact-form .form-group.error textarea {
    border-color: var(--danger-color);
}

.form-message {
    font-size: 14px;
    margin-top: 5px;
}

.error-message {
    color: var(--danger-color);
}

.success-message {
    color: var(--success-color);
}

.form-alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.form-alert.success {
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
    display: block;
}

.form-alert.error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    display: block;
}

/* ========== ENHANCED RESPONSIVE NAVBAR ========== */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item-dropdown {
    position: relative;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    border-radius: 0;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 10px;
        margin-bottom: 10px;
        background: rgba(0,0,0,0.02);
        border-radius: 5px;
    }
}

/* ========== STICKY HEADER ENHANCEMENT ========== */
.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    animation: slideDown 0.5s forwards;
}

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

/* ========== GALLERY HIGHLIGHT SECTION ========== */
.gallery-highlight {
    padding: 70px 0;
    background-color: var(--light-color);
    position: relative;
}

.gallery-highlight:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern-bg.png');
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 0;
}

.gallery-highlight .container {
    position: relative;
    z-index: 1;
}

.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.6;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-preview-item {
    position: relative;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-preview-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

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

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

.gallery-preview-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 20px;
    color: #fff;
}

.gallery-preview-item .overlay h3 {
    margin: 0;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .gallery-preview {
        grid-template-columns: 1fr;
    }
    
    .gallery-preview-item {
        height: 200px;
    }
}

/* ========== BRANDING SECTION ========== */
.branding-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.branding-title {
    text-align: center;
    margin-bottom: 60px;
}

.branding-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.color-item {
    text-align: center;
    width: 220px;
}

.color-box {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    border: 8px solid white;
}

.color-box-primary {
    background-color: var(--primary-color);
}

.color-box-secondary {
    background-color: var(--secondary-color);
}

.color-box-inner {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid white;
}

.color-box-primary .color-box-inner {
    background-color: var(--secondary-color);
}

.color-box-secondary .color-box-inner {
    background-color: var(--primary-color);
}

.color-info {
    margin-top: 20px;
}

.color-name {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 18px;
}

.color-value {
    color: var(--gray-color);
    font-family: monospace;
    font-size: 14px;
} 