/* Global settings */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #000;
}

/* Headline */
h1, .headline {
    font-weight: 800;           /* Extra Bold */
    letter-spacing: -0.02em;    /* -20 tracking */
    text-transform: none;
}

/* Sub-headline */
h2, .sub-headline {
    font-weight: 600;           /* Semi-bold or Medium */
    letter-spacing: -0.02em;
    text-transform: none;
}

/* Body Copy */
p, .body-text {
    font-weight: 300;           /* Light */
    letter-spacing: -0.02em;
    text-transform: none;
}

/* Specification Label */
.spec-label {
    font-weight: 900;           /* Black */
    font-style: italic;
    letter-spacing: 0.04em;     /* +40 tracking */
    text-transform: none;
}


/* Headline */
h1, .headline {
    font-weight: 800;           /* Extra Bold */
    letter-spacing: -0.02em;    /* -20 tracking */
    text-transform: none;
}

/* Sub-headline */
h2, .sub-headline {
    font-weight: 600;           /* Semi-bold or Medium */
    letter-spacing: -0.02em;
    text-transform: none;
}

/* Body Copy */
p, .body-text {
    font-weight: 300;           /* Light */
    letter-spacing: -0.02em;
    text-transform: none;
}

/* Specification Label */
.spec-label {
    font-weight: 900;           /* Black */
    font-style: italic;
    letter-spacing: 0.04em;     /* +40 tracking */
    text-transform: none;
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensures the header stays above other content */
    /* Remove the solid background color to allow the transparent nav to show the image */
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px; /* Adjust the padding to better fit your logo and button */
    background-color: rgba(0, 0, 0, 0.7); /* This provides the dark transparent background */
    height: 40px; /* Adjusted for a thinner header */
    /* Rest of your styles... */
}

.logo-link {
    display: flex;
    align-items: center;
    /* No padding needed if you're using margin on the logo itself */
}

.logo {
    height: 30px; /* Adjust for a visible logo size */
    width: auto; /* Keeps the aspect ratio of the logo */
    /* No negative margin, adjust the actual header height instead */
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center; /* This will vertically center your nav items */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
    padding: 0 5px;
    margin: 0; /* Ensure there's no additional space from margins */
    line-height: 1;
    /* You can add line-height or padding here if you need to adjust the vertical alignment */
}

/* Navigation links styling */
.nav-links a {
    text-decoration: none; /* Removes underline by default */
    color: #ffffff; /* White text color */
    font-size: 1rem; /* Adjust the font size as needed */
    padding: 10px 15px; /* Padding for better click area */
    display: block; /* Makes the anchor tag fill the list item */
    transition: color 0.3s ease; /* Smooth transition for color changes */
}

/* Hover effect for navigation links */
.nav-links a:hover, .nav-links a:focus {
    color: #1a9e8c; /* Changes text color to aquamarine on hover and focus */
}

header .buy-now, a.buy-now-button {
    display: inline-flex; /* Use flexbox for centering */
    align-items: center; /* Vertically center the text */
    justify-content: center; /* Horizontally center the text */
    background-color: #18B19C !important; /* Green background */
    color: white !important; /* White text */
    text-decoration: none !important; /* Remove underline */
    padding: 5px 15px !important; /* Smaller padding for a smaller button */
    border: none !important; /* Remove border */
    border-radius: 25px !important; /* Rounded corners */
    font-size: 1rem !important; /* Slightly smaller font size */
    font-weight: bold !important; /* Bold text */
    cursor: pointer !important; /* Pointer cursor */
    transition: background-color 0.3s ease, transform 0.3s ease !important; /* Smooth transitions */
    text-align: center !important; /* Ensure centered text */
    line-height: normal; /* Reset line-height for consistency */
}



/* Hover Effect for the Buy Now Button */
header .buy-now:hover, a.buy-now-button:hover {
    background-color: #149483 !important; /* Darker green on hover */
    color: white !important; /* Ensure text remains white */
}

/* Responsive Styling for Smaller Devices */
@media (max-width: 768px) {
    header .buy-now, a.buy-now-button {
        font-size: 1.2rem !important; /* Slightly larger font size for mobile */
        padding: 15px 30px !important; /* Larger padding for tap area */
    }
}

