/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Improve touch targets for mobile */
a, button {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Improve readability */
p {
    margin-bottom: 1em;
}

/* Prevent horizontal scroll on mobile */
body, html {
    overflow-x: hidden;
}

/* Navigation Styles */
header {
    background-color: #00A7C5;
    padding: 10px 0;
}

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

.nav-logo .logo {
    height: 60px;
    width: auto;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.75);
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
    list-style-type: none;
    display: flex;
    justify-content: center;
    margin: 0;
    transition: all 0.3s ease;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 1.0);
    transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #ffcc00;
}

a {
    color: #00A7C5;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: url('../images/hero-image-01.png') no-repeat center center/cover;
    height: 80vh;
    min-height: 825px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 50px 0px 50px 0px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.55);
}

.hero-logo-img {
    height: 450px;
    width: auto;
}

.hero-text {
    width: 100%;
}

.hero-text h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    text-shadow: 
        -1px -1px 0 #888,  
        1px -1px 0 #888,
        -1px 1px 0 #888,
        1px 1px 0 #888,
        0px 0px 15px rgba(255, 255, 255, 1.0);
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 20px;
    text-shadow: 
        -1px -1px 0 #888,  
        1px -1px 0 #888,
        -1px 1px 0 #888,
        1px 1px 0 #888,
        0px 0px 15px rgba(255, 255, 255, 0.85);
    
}

.hero-buttons .btn {
    display: inline-flex;
    padding: 12px 24px;
    margin: 10px;
    text-decoration: none;
    color: white;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 1.0);
    background-color: #FFA500;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    min-height: 48px;
    touch-action: manipulation;
    align-items: center;
    justify-content: center;
}

.hero-buttons .btn.learn-more {
    background-color: #FFCC00;
}

.hero-buttons .btn:hover {
    background-color: #00A7C5;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn:active {
    transform: translateY(0);
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 50px 0;
    background-color: #f0f0f0;
}

.feature-item {
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
    max-width: 300px;
}

.feature-item img {
    width: 80px;
    margin-bottom: 15px;
}

.feature-item .feature-icon {
    font-size: 80px;
    color: #00A7C5;
    margin-bottom: 15px;
    display: block;
}

.feature-item h2 {
    color: #00A7C5;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
}

