/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066cc;
    --dark-blue: #004080;
    --light-blue: #3399ff;
    --accent-blue: #0080ff;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --gray: #e0e6ed;
    --dark-gray: #4a5568;
    --text-color: #2d3748;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 0.2rem;
    display: block;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

nav a:hover {
    opacity: 0.8;
}

/* Header CTA Button */
.header-cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.header-cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.header-cta-button svg {
    flex-shrink: 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.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);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
}

.feature-badge svg {
    width: 24px;
    height: 24px;
}

.cta-button {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Local Support Banner */
.local-banner {
    background-color: var(--light-blue);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
}

.local-banner h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.local-banner p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Plans Section */
.plans-section {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.plans-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

.small-link {
    font-size: 0.85rem;
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
    font-weight: 500;
}

.small-link:hover {
    border-bottom-color: var(--primary-blue);
}

/* SLA Banner */
.sla-banner {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 128, 255, 0.15) 100%);
    border: 2px solid var(--light-blue);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.sla-banner h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.sla-banner p {
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Network Security Section */
.network-security {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.security-expandable {
    background: var(--light-gray);
    border: 2px solid var(--gray);
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.security-expandable summary {
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    list-style: none;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s, color 0.3s;
    animation: pulse 2s ease-in-out infinite;
}

.security-expandable summary::-webkit-details-marker {
    display: none;
}

.security-expandable summary:hover {
    background-color: rgba(0, 102, 204, 0.05);
}

.security-expandable[open] summary {
    background-color: var(--primary-blue);
    color: var(--white);
    border-bottom: 2px solid var(--dark-blue);
    animation: none;
}

.security-content {
    padding: 2.5rem;
    animation: fadeIn 0.4s ease-out;
}

.security-content h4 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-align: center;
}

.security-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.security-feature {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.security-feature h5 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.security-feature p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.security-feature strong {
    color: var(--dark-blue);
}

.security-benefits {
    list-style: none;
    margin-top: 1rem;
}

.security-benefits li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
    border-bottom: 1px solid var(--gray);
}

.security-benefits li:last-child {
    border-bottom: none;
}

.security-benefits li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.security-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.security-cta p {
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.plan-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    position: relative;
    border: 2px solid transparent;
    cursor: pointer;
    user-select: none;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
    border-color: var(--light-blue);
}

.plan-card.featured {
    border-color: var(--primary-blue);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.2);
}

.plan-card.selected {
    border-color: #22a855;
    box-shadow: 0 8px 25px rgba(34, 168, 85, 0.25);
}

.plan-card.selected .plan-select-hint {
    color: #22a855;
    font-weight: 600;
}

.plan-card.selected::before {
    content: '✓';
    position: absolute;
    top: 12px;
    left: 15px;
    background: #22a855;
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.plan-select-hint {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray);
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plan-header h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.plan-speed {
    color: var(--dark-gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.plan-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0.25rem;
}

.plan-price .period {
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.plan-features {
    list-style: none;
}

.plan-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    border-bottom: 1px solid var(--gray);
}

.plan-features li:last-child {
    border-bottom: none;
}

/* VoIP Section */
.voip-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.voip-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* VoIP Benefits Section */
.voip-benefits {
    max-width: 1000px;
    margin: 2rem auto 3rem;
}

/* Email Benefits Section */
.email-benefits {
    max-width: 1100px;
    margin: 2rem auto 3rem;
}

.benefits-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.features-expandable {
    background: var(--light-gray);
    border: 2px solid var(--gray);
    border-radius: 15px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}

.features-expandable summary {
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
    list-style: none;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s, color 0.3s;
    animation: pulse 2s ease-in-out infinite;
}

.features-expandable summary::-webkit-details-marker {
    display: none;
}

.features-expandable summary:hover {
    background-color: rgba(0, 102, 204, 0.05);
}

.features-expandable[open] summary {
    background-color: var(--primary-blue);
    color: var(--white);
    border-bottom: 2px solid var(--dark-blue);
    animation: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.5);
        background-color: rgba(0, 102, 204, 0.05);
    }
    50% {
        box-shadow: 0 0 15px 10px rgba(0, 102, 204, 0);
        background-color: rgba(0, 102, 204, 0.15);
    }
}

.feature-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.15);
}

.feature-item h4 {
    color: var(--primary-blue);
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 0.95rem;
}

.voip-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 2rem 0 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    max-width: 150px;
    height: auto;
    filter: grayscale(20%);
    transition: filter 0.3s, transform 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.voip-content {
    display: block;
    max-width: 900px;
    margin: 3rem auto 0;
}

/* VoIP Calculator */
.voip-calculator {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2.5rem;
    border: 2px solid var(--gray);
}

.voip-calculator h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    text-align: center;
}

.calculator-intro {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.calculator-features {
    text-align: center;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.calculator-form {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray);
}

.calc-internet-row {
    background: var(--light-gray);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.5rem;
    border-bottom: none;
    border: 1px solid var(--gray);
}

.calc-internet-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#internetPlanName {
    color: var(--dark-gray);
    font-style: italic;
}