/* Target the Buy Now button in the navbar */
header nav .nav-links .buy-now-button {
    display: inline-block;
    background-color: #18B19C; /* Green background */
    color: white; /* White text */
    text-decoration: none;
    padding: 5px 10px; /* Adjust padding for click area */
    border: 0px solid #18B19C; /* Green border */
    border-radius: 25px; /* Rounded corners */
    font-size: 0.8rem; /* Standard font size */
    font-weight: bold; /* Bold text for emphasis */
    cursor: pointer; /* Pointer cursor for interactivity */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    margin-left: 10px; /* Spacing from other nav items */
    white-space: nowrap; /* Prevents text wrapping */
}

/* Hover effect for the Buy Now button */
header nav .nav-links .buy-now-button:hover {
    background-color: #18B19C; /* Darker green on hover */
    transform: scale(1.05); /* Slightly enlarge the button */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2); /* Enhanced shadow */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header nav .nav-links .buy-now-button {
        font-size: 1.2rem; /* Increase font size for smaller screens */
        padding: 15px 40px; /* Larger padding for better tap area */
        width: 100%; /* Take up more width on mobile */
        text-align: center; /* Center-align text */
        margin: 10px auto; /* Center the button in the navbar */
    }
}

/* Hamburger Button */
.hamburger {
    display: none; /* Hidden by default for larger screens */
    cursor: pointer;
    font-size: 30px;
    color: white;
}

/* Navigation Menu */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Horizontal layout by default */
}

.nav-links li {
    margin: 0 -10px; /* Closer spacing for large screens */
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 30px;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #18B19C; /* Highlight color */
}

