/* ============================================= */
/* 1. VARIABLES Y RESET */
/* ============================================= */
:root {
    --primary: #005f73;
    --secondary: #0a9396;
    --accent: #94d2bd;
    --dark: #001219;
    --light: #e9d8a6;
    --white: #ffffff;
    --red-accent: #ff0000;
    --info-blue: #1976d2;
    --text-color: #333333;
    --light-text: #f8f9fa;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --main-font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    --title-font: "Arial Black", "Arial Bold", Gadget, sans-serif;
    --transition: all 0.3s ease;
    --radius: 8px;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--bg-color);
    overflow-x: hidden;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 5rem 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================= */
/* 2. UTILIDADES Y ANIMACIONES */
/* ============================================= */
@keyframes fadeSlideInLeft {
    from {
        transform: translateY(-50%) translateX(-40px);
        opacity: 0;
        filter: blur(5px);
    }
    to {
        transform: translateY(-50%) translateX(0);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes fadeSlideInBottom {
    from {
        transform: translateX(-50%) translateY(120px);
        opacity: 0;
        filter: blur(5px);
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateStar {
    0% {
        transform: rotate(0) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.4);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* ============================================= */
/* 3. LAYOUT Y COMPONENTES GENERALES */
/* ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(148, 210, 189, 0.3);
}

.btn-outline {
    background: var(--primary);
    border: 2px solid white;
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.section-title2 {
    text-align: center;
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title2 h2 {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 2.2rem;
    position: relative;
}

.section-title2 p {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    font-size: 1.1rem;
}

.section-title2 h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 4px;
    background: white;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================= */
/* 4. BARRA SOCIAL LATERAL */
/* ============================================= */
.social-bar-container {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-30px);
    z-index: 2000;
    opacity: 0;
    animation: fadeSlideInLeft 1s ease-out forwards;
    animation-delay: 0.4s;
}

.social-bar {
    display: flex;
    flex-direction: column;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    position: relative;
    transition: all 0.4s ease;
    text-decoration: none;
}

.social-link i {
    font-size: 20px;
    color: #fff;
    transition: transform 0.3s ease;
}

.social-text {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px 10px;
    border-radius: 0 4px 4px 0;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    margin-left: 55px;
}

.social-link:hover {
    width: 60px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.social-link:hover i {
    transform: scale(1.2);
}

.social-link:hover .social-text {
    opacity: 1;
    margin-left: 10px;
}

/* Colores específicos para cada red social */
.social-facebook {
    background-color: #1877f2;
}

.social-tiktok {
    background-color: #000000;
}

.social-twitter {
    background-color: #1da1f2;
}

.social-youtube {
    background-color: #ff0000;
}

.social-web {
    background-color: #4caf50;
}

/* ============================================= */
/* 5. BARRA DE NAVEGACIÓN */
/* ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0px 0px 40px 40px;
    height: 80px;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 0.8rem 5%;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 150px;
    height: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: rgb(51, 50, 50);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 1px 1px 3px rgba(250, 247, 247, 0.5);
}

.nav-links a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: rgb(14, 12, 12);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menú hamburguesa */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-menu .bar {
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Cuando el menú está activo (abierto) */
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================= */
/* 6. HERO SECTION */
/* ============================================= */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 180px 20px 100px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 91vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.05;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-preview {
    border-radius: 12px;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: all 0.5s ease;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), var(--shadow-md);
    background: rgba(255, 255, 255, 0.1);
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5), 0 15px 30px rgba(0, 0, 0, 0.2);
}

.dashboard-preview img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.dashboard-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.dashboard-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-dot:nth-child(1) {
    background: #ff5f56;
}

.dashboard-dot:nth-child(2) {
    background: #ffbd2e;
}

.dashboard-dot:nth-child(3) {
    background: #27ca3f;
}

.dashboard-content {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-weight: 500;
}

/* ============================================= */
/* 7. FEATURES SECTION */
/* ============================================= */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: var(--primary);
    transition: height 0.3s ease;
}

.feature-card:hover:before {
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--gradient);
    color: white;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    min-height: 120px;
}

.feature-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.feature-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ============================================= */
/* 8. ABOUT/BENEFICIOS SECTION */
/* ============================================= */
.about {
    background: var(--light);
    padding: 5rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.benefits-list {
    list-style: none;
    margin-top: 2rem;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefits-list li i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image-main {
    background: var(--gradient);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
    overflow: hidden;
    cursor: pointer;
}

.about-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-main:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 1rem;
}

.about-image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    top: 20px;
    left: 20px;
    z-index: 1;
}

/* ============================================= */
/* 9. MODAL STYLES */
/* ============================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-content-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

.modal-caption {
    text-align: center;
    color: #fff;
    padding: 15px 0;
    font-size: 1.2rem;
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
}

.close {
    position: absolute;
    top: -40px;
    right: -40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.close:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    pointer-events: none;
}

.nav-btn {
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* ============================================= */
/* 10. TESTIMONIOS SECTION */
/* ============================================= */
.testimonios-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
}

.testimonios-title {
    text-align: center;
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #212529;
    position: relative;
}

.testimonios-title:after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #0077ff;
    margin: 10px auto;
    border-radius: 2px;
}

