:root {
    --primary-blue: #0057B8;
    --dark-blue: #0B1F3A;
    --light-blue: #00AEEF;
    --white: #FFFFFF;
    --light-gray: #F2F5F8;
    --yellow-accent: #FFC400;
    --orange-action: #FF7A00;

    --text-dark: #1F2937;
    --text-body: #4B5563;

    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    color: var(--text-body);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography Utilities */
.text-primary {
    color: var(--primary-blue);
}

.text-accent {
    color: var(--light-blue);
    background: linear-gradient(90deg, var(--light-blue), #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-white {
    color: var(--white);
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    box-shadow: 0 4px 12px rgba(0, 87, 184, 0.3);
}

.btn-action {
    background-color: var(--orange-action);
    color: var(--white);
}

.btn-action:hover {
    background-color: #E66A00;
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark-blue);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
    color: var(--primary-blue);
}

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

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

.btn-text {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-text:hover {
    color: var(--orange-action);
    gap: 0.75rem;
}

.btn-icon {
    padding: 0.75rem;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Sections */
.section {
    padding: 7rem 0;
}

.bg-light {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: var(--dark-blue);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-body);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 55px;
    width: 55px;
    object-fit: contain;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 2px;
    border: 1px solid rgba(0, 87, 184, 0.1);
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo-t {
    color: var(--dark-blue);
}

.logo-s {
    color: var(--primary-blue);
    margin-left: 0.25rem;
}

/* Typography Text Alignments */
.about-text,
.contact-desc {
    text-align: justify;
    hyphens: auto;
}

.service-text,
.formation-text {
    text-align: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-blue);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--dark-blue);
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.92) 0%, rgba(0, 87, 184, 0.75) 100%);
    z-index: 1;
}

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

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 87, 184, 0.1);
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-blue);
    color: var(--white);
}

.service-title {
    font-size: 1.25rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Formations Grid */
.formations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.formation-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.formation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.formation-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 5rem;
}

.formation-content {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

.formation-title {
    font-size: 1.25rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 700;
}

.formation-text {
    margin-bottom: 1.5rem;
    color: var(--text-body);
}

.formation-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: auto;
}


/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--yellow-accent);
    color: var(--dark-blue);
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
    z-index: 2;
}

.exp-number {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--dark-blue);
}

.exp-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--dark-blue);
}

.about-text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-blue);
    font-weight: 500;
}

.features-list li i {
    color: var(--primary-blue);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-method-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.cm-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.cm-details {
    display: flex;
    flex-direction: column;
}

.cm-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.cm-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
}

.contact-form-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
    background-color: #F9FAFB;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 87, 184, 0.1);
    background-color: var(--white);
}

/* Footer */
.footer {
    background-color: #05101E;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 4rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-desc {
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a:hover {
    color: var(--light-blue);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact ul li i {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 992px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .experience-badge {
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 3rem 2rem;
        transition: var(--transition);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        align-items: center;
        margin-bottom: 2rem;
        gap: 1.5rem;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}

/* Floating Buttons */
.theme-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: var(--dark-blue);
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.theme-float:hover {
    transform: scale(1.1);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: #FFF;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

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

.stars {
    color: var(--yellow-accent);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.client-name {
    font-weight: 700;
    color: var(--dark-blue);
}

.client-role {
    font-size: 0.875rem;
    color: var(--primary-blue);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: var(--white);
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: var(--white);
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* Dark Mode Theme */
[data-theme="dark"] {
    --white: #0B1F3A;
    --light-gray: #05101E;
    --dark-blue: #FFFFFF;
    --text-dark: #FFFFFF;
    --text-body: #A0AEC0;
}

[data-theme="dark"] .navbar {
    background-color: rgba(11, 31, 58, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .formation-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .contact-form-container {
    background-color: #112A46;
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .form-control {
    background-color: #0B1F3A;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-secondary {
    background-color: #112A46;
    color: #FFFFFF;
}

[data-theme="dark"] .faq-question {
    background-color: #112A46;
    color: #FFFFFF;
}

[data-theme="dark"] .faq-answer {
    background-color: #112A46;
}

[data-theme="dark"] .bg-light {
    background-color: #05101E;
}

[data-theme="dark"] .bg-dark {
    background-color: #030A14 !important;
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .text-white {
    color: #FFFFFF !important;
}

[data-theme="dark"] .logo-img {
    background-color: #FFFFFF !important;
}

[data-theme="dark"] .theme-float {
    background-color: #FFD700;
    color: #05101E;
}

[data-theme="dark"] .contact-desc {
    color: #A0AEC0 !important;
}

[data-theme="dark"] .footer-desc,
[data-theme="dark"] .footer-contact ul li {
    color: #A0AEC0 !important;
}