
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body .service-sous-menu p{
    position: relative;
    top: 10px;
    cursor: pointer;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

 h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 40px 0;
}
/* ======================================================== */
                    /* GLOBAL STYLES */
.cyber-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    
}


.hero-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-blue);
    color: var(--color-dark);
}

.btn-primary:hover {
    background: var(--color-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 42, 252, 0.701);
}

.btn-outline {
    position: relative;
  background: transparent;
  border: 2px solid var(--color-blue);
  transition: ease-in 0.3s;
  box-shadow: 0 0 10px rgba(0, 0, 255, 0.58);
  overflow: hidden; 
  color: var(--color-light);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
    background: var(--color-blue-dark);
    box-shadow: 0 10px 20px rgba(0, 42, 252, 0.701);
}
.btn-outline::before {
  content: "";
  position: absolute; 
  top: 0;
  left: 0;
  width: 0%;
  height: 100%; 
  background-color: var(--color-blue);
  box-shadow: 0 0 15px var(--color-blue);
  transition: width 0.5s ease;
  z-index: -1; 
}
.btn-outline:hover::before {
  width: 100%;
}


/* ======================================================== */
                    /* HERO SECTION */
/* ======================================================== */
.hero-section {
background: var(--gradient-hero);
  position: relative;
  height: 120vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
color: var(--color-white);

}

.hero-container-global {
    position: absolute;
}

.hero-content{
    justify-content: center;
    align-items: center;
    text-align: justify;
    text-align: center;
}
.hero-video {
  position: absolute;
  width: 100%;
  height: 120vh;
  object-fit: cover;
  opacity: 0.2;
  overflow: hidden;
}

.cyber-overlay {
  position: absolute;
  background: linear-gradient(45deg, rgba(0, 51, 153, 0.4), rgba(0, 0, 0, 0.5));
  z-index: -5;
}
.cyber-title {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.cyber-title span {
    color: var(--color-primary);
    position: relative;
}

.cyber-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--color-primary);
    z-index: -1;
    filter: blur(10px);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--color-light-dark);
    text-align: justify;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.scroll-indicator{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-primary);
}
.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.wheel {
    width: 5px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 3px;
    margin-top: 5px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

.scroll-indicator span {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
}
/* ======================================================== */
                /* TEMPLATES SECTION */
/* ======================================================== */
.templates-fichier-portfolio {
    background: rgba(137, 43, 226, 0.13);
            color: black;

}
 .section-title, .section-subtitle{
        text-align: center;
        margin: 10px 0;
    }
    .section-title{
        font-size: 2.5rem;
    }
.services-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,240,252,0.05) 0%, transparent 70%);
    animation: rotate 60s linear infinite;
    z-index: 0;
}
.templates-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid orangered;
    color: var(--color-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.filter-btn.active, .filter-btn:hover {
    background: orangered;
    color: white;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.template-card {
    background: black;
    border-radius: 8px;
    color: white;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.template-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 240, 252, 0.2);
}

.template-preview {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.template-card:hover .template-preview img {
    transform: scale(1.1);
}

.template-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-card:hover .template-overlay {
    opacity: 1;
}

.preview-btn {
    display: inline-block;
    padding: 10px 20px;
    background: orangered;
    color: var(--color-dark);
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.preview-btn:hover {
    background: orange;
    transform: translateY(-3px);
}

.template-info {
    padding: 20px;
}

.template-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-light);
}

.template-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.template-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--color-gray);
}

.template-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.templates-cta {
    text-align: center;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid rgba(0, 240, 252, 0.1);
}

.templates-cta p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.templates-cta a{
    color: white;
}

/* ==================================================== */
                /* RESPONSIVE DESIGN */
/* ==================================================== */
@media (max-width: 768px) {
    
     /****** Hero Section Responsive ******/
       .hero-section {
    height: 98vh;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 35px;;
    }
     .hero-content a{
        color: var(--color-light);
     }
     .templates-grid {
    display: grid;
    grid-template-columns: repeat(2,  1fr);
    gap: 20px;
}

}

@media (max-width: 500px) {
   
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
  .templates-grid {
    display: grid;
    grid-template-columns: repeat(1,  1fr);
    gap: 10px;
}
   .templates-filter .filter-btn {
        width: 45%;
        margin: 0px;
        text-align: center;
        font-size: 10px;
    }
}

@media (max-width: 380px) {
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
  
   .templates-filter .filter-btn {   
    width:40%;
    flex-wrap: wrap;
    }
}