/* ==================== VARIABLES ==================== */
:root {
    --primary: linear-gradient(180deg, #97290b, #db4409);
    --primary-dark: #f7632d; 
    --primary-light: #ffffff;
    --text-dark: #2c3e50;
    --text-gray: #7f8c8d;
    --text-light: #ecf0f1;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 20px rgba(0,0,0,0.15);
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ==================== UTILITIES ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}



/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
    
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    color: #ac5633;
    border-color: #ac5633;
}

.section-footer{

     margin: 5% 30% -0.5% 41% ; 
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin-left: 200%;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(22, 160, 133, 0.1);
    color: var(--primary);
}


/* ==================== NAVIGATION ==================== */



/* ================= MENU NAVBAR ================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    z-index: 999;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* MENU DESKTOP */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

/* HAMBURGER */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 26px;
    height: 3px;
    background: #111;
    border-radius: 3px;
    transition: 0.3s;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

    .mobile-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu li a {
        display: block;
        padding: 18px;
        font-size: 17px;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    /* Animation hamburger -> X */
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}



/* ==================== HERO ==================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
     animation: fadeIn 1s ease;

}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
     animation: fadeIn 1s ease;

}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4), rgba(0,0,0,0.6));
     animation: fadeIn 1s ease;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 900px;
     animation: fadeIn 1s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
     animation: fadeIn 1s ease;

}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
     animation: fadeIn 1s ease;

}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
     animation: fadeIn 1s ease;

}

/* ==================== PAGE HERO ==================== */
.page-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
     animation: fadeIn 1s ease;

}

.page-hero.small {
    height: 320px;
}

.page-hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem;
     animation: fadeIn 1s ease;

}

.page-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
     animation: fadeIn 1s ease;

}

.page-hero-content p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 3rem 0;
    background: var(--bg-light);
     animation: fadeIn 1s ease;

}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
     animation: fadeIn 1s ease;

}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* ==================== DESTINATIONS ==================== */


.destinations-section {
    padding: 5rem 0;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.destination-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.destination-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.3s;
}

.destination-card:hover img {
    transform: scale(1.05);
}

.destination-content {
    padding: 1.5rem;
}

.destination-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.destination-header h3 {
    font-size: 1.5rem;
    flex: 1;
}

.destination-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}


*{margin:0;padding:0;box-sizing:border-box;font-family:Arial,sans-serif}

