﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

    .logo img {
        height: 45px;
    }

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: #003366;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    padding: 10px 0;
    position: relative;
}

    nav a::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 0;
        width: 0;
        height: 2px;
        background: #0099cc;
        transition: width 0.3s;
    }

    nav a:hover::after {
        width: 100%;
    }

    nav a:hover {
        color: #0099cc;
    }

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    background: transparent;
    border: 2px solid #003366;
    color: #003366;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

    .btn-login:hover {
        background: #003366;
        color: #fff;
    }

.btn-signup {
    background: linear-gradient(135deg, #0099cc, #006699);
    border: none;
    color: #fff;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

    .btn-signup:hover {
        background: linear-gradient(135deg, #00aadd, #007799);
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(0,153,204,0.4);
    }

.profile-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0099cc, #006699);
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

    .profile-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0,153,204,0.4);
    }

    .profile-btn svg {
        width: 22px;
        height: 22px;
        fill: #fff;
    }

    .profile-btn.active {
        display: flex;
    }

.auth-buttons.logged-in .btn-login,
.auth-buttons.logged-in .btn-signup {
    display: none;
}

.auth-buttons.logged-in .profile-btn {
    display: flex;
}

/* Hero Section */
#home {
    background: url('/images/background.png') center center / cover no-repeat;
    background-attachment: fixed;
    color: #003366;
    padding: 140px 20px 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

    #home::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.2);
    }

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-right: 20px;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e6f4ff, #cce5ff);
    color: #0066aa;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#home h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, #003366, #0066aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#home .tagline {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: #0099cc;
}

#home p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0099cc, #006699);
    color: #fff;
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0,153,204,0.3);
}

    .cta-button:hover {
        background: linear-gradient(135deg, #00aadd, #007799);
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(0,153,204,0.4);
    }

.cta-secondary {
    background: transparent;
    border: 2px solid #003366;
    color: #003366;
    box-shadow: none;
}

    .cta-secondary:hover {
        background: #003366;
        color: #fff;
    }

.hero-screenshots {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Laptop Device Frame */
.laptop-frame {
    position: relative;
    max-width: 680px;
    width: 100%;
}

.laptop-screen {
    background: #fff;
    border-radius: 8px 8px 0 0;
    padding: 6px 6px 4px 6px;
    box-shadow: 0 25px 60px rgba(0,51,102,0.2);
    border: 1px solid rgba(0,51,102,0.1);
}

    .laptop-screen img {
        width: 100%;
        border-radius: 4px;
        display: block;
    }

.laptop-base {
    background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
    height: 12px;
    border-radius: 0 0 8px 8px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,51,102,0.15);
    border: 1px solid rgba(0,51,102,0.1);
    border-top: none;
}

    .laptop-base::before {
        content: '';
        position: absolute;
        top: 3px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(180deg, #e8e8e8 0%, #ddd 100%);
        border-radius: 2px;
    }

.laptop-notch {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ddd;
    border-radius: 50%;
}

/* Phone Device Frame */
.phone-frame {
    position: absolute;
    right: -20px;
    bottom: -40px;
    width: 160px;
    background: #fff;
    border-radius: 22px;
    padding: 6px 5px;
    box-shadow: 0 25px 60px rgba(0,51,102,0.25);
    border: 1px solid rgba(0,51,102,0.1);
}

    .phone-frame::before {
        content: '';
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: #e8e8e8;
        border-radius: 2px;
    }

.phone-screen {
    background: #f5f5f5;
    border-radius: 18px;
    overflow: hidden;
}

    .phone-screen img {
        width: 100%;
        display: block;
    }

/* Stats Bar */
.stats-bar {
    background: #fff;
    padding: 40px 20px;
    border-top: 1px solid #e5e5e5;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #0099cc;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Section Styling */
section {
    padding: 100px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    display: inline-block;
    background: linear-gradient(135deg, #e6f4ff, #cce5ff);
    color: #0066aa;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.8rem;
    color: #003366;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.15rem;
    color: #666;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Features Section */
#features {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.features-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.features-intro-text h3 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 20px;
    font-weight: 700;
}

.features-intro-text p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.features-intro-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,51,102,0.15);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,51,102,0.12);
        border-color: #0099cc;
    }

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e6f4ff, #cce5ff);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 26px;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #0099cc, #006699);
}

    .feature-card:hover .feature-icon span {
        filter: brightness(0) invert(1);
    }

