@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
/* NAVIGATION - ENHANCED */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: rgb(0, 0, 0);
    color: #333;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.96) 100%);
    z-index: -1;
    transition: opacity 0.5s ease;
}

nav.scrolled {
    padding: 10px 40px;
    background-color: rgba(0, 0, 0, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
}

nav.scrolled::before {
    opacity: 0.95;
}

.scrolled-down {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.scrolled-up {
    transform: translateY(0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo {
    z-index: 1001;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.logo img {
    height: 55px;
    width: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

nav.scrolled .logo {
    transform: scale(0.95);
}
.nav-container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-link span {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}
.nav-link:hover span {
    color: #0170C1;
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(1, 112, 193, 0.4);
}
.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0170C1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.nav-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-link.active span {
    color: #0170C1;
    text-shadow: 0 0 10px rgba(1, 112, 193, 0.5);
}

.nav-link.active::before {
    transform: scaleX(1);
    animation: underlineExpand 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes underlineExpand {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}
.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-buttons a {
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}
.book {
    background-color: #0170C1;
    color: rgb(255, 255, 255);
    border: 2px solid #0170C1;
    animation: pulse 2s infinite;
}

.book.btn-hover-effect:hover {
    background-color: #015da1;
    border-color: #015da1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(1, 112, 193, 0.3);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(1, 112, 193, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(1, 112, 193, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(1, 112, 193, 0);
    }
}
.btn-hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.btn-hover-effect:hover::before {
    left: 100%;
}
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
@media (max-width: 992px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #0170C1;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #0170C1;
    }
    
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.97);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        padding: 80px 40px;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-container.active {
        right: 0;
    }
    
    .nav-links {
        position: static;
        transform: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    
    .nav-links li a {
        font-size: 18px;
    }
    
    .nav-link:hover span {
        transform: translateX(5px);
    }
    
    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-buttons a {
        justify-content: center;
        width: 100%;
    }
    
    .logo img {
        height: 50px;
    }
}

/* Modern Color Theme Variables - Updated for Black & White */
:root {
    --primary-color: #000000; 
    --secondary-color: #ffffff; 
    --accent-color: #ffffff; 
    --text-light: #ffffff; 
    --text-dark: #ffffff; 
    --bg-light: #000000; 
    --overlay-dark: rgba(0, 0, 0, 0.85);
    --overlay-medium: rgba(0, 0, 0, 0.6);
    --overlay-light: rgba(0, 0, 0, 0.3);
}

/* Contact Page Specific Styles */
.contact-hero {
    height: 90vh;
    position: relative;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Single subtle dark overlay */
    z-index: 1;
}

.contact-hero {
    height: 90vh;
    position: relative;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Keep this as white for better contrast */
    text-align: center;
    overflow: hidden;
}

.contact-hero-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 800px;
}

.contact-hero-content h1 {
    font-size: 72px;
    margin-bottom: 20px;
    letter-spacing: 3px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpTitle 0.5s ease-out 0.5s forwards;
}

.contact-hero-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpTitle 0.5s ease-out 0.8s forwards; /* Slightly delayed */
}

@keyframes fadeInUpTitle {
    from {
        opacity: 0;
        transform: translateY(20px);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
}

/* Contact Hero Responsive Styles */
@media (max-width: 1200px) {
    .contact-hero-content h1 {
        font-size: 60px;
    }
    
    .contact-hero-content p {
        font-size: 17px;
        max-width: 600px;
    }
}

@media (max-width: 992px) {
    .contact-hero {
        height: 80vh;
        margin-top: 70px;
    }
    
    .contact-hero-content h1 {
        font-size: 50px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }
    
    .contact-hero-content p {
        font-size: 16px;
        max-width: 550px;
        margin: 0 auto 25px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 70vh;
    }
    
    .contact-hero-content h1 {
        font-size: 40px;
        letter-spacing: 1.5px;
    }
    
    .contact-hero-content p {
        font-size: 15px;
        max-width: 90%;
        margin: 0 auto 20px;
    }
    
    .hero-overlay {
        background: rgba(0, 0, 0, 0.3); /* Slightly darker overlay for better text visibility on mobile */
    }
}

@media (max-width: 576px) {
    .contact-hero {
        height: 60vh;
        margin-top: 60px;
    }
    
    .contact-hero-content {
        padding: 0 15px;
    }
    
    .contact-hero-content h1 {
        font-size: 32px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }
    
    .contact-hero-content p {
        font-size: 14px;
        line-height: 1.5;
    }
}

@media (max-width: 400px) {
    .contact-hero-content h1 {
        font-size: 28px;
    }
    
    .contact-hero-content p {
        font-size: 13px;
    }
}

/* Tablet landscape optimization */
@media (max-width: 992px) and (orientation: landscape) {
    .contact-hero {
        height: 100vh;
    }
    
    .contact-hero-content h1 {
        font-size: 40px;
    }
}

/* Mobile landscape optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .contact-hero {
        height: 100vh;
    }
    
    .contact-hero-content h1 {
        font-size: 32px;
    }
    
    .contact-hero-content p {
        font-size: 14px;
        max-width: 80%;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .contact-hero-content h1,
    .contact-hero-content p {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-video {
        /* Ensure high-quality video on retina displays */
        image-rendering: -webkit-optimize-contrast;
    }
}



/* Large screens adjustments */
@media (min-width: 1600px) {
    .contact-hero-content h1 {
        font-size: 84px;
    }
    
    .contact-hero-content p {
        font-size: 20px;
        max-width: 800px;
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light); /* Now white */
    font-size: 24px;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* Button Styles (matching your brand) */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #0170C1;
    color: white;
    border: 2px solid #0170C1;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover {
    background: #015da1;
    border-color: #015da1;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }

    .hero-image-container {
        margin: 30px auto;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 80px 0 50px;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light); /* Now white */
    font-size: 24px;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}


.services-section {
    background-color: #000;
    color: #fff;
    padding: 80px 0;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.services-header p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #ccc;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.services-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #111;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.service-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #0170C1;
}

.service-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ccc;
    flex: 1;
}

.learn-more {
    display: inline-block;
    color: #0170C1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

.learn-more:hover {
    color: #00a8ff;
}

@media (max-width: 1200px) {
    .services-container {
        max-width: 1000px;
    }
    
    .service-image {
        height: 220px;
    }
}

@media (max-width: 992px) {
    .services-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-image {
        height: 200px;
    }
    
    .services-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-container {
        padding: 0 15px;
    }
    
    .services-header {
        margin-bottom: 40px;
    }
    
    .services-header h1 {
        font-size: 1.8rem;
    }
    
    .services-header p {
        font-size: 1rem;
    }
    
    .service-content {
        padding: 25px;
    }
    
    .service-content h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .services-section {
        padding: 50px 0;
    }
    
    .services-header h1 {
        font-size: 1.6rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-content h2 {
        font-size: 1.2rem;
    }
    
    .service-content p {
        font-size: 0.95rem;
    }
    
    .learn-more {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .services-header h1 {
        font-size: 1.4rem;
    }
    
    .service-image {
        height: 160px;
    }
    
    .service-content {
        padding: 15px;
    }
    
    .service-content h2 {
        font-size: 1.1rem;
    }
    
    .service-content p {
        font-size: 0.9rem;
    }
}


@media (min-width: 1600px) {
    .services-container {
        max-width: 1400px;
    }
    
    .services-header h1 {
        font-size: 3rem;
    }
    
    .services-header p {
        font-size: 1.2rem;
    }
    
    .service-image {
        height: 300px;
    }
    
    .service-content h2 {
        font-size: 1.8rem;
    }
    
    .service-content p {
        font-size: 1.1rem;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');

.premium-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin: 0 auto;
    padding: 0 40px 60px;
    max-width: 1400px;
    position: relative;
    z-index: 2;
}

.footer-column {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }
.footer-column:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4 span {
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0170C1 0%, #00C6FF 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.footer-column:hover h4::after {
    width: 80px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.footer-column li:hover {
    transform: translateX(5px);
}

.footer-column a {
    color: #b0b0b0;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-column a i {
    width: 20px;
    text-align: center;
    color: #0170C1;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-column a:hover i {
    color: #00C6FF;
    transform: scale(1.2);
}

.footer-contact-column .footer-contact {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-contact-column:hover .footer-contact {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(1, 112, 193, 0.5);
}

.footer-contact p {
    margin: 0 0 15px;
    color: #b0b0b0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.footer-contact p:last-child {
    margin-bottom: 0;
}

.footer-contact i {
    color: #0170C1;
    margin-top: 3px;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.social-icons a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0170C1 0%, #00C6FF 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-icons a:hover::after {
    opacity: 1;
}

.social-icons a i {
    position: relative;
    z-index: 1;
}

.social-icons a:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 40px;
    background: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-legal a {
    color: #b0b0b0;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 5px;
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0170C1;
    transition: width 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal a:hover::after {
    width: 100%;
}

.footer-copyright p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
    text-align: center;
}



/* Floating Buttons */
.whatsapp-cta,
.back-to-top {
    position: fixed;
    right: 20px;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.whatsapp-cta {
    bottom: 80px;
}

.back-to-top {
    bottom: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Floating Button Style */
.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

.floating-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* WhatsApp Button */
.whatsapp-cta .floating-btn {
    background-color: #25D366;
}

/* Back to Top Button */
.back-to-top .floating-btn {
    background: linear-gradient(135deg, #0170C1 0%, #00C6FF 100%);
}

/* Hover Effects */
.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.floating-btn:hover i {
    transform: scale(1.15);
}

/* Tooltip on hover */
.floating-btn::after {
    content: attr(aria-label);
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-cta .floating-btn::after {
    background-color: #25D366;
    color: white;
}

.back-to-top .floating-btn::after {
    background: linear-gradient(135deg, #0170C1 0%, #00C6FF 100%);
    color: white;
}

.floating-btn:hover::after {
    opacity: 1;
    visibility: visible;
    right: 55px;
}

/* Subtle pulse animation for WhatsApp */
@keyframes subtlePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.whatsapp-cta .floating-btn {
    animation: subtlePulse 3s infinite ease-in-out;
}
/* Tablet devices (768px and below) */
@media screen and (max-width: 768px) {
    .whatsapp-cta,
    .back-to-top {
        right: 15px;
    }
    
    .whatsapp-cta {
        bottom: 70px;
    }
    
    .back-to-top {
        bottom: 15px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
    }
    
    .floating-btn i {
        font-size: 18px;
    }
    
    .floating-btn::after {
        font-size: 11px;
        padding: 5px 10px;
        right: 50px;
    }
    
    .floating-btn:hover::after {
        right: 45px;
    }
}

/* Mobile devices (480px and below) */
@media screen and (max-width: 480px) {
    .whatsapp-cta,
    .back-to-top {
        right: 10px;
    }
    
    .whatsapp-cta {
        bottom: 60px;
    }
    
    .back-to-top {
        bottom: 10px;
    }
    
    .floating-btn {
        width: 40px;
        height: 40px;
    }
    
    .floating-btn i {
        font-size: 16px;
    }
    
    .floating-btn::after {
        display: none; /* Hide tooltips on very small screens */
    }
    
    /* Reduce animation intensity on mobile */
    .whatsapp-cta .floating-btn {
        animation: subtlePulse 4s infinite ease-in-out;
    }
    
    .floating-btn:hover {
        transform: translateY(-2px);
    }
}

/* Large screens (1200px and above) */
@media screen and (min-width: 1200px) {
    .whatsapp-cta,
    .back-to-top {
        right: 30px;
    }
    
    .whatsapp-cta {
        bottom: 90px;
    }
    
    .back-to-top {
        bottom: 30px;
    }
}

/* Reduced motion preference for accessibility */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-cta,
    .back-to-top,
    .floating-btn,
    .floating-btn i {
        transition: none;
    }
    
    .whatsapp-cta .floating-btn {
        animation: none;
    }
    
    .floating-btn:hover {
        transform: none;
    }
    
    .floating-btn:hover i {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .floating-btn {
        border: 2px solid white;
    }
}



@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px 40px;
    }
    
    .footer-column {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 0 15px 30px;
    }
    
    .footer-contact p {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
    }
    
    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
}

@media (max-width: 1024px) {
    .footer-main {
        padding: 0 30px 50px;
        gap: 30px;
    }
    
    .footer-bottom {
        padding: 20px 30px;
    }
}