.testimonios-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #5a6c7d;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonios-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonio-card {
    background-color: #fff;
    box-shadow: 0 5px 30px rgba(100, 100, 100, 0.16);
    transition: all 0.3s ease-out;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonio-card:hover {
    transform: translateY(-5px);
    border-left: 4px solid #0077ff;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.1;
    font-size: 60px;
    color: #0077ff;
}

.rating {
    color: #ffc107;
    margin: 15px 0;
    font-size: 18px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.rating i {
    transition: all 0.3s ease;
}

.rating .star {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
    color: #ffc107;
}

.rating .star:hover {
    animation: rotateStar 0.8s ease-in-out;
    color: #ff9e3d;
}

.testimonio-text {
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #555;
    position: relative;
    z-index: 1;
}

.testimonio-author-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.testimonio-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 6px solid #0077ff;
    padding: 3px;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 119, 255, 0.4);
    transition: all 0.4s ease;
    background-color: white;
}

.testimonio-image:hover {
    transform: scale(1.1);
    border-color: #0056b3;
    box-shadow: 0 12px 25px rgba(0, 119, 255, 0.5);
}

.testimonio-author {
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
    font-size: 1.3rem;
    margin-top: 15px;
    color: #2c3e50;
}

.testimonio-position {
    color: #6c757d;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

/* ============================================= */
/* 11. CTA SECTION */
/* ============================================= */
.cta {
    background: var(--gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta:before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 60%);
    transform: rotate(30deg);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* ============================================= */
/* 12. CONTACTO SECTION */
/* ============================================= */
.section.contact {
    background: linear-gradient(135deg, #005f73 0%, #0a9396 100%);
    color: white;
    padding: 80px 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.contact-info > p {
    margin-bottom: 30px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.contact-text a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.contact-text a:hover {
    color: #94d2bd;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: rgba(29, 201, 231, 0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background-color: rgb(59, 53, 53);
    color: #005f73;
    transform: translateY(-3px);
}

.form-container {
    flex: 1;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

#contactForm {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group:nth-child(5),
.form-group:nth-child(6) {
    grid-column: span 2;
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
    font-family: var(--main-font);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 1em;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-color);
}

.required::after {
    content: " *";
    color: var(--red-accent);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: var(--bg-color);
    font-family: var(--main-font);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn-submit {
    background-color: var(--red-accent);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #9de3ad;
}

.confirmation-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}

/* ============================================= */
/* 13. CHATBOT */
/* ============================================= */
#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#chatbot-icon {
    width: 60px;
    height: 60px;
    background-color: #4caf50;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

#chatbot-icon:hover {
    transform: scale(1.1);
}

#chatbot-icon img {
    width: 70%;
    height: 70%;
}

#chatbot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 450px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

#chatbot-window.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#chatbot-header {
    background-color: #4caf50;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-header h3 {
    margin: 0;
    font-size: 16px;
}

#close-chatbot {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#chatbot-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    word-wrap: break-word;
}

.user-message {
    align-self: flex-end;
    background-color: #dcf8c6;
    border-bottom-right-radius: 5px;
}

.bot-message {
    align-self: flex-start;
    background-color: #e8e8e8;
    border-bottom-left-radius: 5px;
    white-space: pre-line;
}

#chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
    background-color: white;
}

#user-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
}

#send-button {
    margin-left: 10px;
    padding: 10px 15px;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

#send-button:hover {
    background-color: #45a049;
}

/* ============================================= */
/* 14. FOOTER */
/* ============================================= */
footer {
  background: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.footer-social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background-color: rgba(29, 201, 231, 0.2);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.footer-social-links a:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}