.remove-plan-btn {
    background: none;
    border: 1.5px solid #e53e3e;
    color: #e53e3e;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.remove-plan-btn:hover {
    background: #e53e3e;
    color: var(--white);
}

.calc-subtotals {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 0 0 10px 10px;
    margin-top: -6px;
}

.calc-subtotals strong {
    color: var(--white);
}

.quote-contact-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.quote-contact-address svg {
    flex-shrink: 0;
    color: var(--primary-blue);
}

.quote-contact-address a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.quote-contact-address a:hover {
    text-decoration: underline;
}

.calc-row label {
    font-weight: 500;
    color: var(--text-color);
    flex: 1;
}

.calc-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.calc-input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    transition: border-color 0.3s;
}

.calc-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.calc-input:disabled {
    background-color: var(--light-gray);
    cursor: not-allowed;
}

.calc-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.calc-section-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.calc-radio-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
}

.calc-radio-group:last-child {
    margin-bottom: 0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    flex: 1;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.calc-sub-input {
    margin-left: 1rem;
}

/* Inline Call Rates */
.call-rates-inline {
    margin-top: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    border: 2px solid var(--primary-blue);
    display: block;
}

.call-rates-inline.hidden {
    display: none;
}

.call-rates-inline h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.rates-inline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.rate-inline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border-radius: 6px;
}

.rate-inline-item .rate-type {
    font-weight: 500;
    color: var(--text-color);
}

.rate-inline-item .rate-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.calc-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    border-radius: 10px;
}

.total-label {
    font-size: 1.25rem;
    font-weight: 600;
}

.total-amount {
    font-size: 2rem;
    font-weight: 700;
}

/* Quote contact form */
.quote-contact {
    margin-top: 1.5rem;
    border-top: 2px dashed var(--gray);
    padding-top: 1.5rem;
    text-align: center;
}

