/* CSS Reset & Variables */
:root {
    --primary: #1B4332;
    --primary-light: #2D6A4F;
    --accent: #00B4D8;
    --accent-soft: rgba(0, 180, 216, 0.1);
    --bg-light: #F0F4F8;
    /* Refined to be more colorful */
    --text-dark: #1A1F2B;
    --text-muted: #5A6A85;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.85);
    --gradient-vibrant: linear-gradient(135deg, #1B4332 0%, #00B4D8 100%);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.cta-button {
    background: var(--primary);
    color: var(--white);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(27, 67, 50, 0.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--primary);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.slide-content {
    display: none;
}

.slide-content.active {
    display: block;
    animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -3px;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* Product Section */
.product-slider {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.product-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: scrollProducts 60s linear infinite;
}

.product-track:hover {
    animation-play-state: paused;
}

@keyframes scrollProducts {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.product-item {
    flex: 0 0 320px;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-img {
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.brand-tag {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* Services */
.section {
    padding: 120px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title span {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 800;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: 3.5rem;
    color: var(--primary);
    letter-spacing: -1.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--white);
    padding: 4rem 3rem;
    border-radius: 32px;
    transition: var(--transition);
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-vibrant);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
    font-size: 1.5rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 200px;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-reveal].reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* ===== WATER DROP CURSOR EFFECT ===== */
body {
    cursor: none;
}

.cursor-drop {
    position: fixed;
    width: 20px;
    height: 26px;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-drop::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--accent) 0%, #0077b6 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform: rotate(180deg);
    box-shadow:
        0 0 15px rgba(0, 180, 216, 0.5),
        inset 0 -5px 10px rgba(255, 255, 255, 0.3),
        inset 0 5px 10px rgba(0, 0, 0, 0.1);
    animation: dropPulse 1.5s ease-in-out infinite;
}

.cursor-drop::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 6px;
    width: 4px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

@keyframes dropPulse {

    0%,
    100% {
        transform: rotate(180deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

.cursor-trail {
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.6) 0%, rgba(0, 180, 216, 0) 70%);
    animation: trailFade 0.8s ease-out forwards;
}

@keyframes trailFade {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
}

/* Hover states with cursor */
a:hover~.cursor-drop,
button:hover~.cursor-drop,
.cta-button:hover~.cursor-drop {
    transform: translate(-50%, -50%) scale(1.3);
}

/* Blog Card Thumbnail Styles */
.blog-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 180, 216, 0.15);
}

.blog-card-thumbnail {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-thumbnail {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-category {
    display: inline-block;
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    width: fit-content;
}

.blog-card-title {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.blog-card-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.blog-card-link:hover {
    gap: 1rem;
}

/* Enhanced Vibrant Styles */
.service-card {
    position: relative;
    background: linear-gradient(135deg, var(--white) 0%, rgba(0, 180, 216, 0.03) 100%);
}

.service-card:hover {
    background: linear-gradient(135deg, var(--white) 0%, rgba(0, 180, 216, 0.08) 100%);
}

.section-title h2 {
    background: var(--gradient-vibrant);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Page content styles for rich content */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.9;
    font-size: 1.1rem;
}

.page-content h2 {
    color: var(--primary);
    margin: 3rem 0 1.5rem;
    font-size: 2rem;
}

.page-content h3 {
    color: var(--primary-light);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.page-content img {
    width: 100%;
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-content ul,
.page-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.8rem;
}

/* Stats Section Enhancement */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(27, 67, 50, 0.05) 100%);
    border-radius: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 600;
}

/* Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.image-gallery img {
    margin: 0;
    height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: 1fr;
    }

    body {
        cursor: auto;
    }

    .cursor-drop,
    .cursor-trail {
        display: none;
    }
}

/* Sticky Contact Buttons */
.sticky-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    left: auto;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@keyframes btnPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    }
}

.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 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    animation: btnPulse 2s infinite ease-in-out;
}

.sticky-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.phone-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    animation-delay: 1s;
}

.sticky-btn:hover {
    animation: none;
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .sticky-contact {
        bottom: 20px;
        left: 20px;
        right: 20px;
        flex-direction: row;
        justify-content: space-between;
        pointer-events: none;
        width: auto;
        gap: 0;
    }

    .sticky-btn {
        width: 55px;
        height: 55px;
        font-size: 24px;
        pointer-events: auto;
    }
}