/* HERO */
.page-hero{position:relative;height:60vh}
.page-hero img{width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.page-hero-content{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff;text-align:center}

/* FILTRES */
.filter-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:2rem}
.tab-btn{padding:10px 20px;border-radius:30px;border:none;background:#eee;cursor:pointer}
.tab-btn.active{background:#000;color:#fff}

/* CONTENU */
.content-container{padding:2rem;display:flex;flex-direction:column;gap:2.5rem}
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem;align-items:center}

/* IMAGE */
.why-image{position:relative}
.why-image img{width:100%;height:320px;object-fit:cover;border-radius:20px}


/* TEXTE */
.why-content h3{font-size:26px;margin-bottom:10px}
.why-content p{line-height:1.6}

/* BOUTON A PROPOS */
.about-btn{margin-top:15px;padding:10px 18px;border-radius:25px;border:none;background:#000;color:#fff;cursor:pointer}
.about-btn:hover{background:#444}

/* CONTACT SPECIAL */

.form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group label i {
    color: #9f521e;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9c5019;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/*      contact special      */


/* ===== CONTACT PAGE ===== */

.container1 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 60px;
    margin-top: 5%;
  
}


.contact-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;

}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(180deg, #b64425, #ff7c02);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.contact-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.contact-text {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-link {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #cc5d2e;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #ae4b27;
}

.contact-link.whatsapp {
    color: #ae4b27;
}

.contact-hours {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.contacter{
   
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:#454343;
    text-align:center;
    margin-top: 6%;
}



/* ===== BOX À PROPOS (STYLE IMAGE) ===== */
.about-box{
  display: none;
  margin-top: 20px;
  padding: 22px 24px;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);

  border-radius: 22px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.18);

  animation: fadeUp 0.35s ease;
}

.about-box h4{
  font-size: 18px;
  margin-bottom: 10px;
  color: #222;
}

.about-box p{
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.about-box i{
 color: #3d66cc;


}
/* Bouton fermer */
.close-btn{
  margin-top: 14px;
  padding: 8px 18px;

  border: none;
  border-radius: 30px;

  background: #000;
  color: #fff;
  font-size: 14px;

  cursor: pointer;
  transition: background 0.3s ease;
}

.close-btn:hover{
  background: #333;
}

/* Animation douce */
@keyframes fadeUp{
  from{
    opacity: 0;
    transform: translateY(15px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}


/* REGIONS */
.destination-item{padding:1.5rem;border-radius:24px;margin-top: -2%;}
.nord{background:#e3f2fd;border-left:6px solid #54a2e7}
.sud{background:#fff3e0;border-left:6px solid #f49a50}
.est{background:#e8f5e9;border-left:6px solid #2e7d32}
.ouest{background:#fff0e6;border-left:6px solid #8d4b20}
.centre{background:#ede7f6;border-left:6px solid #a8aaaa}

/* HIDDEN */
.hidden{opacity:0;height:0;overflow:hidden}

/* RESPONSIVE */
@media(max-width:768px){
  .why-grid{grid-template-columns:1fr;width: 100%;}
  .why-image img{height:220px}
  .why-image span{margin-left: -0.5%;margin-bottom: 5%;}
   .btnio{ margin: 5% 45% -2.5% 35% ; }
  
}

@media(max-width:1500px){
  .why-grid{grid-template-columns:1fr;width: 100%;}
  .why-image img{height:220px}
  .why-image span{margin-left: -0.5%;margin-bottom: 5%;}
   .btnio{ margin: 5% 45% -2.5% 35% ; }
  
}

@media(max-width:768px){
  .about-box{
    padding: 18px;
    border-radius: 18px;
  }

  .about-box p{
    font-size: 14px;
  }

  .destination-item{ margin-top: -6%;}
}

@media (max-width: 992px){
 .why-grid{grid-template-columns:1fr;width: 100%;}
  .why-image img{height:220px}
  .why-image span{margin-left: -0.5%;margin-bottom: 5%;}
  .destination-item{ margin-top: -6%;}

}

/* ==================== WHY SECTION ==================== */
.why-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: center;
}

.why-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.why-content h2 {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(22, 160, 133, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--text-gray);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    position: relative;
    padding: 8rem 0;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.6));
}

.cta-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ce5b1e;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: #ce5b1e;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: #9c3817;
    transform: translateY(-3px);
}

.newsletter-form {
    margin-top: 20px;
}

.input-group {
    display: flex;
    gap: 10px;
}

.input-group input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.2);
}

.btn-newsletter {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: #8b3a18;
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-newsletter:hover {
    background: #ae5d27;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #f16a1d;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==================== FOOTER ==================== */

.destination-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.filter-tabs {
            text-align: center;
            margin: 20px 0 40px 0;
            padding-bottom: 10px;
        }

        .tab-btn {
            padding: 10px 18px;
            margin: 0 5px;
            border: 1px solid #ccc;
            background-color: #ffffff;
            color: #333;
            cursor: pointer;
            border-radius: 20px;
            transition: background-color 0.3s, color 0.3s, border-color 0.3s;
            font-weight: 500;
        }

        /* Style du bouton actif */
        .tab-btn.active {
            background-color: #a44030; /* Vert vif */
            color: white;
            border-color: #a44030;
            font-weight: bold;
        }

        .tab-btn:hover:not(.active) {
            background-color: #e9ecef;
        }

        /* Styles pour les sections de contenu */
        .content-container {
            max-width: 75%;
            margin: 0 auto;
        }
        
        .destination-item {
            border: 1px solid #e0e0e0;
            padding: 20px;
            margin-bottom: 15px;
            border-radius: 8px;
            background-color: #ffffff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
            /* Ajout d'une transition CSS pour l'effet d'apparition/disparition plus doux */
            transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out; 
            opacity: 1;
            transform: translateY(0);
        }

        .destination-item h3 {
            margin-top: 0;
            color: #0056b3;
        }

        /* 🚨 Règle CSS CRUCIALE : Masque les sections en appliquant une transition douce */
        .destination-item.hidden {
            display: block; /* Nécessaire pour que la transition d'opacité fonctionne */
            opacity: 0;
            height: 0;
            padding: 0 20px;
            margin-bottom: 0;
            border: none;
            overflow: hidden;
            transform: translateY(20px);
        }

.highlights {
    margin: 1.5rem 0;
}

.highlights h4 {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-dark);
}

/* ==================== SERVICES PAGE ==================== */
.services-cards {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.9375rem;
}

.custom-tours {
    padding: 5rem 0;
    background: var(--bg-light);
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: center;
}

.custom-content .lead {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.custom-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.custom-train{
     border-radius: 12px;
    box-shadow: var(--shadow-lg);

}


.packages-section {
    padding: 5rem 0;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.package-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.package-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.package-content {
    padding: 1.5rem;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.package-highlights {
    margin: 1.5rem 0;
}

.package-highlights li {
    color: var(--text-gray);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.how-it-works {
    padding: 5rem 0;
    background: var(--bg-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step h3 {
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--text-gray);
    font-size: 0.9375rem;
}

.btnio{

    margin: 5% 45% -2.5% 45% ;

}


.separator {
    width: 80%;
    height: 1.5px;
    background-color: #625d5b;
    margin: 40px auto;
    border-radius: 4px;
}

#modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.6);
        justify-content: center;
        align-items: center;
    }

.modal-box {
        background: white;
        padding: 20px;
        width: 90%;
        max-width: 400px;
        border-radius: 12px;
    }

.close {
        float: right;
        font-size: 22px;
        cursor: pointer;
    }


/* ==================== CONTACT PAGE ==================== */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.info-card h3 {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: rgba(22, 160, 133, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.info-text p {
    color: var(--text-gray);
    font-size: 0.9375rem;
}



.faq-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.success-message {
    position: fixed;
    top: 100px;
    right: 2rem;
    background: #27ae60;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    display: none;
    animation: slideIn 0.3s ease;
}

.success-message.show {
    display: block;
}

.success-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.success-icon {
    font-size: 1.5rem;
}

.itinéraire{

    color: #d61a23;
}



/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        width: 220px;
        gap: 15px;
        list-style: none;
        box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
        animation: fadeIn 0.3s ease;
    }

    .nav-menu.active {
        display: flex;
    }
     .nav-menu li {
        width: 100%;
        text-align: center;
        
    }

    .nav-menu li a {
        display: block;
        padding: 18px;
        font-size: 17px;
    }

    .nav-menu li a {
        color: #222;
        font-size: 16px;
        text-decoration: none;
    }

    .mobile-toggle {
        display: flex;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Mobile */

@media(max-width: 768px) {

    .mobile-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .destination-item {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .custom-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }

    .stats-grid,
    .destinations-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-content h1 {
        font-size: 2.5rem;
    }
}

.Aina{
    color: #C0392B;
}

.DEBA{

    height: 60px;
}
/* slide -----------------------*/

.hero.slider {
  position: relative;
  width: 100%;               /* Très important : prend toute la largeur */
  max-width: 900px;          /* Taille max sur grand écran */
  aspect-ratio: 16 / 9;      /* Toujours un bon ratio (modifie si tu veux) */
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* Empêche la déformation */
  display: none;             /* Masqué par défaut */
}

.slide.active {
  display: block;
}

.dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background-color: white;
}

/* --- Responsive mobile --- */
@media (max-width: 600px) {
  .slider {
    aspect-ratio: 4 / 3; /* plus haut sur mobile */
    border-radius: 8px;
  }

  .dot {
    height: 8px;
    width: 8px;
  }

  .destination-item{ margin-top: -6%;}

  .mission-img1 {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ff8c00;  /* tu peux changer la couleur */
    margin-bottom: 15px;
    margin-left: 45%;
    
}
  }




        .sekai-hero h1 {
            font-size: 42px;
            margin: 0;
            font-weight: bold;
        }

        .shinobi-section {
            max-width: 1100px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .kami-content {
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 14px rgba(0,0,0,0.08);
            line-height: 1.7;
            font-size: 17px;
        }

        .nakama-values {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .kotatsu-box {
            background: #ffffff;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.07);
            text-align: center;
        }

        .kotatsu-box h3 {
            color: #4b4241;
            margin-bottom: 10px;
        }
/* ICONES */
.valeur-icon {
    font-size: 40px;
    color: #a44030;
    margin-bottom: 40px;
}

/* Effet hover */
.kotatsu-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transition: 0.2s;
}

.shinobi-section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    color: #5a4f48;
}


.separator2 {
    width: 70%;
    height: 1.5px;
    background-color: #625d5b;
    margin: 40px auto;
    border-radius: 4px;
    margin-top: 5%;
    margin-bottom: 4%;
}

.separator3 {
    width: 55%;
    height: 3px;
    background-color: #625d5b;
    margin: 40px auto;
    border-radius: 4px;
    margin-top: 2.5%;
    margin-bottom: 5.5%;
}


.mission-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ff8c00;  /* tu peux changer la couleur */
    margin-bottom: 15px;
    margin-left: 35%;
    
}

.mission-img1 {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ff8c00;  /* tu peux changer la couleur */
    margin-bottom: 15px;
    margin-left: 45%;
    
}


/* Conteneur principal - toutes les étoiles par défaut sont grises */
.rating-stars {
    color: #ccc; /* Couleur par défaut (grise) des étoiles vides */
    font-size: 1.5em; 
    display: inline-block;
}

/* 🚨 Appliquer la couleur or uniquement aux étoiles pleines/demies */
.rating-stars .fa-solid.fa-star,
.rating-stars .fa-solid.fa-star-half-stroke {
    color: gold;
}




.testimonials {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.testimonials h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.subtitle {
  color: #666;
  margin-bottom: 40px;
}

.slider1 {
  max-width: 800px;
  margin: auto;
  overflow: hidden;
  position: relative;
}

.slides1 {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial {
  min-width: 100%;
  padding: 30px;
  box-sizing: border-box;
}

.testimonial p {
  font-size: 18px;
  font-style: italic;
  color: #333;
}

.testimonial h4 {
  margin-top: 15px;
  color: #111;
  font-weight: bold;
}

/* Dots */
.azee {
  margin-top: 20px;
}

.aze {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.aze.active {
  background: #111;
}


/*  --------------code --------------*/

.faune-section {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.faune-titre {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 50px;
}

.faune-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.faune-carte {
  background: #fff;
}

.faune-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 14px;
}

.faune-nom {
  margin-top: 18px;
  font-size: 20px;
  font-weight: bold;
}

.faune-sous-titre {
  margin: 8px 0;
  font-weight: bold;
}

.faune-description {
  margin-top: 10px;
  line-height: 1.6;
  font-size: 15px;
  color: #555;
}

/* Responsive */
@media (max-width: 900px) {
  .faune-grille {
    grid-template-columns: repeat(2, 1fr);
  }
/* .btnio{

    

}*/
.custom-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 45%;
    height: 50%;
    margin-left:5%;
    margin-top: 75%;

}


}

@media (max-width: 600px) {
  .faune-grille {
    grid-template-columns: 1fr;

  }

}

@media (max-width: 680px) {


  .mission-img1 {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ff8c00;  /* tu peux changer la couleur */
    margin-bottom: 15px;
    margin-left: 100%;
    
}

.dots {
    position: absolute;
    bottom: 10px;   
    left: 80%;         
    transform: translateX(-50%); 
    z-index: 5;         
    display: flex;      
    gap: 10px;    
    margin-left: 1.6%;     
}

.custom-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 80%;
    height: 25%;
    margin-left:10%;
    margin-top: 145%;

}
}


/*-------------------------rehetra---------*/

@media(max-width: 1080px){
   /* --- Styles de base pour la section Hero --- */
.hero {
    position: relative;
    height: 85vh; /* Hauteur importante pour l'impact visuel */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

/* --- Gestion du Diaporama (Slides) --- */
.hero-image, .slides, .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    object-fit: cover; /* Important : l'image remplit tout l'espace sans se déformer */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* --- Voile sombre pour la lisibilité --- */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.3), /* Clair en haut */
        rgba(0, 0, 0, 0.6)  /* Plus sombre au milieu/bas pour le texte */
    );
    z-index: 1;
}

/* --- Contenu (Texte et Boutons) --- */
.hero-content {
    position: relative;
    z-index: 2; /* Passe au-dessus de l'overlay et des images */
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 800px;
    margin-top: 12%;
}

.hero-content h1 {
    font-size: 2rem; /* Taille adaptée pour mobile */
    font-family: 'Serif', Georgia, serif; /* Pour le style élégant */
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 300;
}


/* --- Points de navigation (Dots) --- */


}
@media(max-width:768px){
   /* --- Styles de base pour la section Hero --- */
.hero {
    position: relative;
    height: 85vh; /* Hauteur importante pour l'impact visuel */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

/* --- Gestion du Diaporama (Slides) --- */
.hero-image, .slides, .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    object-fit: cover; /* Important : l'image remplit tout l'espace sans se déformer */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* --- Voile sombre pour la lisibilité --- */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.3), /* Clair en haut */
        rgba(0, 0, 0, 0.6)  /* Plus sombre au milieu/bas pour le texte */
    );
    z-index: 1;
}

/* --- Contenu (Texte et Boutons) --- */
.hero-content {
    position: relative;
    z-index: 2; /* Passe au-dessus de l'overlay et des images */
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 800px;
    margin-top: 12%;
}

.hero-content h1 {
    font-size: 2rem; /* Taille adaptée pour mobile */
    font-family: 'Serif', Georgia, serif; /* Pour le style élégant */
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 300;
}

/* --- Boutons Adaptatifs --- */
.hero-buttons {
    display: flex;
    flex-direction: column; /* Colonne sur mobile */
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px; /* Style arrondi "Pill" */
    text-decoration: none;
    font-weight: bold;
    width: 80%; /* Boutons larges sur mobile */
    max-width: 300px;
    transition: transform 0.3s ease;
}

.btn-primary {
    background-color: #b04a33; /* Votre couleur terre cuite */
    color: white;
    border: none;
    justify-content: center;
}

.btn-outline {
    background-color: transparent;
    font-size: 15px;
    color: #b04a33;
    border: 2px solid #b04a33;
    margin-top: 100%;
    margin-bottom: -200%;
    margin-left: -65%;
    padding-right: 150%;
    padding-top: 10%;
    padding-bottom: 10%;

}

/* --- Points de navigation (Dots) --- */
.dots {
    position: absolute;
    bottom: 10px;   
    left: 80%;         
    transform: translateX(-50%); 
    z-index: 5;         
    display: flex;      
    gap: 10px;         
}
.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5); /* Blanc semi-transparent */
    border-radius: 50%; /* Forme bien ronde */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white; /* Blanc pur pour le point actif */
    transform: scale(1.2);   /* Optionnel : agrandit un peu le point actif */
}

/* --- Ajustements pour Tablette et Desktop --- */
@media (min-width: 768px) {
    .hero-content h1 { font-size: 4rem; }
    
    .hero-buttons {
        flex-direction: row; /* Côte à côte sur grand écran */
        justify-content: center;
    }
    
    .btn { width: auto; }
}

.mission-img1 {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ff8c00;  /* tu peux changer la couleur */
    margin-bottom: 15px;
    margin-left: 35%;
    
}

.destination-item{
    padding:1rem;
    border-radius:24px;
    margin-top: -2%;
    width: 150%;
    margin-left: -25%;

}




.custom-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 80%;
    height: 50%;
    margin-left:10%;
    margin-top: 63%;

}

    .custom-grid{

    margin-top: 31%;
}


}

@media(max-width: 900px){


/* --- Gestion du Diaporama (Slides) --- */
.hero-image, .slides, .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    object-fit: cover; /* Important : l'image remplit tout l'espace sans se déformer */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}


}

@media(max-width: 600px){

    .custom-grid{

    margin-top: 230px;
}

.custom-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 90%;
    height: 50%;
    margin-left:5%;
    margin-top: 82%;

}

}