/* Mobile Menu Styles */
@media (max-width: 768px) {

    /* Hamburger Button */
    .hamburger {
        display: block;
        cursor: pointer;
        font-size: 30px;
        color: white;
        transition: transform 0.3s ease;
        z-index: 2000; /* Ensure it stays above the navbar */
    }

    /* Add a rotation effect or change icon for "open" state */
    .hamburger.open {
        transform: rotate(90deg); /* Rotate for open state (optional) */
    }

    /* Ensure the hamburger is always visible */
    .nav-links {
        z-index: 1500; /* Menu is below the hamburger */
        position: fixed; /* Ensure it doesn't hide the hamburger */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links li {
        margin: 15px 0;
        opacity: 0; /* Initially hidden */
        transform: translateY(20px);
        font-size: 4rem; /* Larger text size for mobile titles */
        font-weight: bold; /* Make titles bold */
        animation: fadeInUp 0.5s forwards;
    }

    .nav-links.active li {
        animation: fadeInUp 0.5s forwards; /* Fade-in animation */
    }

    .nav-links.exiting li {
        animation: fadeOutDown 0.5s forwards; /* Reverse fade-out animation */
    }

    .nav-links li a {
        text-decoration: none;
        color: white;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .nav-links li a.clicked {
        transform: scale(1.2); /* Slightly enlarge on click */
        color: #1abc9c; /* Highlight color */
    }

    @keyframes fadeInSmooth {
        0% {
            opacity: 0;
            transform: translateY(20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes fadeOutSmooth {
        0% {
            opacity: 1;
            transform: translateY(0);
        }
        100% {
            opacity: 0;
            transform: translateY(20px);
        }
    }
    
    /* Ensure animations retain their end states */
    .nav-links li {
        animation-fill-mode: forwards; /* Retain the final animation state */
        will-change: opacity, transform; /* Optimize performance */
    }
}

/* Media Query for Larger Screens */
@media (min-width: 769px) {
    .nav-links li {
        margin: 0 5px; /* Closer spacing between links */
    }

    .nav-links li a {
        font-size: 1rem; /* Keep default size on larger screens */
    }
}

/* ===== Brand Vars ===== */
:root{
    --rf-teal:#18B19C;
    --rf-teal-dark:#0E8F80;
    --rf-white:#ffffff;
    --rf-ink:#0b0f10;
    --rf-muted:rgba(255,255,255,.9);
  }
  
  /* ===== Liquid-Glass Section Backdrop ===== */
  .blog-main-section.rf-glass-green{
    position:relative;
    padding:clamp(24px,3vw,48px) 0 clamp(36px,4vw,72px);
    color:var(--rf-white);
    background:
      radial-gradient(900px 900px at -10% -20%, rgba(255,255,255,.18), transparent 60%),
      radial-gradient(1100px 1100px at 110% 120%, rgba(255,255,255,.14), transparent 65%),
      linear-gradient(180deg,var(--rf-teal) 0%, var(--rf-teal-dark) 100%);
    overflow:hidden;
  }
  
  .blog-main-section.rf-glass-green::before,
  .blog-main-section.rf-glass-green::after{
    content:"";
    position:absolute;
    border-radius:50%;
    filter:blur(48px);
    opacity:.35;
    pointer-events:none;
    animation:blobFloat 18s ease-in-out infinite alternate;
  }
  .blog-main-section.rf-glass-green::before{
    width:560px;height:560px;top:-180px;left:-160px;
    background:radial-gradient(circle at 30% 30%, #b9fff1, transparent 60%);
  }
  .blog-main-section.rf-glass-green::after{
    width:660px;height:660px;bottom:-220px;right:-200px;
    background:radial-gradient(circle at 70% 70%, #9af5e6, transparent 65%);
    animation-delay:.6s;
  }
  @keyframes blobFloat{0%{transform:translate(0,0) scale(1)}100%{transform:translate(24px,-24px) scale(1.05)}}
  
  /* ===== Container & Header ===== */
  .blog-listing-container{
    width:min(1200px,92vw);
    margin:auto;
    padding:0 16px;
  }
  .blog-list-header{
    margin:0 0 clamp(14px,2vw,22px);
    text-align:center;
    font-weight:800;
    letter-spacing:-0.01em;
  }
  .blog-list-header span{white-space:nowrap}
  
  /* ===== Grid ===== */
  .blog-cards-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:clamp(14px,2vw,22px);
  }
  @media (min-width: 820px){
    .blog-cards-grid{ grid-template-columns:1fr 1fr; }
  }
  @media (min-width: 1180px){
    .blog-cards-grid{ grid-template-columns:1fr 1fr 1fr; }
  }
  
  /* ===== Card (Glass) ===== */
  .blog-card{
    position:relative;
    border-radius:20px;
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.35);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    box-shadow:0 14px 30px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.32);
    overflow:hidden;
    transform-origin:center;
    transition:transform .22s ease, box-shadow .22s ease, background .22s ease;
  }
  .blog-card:hover{
    transform:translateY(-2px);
    box-shadow:0 18px 36px rgba(0,0,0,.26);
    background:rgba(255,255,255,.16);
  }
  .blog-card-link{ display:block; text-decoration:none; color:var(--rf-white); }
  
  /* Image */
  .blog-card-figure{ position:relative; margin:0; overflow:hidden; aspect-ratio:16/9; }
  .blog-card-img{
    width:100%; height:100%; object-fit:cover; display:block; border:0;
    transform:scale(1.02);
    transition:transform .45s ease;
    will-change:transform;
  }
  .blog-card:hover .blog-card-img{ transform:scale(1.06); }
  
  /* Title */
  .blog-card-title{
    padding:14px 16px 18px;
    font-weight:700;
    letter-spacing:-0.01em;
    line-height:1.25;
    min-height:3.2em;
  }
  
  /* Glossy sweep accent */
  .blog-card::before{
    content:""; position:absolute; inset:0;
    background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.16) 18%, transparent 36%);
    transform:translateX(-110%);
    animation:sheen 6s ease-in-out infinite;
    pointer-events:none;
  }
  @keyframes sheen{
    0%,10%{transform:translateX(-110%)}
    30%{transform:translateX(120%)}
    100%{transform:translateX(120%)}
  }
  
  /* ===== Reveal on Scroll ===== */
  .reveal{ opacity:0; transform:translateY(18px); }
  .reveal.in-view{ opacity:1; transform:none; transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  
  /* Accessibility: reduced motion */
  @media (prefers-reduced-motion: reduce){
    .reveal{ opacity:1; transform:none; }
    .blog-main-section.rf-glass-green::before,
    .blog-main-section.rf-glass-green::after,
    .blog-card::before{ animation:none; }
  }
  


/* Footer Styles */
.site-footer {
    background-color: #414141; /* Dark grey background */
    color: #fff; /* White text */
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
    position: relative; /* To ensure footer-bottom can align correctly */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Navigation, Social Media, and Info */
.footer-nav,
.footer-social,
.footer-info {
    flex: 1 1 calc(33.33% - 20px); /* Responsive grid */
    min-width: 200px;
}

.footer-nav h3,
.footer-social h3,
.footer-info h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
}

.footer-nav ul,
.footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li,
.footer-social ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a,
.footer-social ul li a {
    color: #ccc; /* Light grey links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover,
.footer-social ul li a:hover {
    color: #02917a; /* Green hover color */
}

/* Footer Info Section */
.footer-info {
    font-size: 0.9rem;
    color: #ccc; /* Light grey text */
    line-height: 1.6; /* Better readability */
}

.footer-info p {
    margin: 10px 0; /* Add spacing between lines */
}

.footer-info a {
    color: #18B19C; /* Replace with your brand's specific green color code */
    text-decoration: none; /* Optional: removes underline from the link */
}

.footer-info a:hover {
    color: #016954; /* Darker green for hover, adjust as needed */
    text-decoration: underline; /* Optional: adds underline on hover for better usability */
}


/* Footer Bottom */
.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #bbb; /* Lighter grey for bottom text */
    width: 100%;
}

.footer-bottom p {
    margin: 0;
    font-size: 1rem; /* Slightly larger for clarity */
    font-weight: bold; /* Make Reel Free stand out */
    color: #fff;
}

.footer-brand {
    font-weight: 700; /* Bold */
    color: #fff;
}

.footer-year {
    font-weight: 500; /* Medium */
    color: #ccc;
}

.footer-rights {
    font-weight: 300; /* Light */
    color: #bbb;
}

.footer-divider {
    margin: 0 0.3rem;
    color: #999;
}

/* Media Query for Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; /* Stack footer sections vertically */
        align-items: center;
        text-align: center;
    }

    .footer-nav,
    .footer-social,
    .footer-info {
        flex: 1 1 100%; /* Each section takes full width */
        margin-bottom: 20px; /* Add spacing between stacked sections */
    }

    .footer-bottom {
        margin-top: 20px; /* Adjust margin for smaller screens */
    }
}

/* ===========================
   Footer Chatbot Launcher
   =========================== */

   .footer-chat {
    /* mobile: flows under contact email */
    margin-top: 14px;
  }
  
  .rf-chatnote {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #9fd8cf; /* subtle teal tint under dark footer */
  }
  
  /* The pill button with two words: Help • Chat */
  .rf-chatbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 0;
    background: #18B19C;         /* brand teal */
    color: #0c2b27;               /* ink on teal */
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(2, 24, 43, 0.18);
    transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
  
  .rf-chatbtn:hover { transform: translateY(-1px); }
  .rf-chatbtn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(2, 24, 43, 0.16); }
  .rf-chatbtn:focus-visible { outline: 3px solid #33c9b5; outline-offset: 2px; }
  
  .rf-chatbtn-help { opacity: 0.95; }
  .rf-chatbtn-dot  { opacity: 0.75; }
  .rf-chatbtn-chat {
    background: #ffffff;
    color: #09443c;
    padding: 6px 10px;
    border-radius: 999px;
    line-height: 1;
    font-weight: 800;
  }
  
  /* Desktop positioning: attach to bottom-right corner of the footer */
  @media (min-width: 768px) {
    .site-footer {
      position: relative; /* already present, ensures absolute positioning is relative */
    }
    .footer-chat {
      position: absolute;
      right: 18px;
      bottom: 18px;
      margin-top: 0; /* override mobile spacing */
      text-align: right;
    }
  }
  
  /* Respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .rf-chatbtn { transition: none !important; }
  }
  