/* Color variables - Add these at the top of your CSS file */
:root {
    /* Primary palette */
    --primary-dark: #005E7C;    /* Deep ocean blue */
    --primary: #0099CC;         /* Clear water blue */
    --primary-light: #7FDBFF;   /* Bright sky blue */
    
    /* Secondary colors */
    --secondary-teal: #00A3A3;  /* Teal/aqua */
    --secondary-seafoam: #71EEB8; /* Seafoam green */
    
    /* Neutrals */
    --dark: #333;
    --medium: #666;
    --light: #f8f9fa;
    --white: #fff;
    
    /* Accents */
    --accent-coral: #FF7F50;    /* Coral accent - complementary to blue */
    --accent-sand: #E0D2B4;     /* Sandy shores */
}

/* Base styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header styles */
header {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 0.6rem 0; /* Reduced from 1rem to 0.6rem */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px; /* Reduced from 50px to 40px */
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s;
}

.nav-links a:hover:after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline {
    border: 2px solid white;
    background: transparent;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #0044cc;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background: white;
    color: #0044cc;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: #f0f0f0;
    border-color: #f0f0f0;
}

/* Hero section styles */
.hero {
    /* Remove the background gradient, we'll use video instead */
    color: white;
    padding-top: 70px; /* Adjust this value to match the new header height (was 80px) */
    position: relative;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.video-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 94, 124, 0.85), rgba(0, 153, 204, 0.65));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 85vh;
    padding: 2rem 0;
}

.hero-text {
    flex: 1;
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* New Sections */
/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #555;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.benefit-card p {
    color: #666;
}

/* Platform Section */
.platform {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f4ff, rgba(0, 163, 163, 0.1));
}

.platform-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.platform-text {
    flex: 1;
}

.platform-text h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.platform-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.platform-features {
    list-style: none;
    padding: 0;
}

.platform-features li {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.platform-features i {
    color: var(--primary);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.platform-features li strong {
    color: var(--dark);
}

.platform-image {
    flex: 1;
}

.platform-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Enhanced Platform Section Styles */
.platform {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f4ff, rgba(0, 163, 163, 0.1));
}

.platform-subsection {
    margin-bottom: 4rem;
}

.platform-subsection h3 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}

.platform-subsection h3:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.platform-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.platform-content.reverse {
    flex-direction: row-reverse;
}

.platform-text, .platform-image {
    flex: 1;
}

.platform-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.platform-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.platform-image img:hover {
    transform: scale(1.02);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.feature-card p {
    color: #666;
    font-size: 1rem;
}

/* Interfaces Section */
.interfaces-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #555;
}

.interfaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.interface-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
}

.interface-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.interface-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.interface-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.interface-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Solutions Section */
.solutions {
    padding: 6rem 0;
    background-color: white;
}

.solutions-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: width 0.3s;
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn.active:after {
    width: 100%;
}

.tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Dashboard Section */
.dashboard {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.dashboard-preview {
    margin: 0 auto 4rem;
    text-align: center;
}

.dashboard-preview img {
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.dashboard-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature p {
    color: #666;
}

/* Demo Section */
.demo {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
}

.demo-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.demo-text {
    flex: 1;
}

.demo-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.demo-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.demo-benefits {
    list-style: none;
    padding: 0;
}

.demo-benefits li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.demo-benefits i {
    margin-right: 1rem;
    color: #ffffff;
}

.demo-form {
    flex: 1;
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    gap: 4rem;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #0044cc;
    color: white;
    border-radius: 50%;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #003399;
}

.contact-map {
    flex: 1.5;
}

.contact-map iframe {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    max-width: 300px;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: white;
}

/* Mobile responsiveness */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    height: 2px;
    width: 100%;
    background-color: white;
    transition: all 0.3s;
}

@media (max-width: 992px) {
    .hero-content, .platform-content, .tab-content-inner, .demo-content, .contact-content {
        flex-direction: column;
    }
    
    .hero-text, .hero-image, .platform-text, .platform-image, .tab-image, .tab-text, .demo-text, .demo-form {
        padding: 0;
        text-align: center;
    }
    
    .hero-image, .platform-image, .tab-image {
        margin-top: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .platform-content, .platform-content.reverse {
        flex-direction: column;
    }
    
    .platform-text, .platform-image {
        width: 100%;
    }
    
    .platform-image {
        margin-top: 2rem;
    }
    
    .features-grid, .interfaces-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text, .hero-image {
        padding: 0;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
        margin-bottom: 12rem; /* Add bottom margin to create space before footer */
    }
    
    .video-background video {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 65px; /* Adjusted from 80px to 65px */
        left: 0;
        flex-direction: column;
        width: 100%;
        background-color: #0044cc;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        z-index: 100;
    }
    
    .nav-links.active {
        max-height: 300px;
    }
    
    .nav-links li {
        text-align: center;
        padding: 1rem 0;
    }
    
    .header-buttons {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tabs-nav {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }
    
    /* Hide header login button on mobile */
    .header-buttons {
        display: none;
    }
    
    /* Show mobile login button in hero section */
    .mobile-login-btn {
        display: inline-block !important; /* Use !important to override any conflicting styles */
        background: transparent;
        color: white;
        border: 2px solid white;
    }
    
    .mobile-login-btn:hover {
        background: white;
        color: var(--primary);
    }
    
    /* Center and style hero buttons on mobile */
    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin: 0 auto;
        width: 100%;
        max-width: 300px; /* Limit width for better appearance */
    }
    
    /* Make buttons equal width for better appearance */
    .hero-buttons .btn {
        flex: 1;
        text-align: center;
        min-width: 120px;
    }
    
    .hero-text {
        text-align: center;
        padding: 0 1rem;
    }
}

/* Update platform section for the added content */
.platform-text h3 {
    font-size: 1.6rem;
    color: var(--primary);
    margin: 1.5rem 0 1rem;
}

/* Footer specific adjustments */
.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

/* Full-screen hero for home page */
.fullscreen-hero {
    height: 100vh;
    margin-top: 0;
    display: flex;
    align-items: center;
    position: relative;
}

.home-page .hero-container {
    height: 100%;
}

.home-page .hero-content {
    min-height: 100vh;
    padding-top: 70px; /* Account for header height */
}

/* Page Title Section for individual pages */
.page-title {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 100px 0 30px;
    text-align: center;
    margin-bottom: 2rem;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-title p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Secondary Benefits Section */
.secondary-benefits {
    background-color: #f0f7ff;
}

/* Call to Action Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary-teal));
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Additional responsive adjustments */
@media (max-width: 768px) {
    .fullscreen-hero .hero-content {
        padding-top: 80px;
    }
    
    .page-title {
        padding: 80px 0 30px;
    }
    
    .page-title h1 {
        font-size: 2rem;
    }
}

/* Mobile login button styles */
.mobile-login-btn {
    display: none;
}
