/* New UI Styles */
:root {
    --bg1: #f0f2f5;
    --accent: #4a90e2;
    --muted: #6b7280;
    --card: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 10px;
    --container: 1300px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg1);
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 20px;
}

.site-header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    font-weight: 700;
    color: var(--accent);
    font-size: 20px;
    letter-spacing: 0.5px;
}

.main-nav a {
    margin: 0 15px;
    color: #555;
    font-size:  18px;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--accent);
}

.actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn.primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow);
}

.btn.primary:hover {
    background: #3a7bd5;
}

.btn.ghost {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn.ghost:hover {
    background: rgba(74, 144, 226, 0.1);
}

.hero {
   
    background: linear-gradient(135deg, var(--bg1) 0%, #e0e8f0 100%);
    text-align: center;
    position: relative; /* Add this */
    overflow: hidden; /* Add this */
    height: 600px;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-overlay {
    position: relative;
    z-index: 1;
    height: 600px;
    padding-top: 120px;
   
    background-color: rgba(0, 0, 0, 0.6);
   
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

h1 {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 15px;
    line-height: 1.2;
}

.lead {
    font-size: 18px;
    color: #fff;
    margin-bottom: 25px;
    max-width: 1200px;
}

.cta-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.cta-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.stats-row {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat {
    background: var(--card);
    padding: 20px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    min-width: 180px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
}

.hero-right {
    width: 100%;
    max-width: 400px;
}

.card {
    background: var(--card);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-register h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.card-register .muted {
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-top: 8px;
    margin-bottom: 15px;
    font-size: 16px;
}

.input-field:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.small-card {
    margin-top: 20px;
    font-size: 14px;
}

.small-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.app-badges {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.app-badges img {
    height: 40px;
}

.section {
    padding: 60px 0;
    text-align: center;
}

.section h2 {
    font-size: 36px;
    color: #222;
    margin-bottom: 15px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.plan-image {
    width: 100%;
    height:200px;
    object-fit: contain;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.plan-card {
    background: linear-gradient(180deg, #ffffff, #f9fcff);
    padding: 25px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.plan-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent);
}

.plan-specs {
    color: var(--muted);
    font-size: 15px;
    margin-bottom: 15px;
}

.plan-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.plan-meta .pill {
    background: rgba(74, 144, 226, 0.15);
    color: var(--accent);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.plan-meta .muted {
    margin-left: auto;
    font-weight: 600;
}

.plan-card p.muted {
    margin-top: 15px;
    font-size: 13px;
}

.plan-card .btn-group {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* Video Gallery Styles */
.video-gallery {
    padding: 60px 0;
    text-align: center;
    background: var(--bg1);
}

.video-gallery h2 {
    font-size: 36px;
    color: #222;
    margin-bottom: 30px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
    justify-content: center;
}

.video-item {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.video-item video {
    width: 100%;
    height: 250px; /* Fixed height for videos */
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

.calculator-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.calc-input-section,
.calc-output-section {
    flex: 1;
    min-width: 300px; /* Adjust as needed */
}

@media (max-width: 768px) {
    .calculator-layout {
        flex-direction: column;
    }
    .main-nav {
        display: none;
    }
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.calc-grid > div {
    display: flex;
    flex-direction: column;
}

.calc-grid label {
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--accent);
}

.input-field {
    padding: 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    font-size: 1rem;
}

.input-field:focus {
    border-color: #007bff;
    outline: none;
}

.range-slider {
    width: 100%;
    -webkit-appearance: none;
    height: 8px;
    background: #555;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
    margin-top: 10px;
}

.range-slider:hover {
    opacity: 1;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
}

.calc-actions {
    text-align: center;
    margin-top: 20px;
}

.calc-results-detail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding: 20px;
    background-color: #2a2a2a;
    border-radius: 8px;
}

.calc-results-detail .stat {
    background-color: #333;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.calc-results-detail .stat-num {
    font-size: 1.8rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 5px;
}

.calc-results-detail .stat-label {
    font-size: 0.9rem;
    color: #bbb;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
    .calc-results-detail {
        grid-template-columns: 1fr;
    }

    .calc-grid {
        grid-template-columns: 1fr;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    text-align: left;
}

.feature img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--accent);
}

.feature p {
    font-size: 15px;
    color: var(--muted);
}

.site-footer {
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: #f8f8f8;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
/* Customer Service Button */
.customer-service-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4a90e2;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.customer-service-button:hover {
   background-color: #4a90e2;
}

.customer-service-button img {
    width: 50px;
    height: 50px;
    filter: invert(1);
}

/* Contact Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top, above the button */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #4a90e2;
    margin: auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-light);
    position: relative;
    color: var(--text-color);
    text-align: center;
}

.modal-content h2 {
    color: white;
    margin-bottom: 20px;
}

.modal-content .close-button {
    color: white;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-content .close-button:hover,
.modal-content .close-button:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease;
}

.contact-method-item:hover {
    background-color: var(--card-bg);
}

.contact-method-item img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    border-radius: 50%;
}

.contact-method-item div {
    text-align: left;
}

.contact-method-item h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1em;
}

.contact-method-item p {
    margin: 0;
    font-size: 0.9em;
    color:white;
}.header-inner {
        flex-wrap: wrap;
        justify-content: center;
    }
    .main-nav {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    .main-nav a {
        margin: 0 10px;
    }
    h1 {
        font-size: 36px;
    }
    .lead {
        font-size: 16px;
    }
    .cta-row {
        flex-direction: column;
        gap: 15px;
    }
    .stats-row {
        gap: 20px;
    }
    .stat {
        min-width: 120px;
        padding: 15px 20px;
    }
    .stat-num {
        font-size: 24px;
    }
    .section {
        padding: 40px 0;
    }
    .section h2 {
        font-size: 28px;
    }
    .plans-grid {
        grid-template-columns: 1fr;
    }
    .calc-grid {
        grid-template-columns: 1fr;
    }
    .calc-results-detail {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}