/* Footer Styles */
footer {
    background-color: #00A7C5;
    color: white;
    text-align: center;
    align-items: center;
    padding: 20px 0;
    position: relative;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content a {
    color: #ffffff;
    text-decoration: underline;
    align-content: center;
}

.footer-logo-img {
    height: 25px;
    margin: 10px;
    width: auto;
}

.footer-text {
    text-align: center;
}

footer p {
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 50px 0;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.contact-container {
    background-color: #fff;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.contact h1 {
    text-align: center;
    color: #00A7C5;
    margin-bottom: 20px;
}

.contact p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

input, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input:focus, textarea:focus {
    border-color: #00A7C5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 167, 197, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #00A7C5;
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-height: 48px;
    touch-action: manipulation;
}

.submit-btn:hover {
    background-color: #FFCC00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Security: Hide honeypot field from users but keep it accessible to bots */
input[name="honeyPot"] {
    display: none !important;
    visibility: hidden;
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Privacy Section */
.privacy {
    padding: 50px 0;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.privacy-container {
    background-color: #fff;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.privacy h1 {
    text-align: center;
    color: #00A7C5;
    margin-bottom: 20px;
}

.privacy h2 {
    color: #333;
    margin-top: 30px;
}

.privacy p, .privacy ul {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.privacy ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Terms Section */
.terms {
    padding: 50px 0;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.terms-container {
    background-color: #fff;
    padding: 40px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.terms h1 {
    text-align: center;
    color: #00A7C5;
    margin-bottom: 20px;
}

.terms h2 {
    color: #333;
    margin-top: 30px;
}

.terms p, .terms ul {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.terms ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Product Page */
.product {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.product-intro, .how-it-works, .features, .specs, .cta {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product h1, .product h2 {
    color: #00A7C5;
    text-align: center;
    margin-bottom: 20px;
}

.product p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.product-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
}

/* Floating product image */
.product-image-floating {
    float: right;
    max-width: 500px;
    height: auto;
    margin: 30px 90px 30px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* Clearfix utility */
.clearfix {
    clear: both;
}

/* Ordered list styling for product page */
.how-it-works ol {
    margin-left: 20px;
    margin-bottom: 30px;
}

.how-it-works ol li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.how-it-works ol ol {
    margin-left: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.how-it-works ol ol li {
    margin-bottom: 8px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.feature-item {
    text-align: center;
}

.feature-item img {
    width: 60px;
    margin-bottom: 15px;
}

.feature-item .feature-icon {
    font-size: 60px;
    color: #00A7C5;
    margin-bottom: 15px;
    display: block;
}

.feature-item h3 {
    color: #00A7C5;
    margin-bottom: 10px;
}

/* Specifications Table */
.specs table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
}

.specs th, .specs td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.specs th {
    background-color: #00A7C5;
    color: white;
}

.specs td {
    color: #333;
}

/* Center align the Minimum, Typical, and Maximum columns */
.specs th:nth-child(2),
.specs th:nth-child(3),
.specs th:nth-child(4),
.specs td:nth-child(2),
.specs td:nth-child(3),
.specs td:nth-child(4) {
    text-align: center;
}

/* Specifications Footnotes */
.specs-footnotes {
    margin: 30px 0px 30px 0px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #00A7C5;
}

.specs-footnotes h3 {
    color: #00A7C5;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.specs-footnotes p {
    margin-bottom: 10px;
    font-size: 0.9em;
    line-height: 1.8;
}

.specs-footnotes p:last-child {
    margin-bottom: 0;
}

/* Footnote Links */
.footnote-link {
    color: #00A7C5;
    text-decoration: none;
    font-weight: bold;
    min-height: auto;
    min-width: auto;
    display: inline;
    margin-left: 2px;
}

.footnote-link:hover {
    color: #0080a0;
    text-decoration: underline;
}

.footnote-link sup {
    font-size: 0.8em;
}

/* Call to Action */
.cta {
    text-align: center;
    background-color: #00A7C5;
    color: white;
    padding: 40px 20px;
    margin-top: 40px;
    border-radius: 8px;
}

.cta p {
    color: white;
}

.cta-btn {
    display: inline-flex;
    margin-top: 15px;
    padding: 12px 24px;
    color: white;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.75);
    background-color: #FFCC00;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-height: 48px;
    touch-action: manipulation;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background-color: #FFA500;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.cta-btn:active {
    transform: translateY(0);
}

/* About Us Section */
.about {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about h1, .about h2 {
    color: #00A7C5;
    text-align: center;
    margin-bottom: 20px;
}

.about p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
}

/* Values List */
.about ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #666;
}

.about ul li {
    margin-bottom: 10px;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member h3 {
    color: #00A7C5;
    margin-bottom: 5px;
}

/* Mobile-First Responsive Design */

/* Small phones - up to 480px */
@media (max-width: 480px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        justify-content: space-between;
        padding: 10px 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #00A7C5;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 0;
        margin: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-menu li a {
        font-size: 18px;
        padding: 10px 20px;
        display: block;
        text-align: center;
    }
    
    .nav-logo .logo {
        height: 40px;
    }
    
    /* Hero Section */
    .hero {
        height: 70vh;
        min-height: 650px;
        padding: 20px 10px;
    }
    
    .hero-content {
        padding: 20px 10px;
        gap: 15px;
    }
    
    .hero-logo-img {
        height: 120px;
    }
    
    .hero-text h1 {
        font-size: 1.5em;
        margin-bottom: 15px;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1em;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 80%;
        max-width: 200px;
        text-align: center;
        padding: 12px 20px;
        margin: 5px 0;
    }
    
    /* Features Section */
    .features {
        flex-direction: column;
        padding: 30px 15px;
        gap: 30px;
    }
    
    .feature-item {
        padding: 20px 15px;
        max-width: 100%;
    }
    
    .feature-item .feature-icon {
        font-size: 60px;
    }
    
    .feature-item h2, .feature-item h3 {
        font-size: 1.2em;
    }
    
    /* Content Containers */
    .contact-container,
    .terms-container,
    .privacy-container {
        padding: 15px;
        margin: 10px;
    }
    
    .contact-container h1,
    .terms h1,
    .privacy h1 {
        font-size: 1.5em;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 15px;
    }
    
    input, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        width: 100%;
        font-size: 16px;
        padding: 12px;
    }
    
    /* Product Page */
    .product-intro,
    .how-it-works,
    .specs,
    .cta {
        padding: 15px;
    }
    
    .product h1 {
        font-size: 1.6em;
    }
    
    .product h2 {
        font-size: 1.3em;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Make floating product image not float on mobile */
    .product-image-floating {
        float: none;
        display: block;
        max-width: 100%;
        margin: 30px 90px 30px 30px;
    }
    
    /* Tables */
    .specs table {
        font-size: 14px;
    }
    
    .specs th,
    .specs td {
        padding: 8px;
    }
    
    /* About Page */
    .about-container {
        padding: 15px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Footer */
    .footer-content {
        gap: 8px;
        padding: 0 15px;
    }
    
    .footer-logo-img {
        height: 20px;
    }
    
    footer p {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Medium phones and small tablets - 481px to 768px */
@media (min-width: 481px) and (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        justify-content: space-between;
        padding: 15px 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: #00A7C5;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 1000;
        padding: 0;
        margin: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 20px 0;
    }
    
    .nav-menu li a {
        font-size: 20px;
        padding: 12px 24px;
        display: block;
        text-align: center;
    }
    
    .nav-logo .logo {
        height: 50px;
    }
    
    /* Hero Section */
    .hero {
        height: 75vh;
        min-height: 550px;
    }
    
    .hero-content {
        padding: 30px 15px;
        gap: 20px;
    }
    
    .hero-logo-img {
        height: 200px;
    }
    
    .hero-text h1 {
        font-size: 2.2em;
        margin-bottom: 20px;
    }
    
    .hero-text p {
        font-size: 1.1em;
        padding: 0 20px;
    }
    
    .hero-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
    }
    
    /* Features */
    .features {
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
    }
    
    .feature-item {
        max-width: 100%;
        padding: 25px 20px;
    }
    
    .feature-item .feature-icon {
        font-size: 70px;
    }
    
    /* Content Containers */
    .contact-container,
    .terms-container,
    .privacy-container {
        padding: 25px;
        margin: 15px;
    }
    
    /* Product Page */
    .product-intro,
    .how-it-works,
    .specs,
    .cta {
        padding: 20px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Make floating product image smaller on tablets */
    .product-image-floating {
        max-width: 250px;
        margin: 30px 30px 30px 30px;
    }
    
    /* About Page */
    .about-container {
        padding: 20px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Footer */
    .footer-content {
        gap: 10px;
        padding: 0 20px;
    }
}

/* Tablets and small desktops - 769px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Navigation - keep desktop style but smaller */
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-container {
        justify-content: space-between;
        padding: 12px 30px;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        justify-content: flex-end;
        z-index: auto;
    }
    
    .nav-menu li {
        margin: 0 12px;
    }
    
    .nav-menu li a {
        font-size: 16px;
        padding: 0;
        display: inline;
        text-align: left;
    }
    
    .nav-logo .logo {
        height: 55px;
    }
    
    /* Hero Section */
    .hero-logo-img {
        height: 300px;
    }
    
    .hero-text h1 {
        font-size: 2.6em;
    }
    
    .hero-text p {
        font-size: 1.15em;
        padding: 0 40px;
    }
    
    /* Features */
    .features {
        padding: 45px 30px;
    }
    
    .feature-item {
        max-width: 280px;
    }
    
    /* Content Containers */
    .contact-container,
    .terms-container,
    .privacy-container {
        padding: 35px;
    }
    
    /* Product Page */
    .product-intro,
    .how-it-works,
    .specs,
    .cta {
        padding: 25px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* About Page */
    .about-container {
        padding: 25px;
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large screens - above 1024px (existing styles apply) */
@media (min-width: 1025px) {
    /* Navigation - ensure desktop behavior */
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        justify-content: flex-end;
        z-index: auto;
    }
    
    .nav-menu li {
        margin: 0 15px;
    }
    
    .nav-menu li a {
        font-size: 16px;
        padding: 0;
        display: inline;
        text-align: left;
    }
    
    /* Ensure proper scaling for very large screens */
    .nav-container,
    .product-intro,
    .how-it-works,
    .specs,
    .cta,
    .about-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .hero-text h1 {
        font-size: 3.2em;
    }
    
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 90vh;
    }
    
    .hero-logo-img {
        height: 80px;
    }
    
    .hero-text h1 {
        font-size: 1.8em;
    }
    
    .hero-content {
        padding: 15px;
        gap: 10px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .nav-logo .logo,
    .hero-logo-img,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}