:root {
    --primary: #0074D9;
    --secondary: #FFDC00;
    --background: #001f3f;
    --text: #F8F9FA;
    --overlay: rgba(0, 31, 63, 0.9);
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    background-color: var(--background);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background-color: var(--background);
    cursor: none;
    /* Hide default cursor */
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 116, 217, 0.3);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    filter: blur(8px);
}

a:hover~.cursor,
button:hover~.cursor,
.btn:hover~.cursor {
    transform: scale(2.5);
    background-color: var(--secondary);
}

a:hover~.cursor-follower,
button:hover~.cursor-follower,
.btn:hover~.cursor-follower {
    transform: scale(1.5);
    background-color: rgba(255, 220, 0, 0.4);
}

body.scrolled-down .bg-animated {
    opacity: 0.4;
    animation: pulseBg 20s infinite alternate;
}

@keyframes pulseBg {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    z-index: 1000;
    background: rgba(0, 31, 63, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

header nav {
    display: flex;
    justify-content: center;
    gap: 5rem;
    align-items: center;
    height: 90px;
}

@media (max-width: 1024px) {
    header nav {
        justify-content: space-between;
        gap: 0;
    }
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

#main-logo {
    height: 60px;
    /* Adjust as needed */
    width: auto;
    transition: var(--transition);
}

header.scrolled #main-logo {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

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

.btn-nav-whatsapp {
    background: #25D366;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background: linear-gradient(to top, var(--background), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.hero-logo {
    height: 120px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 0.95;
    margin-bottom: 2rem;
    color: var(--secondary);
    /* Vibrant Yellow */
}

.hero h1 span {
    color: var(--secondary);
    /* Vibrant Yellow */
    display: block;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 3rem;
    opacity: 0.8;
    color: var(--background);
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #000;
    text-decoration: none;
    z-index: 100;
    transition: var(--transition);
    opacity: 1;
}

.scroll-indicator span {
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.scroll-indicator svg {
    width: 60px;
    height: 60px;
    animation: bounceIndicator 2.5s infinite ease-in-out;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes bounceIndicator {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
}

.btn {
    padding: 1.25rem 3rem;
    font-family: 'Outfit';
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--secondary);
    color: var(--background);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-5px);
}

.btn-yellow {
    background: var(--secondary);
    color: var(--background);
    border: none;
}

.btn-yellow:hover {
    background: #fff;
    color: var(--background);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 220, 0, 0.3);
}

/* Gallery */
.section {
    padding: 10rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.section-header p {
    font-size: 1.5rem;
    opacity: 0.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.gallery-item {
    position: relative;
    height: 600px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.7;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-overlay h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.gallery-overlay p {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    font-size: 1rem;
}

.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.4;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover .gallery-overlay p {
    opacity: 0.7;
    transform: translateY(0);
}

/* Service List */
.services-list-section {
    background: var(--glass);
}

.services-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
}

.service-col h3 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bullet {
    width: 10px;
    height: 10px;
    background: var(--secondary);
    border-radius: 50%;
}

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

.service-col li {
    font-size: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    opacity: 0.8;
}

/* Contact Compact */
.contact-compact h2 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.contact-compact .btn-large {
    font-size: 1.5rem;
    padding: 2rem 5rem;
}

.contact-btns {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.location {
    margin-top: 4rem;
    opacity: 0.5;
    font-size: 1rem;
}

/* Map */
.map-container {
    max-width: 900px;
    margin: 3rem auto;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.map-container iframe {
    display: block;
}

/* Footer */
footer {
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border);
}

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

.footer-col h3 {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.footer-info,
.footer-links {
    list-style: none;
}

.footer-info li,
.footer-links li {
    margin-bottom: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Text Splitting Animation */
.split-text {
    overflow: hidden;
}

.hero h1 .word,
.hero h2 .word,
.word {
    display: inline-block !important;
    white-space: nowrap;
    margin-right: 0.3em;
    /* Restores space between words */
}

.hero h1 .char,
.hero h2 .char,
.char {
    display: inline-block !important;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.reveal.active .char {
    opacity: 1;
    transform: translateY(0);
}

/* Specific stagger for chars if needed via JS or CSS */
.reveal.active .char:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal.active .char:nth-child(2) {
    transition-delay: 0.15s;
}

.reveal.active .char:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal.active .char:nth-child(4) {
    transition-delay: 0.25s;
}

.reveal.active .char:nth-child(5) {
    transition-delay: 0.3s;
}

/* ...and so on, but better via JS for many chars */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 450px;
    }

    .services-columns {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.whatsapp-fab {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10001;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
}

.whatsapp-fab svg {
    width: 35px;
    height: 35px;
    fill: #fff;
}

.whatsapp-card {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #333;
}

.whatsapp-card.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.whatsapp-card-header {
    background: #25D366;
    padding: 1.5rem 2rem;
    color: #fff;
    position: relative;
}

.whatsapp-card-header h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: 'Outfit';
    text-transform: none;
    letter-spacing: 0;
}

.whatsapp-card-header p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.close-widget {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-card-body {
    padding: 2rem;
    background: #f9f9f9;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lead-form input {
    display: none;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Plus Jakarta Sans';
    font-size: 0.9rem;
    width: 100%;
}

.btn-whatsapp-submit {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 40px;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans';
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    text-decoration: none;
}

.btn-whatsapp-submit:hover {
    background: #128C7E;
}

@media (max-width: 480px) {
    .whatsapp-card {
        width: 300px;
        right: -10px;
    }
}

.location-section {
    background: #000;
    padding: 8rem 0;
    text-align: center;
}

.map-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 3rem auto;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.address-footer {
    padding-top: 2rem;
}

.address-text {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Outfit';
    display: inline-block;
}

.address-text .highlight {
    color: var(--secondary);
}

.hero-page {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

@media (max-width: 480px) {
    .address-text {
        font-size: 1.1rem;
    }
}

.large-title {
    font-size: 5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.premium-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #fff;
    max-width: 900px;
    margin: 0 auto 1.5rem auto;
    text-align: center;
    font-weight: 300;
}

.about-section {
    background: #000;
    padding: 10rem 0;
    text-align: center;
}

@media (max-width: 768px) {
    .large-title {
        font-size: 3rem;
    }

    .premium-text {
        font-size: 1.1rem;
    }
}

/* Photo Slider */
.photo-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    cursor: default;
}

@keyframes scrollingMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 10px));
    }
}

.photo-slider-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scrollingMarquee 35s linear infinite;
    padding-bottom: 2rem;
}

.photo-slider-item {
    flex: 0 0 auto;
    width: 80vw;
    max-width: 500px;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    position: relative;
}

.photo-slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-slider-item:hover img {
    transform: scale(1.08);
}