/* 
* TIVRO - Main Stylesheet
* Version: 1.0
*/

/* ===== GLOBAL STYLES ===== */
:root {
    /* Color Variables */
    --primary-color: #1dc3d2;
    --secondary-color: #25d366; /* WhatsApp green */
    --accent-color: #ffffff;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #ffffff;
    --text-light: #ffffff;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --primary-rgb: 0, 128, 128; /* RGB values for your primary color */
    
    /* Typography */
    --body-font: 'Poppins', sans-serif;
    --heading-font: 'Montserrat', sans-serif;
  
    --section-spacing: 80px;
    --element-spacing: 30px;
}

body {
    font-family: var(--body-font);
    background-color: #000000; /* Changed from #ffffff to #000000 */
    line-height: 1.6;
    overflow-x: hidden;
    color: #ffffff; /* Adding text color to ensure readability on black background */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #ffffff; /* Changed from var(--dark-color) to white for visibility on black background */
}

/* Update header background */
header {
    background-color: #000000; /* Changed from #FFFFFF */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.06); /* Adjusted for visibility */
    transition: background 0.3s, box-shadow 0.3s;
}

header.scrolled {
    background-color: #000000; /* Changed from #FFFFFF */
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.08); /* Adjusted for visibility */
}

/* Update navigation links color */
.nav-links a {
    color: #ffffff; /* Changed from #020D0E */
    font-weight: 500;
    position: relative;
}
h1 {
    font-size: 2.5rem;
}
h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

ul, ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #3a5bd4;
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #1fba58;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: #FFFFFF;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: background 0.3s, box-shadow 0.3s;
}

header.scrolled {
    background-color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/* Add this to your style.css file to make the logo circular on all pages */
.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: 10px;
    border: 1px solid #1dc3d2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(29, 195, 210, 0.2);
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #020D0E;
    font-weight: 500;
    position: relative;
    font-size: 1rem;
    transition: color 0.3s;
    background: none;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    margin-left: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: #020D0E;
    margin-left: 10px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #020D0E;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Mobile Navigation Styles */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        font-size: 1.1rem;
        padding: 10px 0;
    }
    
    .social-icons {
        margin: 20px 0 0 0;
        width: 100%;
        justify-content: center;
    }
    
    /* Hamburger animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Adjust body padding for mobile */
    body {
        padding-top: 70px;
    }
}

.nav-links a {
    color: #020D0E;
    font-weight: 500;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    margin-left: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--dark-color);
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #020D0E;
    margin: 3px 0;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    nav.active {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        font-size: 1.1rem;
        padding: 10px 0;
    }
    
    .social-icons {
        margin: 20px 0 0 0;
        width: 100%;
        justify-content: center;
    }
    
    /* Hamburger animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Adjust body padding for mobile */
    body {
        padding-top: 70px;
    }
}

.nav-links a {
    color: #020D0E;
    font-weight: 500;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    margin-left: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--dark-color);
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* ===== PAGE BANNER ===== */
.page-banner {
    background-color: #020D0E;
    color: white;
    text-align: center;
    padding: 120px 0 60px;
}

.page-banner h1 {
    color: white;
}



