:root {
    --primary-color: #0077b6;
    /* Pool Blue */
    --accent-color: #00b4d8;
    /* Cyan/Water */
    --text-color: #333333;
    --bg-color: #f0f8ff;
    /* Alice Blue */
    --light-glass: rgba(255, 255, 255, 0.1);
    --dark-glass: rgba(0, 0, 0, 0.5);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #0077b6);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    display: inline-block;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 500;
    margin-left: 10px;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Header & Nav */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    /* Default white for transparent header */
    transition: color 0.3s ease;
}

.nav-links a {
    margin-left: 30px;
    font-weight: 500;
    color: white;
    /* Default white for transparent header */
    position: relative;
    transition: color 0.3s ease;
}

.navbar.scrolled .logo {
    color: var(--primary-color);
}

.navbar.scrolled .nav-links a {
    color: var(--primary-color);
}

/* Ensure dropdown items are always readable */
.dropdown-content a {
    color: var(--text-color) !important;
}

/* Keep button text white */
.nav-links a.btn-primary {
    color: white !important;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: var(--shadow-soft);
    border-radius: 10px;
    top: 100%;
    left: 0;
    padding: 10px 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    margin: 0;
    padding: 10px 20px;
    color: #333;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(0, 119, 182, 0.6), rgba(0, 180, 216, 0.5)), url('id:placeholder');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features */
.section-padding {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #111;
    color: #eee;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-col a,
.footer-col p {
    display: block;
    margin-bottom: 10px;
    opacity: 0.7;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--accent-color);
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-color);
    opacity: 0.5;
    transition: width 0.1s, height 0.1s, background-color 0.1s;
}

body:hover .cursor-outline {
    width: 50px;
    height: 50px;
}

/* Mobile */
.hamburger,
.mobile-menu {
    display: none;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}

/* Sticky Buttons */
.sticky-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.sticky-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    animation: pulse 2s infinite;
}

.sticky-btn:hover {
    transform: scale(1.1);
}

.sticky-btn.whatsapp {
    background-color: #25D366;
}

.sticky-btn.phone {
    background-color: #0077b6;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 180, 216, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: var(--primary-color);
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        z-index: 2000;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    .mobile-menu a {
        font-size: 24px;
        margin: 15px 0;
        color: var(--primary-color);
        font-weight: 600;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Sticky Buttons Mobile */
    .sticky-buttons {
        flex-direction: row;
        width: 100%;
        bottom: 0;
        right: 0;
        left: 0;
        padding: 0;
        gap: 0;
    }

    .sticky-btn {
        width: 50%;
        border-radius: 0;
        height: 60px;
        box-shadow: none;
        animation: none;
        /* Disable pulse on mobile bar to avoid visual clutter */
    }

    .hero p {
        font-size: 1rem;
    }

    .section-padding {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card,
    .feature-card {
        margin-bottom: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-col {
        width: 100%;
    }

    .page-header {
        padding: 80px 0 !important;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .mobile-menu {
        overflow-y: auto;
        padding: 60px 20px 120px;
    }

    .mobile-menu a {
        font-size: 16px !important;
        margin: 8px 0 !important;
        padding: 8px 16px;
        border-radius: 8px;
        background: rgba(0, 119, 182, 0.05);
        width: 100%;
        text-align: left;
    }

    .mobile-menu a:hover {
        background: rgba(0, 119, 182, 0.15);
    }

    .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 28px;
        cursor: pointer;
        color: var(--primary-color);
    }
}

/* Tablet Styles */
@media (max-width: 992px) and (min-width: 769px) {
    .navbar .nav-links a {
        padding: 8px 10px;
        font-size: 14px;
    }

    .dropdown-content {
        min-width: 200px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Small Phone Styles */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 8px 5px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }

    .service-card:hover,
    .feature-card:hover {
        transform: none;
    }

    /* Larger touch targets */
    .nav-links a,
    .dropdown-content a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .sticky-btn {
        min-height: 56px;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .mobile-menu,
    .sticky-buttons,
    .hamburger {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    .page-header {
        background: #eee !important;
        color: black !important;
    }
}