.quote-contact-intro {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.quote-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.quote-contact-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

.quote-contact-btn.active {
    background: var(--dark-gray);
}

.contact-form-wrapper {
    text-align: left;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    border: 1px solid var(--gray);
    animation: slideDown 0.25s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.contact-field .required {
    color: #e53e3e;
}

.contact-field input,
.contact-field textarea {
    padding: 0.6rem 0.85rem;
    border: 2px solid var(--gray);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--white);
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-field input.field-error,
.contact-field textarea.field-error {
    border-color: #e53e3e;
}

.contact-field textarea {
    resize: vertical;
    min-height: 80px;
}

.turnstile-wrapper {
    margin: 1.25rem 0;
}

.form-status {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.form-status.success {
    background: #c6f6d5;
    color: #276749;
    border: 1px solid #9ae6b4;
}

.form-status.error {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #fc8181;
}

.submit-quote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #22a855;
    color: var(--white);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    justify-content: center;
}

.submit-quote-btn:hover {
    background: #1a8b43;
    transform: translateY(-2px);
}

.submit-quote-btn:disabled {
    background: var(--dark-gray);
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .contact-fields {
        grid-template-columns: 1fr;
    }
}

.rates-note {
    margin-top: 1.5rem;
    text-align: center;
    font-style: italic;
    color: var(--dark-gray);
}

.call-rates {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2.5rem;
    border: 2px solid var(--gray);
    display: none;
}

.call-rates h3 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.rates-table {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.rate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray);
}

.rate-row:last-child {
    border-bottom: none;
}

.rate-type {
    font-weight: 500;
    color: var(--text-color);
}

.rate-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.rates-note {
    margin-top: 1.5rem;
    text-align: center;
    font-style: italic;
    color: var(--dark-gray);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-section .section-subtitle {
    color: var(--white);
    opacity: 0.95;
}

.contact-content {
    margin-top: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-link {
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s, background-color 0.3s;
    cursor: pointer;
}

.contact-link:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-item svg {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.contact-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.contact-item p {
    opacity: 0.95;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #1a202c;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--light-blue);
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--light-blue);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.fine-print {
    font-size: 0.85rem;
    opacity: 0.6;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        order: 1;
    }
    
    .header-cta-button {
        order: 2;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }

    nav {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background-color: var(--dark-blue);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        z-index: 999;
    }
    
    nav.active {
        max-height: 500px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }
    
    nav ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav ul li:last-child {
        border-bottom: none;
    }
    
    nav a {
        display: block;
        padding: 1rem 2rem;
        text-align: left;
    }
    
    .header-cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin-left: auto;
        margin-right: 0.5rem;
        order: 2;
    }
    
    .header-cta-button span {
        display: none;
    }
    
    .header-cta-button svg {
        margin: 0;
    }

    .hero-content h2 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .plans-section h2,
    .voip-section h2,
    .contact-section h2 {
        font-size: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .voip-logos {
        flex-direction: column;
        gap: 2rem;
    }
    
    .security-expandable summary {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .security-content {
        padding: 1.5rem;
    }
    
    .security-intro {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .security-feature {
        padding: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .features-expandable summary {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    
    .calc-row {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .calc-radio-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 3rem 0;
    }
    
    .benefits-intro {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .security-intro {
        font-size: 0.95rem;
    }
    
    .security-content h4 {
        font-size: 1.4rem;
    }
    
    .security-feature h5 {
        font-size: 1.1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }

    .plan-card,
    .voip-calculator {
        padding: 1.5rem;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-form {
        text-align: center;
    }
    
    .calc-row {
        justify-content: center;
        text-align: center;
    }
    
    .calc-row label {
        text-align: center;
    }
    
    .calc-input {
        margin: 0 auto;
    }
    
    .calc-radio-group {
        justify-content: center;
        text-align: center;
    }
    
    .radio-label {
        justify-content: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed header */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan-card,
.voip-calculator,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Policy Pages */
.policy-page {
    padding: 5rem 0;
    background-color: var(--white);
}

.policy-page .container {
    max-width: 900px;
}

.policy-page h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.policy-intro {
    text-align: center;
    color: var(--dark-gray);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray);
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.policy-section h3 {
    font-size: 1.35rem;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
}

.policy-section h4 {
    font-size: 1.15rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.policy-section ul,
.policy-section ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.policy-section li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.policy-section a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.policy-section a:hover {
    border-bottom-color: var(--primary-blue);
}

/* VoIP Warning Banner */
.warning-banner {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 3px solid #ffb700;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 15px rgba(255, 183, 0, 0.2);
}

.warning-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: #856404;
    text-align: center;
    margin-bottom: 1rem;
}

.warning-expandable {
    background: transparent;
    border: none;
    padding: 0;
}

.warning-expandable summary {
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #856404;
    text-align: center;
    list-style: none;
    cursor: pointer;
    user-select: none;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    transition: background-color 0.3s;
}

.warning-expandable summary::-webkit-details-marker {
    display: none;
}

.warning-expandable summary:hover {
    background: rgba(255, 255, 255, 0.8);
}

.warning-expandable[open] summary {
    margin-bottom: 1rem;
}

.warning-content {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

.warning-content p {
    color: #856404;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.warning-list {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
}

.warning-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #856404;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 183, 0, 0.3);
}

.warning-list li:last-child {
    border-bottom: none;
}

.warning-list li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #ff8800;
    font-weight: bold;
}

.warning-note {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 183, 0, 0.2);
    border-radius: 6px;
    font-weight: 500;
    color: #664d03;
    font-size: 1rem;
}

/* Comparison Tables */
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.95rem;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

.comparison-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--gray);
    transition: background-color 0.2s;
}

.comparison-table tbody tr:hover {
    background-color: var(--light-gray);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 1.25rem 1rem;
    color: var(--text-color);
    vertical-align: top;
}

.comparison-table td strong {
    color: var(--primary-blue);
}

.comparison-table .featured-row {
    background-color: rgba(0, 102, 204, 0.05);
}

.comparison-table .badge {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.rate-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rate-list li {
    padding: 0.25rem 0;
}

/* Plan Notes */
.plan-notes {
    background: var(--light-gray);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.plan-notes h3 {
    color: var(--primary-blue);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.plan-notes ul {
    margin-left: 1.5rem;
    line-height: 1.8;
}

.plan-notes li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.plan-notes p {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

/* VoIP Pricing Info */
.voip-pricing-info {
    margin: 2rem 0;
}

.voip-pricing-info h3 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.voip-pricing-info ul {
    margin-left: 1.5rem;
}

.voip-pricing-info li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Footer Legal Links */
.footer-links-legal {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.footer-links-legal ul {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    list-style: none;
}

.footer-links-legal li {
    margin: 0;
}

.footer-links-legal a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-links-legal a:hover {
    opacity: 1;
}

.tio-info {
    font-size: 0.8rem !important;
    opacity: 0.8 !important;
    font-style: italic !important;
}

.tio-info a {
    color: var(--light-blue);
    text-decoration: none;
    transition: opacity 0.3s;
}

.tio-info a:hover {
    opacity: 0.8;
}

/* Print Styles for CIS */
@media print {
    header,
    footer,
    .warning-banner {
        display: none;
    }

    .policy-page {
        padding: 1rem 0;
    }

    .comparison-table {
        page-break-inside: avoid;
    }

    .policy-section {
        page-break-inside: avoid;
        border-bottom: 1px solid #ccc;
    }

    body {
        color: #000;
        background: #fff;
    }

    .comparison-table thead {
        background: #333 !important;
        color: #fff !important;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
    .warning-banner {
        padding: 1.5rem;
    }

    .warning-header {
        font-size: 1.25rem;
    }

    .warning-content {
        padding: 1rem;
    }

    .policy-page h1 {
        font-size: 2rem;
    }

    .policy-section h2 {
        font-size: 1.5rem;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    .footer-links-legal ul {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .warning-banner {
        padding: 1rem;
    }

    .warning-header {
        font-size: 1.1rem;
    }

    .policy-page h1 {
        font-size: 1.75rem;
    }

    .policy-section {
        margin-bottom: 2rem;
    }

    .comparison-table {
        font-size: 0.8rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem 0.25rem;
    }

    .plan-notes {
        padding: 1rem;
    }
}