.feature-card h3 {
    color: #003366;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* About Section */
#about {
    background: #fff;
}

.about-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.about-mission-text h3 {
    font-size: 2rem;
    color: #003366;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-mission-text p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-mission-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0,51,102,0.15);
}

.industries-served {
    background: linear-gradient(135deg, #f8fafc, #e6f4ff);
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 100px;
}

    .industries-served h3 {
        text-align: center;
        font-size: 1.8rem;
        color: #003366;
        margin-bottom: 40px;
    }

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.industry-item {
    background: #fff;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: #003366;
    box-shadow: 0 4px 20px rgba(0,51,102,0.08);
    transition: all 0.3s;
}

    .industry-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 30px rgba(0,51,102,0.15);
    }

    .industry-item span {
        display: block;
        font-size: 28px;
        margin-bottom: 10px;
    }

/* Founder Section */
.founder-section {
    background: linear-gradient(135deg, #003366, #004d80);
    border-radius: 24px;
    padding: 70px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
    color: #fff;
}

.founder-image {
    text-align: center;
}

    .founder-image img {
        width: 220px;
        height: 220px;
        border-radius: 50%;
        object-fit: cover;
        border: 5px solid rgba(255,255,255,0.2);
        box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    }

    .founder-image h4 {
        margin-top: 20px;
        font-size: 1.4rem;
        font-weight: 700;
    }

    .founder-image p {
        color: #66ccff;
        font-size: 0.95rem;
    }

.founder-bio h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.founder-bio p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.founder-credentials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}
.credential {
    background: rgba(255,255,255,0.1);
    padding: 12px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
}
/* Tablet */
@media (max-width: 1024px) {
    .founder-credentials {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .founder-credentials {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .founder-credentials {
        grid-template-columns: 1fr;
    }

    .credential {
        padding: 14px 20px;
    }
}

/* News Section */
#news {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

    .news-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 50px rgba(0,51,102,0.12);
    }

    .news-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

.news-card-content {
    padding: 28px;
}

.news-date {
    color: #0099cc;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-card h3 {
    color: #003366;
    margin-bottom: 15px;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, #003366 0%, #004d80 100%);
    color: #fff;
}

    #contact .section-title {
        color: #fff;
    }

    #contact .section-subtitle {
        color: rgba(255,255,255,0.8);
    }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 35px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}

    .contact-item .icon {
        width: 52px;
        height: 52px;
        background: rgba(255,255,255,0.1);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 20px;
        font-size: 22px;
    }

    .contact-item p {
        font-size: 1.05rem;
    }

.contact-form {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 16px 20px;
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 10px;
        margin-bottom: 18px;
        font-size: 1rem;
        font-family: inherit;
        background: rgba(255,255,255,0.95);
        color: #333;
        transition: all 0.3s;
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            outline: none;
            border-color: #0099cc;
            box-shadow: 0 0 0 3px rgba(0,153,204,0.2);
        }

    .contact-form textarea {
        height: 140px;
        resize: vertical;
    }

    .contact-form #contactsubmit {
        background: linear-gradient(135deg, #0099cc, #00bbdd);
        color: #fff;
        border: none;
        padding: 16px 45px;
        border-radius: 30px;
        font-size: 1.05rem;
        font-weight: 600;
        transition: all 0.3s;
        width: 100%;
        cursor: pointer; /* Add this */
    }

    .contact-form #contactsubmit:hover {
        background: linear-gradient(135deg, #00aadd, #00ccee);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0,153,204,0.4);
    }

    .contact-form #contactsubmit:disabled {
        cursor: not-allowed;
        opacity: 0.7;
        transform: none;
        box-shadow: none;
        pointer-events: auto; /* Add this - ensures cursor shows */
    }

    .contact-form #contactsubmit:disabled:hover {
        background: linear-gradient(135deg, #0099cc, #00bbdd); /* Keep same as normal */
        transform: none;
        box-shadow: none;
    }