/* ===== CTA SECTION ===== */
.cta-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== FOOTER ===== */
/* Update button styles with the new gradient */
.btn-custom, .btn-primary, .btn-secondary, .btn-outline:hover {
    background: linear-gradient(to right, #031f2a, #28194c);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom:hover, .btn-primary:hover, .btn-secondary:hover {
    background: linear-gradient(to right, #28194c, #031f2a);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(40, 25, 76, 0.3);
}

/* Update footer background */
footer {
    position: relative;
    background: linear-gradient(to right, #031f2a, #28194c);
    color: #fff;
    overflow: hidden;
    padding: 60px 0 0;
}

/* Update WhatsApp button */
.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp green color */
    color: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}
.whatsapp-button a:hover {
    background-color: #128C7E; /* WhatsApp darker green on hover */ 
}

/* Update CTA banner overlay */
.cta-overlay {
    background: linear-gradient(to right, rgba(3, 31, 42, 0.85), rgba(40, 25, 76, 0.75));
}

.footer-bg-icons {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.footer-bg-icons i {
    position: absolute;
    font-size: 60px;
    opacity: 0.10;
    color: #fff;
    animation-duration: 12s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.footer-bg-icons .fa-instagram { left: 10%; top: 80%; animation-name: fly-instagram; }
.footer-bg-icons .fa-tiktok { left: 70%; top: 90%; animation-name: fly-tiktok; animation-delay: 2s; }
.footer-bg-icons .fa-facebook-f { left: 40%; top: 100%; animation-name: fly-facebook; animation-delay: 4s; }
.footer-bg-icons .fa-x-twitter { left: 80%; top: 85%; animation-name: fly-twitter; animation-delay: 1s; }

@keyframes fly-instagram {
    0% { transform: translateY(0) scale(1) rotate(0deg);}
    50% { transform: translateY(-250px) scale(1.2) rotate(20deg);}
    100% { transform: translateY(0) scale(1) rotate(0deg);}
}
@keyframes fly-tiktok {
    0% { transform: translateY(0) scale(1) rotate(0deg);}
    50% { transform: translateY(-220px) scale(1.15) rotate(-15deg);}
    100% { transform: translateY(0) scale(1) rotate(0deg);}
}
@keyframes fly-facebook {
    0% { transform: translateY(0) scale(1) rotate(0deg);}
    50% { transform: translateY(-200px) scale(1.1) rotate(10deg);}
    100% { transform: translateY(0) scale(1) rotate(0deg);}
}
@keyframes fly-twitter {
    0% { transform: translateY(0) scale(1) rotate(0deg);}
    50% { transform: translateY(-180px) scale(1.18) rotate(-10deg);}
    100% { transform: translateY(0) scale(1) rotate(0deg);}
}

/* Ensure footer content is above the animated icons */
footer .container,
.footer-content,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 0 0 0;
}

.footer-logo img {
    height: 160px;
    margin-bottom: 18px;
}

.footer-logo p {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0;
    letter-spacing: 0.01em;
}

.footer-links h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.1rem;
    letter-spacing: 0.03em;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 0.02em;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-contact p,
.footer-contact i {
    color: #fff;
}

.footer-contact .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-contact .social-icons a {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: color 0.3s, transform 0.3s;
}

.footer-contact .social-icons a:hover {
    background-color: var(--primary-color);
    color: #05272A;
    transform: translateY(-2px) scale(1.08);
}

.footer-bottom {
    background: transparent;
    color: #fff;
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0 14px 0;
    margin-top: 32px;
    font-size: 1.08rem;
    font-family: var(--heading-font);
    letter-spacing: 0.02em;
}

.footer-bottom p {
    margin: 0;
    color: #ffffff;
}
.legal-links {
    display: flex;
    gap: 18px;
}
.legal-links a {
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s;
}
.legal-links a:hover {
    color: var(--primary-color);
}

.footer-bottom .legal-links a:hover,
.footer-bottom .legal-links a:focus {
    color: var(--primary-color);
}

.footer-bottom .legal-links a:hover::after,
.footer-bottom .legal-links a:focus::after {
    width: 100%;
}

.footer-bottom .footer-social {
    display: flex;
    gap: 14px;
    margin-left: 24px;
}

.footer-bottom .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 1.15rem;
    transition: background 0.3s, color 0.3s, transform 0.3s;
}

.footer-bottom .footer-social a:hover {
    background: var(--primary-color);
    color: #05272A;
    transform: translateY(-3px) scale(1.08);
}


/* ===== WHATSAPP BUTTON ===== */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp green color */
    color: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-button a i {
    font-size: 30px;
}

.whatsapp-button a:hover {
    transform: scale(1.1);
    background-color: #128C7E; /* WhatsApp darker green on hover */
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Navigation active state improvements */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active::after {
    width: 100%;
}

/* Ensure active state is preserved */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* After your existing animations, add these new background animations */
.animated-bg-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.animated-bg-icons i {
    position: absolute;
    color: rgba(29, 195, 210, 0.08);
    animation-duration: 15s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.animated-bg-icons .fa-phone-alt {
    font-size: 40px;
    animation-name: float-phone;
}

.animated-bg-icons .fa-question-circle {
    font-size: 50px;
    animation-name: float-question;
}

.animated-bg-icons .icon-1 { left: 5%; top: 15%; animation-delay: 0s; }
.animated-bg-icons .icon-2 { left: 25%; top: 35%; animation-delay: 2s; }
.animated-bg-icons .icon-3 { left: 45%; top: 65%; animation-delay: 4s; }
.animated-bg-icons .icon-4 { left: 65%; top: 25%; animation-delay: 6s; }
.animated-bg-icons .icon-5 { left: 85%; top: 75%; animation-delay: 8s; }
.animated-bg-icons .icon-6 { left: 15%; top: 85%; animation-delay: 10s; }
.animated-bg-icons .icon-7 { left: 75%; top: 5%; animation-delay: 12s; }

@keyframes float-phone {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
    25% { transform: translateY(-50px) rotate(15deg); opacity: 0.2; }
    50% { transform: translateY(-100px) rotate(0deg); opacity: 0.1; }
    75% { transform: translateY(-50px) rotate(-15deg); opacity: 0.2; }
    100% { transform: translateY(0) rotate(0deg); opacity: 0.1; }
}

@keyframes float-question {
    0% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.1; }
    25% { transform: translateY(-70px) scale(1.2) rotate(10deg); opacity: 0.2; }
    50% { transform: translateY(-140px) scale(1) rotate(0deg); opacity: 0.1; }
    75% { transform: translateY(-70px) scale(0.8) rotate(-10deg); opacity: 0.2; }
    100% { transform: translateY(0) scale(1) rotate(0deg); opacity: 0.1; }
}

/* Footer responsive improvements */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .footer-logo, 
    .footer-links, 
    .footer-contact {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .footer-contact .social-icons {
        justify-content: center;
        margin-left: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-bottom .legal-links {
        flex-direction: column;
        gap: 10px;
    }
}
