/*
* Clínica Primores - Main Stylesheet
* A premium medical clinic website design
*/

/* =========== BASE STYLES =========== */
:root {
    /* Primary Colors */
    --primary-color: #1e3d44; /* Dark teal/blue from the logo */
    --secondary-color: #5a9e5f; /* Green from the logo */
    --text-color: #333333;
    --light-text: #ffffff;
    --accent-color: #f0f5f5;
    --border-color: #e0e0e0;
    --background-light: #ffffff;
    --background-dark: #1e3d44;
    --shadow-color: rgba(0, 0, 0, 0.1);

    /* Fonts */
    --title-font: 'Cinzel Decorative', serif;
    --body-font: 'Montserrat', sans-serif;
    --accent-font: 'Playfair Display', serif;

    /* Dimensions */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --border-radius: 4px;
    --transition-speed: 0.3s;
}

/* ===== Animation ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.3;
}

p {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style-type: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: var(--title-font);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 18px;
    font-weight: 700;
}

.section-subtitle {
    font-family: var(--accent-font);
    font-size: 18px;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.divider span {
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* =========== BUTTONS & FORMS =========== */
.cta-button, .team-btn, .submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    text-align: center;
}

.cta-button:hover, .team-btn:hover, .submit-btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    border-color: var(--secondary-color);
}

/* Para os botões em fundos claros */
.contact-section .cta-button:hover, 
.about-section .cta-button:hover,
.appointment-box .cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.team-btn {
    padding: 8px 20px;
    font-size: 13px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.form-title {
    font-family: var(--accent-font);
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.form-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
    font-size: 15px;
    transition: all var(--transition-speed) ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 15px;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    background-color: rgba(255,255,255,0.95);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0,0,0,0.35);
    font-style: italic;
}

.form-privacy {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 10px;
}

.form-privacy input[type="checkbox"] {
    margin-top: 6px;
    width: 16px;
    height: 16px;
    accent-color: var(--secondary-color);
}

.form-privacy label {
    font-size: 14px;
    line-height: 1.6;
}

.form-privacy a {
    color: var(--secondary-color);
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    position: relative;
}

.form-privacy a:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--secondary-color);
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.form-privacy a:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
}

.form-success-message p {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.form-loading-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =========== HEADER STYLES =========== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-scrolled {
    background-color: var(--background-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-name {
    font-family: var(--title-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    position: relative;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    padding: 5px 0;
    transition: color var(--transition-speed) ease;
}

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

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* =========== HERO SECTION =========== */
.hero-section {
    position: relative;
    height: 20vh;
    min-height: 200px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    color: var(--light-text);
    padding-top: 80px;
}

/* Classe específica para dispositivos Samsung */
.hero-section.samsung-device {
    min-height: 250px;
    height: auto;
    padding-bottom: 40px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-logo {
    flex-shrink: 0;
}

.hero-logo img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    margin-left: 20px;
    object-fit: contain;
}

.hero-text {
    flex: 1;
    min-width: 350px;
    text-align: left;
}

.main-title {
    font-family: var(--title-font);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
}

.subtitle {
    font-family: var(--accent-font);
    font-size: 20px;
    font-style: italic;
    margin-bottom: 20px;
}

.hero-icon {
    display: inline-block;
    font-size: 36px;
    color: var(--secondary-color);
    margin-bottom: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
}

.hero-tags span {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.hero-tags span:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.hero-tags i {
    color: var(--secondary-color);
}

.hero-tags span:hover i {
    color: var(--light-text);
}

/* =========== ABOUT SECTION =========== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text {
    line-height: 1.8;
}

.about-text h3 {
    font-family: var(--accent-font);
    color: var(--primary-color);
    margin-top: 30px;
    font-size: 22px;
}

.values-list {
    margin: 20px 0 30px;
    padding-left: 20px;
}

.values-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.values-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    top: 2px;
}

.location-info {
    background-color: var(--accent-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.address-box {
    padding: 30px;
    background-color: var(--primary-color);
    color: var(--light-text);
}

.address-box h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--title-font);
    font-size: 22px;
    margin-bottom: 20px;
}

.address-box address {
    font-style: normal;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.map-container {
    height: 300px;
    overflow: hidden;
}

/* =========== SERVICES SECTION =========== */
.services-section {
    background-color: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px var(--shadow-color);
    padding: 30px;
    text-align: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--light-text);
    font-size: 32px;
    border-radius: 50%;
    margin: 0 auto 25px;
}

.service-card h3 {
    font-family: var(--accent-font);
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.7;
}

/* =========== TEAM SECTION =========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    overflow: hidden;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-img-container {
    height: 250px;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
    display: block;
    background-color: var(--primary-color);
    padding: 15px;
}

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

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-family: var(--accent-font);
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.specialty {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.crm {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

/* =========== GALLERY SECTION =========== */
.gallery-section {
    background-color: var(--background-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform var(--transition-speed) ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-speed) ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 61, 68, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--light-text);
    font-size: 24px;
}

.gallery-title {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    font-family: var(--accent-font);
}

/* =========== TESTIMONIALS SECTION =========== */
.testimonials-section {
    background-color: var(--accent-color);
    position: relative;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background-color: var(--background-light);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow-color);
    position: relative;
    text-align: center;
}

.quote-icon {
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--accent-font);
    font-size: 18px;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.testimonial-author h4 {
    font-family: var(--title-font);
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-arrow {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--primary-color);
    cursor: pointer;
    padding: 10px;
    transition: color var(--transition-speed) ease;
}

.testimonial-arrow:hover {
    color: var(--secondary-color);
}

.testimonial-dots {
    display: flex;
    gap: 10px;
    margin: 0 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* =========== CONTACT SECTION =========== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    color: var(--light-text);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    transform: translate(30%, -30%);
    z-index: -1;
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    transform: translate(-30%, 30%);
    z-index: -1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    font-size: 24px;
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.info-item:hover i {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: scale(1.1);
}

.info-item h3 {
    font-family: var(--accent-font);
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-item p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 5px;
    opacity: 0.9;
}

.social-contact {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.social-contact h3 {
    font-family: var(--accent-font);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-social {
    display: flex;
    justify-content: flex-start;
    margin-top: 15px;
}

.contact-social a {
    background-color: rgba(255, 255, 255, 0.1);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.contact-social a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form-container {
    background-color: var(--background-light);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

/* =========== FOOTER =========== */
.footer {
    background-color: var(--background-dark);
    color: var(--light-text);
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    text-align: left;
}

.footer-brand {
    font-family: var(--title-font);
    font-size: 24px;
    margin: 20px 0 10px;
}

.footer-logo p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-links h3,
.footer-social h3 {
    font-family: var(--accent-font);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--light-text);
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    border-radius: 50%;
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--light-text);
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* =========== BACK TO TOP =========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}
/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}
.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}