/* Footer */
footer {
    background: #001a33;
    color: #fff;
    padding: 80px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

    .footer-social a {
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        text-decoration: none;
        transition: all 0.3s;
    }

        .footer-social a:hover {
            background: #0099cc;
            transform: translateY(-3px);
        }

.footer-links h5 {
    font-size: 1rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

    .footer-links a:hover {
        color: #0099cc;
        padding-left: 5px;
    }

.footer-app h5 {
    font-size: 1rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-app p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #000;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
}

    .app-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    }

    .app-btn svg {
        width: 28px;
        height: 28px;
    }

.app-btn-text {
    text-align: left;
}

    .app-btn-text span {
        display: block;
        font-size: 10px;
        color: #666;
    }

    .app-btn-text strong {
        font-size: 14px;
        font-weight: 600;
    }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

    .footer-legal a {
        color: rgba(255,255,255,0.6);
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s;
    }

        .footer-legal a:hover {
            color: #0099cc;
        }

/* Legal Pages (Privacy, Terms) */
.legal-page {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    padding-top: 140px;
    min-height: 100vh;
}

.legal-page .section-header {
    margin-bottom: 50px;
}

.legal-page .section-title {
    font-size: 2.5rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,51,102,0.08);
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    color: #003366;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.legal-section h3 {
    color: #004d80;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 12px;
}

.legal-section p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section p.intro-text {
    font-size: 1.1rem;
    color: #444;
    border-left: 4px solid #0099cc;
    padding-left: 20px;
    margin-bottom: 0;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-section ul li {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-section a {
    color: #0099cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.legal-section a:hover {
    color: #006699;
    text-decoration: underline;
}

.legal-section .contact-list {
    list-style: none;
    padding-left: 0;
}

.legal-section .contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.legal-section .contact-list li i {
    color: #0099cc;
    font-size: 1.2rem;
}

/* Industry item Bootstrap Icons */
.industry-item i {
    display: block;
    font-size: 28px;
    margin-bottom: 10px;
    color: #0099cc;
}

/* Feature card Bootstrap Icons */
.feature-card:hover .feature-icon i {
    color: #fff;
}

.feature-icon i {
    color: #0066aa;
    transition: color 0.3s;
}

/* Contact section Bootstrap Icons */
.contact-item .icon i {
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-screenshots {
        margin-top: 40px;
    }

    .phone-frame {
        right: 5%;
        bottom: -20px;
        width: 120px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-intro,
    .about-mission {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }

    nav ul {
        gap: 20px;
    }

    #home h1 {
        font-size: 2.2rem;
    }

    #home .tagline {
        font-size: 1.2rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .industries-served {
        padding: 40px 25px;
    }

    .founder-section {
        padding: 40px 25px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Legal pages responsive */
    .legal-content {
        padding: 30px 25px;
    }

    .legal-page .section-title {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.2rem;
    }
}



/* Container for messages */
#formMessages {
    margin-bottom: 20px;
}

/* Success Message - Modern Gradient with Animation */
.success-message {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
    animation: slideInDown 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

    /* Success Icon */
    .success-message::before {
        content: "✓";
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.25);
        border-radius: 50%;
        font-weight: bold;
        font-size: 18px;
        flex-shrink: 0;
        animation: scaleIn 0.6s ease-out 0.2s both;
    }

    /* Animated background shimmer */
    .success-message::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent );
        animation: shimmer 2s infinite;
    }

/* Error Message - Red Gradient */
.error-message, text-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 18px 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.35);
    animation: shake 0.5s ease-out;
}

.text-content {
    text-align: justify;
    text-justify: inter-word;
}

/* ====================================
   ANIMATIONS
   ==================================== */

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Fade out animation (used by JavaScript) */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.fade-out {
    animation: fadeOut 0.5s ease-out forwards;
}

/* ====================================
   RESPONSIVE
   ==================================== */

@media (max-width: 768px) {
    .success-message,
    .error-message {
        padding: 16px 20px;
        font-size: 15px;
    }

        .success-message::before,
        .error-message::before {
            width: 28px;
            height: 28px;
            font-size: 16px;
        }
}



/* ====================================
   MOBILE HEADER STYLES
   ==================================== */

/* Hamburger Menu Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    border-radius: 8px;
    transition: background-color 0.3s;
}

    .mobile-menu-toggle:hover {
        background: rgba(0, 51, 102, 0.08);
    }

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #003366;
    border-radius: 2px;
    transition: all 0.3s ease;
}

    .hamburger-line:nth-child(1) {
        margin-bottom: 5px;
    }

    .hamburger-line:nth-child(3) {
        margin-top: 5px;
    }

/* Hamburger Animation - Active State */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }

/* ====================================
   TABLET BREAKPOINT (1024px)
   ==================================== */