@media(max-width: 500px){

    .custom-grid{

    margin-top: 230px;
}

.custom-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 90%;
    height: 50%;
    margin-left:5%;
    margin-top: 97%;

}

.btn-outline {
    background-color: transparent;
    font-size: 15px;
    color: #b04a33;
    border: 2px solid #b04a33;
    margin-top: 164%;
    margin-bottom: -200%;
    margin-left: -65%;
    padding-right: 150%;
    padding-top: 10%;
    padding-bottom: 10%;

}
.dots {
    position: absolute;
    bottom: 10px;   
    left: 50%;         
    transform: translateX(-50%); 
    z-index: 5;         
    display: flex;      
    gap: 10px;         
}

}


@media(max-width: 700px){

    .custom-grid{

    margin-top: 230px;
}

.custom-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 90%;
    height: 50%;
    margin-left:5%;
    margin-top: 97%;

}

.btn-outline {
    background-color: transparent;
    font-size: 15px;
    color: #b04a33;
    border: 2px solid #b04a33;
    margin-top: 164%;
    margin-bottom: -200%;
    margin-left: -65%;
    padding-right: 150%;
    padding-top: 10%;
    padding-bottom: 10%;

}
.dots {
    position: absolute;
    bottom: 10px;   
    left: 81%;         
    transform: translateX(-50%); 
    z-index: 5;         
    display: flex;      
    gap: 10px;         
}

}

