/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a4d7d;
    --secondary-color: #2b6ca3;
    --accent-color: #4a90d9;
    --text-dark: #2c3e50;
    --text-light: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #1e2836;
    --gray-light: #e9ecef;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 12px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 8px 0;
    background: rgba(26, 77, 125, 0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo h1 {
    color: var(--text-light);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s;
}

.header-contact:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.header-contact i {
    font-size: 1.3rem;
}

.header-contact span {
    font-weight: 600;
    font-size: 1.05rem;
}

/* Slider */
.slider {
    margin-top: 80px;
    position: relative;
    height: 650px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a4d7d 0%, #2b6ca3 100%);
}

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

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background: linear-gradient(135deg, rgba(26,77,125,0.95) 0%, rgba(43,108,163,0.9) 100%);
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920&h=1080&fit=crop&q=80') center/cover;
    opacity: 0.25;
    filter: brightness(0.8);
}

.slide:nth-child(2)::before {
    background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?w=1920&h=1080&fit=crop&q=80') center/cover;
}

.slide:nth-child(3)::before {
    background: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1920&h=1080&fit=crop&q=80') center/cover;
}

.slide-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-light);
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.slide-content p {
    font-size: 1.3rem;
    max-width: 750px;
    margin-bottom: 35px;
    line-height: 1.9;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: var(--text-light);
    border: 2px solid rgba(255,255,255,0.3);
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.8rem;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(5px);
    border-radius: 5px;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255,255,255,0.6);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255,255,255,0.6);
}

.dot:hover {
    background: rgba(255,255,255,0.7);
    transform: scale(1.2);
}

.dot.active {
    background: var(--text-light);
    width: 40px;
    border-radius: 10px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 16px 45px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 144, 217, 0.6);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--secondary-color);
    padding: 14px 35px;
    text-decoration: none;
    border: 2px solid var(--secondary-color);
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(43, 108, 163, 0.3);
}

/* Employee Lifecycle */
.employee-lifecycle {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.employee-lifecycle h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 70px;
    font-weight: 800;
    line-height: 1.3;
    position: relative;
    padding-bottom: 20px;
}

.employee-lifecycle h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.lifecycle-stages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
}

.stage {
    text-align: center;
    transition: transform 0.3s;
}

.stage:hover {
    transform: translateY(-10px);
}

.stage-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    box-shadow: 0 5px 20px rgba(74, 144, 217, 0.3);
    position: relative;
}

.stage-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.15);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.stage:hover .stage-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 30px rgba(74, 144, 217, 0.5);
}

.stage-icon i {
    font-size: 2.8rem;
    color: var(--text-light);
}

.stage h3 {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
}

/* Services */
.services {
    padding: 100px 0;
    background: var(--text-light);
}

.services h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 70px;
}

.service-card {
    background: var(--text-light);
    padding: 45px 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: height 0.4s;
    z-index: 0;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-color: var(--accent-color);
}

.service-card i {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.service-card:hover i {
    color: var(--text-light);
    transform: scale(1.1) rotateY(360deg);
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 18px;
    font-weight: 700;
    transition: color 0.4s;
    position: relative;
    z-index: 1;
}

.service-card:hover h3 {
    color: var(--text-light);
}

.service-card p {
    color: var(--text-dark);
    line-height: 1.9;
    font-size: 1.05rem;
    transition: color 0.4s;
    position: relative;
    z-index: 1;
}

.service-card:hover p {
    color: rgba(255,255,255,0.95);
}

/* Training Section */
.training {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
}

.training h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.training h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.15rem;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.8;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr));
    gap: 45px;
}

.training-card {
    background: var(--text-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-light);
}

.training-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.training-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

.training-card:hover img {
    transform: scale(1.1);
}

.training-content {
    padding: 35px;
}

.training-content h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.training-content p {
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.9;
    font-size: 1.05rem;
}