@media (max-width: 1024px) {
    .header-container {
        padding: 12px 20px;
    }

    nav ul {
        gap: 20px;
    }

    nav a {
        font-size: 14px;
    }

    .btn-login {
        padding: 7px 16px;
        font-size: 13px;
    }

    .btn-signup {
        padding: 9px 18px;
        font-size: 13px;
    }
}

/* ====================================
   MOBILE BREAKPOINT (768px)
   ==================================== */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 10px 16px;
    }

    .logo img {
        height: 38px;
    }

    /* Show hamburger menu */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Mobile Navigation Panel */
    .header-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 30px;
        gap: 0;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

        .header-right.active {
            right: 0;
        }

        /* Mobile Navigation */
        .header-right nav {
            width: 100%;
            margin-bottom: 30px;
        }

            .header-right nav ul {
                flex-direction: column;
                gap: 0;
            }

            .header-right nav li {
                border-bottom: 1px solid #f0f0f0;
            }

            .header-right nav a {
                display: block;
                padding: 16px 0;
                font-size: 16px;
                font-weight: 500;
            }

                .header-right nav a::after {
                    display: none;
                }

                .header-right nav a:hover {
                    color: #0099cc;
                    padding-left: 8px;
                }

    /* Mobile Auth Buttons */
    .auth-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        padding-top: 20px;
        border-top: 1px solid #e5e5e5;
    }

    .btn-login,
    .btn-signup {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
    }

    .profile-btn {
        width: 100%;
        border-radius: 25px;
        padding: 12px 20px;
    }

        .profile-btn.active {
            justify-content: center;
        }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* ====================================
   SMALL MOBILE BREAKPOINT (480px)
   ==================================== */
@media (max-width: 480px) {
    .header-container {
        padding: 8px 12px;
    }

    .logo img {
        height: 34px;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .hamburger-line {
        width: 22px;
    }

    .header-right {
        width: 100%;
        max-width: 100%;
        padding: 70px 20px 30px;
    }
}
/* ====================================
   TOAST NOTIFICATIONS
   ==================================== */

#toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
}

.toast {
    min-width: 320px;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: toastSlideIn 0.4s ease-out;
    position: relative;
    overflow: hidden;
}

    .toast::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        height: 4px;
        width: 100%;
        background: rgba(255, 255, 255, 0.4);
        animation: toastProgress 5s linear forwards;
    }

.toast-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.toast-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.toast-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.toast-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    padding: 0;
}

    .toast-close:hover {
        opacity: 1;
    }

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.toast-exit {
    animation: toastSlideOut 0.3s ease-in forwards;
}

@media (max-width: 480px) {
    #toast-container {
        top: 80px;
        right: 10px;
        left: 10px;
    }

    .toast {
        min-width: auto;
    }
}
/* ====================================
   CONTACT FORM MESSAGES
   ==================================== */

/* Base Styles */
#contact-results,
#contact-error {
    border-radius: 12px;
    margin-top: 20px;
    animation: slideDown 0.4s ease-out;
}

/* Success Message */
#contact-results {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* Error Message */
#contact-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

    /* ====================================
   VALIDATION ERROR (Simple - No close/progress)
   ==================================== */
    #contact-error ul {
        list-style: none;
        padding: 20px 25px;
        margin: 0;
        text-align: left;
    }

    #contact-error ul li {
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 14px;
    }

    #contact-error ul li:last-child {
        border-bottom: none;
    }

    #contact-error ul li::before {
        content: "•";
        margin-right: 10px;
        font-weight: bold;
    }

/* ====================================
   SUCCESS/ERROR MESSAGE (With close/progress)
   ==================================== */
.form-message-wrapper {
    position: relative;
    padding: 20px 50px 20px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    overflow: hidden;
}
.form-message-body {
    text-align: center;
    justify-items: center;
}
.form-message-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    flex-shrink: 0;
}

.form-message-content {
    flex: 1;
}

.form-message-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.form-message-content p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.5;
}

/* Close Button */
.form-message-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    line-height: 1;
}

.form-message-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Progress Bar */
/*.form-message-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.4);
    animation: progressBar 5s linear forwards;
}*/

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*@keyframes progressBar {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}*/

/* Invalid input field */
/*.input-validation-error {
    border-color: #e74c3c !important;
    background-color: #fff5f5 !important;
}*/

/*    .input-validation-error:focus {
        border-color: #e74c3c !important;
        box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
    }*/

/* Slide-in animation */
/*@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}*/