/* Custom CSS variables for a premium, water-protection themed design system */
:root {
    --primary-color: #0f4c81;       /* Deep ocean blue */
    --primary-dark: #072a48;        /* Very dark navy */
    --secondary-color: #00a8cc;     /* Aquatic cyan */
    --accent-color: #ff9f1c;        /* High-contrast amber/gold for highlights */
    --call-color: #10b981;          /* Conversion green for buttons */
    --whatsapp-color: #25d366;      /* Official WhatsApp green */
    
    --bg-light: #f4f7f6;            /* Light gray background */
    --bg-white: #ffffff;
    --text-dark: #1e293b;           /* Slate 800 */
    --text-muted: #64748b;          /* Slate 500 */
    --text-light: #ffffff;
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(15, 76, 129, 0.1), 0 4px 6px -2px rgba(15, 76, 129, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(15, 76, 129, 0.15), 0 10px 10px -5px rgba(15, 76, 129, 0.1);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Assistant', 'Rubik', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Reusable Components: Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--call-color);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-secondary {
    background-color: var(--whatsapp-color);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-secondary:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Pulsing CTA Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Section Styling Headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-muted);
}

.header-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    margin: 16px auto 0;
    border-radius: 2px;
}

/* Sticky Glassmorphic Header Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 76, 129, 0.1);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-accent {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.btn-nav-call {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(15, 76, 129, 0.2);
}

.btn-nav-call:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(15, 76, 129, 0.35);
}

/* Hero Section Styling */
.hero-section {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 10% 20%, rgba(216, 241, 250, 0.5) 0%, rgba(244, 247, 246, 1) 90.1%);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--secondary-color) 0.5px, transparent 0.5px), radial-gradient(var(--secondary-color) 0.5px, var(--bg-light) 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.08;
    z-index: 1;
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    background-color: rgba(15, 76, 129, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
}

/* Video Card Styling */
.hero-visual {
    position: relative;
}

.video-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-white);
    transition: var(--transition-normal);
    position: relative;
}

.video-card:hover {
    transform: translateY(-5px);
}

.media-video {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.video-overlay-text {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(15, 76, 129, 0.85);
    backdrop-filter: blur(4px);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    box-shadow: var(--shadow-sm);
}

/* Core Value Pillars Section */
.values-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.value-card {
    background-color: var(--bg-light);
    padding: 40px 32px;
    border-radius: var(--border-radius-md);
    text-align: center;
    border-top: 5px solid var(--secondary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary-color);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Services / Applications Section */
.services-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-img-wrapper {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-content {
    padding: 32px;
}

.service-content h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Media Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 76, 129, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    opacity: 0;
    transition: var(--transition-normal);
    gap: 12px;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

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

/* Testimonial Quote Section */
.quote-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--text-light);
    position: relative;
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.quote-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 24px;
    opacity: 0.5;
}

blockquote {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.5;
}

cite {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: block;
}

/* Contact / Call-to-action details */
.contact-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.contact-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border-top: 8px solid var(--primary-color);
}

.contact-header {
    background-color: rgba(15, 76, 129, 0.03);
    padding: 48px 48px 24px;
    text-align: center;
}

.contact-header h2 {
    font-size: 2.25rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px;
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(15, 76, 129, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.info-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

.contact-actions-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 24px;
    background-color: rgba(0, 168, 204, 0.05);
    border-radius: var(--border-radius-md);
    border: 1px dashed rgba(0, 168, 204, 0.2);
}

.btn-call-large {
    background-color: var(--call-color);
    color: var(--text-light);
    padding: 20px 40px;
    font-size: 1.4rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-weight: 800;
}

.btn-call-large:hover {
    background-color: #059669;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6);
}

.btn-whatsapp-large {
    background-color: var(--whatsapp-color);
    color: var(--text-light);
    padding: 16px 40px;
    font-size: 1.15rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-weight: 700;
}

.btn-whatsapp-large:hover {
    background-color: #20ba5a;
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

.direct-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    font-weight: 600;
    margin-top: 8px;
}

/* Footer Styling */
.footer {
    padding: 48px 0;
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer p {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer-links {
    margin-top: 16px;
}

.fb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1rem;
}

.fb-link:hover {
    color: var(--text-light);
}

/* Sticky Bottom Mobile Bar */
.sticky-call-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 24px;
    z-index: 999;
    display: none; /* Only visible on smaller screens */
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.btn-sticky-call {
    width: 100%;
    background-color: var(--call-color);
    color: var(--text-light);
    padding: 16px;
    font-size: 1.2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: pulse 2.5s infinite;
}

/* Lightbox Styling */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast) ease-in-out;
}

.lightbox-overlay.show {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80%;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
    }
    
    .hero-badge {
        margin: 0 auto 20px;
    }
    
    .hero-actions {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-body {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 32px;
    }
    
    .contact-actions-block {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 80px; /* Leave space for mobile sticky bar */
    }
    
    .navbar {
        height: 70px;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .logo-accent {
        font-size: 1.3rem;
    }
    
    .nav-contact {
        display: none; /* Hide top contact button on mobile, sticky bar covers it */
    }
    
    .hero-section {
        padding-top: 110px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .sticky-call-bar {
        display: block;
    }
    
    .contact-header {
        padding: 36px 20px 12px;
    }
    
    .contact-body {
        padding: 24px;
    }
    
    .btn-call-large {
        font-size: 1.2rem;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-actions {
        width: 100%;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .btn-sticky-call {
        padding: 14px;
        font-size: 1.1rem;
    }
}
