:root {
    --primary-color: #ff7200;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --text-dark: #34495e;
    --text-light: #7f8c8d;
    --background-light: #ecf0f1;
    --light-color: #ffffff; 
    --dark-gradient: linear-gradient(to right, #2c3e50, #34495e);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    background-color: var(--background-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.mobile-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--dark-gradient);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.mobile-logo {
    display: flex;
    align-items: center;
}

.mobile-logo .header-logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.mobile-logo .header-title {
    font-size: 2rem;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--light-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: calc(100vh - 75px);
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 999;
    overflow-y: auto;
    padding: 20px 0;
}

.mobile-nav.active {
    display: block;
}

.mobile-menuderoulant {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    gap: 0;
}

.mobile-menuderoulant li {
    width: 90%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.mobile-menuderoulant li:last-child {
    border-bottom: none;
}

.mobile-menuderoulant > li > a {
    color: var(--light-color);
    font-size: 1.3rem;
    font-weight: 600;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.mobile-menuderoulant > li > a:hover {
    color: var(--primary-color);
}

.mobile-menuderoulant > li > a i {
    margin-left: 10px;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.mobile-menuderoulant > li.active > a i {
    transform: rotate(180deg);
}

.mobile-menuderoulant > li.active > a {
    color: var(--primary-color);
}

.mobile-nav .sousmenu {
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    margin: 5px 0;
    border-radius: 5px;
}

.mobile-nav .sousmenu.active {
    display: block;
}

.mobile-nav .sousmenu li {
    border-bottom: none;
    width: 100%;
}

.mobile-nav .sousmenu li a {
    color: var(--light-color);
    padding: 12px 20px;
    font-size: 1.1rem;
    text-align: left;
    padding-left: 40px;
    transition: background-color 0.3s ease;
    display: block;
}

.mobile-nav .sousmenu li a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.mobile-nav .sousmenu li.active-menu-item a {
    background-color: rgba(255, 114, 0, 0.2);
    border-left: 3px solid var(--primary-color);
    color: var(--primary-color);
}

.page-header {
    width: 100%;
    background: var(--dark-gradient);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

.logo-area {
    display: flex;
    align-items: center;
}

.header-logo-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.header-title {
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: 0.5px;
}

.header-nav ul {
    display: flex;
    gap: 35px;
}
.header-nav ul li{
    position: relative;
}

.header-nav ul li a {
    color: var(--light-color);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}

.header-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: transform 0.3s ease;
}

.header-nav ul li a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.header-nav ul li a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.header-nav ul li.active > a {
    color: var(--primary-color);
}
.header-nav ul li.active > a::after {
    transform: translateX(-50%) scaleX(1);
}

.header-nav .sousmenu li.active-menu-item a {
    background-color: rgba(255, 114, 0, 0.1);
    border-left: 3px solid var(--primary-color);
}

.header-nav .sousmenu {
    display: none;
    position: absolute;
    background-color: var(--secondary-color);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
    min-width: 220px;
    z-index: 1;
    border-top: 4px solid var(--primary-color);
    padding: 10px 0;
    top: 100%;
    left: 0;
    border-radius: 0 0 8px 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding-top: 15px;
}

.header-nav .menuderoulant li:hover > .sousmenu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.header-nav .sousmenu li a {
    color: var(--light-color);
    padding: 12px 25px;
    display: block;
    font-size: 1.05rem;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: 'Roboto', sans-serif;
}

.header-nav .sousmenu li a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.hero-dev {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('Photo/devhero.png') no-repeat center center/cover;
    color: var(--light-color);
    display: flex;
    align-items: center;
    margin-top: 85px;
    border-bottom: 5px solid var(--primary-color);
}

.hero-overlay {
    width: 100%;
    padding: 0 5%;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-dev h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-dev h1 span {
    color: var(--primary-color);
    display: inline-block;
}

.hero-dev p {
    font-size: 1.3rem;
    line-height: 1.7;
    max-width: 700px;
}

.training-details {
    padding: 100px 5%;
    background-color: var(--light-color);
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;
}

.introduction {
    margin-bottom: 60px;
    text-align: center;
}

.introduction h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.introduction h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.introduction p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.program-sections {
    margin-top: 60px;
}

.program-sections h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.program-card {
    background-color: var(--background-light);
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-header {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.card-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.card-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.card-body {
    padding: 30px;
}

.card-body ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.card-body li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.card-body i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.price-info {
    text-align: right;
    margin-top: 20px;
}

.price-info span {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.3rem;
    font-family: 'Montserrat', sans-serif;
}

.cta-section {
    background: var(--dark-gradient);
    color: var(--light-color);
    padding: 100px 5%;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.cta-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

.btn-cta {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    background-color: #e06a00;
    transform: translateY(-5px);
}

.btn-cta i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: translateX(5px);
}

footer {
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 70px 20px 25px;
    font-size: 0.98rem;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1300px;
    margin: 0 auto 50px auto;
    text-align: left;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 280px;
    margin-bottom: 25px;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.55rem;
    margin-bottom: 22px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-section p, .footer-section ul {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-section a {
    color: var(--light-color);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.footer-logo .logo {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
}

.schedule-list li {
    margin-bottom: 10px;
    color: #ccc;
}

.schedule-list i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.payment-methods h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.payment-methods p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.payment-methods i {
    margin-right: 10px;
    width: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 25px;
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
    color: #aaa;
}

.footer-bottom p span {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-legal-links a {
    color: #aaa;
    margin: 0 18px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 1200px) {
    .hero-dev h1 {
        font-size: 3rem;
    }
    
    .introduction h2 {
        font-size: 2.5rem;
    }
    
    .program-sections h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 1024px) {
    .page-header {
        display: none;
    }
    
    .mobile-header {
        display: flex;
    }
    
    .hero-dev {
        margin-top: 75px;
        min-height: 600px;
    }
    
    .hero-dev h1 {
        font-size: 2.5rem;
    }
    
    .hero-dev p {
        font-size: 1.1rem;
    }
    
    .introduction h2 {
        font-size: 2rem;
    }
    
    .card-header h3 {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .footer-section h3 {
        font-size: 1.4rem;
    }
}

@media (min-width: 1025px) {
    .mobile-header {
        display: none !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
    
    .page-header {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-dev h1 {
        font-size: 2.2rem;
    }
    
    .program-card {
        margin-bottom: 20px;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .btn-cta {
        font-size: 1.1rem;
        padding: 12px 30px;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-section {
        min-width: unset;
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .mobile-logo .header-title {
        font-size: 1.5rem;
    }
    
    .mobile-logo .header-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .hero-dev {
        min-height: 500px;
    }
    
    .hero-dev h1 {
        font-size: 1.8rem;
    }
    
    .hero-dev p {
        font-size: 1rem;
    }
    
    .introduction h2 {
        font-size: 1.6rem;
    }
    
    .card-body li {
        font-size: 0.9rem;
    }
    
    .price-info span {
        font-size: 1.1rem;
        padding: 8px 20px;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .btn-cta {
        font-size: 1rem;
        padding: 10px 25px;
    }
    
    .footer-logo .logo {
        font-size: 1.8rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
}