.training-content ul {
    list-style: none;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.training-content li {
    padding: 10px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 30px;
    font-size: 1.02rem;
    line-height: 1.6;
}

.training-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Why Us */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>');
    opacity: 0.5;
}

.why-us h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 70px;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.why-card {
    background: rgba(255,255,255,0.1);
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.15);
}

.why-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.4);
}

.why-card i {
    font-size: 3.5rem;
    margin-bottom: 22px;
    color: var(--accent-color);
    transition: all 0.4s;
    filter: drop-shadow(0 4px 8px rgba(74, 144, 217, 0.4));
}

.why-card:hover i {
    transform: scale(1.2) rotateY(360deg);
    color: #ffffff;
}

.why-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.why-card p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* About */
.about {
    padding: 100px 0;
    background: var(--text-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 35px;
    font-weight: 800;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 25px;
    line-height: 1.9;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.about-text .btn-primary {
    margin-top: 20px;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--accent-color);
    border-radius: 10px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: transform 0.5s;
}

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

/* Contact */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 70px;
    margin-top: 70px;
    background: var(--text-light);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 25px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s;
}

.info-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.info-item i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    min-width: 45px;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 700;
}

.info-item p {
    color: var(--text-dark);
    font-size: 1.05rem;
}

.contact-form {
    display: grid;
    gap: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-size: 1.05rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(43, 108, 163, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
    cursor: pointer;
}

.contact-form button {
    justify-self: start;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e2836 0%, #2c3e50 100%);
    color: var(--text-light);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color), var(--primary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 55px;
    margin-bottom: 25px;
}

.footer-col h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-col h4 {
    margin-bottom: 25px;
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-col p {
    margin-bottom: 25px;
    opacity: 0.85;
    line-height: 1.8;
    font-size: 1.05rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.footer-col li:hover {
    transform: translateX(5px);
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s;
    font-size: 1.05rem;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-col li i {
    margin-right: 12px;
    color: var(--accent-color);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px) rotate(360deg);
    border-color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.15);
    opacity: 0.8;
}

.footer-bottom p {
    font-size: 1.05rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 35px;
    right: 35px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: all 0.3s;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 6px 35px rgba(37, 211, 102, 0.8);
    }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: ripple 2s infinite;
    opacity: 0;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Modal Promocional */
.promo-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.promo-modal-content {
    position: relative;
    background-color: #fff;
    margin: 3% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    animation: slideDown 0.5s;
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.promo-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ff4757, #ff6348);
    color: white;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.promo-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: linear-gradient(135deg, #ff6348, #ff4757);
}

.promo-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
}

.promo-slide {
    display: none;
    width: 100%;
}

.promo-slide.active {
    display: block;
    animation: fadeInSlide 0.5s;
}

@keyframes fadeInSlide {
    from { opacity: 0; }
    to { opacity: 1; }
}

.promo-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.promo-prev,
.promo-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 77, 125, 0.8);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 5px;
    transition: all 0.3s;
    z-index: 10001;
    backdrop-filter: blur(5px);
}

.promo-prev:hover,
.promo-next:hover {
    background: rgba(26, 77, 125, 1);
    transform: translateY(-50%) scale(1.1);
}

.promo-prev {
    left: 15px;
}

.promo-next {
    right: 15px;
}

.promo-dots {
    text-align: center;
    padding: 20px 0;
    background: white;
    border-radius: 0 0 15px 15px;
}

.promo-dot {
    height: 12px;
    width: 12px;
    margin: 0 8px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
}

.promo-dot:hover {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.promo-dot.active {
    background-color: var(--primary-color);
    width: 35px;
    border-radius: 10px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .promo-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .promo-close {
        top: -10px;
        right: -10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .promo-prev,
    .promo-next {
        padding: 12px 16px;
        font-size: 20px;
    }
    
    .promo-prev {
        left: 10px;
    }
    
    .promo-next {
        right: 10px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .nav {
        display: none;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .slider {
        height: 500px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .lifecycle-stages {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .services-grid,
    .training-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
