@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Tajawal", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* background: linear-gradient(135deg, #2d5016 0%, #1a3a0f 100%); */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* opacity: 0.8; */
}

.hero-content {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: space-between;
        position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
    width: 100%;
    height: 100%;
}

.logo {
    /* position: absolute;
    top: -250px;
    left: 20px;
    z-index: 3; */
}

.logo img {
    height: 100px;
    width: auto;
}

.hero-text {
    margin-bottom: 40px;
}

.main-title {
    font-size: 4rem;
    font-weight: 900;
    color: #2d5016;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFf;
    margin-bottom: 10px;
    text-align: center;
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.3); */
}

.year {
    font-size: 3rem;
    font-weight: 900;
    color: #FFFFFf;
    /* text-shadow: 2px 2px 4px rgba(0,0,0,0.3); */
}

.location {
    /* position: absolute; */
    /* bottom: 0px; */
    /* left: 30px; */
    width: -webkit-fill-available;
    text-align: center;
}

.location p {
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Introduction Section */
.intro {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.horse-icon {
    margin-bottom: 30px;
}

.horse-icon i {
    font-size: 3rem;
    color: #2d5016;
}

.intro-text {
    font-size: 1.3rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-button {
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 60px;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.4);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d5016;
    margin-bottom: 20px;
}

.description {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

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

.feature-card {
    /* background: white; */
    padding: 40px 30px;
    border-radius: 15px;
    max-height: 200px;
    /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
    /* transition: transform 0.3s ease; */
    text-align: center;
}

/* .feature-card:hover {
    transform: translateY(-5px);
} */

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 2.5rem;
    color: #DAA520;
}

.feature-card h4 {
    position: relative;
    top: -50px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d5016;
    margin-bottom: 15px;
}

.feature-card p {
    position: relative;
    top: -50px;
    color: #666;
    line-height: 1.6;
}

/* Company Section */
.company {
    padding: 80px 0;
    background: white;
    position: relative;
    overflow: visible;
}

.company-logo {
    text-align: right;
    margin-bottom: 30px;
}

.company-logo img {
    max-width: 300px;
    height: auto;
}

.company-background {
    position: absolute;
    right: 0;
    bottom: -80px;
    width: 100%;
    height: 150px;
    opacity: 1;
    z-index: 0;
}

.company-h {
    position: absolute;
    left: 0px;
    bottom: -10px;
    z-index: 0;
}

.company .container {
    position: relative;
    z-index: 2;
}

/* Economic Impact Section */
.economic-impact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.stat-line {
    width: 60px;
    height: 4px;
    background: #DAA520;
    margin: 0 auto 20px;
    border-radius: 2px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #2d5016;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Achievements Section */
.achievements {
    padding: 80px 0;
    background: white;
}

.achievements .subtitle {
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 40px;
}

.achievement-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.achievement-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Achievement Slider Styles */
.achievement-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5%;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #2d5016;
}

.dot:hover {
    background-color: #DAA520;
}

.participants {
    text-align: center;
}

.participants h5 {
    font-size: 1.5rem;
    color: #2d5016;
    margin-bottom: 30px;
}

.participant-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.participant-stat {
    text-align: center;
}

.participant-stat .number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #DAA520;
    margin-bottom: 10px;
}

.participant-stat .label {
    font-size: 1.1rem;
    color: #666;
}

/* Media Partners Section */
.media-partners {
    padding: 80px 0;
    background: #f8f9fa;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.partner-logo img {
    max-width: 200px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Vision Section */
.vision {
    padding: 80px 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.vision-background {
    width: 400px;
    height: 300px;
    opacity: 1;
    z-index: 1;
}

.vision-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision .container {
    position: relative;
    z-index: 2;
}

/* Partnership Section */
.partnership {
    padding: 80px 0;
    overflow: visible;
    color: white;
    position: relative;
}

.partnership-background {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 600px;
    opacity: 0.2;
    z-index: 1;
}

.partnership-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partnership-content {
    padding: 20px;
    position: relative;
    border-radius: 2%;
    z-index: 2;
    color: #000;
    background-color: #F2F2F2;
    max-width: 900px;
}

.partnership .section-title {
    color: #1B4128;
    margin-bottom: 20px;
}

.partnership .subtitle {
    font-size: 1.3rem;
    color: #DAA520;
    margin-bottom: 40px;
}

.benefits {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.benefit-item i {
    color: #DAA520;
    margin-left: 15px;
    font-size: 1.2rem;
}

.partnership .cta-button {
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    color: white;
}

/* Footer */
.footer {
    background: #2d5016;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-info h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #DAA520;
}

.footer-info p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.location-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #ccc;
}

.social-media {
    margin: 30px 0;
}

.social-media a {
    color: #DAA520;
    font-size: 1.5rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: white;
}

.copyright {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #DAA520;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .logo {
        top: 15px;
        left: 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .company-background,
    .company-h {
        display: none;
    }
    
    .partnership-background {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        height: 90vh;
        padding: 20px 0;
    }
    
    .logo {
        /* position: relative; */
        /* top: 0px; */
        /* left: auto; */
      
    }
    
    .logo img {
        height: 100px;
        width: auto;
    }
    
    .hero-content {
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        height: 100%;
    }
    
    .location {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
    
    .year {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .participant-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .partners-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    .partner-logo img {
        max-width: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-nav {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .company-background,
    .vision-background,
    .partnership-background {
        display: none;
    }

    /* Responsive slider styles */
    .achievement-slider {
        max-width: 100%;
        margin: 0 10px;
    }

    .slider-container {
        height: 300px;
    }

    .slider-dots {
        gap: 8px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }
    
    .partnership-content {
        margin: 0 auto;
    }
    
    .benefit-item {
        font-size: 1rem;
    }
    
    /* Touch-friendly improvements */
    .cta-button {
        min-height: 44px;
        min-width: 44px;
        padding: 15px 30px;
    }
    
    .dot {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        height: 80vh;
    }
    
    .logo img {
        height: 60px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .year {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
        min-height: 44px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }

    /* Mobile slider styles */
    .achievement-slider {
        margin: 0 5px;
    }

    .slider-container {
        height: 250px;
    }

    .slider-dots {
        gap: 6px;
    }

    .dot {
        width: 8px;
        height: 8px;
        min-width: 8px;
        min-height: 8px;
    }
    
    .partnership-content {
        padding: 15px;
    }
    
    .benefit-item {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .benefit-item i {
        font-size: 1rem;
        margin-left: 10px;
    }
    
    .location p {
        font-size: 1rem;
    }
    
    /* Additional mobile spacing */
    .intro,
    .company,
    .economic-impact,
    .achievements,
    .media-partners,
    .vision,
    .partnership {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 15px;
    }
    
    .description {
        margin-bottom: 40px;
    }
    
    .features-grid {
        margin-top: 40px;
    }
    
    .stats-grid {
        margin-top: 40px;
    }
}