@media(max-width: 400px){

    .custom-grid{

    margin-top: 230px;
}

.custom-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 90%;
    height: 50%;
    margin-left:5%;
    margin-top: 123%;

}
.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 91%;
    margin-left: -2%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 91%;
    margin-left: -2%;
    font-size: 17px;

}

.custom-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 90%;
    height: 50%;
    margin-left:5%;
    margin-top: 143%;

}

.custom-content  {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    margin-top: 10%;
}


}

@media(max-width: 340px){

    .custom-grid{

    margin-top: 230px;
}

.custom-image img {
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    width: 90%;
    height: 50%;
    margin-left:5%;
    margin-top: 145%;

}

.custom-content  {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    margin-top: 10%;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    width: 82%;
    margin-left: -2%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
        width: 82%;
    margin-left: -2%;
    font-size: 17px;

}

.dots {
    position: absolute;
    bottom: 10px;   
    left: 79%;         
    transform: translateX(-50%); 
    z-index: 5;         
    display: flex;      
    gap: 10px;         
}



}

/****       respnsive new     * **** /

/* Tablets */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }
    
    .about-grid,
    .circuit-full {
        grid-template-columns: 1fr;
    }
    
    .circuit-full .circuit-image {
        height: 300px;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .immediate-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(44, 62, 80, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 20px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 10px 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .filter-options {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .circuits-grid,
    .services-grid,
    .categories-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .immediate-action {
        flex-direction: column;
        width: 100%;
    }
    
    .immediate-action .btn {
        width: 100%;
    }

    
}

@media(max-width: 1080px){

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    z-index: 999;
}

}

/* Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Print Styles */
@media print {
    .header,
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
}

@media (max-width: 768px) {
    .container1 {
        display: flex;
         display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
        flex-direction: column;
    }

    .contact-card {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .container1 {
        display: flex;
        margin-left: 10%;
        flex-direction: column;
    }

    .contact-card {
        width: 100%;
    }
  
}


.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px ;
    font-size: 10px;
    font-weight: 600;
    margin-top: 10px;
    color: #000000;
    border: 1px solid #6c6a6a;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: linear-gradient(180deg, #97290b, #db4409);;
    color: #000000;
}
