/* SpyderMail Corporate Theme (Light) */
:root {
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #555555;
    --accent-color: #0056b3;
    /* Professional Blue */
    --accent-hover: #004494;
    --nav-height: 120px;
    --nav-height-scrolled: 60px;
    --font-main: 'Roboto', sans-serif;
    --border-color: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--nav-height);
    /* Prevent content jump */
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn:hover {
    background: var(--accent-color);
    color: white;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

/* Header & Nav */
header {
    background-color: #003366;
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: height 0.3s ease;
    display: flex;
    align-items: center;
}

header.scrolled {
    height: var(--nav-height-scrolled);
}

header .container {
    height: 100%;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
}

.logo a img {
    height: 90px;
    transition: height 0.3s ease;
    filter: none;
}

header.scrolled .logo a img {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
    display: block;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: white;
}

.nav-links li a.btn {
    padding: 12px 30px;
    margin-left: 15px;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #003366;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 10px 0;
    border-top: 2px solid var(--accent-color);
}

.nav-links li:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
    display: block;
    width: 100%;
}

.dropdown-menu li a {
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

/* Mobile Nav */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: var(--nav-height);
        gap: 0;
        flex-direction: column;
        background-color: #003366;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding-bottom: 20px;
    }

    header.scrolled .nav-links {
        top: var(--nav-height-scrolled);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        padding: 15px;
    }

    .dropdown-menu {
        position: static;
        display: none;
        /* Can be toggled with JS or hover on mobile */
        background-color: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-top: none;
        min-width: 100%;
    }

    .nav-links li:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding-left: 30px;
    }
}

/* Hero Section */
.hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    padding-top: 0;
}

/* Network Hero (Dark) */
.hero-network {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero-man.png');
    background-size: cover;
    background-position: center;
    color: white;
}

/* Contact Hero */
.hero-contact {
    background: linear-gradient(rgba(0, 51, 102, 0.6), rgba(0, 51, 102, 0.6)), url('../images/hero-contact.png');
    background-size: cover;
    background-position: center;
    color: white;
}

/* How It Works Hero */
.hero-gears {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero-gears.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    /* Consistent height */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-gears .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-gears .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Reasons Hero */
.hero-reasons {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero-reasons.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    /* Consistent height */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-reasons .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-reasons .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Trial Hero */
.hero-trial {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('../images/hero-trial.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    /* Match Contact page hero height */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-trial .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Reasons Hero */
.hero-reasons {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero-reasons.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    /* Consistent height */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-reasons .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-reasons .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Reasons Hero */
.hero-reasons {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero-reasons.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    /* Consistent height */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-reasons .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-reasons .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* ClickSmart Hero */
.hero-clicksmart {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero-clicksmart.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    /* Consistent height */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-clicksmart .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-clicksmart .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Email Security Hero */
.hero-email-security {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero-email-security.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    /* Consistent height */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-email-security .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-email-security .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Email Security Hero */



/* Privacy Hero */
.hero-privacy {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero-privacy.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-privacy .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-privacy .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Terms Hero */
.hero-terms {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero-terms.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-terms .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-terms .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Pricing Hero */
.hero-pricing {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero-pricing.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-pricing .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-pricing .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Office 365 Hero */
.hero-office365 {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero-office365.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-office365 .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-office365 .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.hero-email-security {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero-email-security.png');
    background-size: cover;
    background-position: center;
    color: white;
    height: 50vh;
    /* Consistent height */
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-email-security .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.hero-email-security .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

.hero-trial .hero-content p {
    color: rgba(255, 255, 255, 0.9);
}

.hero-network .hero-content h1,
.hero-contact .hero-content h1 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-network .hero-content p,
.hero-contact .hero-content p {
    color: rgba(255, 255, 255, 0.9);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #2c3e50;
    text-shadow: none;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
    font-weight: 300;
}

/* Content Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.section-title .line {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto;
    box-shadow: none;
}


/* Content Block (Terms, Privacy, etc.) */
.content-block h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.content-block p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 0;
}

/* Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.card p {
    color: #666;
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 10px 0 20px;
    line-height: 1;
}

.price-tag small {
    font-size: 1rem;
    color: #777;
    font-weight: 400;
}

/* CTA Section */
.cta-section {
    background: #003366;
    color: white;
    text-align: center;
    border: none;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section .btn {
    border-color: white;
    color: white;
}

.cta-section .btn:hover {
    background: white;
    color: #003366;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #555;
    line-height: 1.5;
}

.feature-list li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--accent-color);
}

/* Footer */
footer {
    background: #f1f1f1;
    padding: 60px 0 20px;
    border-top: 1px solid #ddd;
    color: #555;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-col h4 {
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-col ul li a {
    color: #666;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid #ddd;
    color: #888;
}

/* Common form styles override */
input,
textarea {
    background: white !important;
    color: #333 !important;
    border: 1px solid #ccc !important;
}

input:focus,
textarea:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

/* Contact Page Specifics */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    /* Provide more width to the form */
    gap: 60px;
    align-items: start;
}

.contact-form label {
    color: #333;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    /* Taller and wider padding */
    font-size: 1rem;
    border-radius: 4px;
    background: #fdfdfd !important;
}

.contact-form textarea {
    resize: vertical;
}

.contact-info {
    font-size: 1.1rem;
    color: #555;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.contact-info p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.contact-info strong {
    color: #333;
    font-weight: 700;
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 0;
    max-width: 100%;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}/* FAQ Accordion */

details.faq-accordion {

    background: white;

    border: 1px solid var(--border-color);

    border-radius: 8px;

    margin-bottom: 15px;

    overflow: hidden;

    transition: all 0.3s ease;

}



details.faq-accordion[open] {

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);

    border-color: var(--accent-color);

}



details.faq-accordion summary {

    padding: 20px;

    cursor: pointer;

    font-weight: 700;

    color: #2c3e50;

    list-style: none;

    position: relative;

    padding-right: 50px;

    font-size: 1.1rem;

}



details.faq-accordion summary::-webkit-details-marker {

    display: none;

}



details.faq-accordion summary::after {

    content: '+';

    position: absolute;

    right: 20px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--accent-color);

    font-size: 1.5rem;

    font-weight: 300;

    transition: transform 0.3s ease;

}



details.faq-accordion[open] summary::after {

    transform: translateY(-50%) rotate(45deg);

}



details.faq-accordion[open] summary {

    border-bottom: 1px solid #eee;

    background-color: #fcfcfc;

}



.faq-content {

    padding: 20px;

    color: #555;

    line-height: 1.6;

    background: white;

}



.faq-content p {

    margin-bottom: 15px;

}



.faq-content p:last-child {

    margin-bottom: 0;

}


/* Specific override for Home Page */
.hero-index {
    height: 60vh !important;
}
