/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Modern Font */
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    /* Clearfix */
}

a {
    text-decoration: none;
    color: #007bff;
}

/* Navigation Bar */
.navbar {
    background: #004085;
    color: white;
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1.5em;
    font-weight: bold;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar .nav-links li {
    display: inline;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1em;
}

.navbar .nav-links a:hover {
    text-decoration: underline;
}

/* Header/Hero */
.hero {
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.5); */
    background-color: #009ed8;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    /* background: #007bff; */
    background: #FFFFFF;
    color: #009ed8;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    transition: background 0.3s ease;
}

.button:hover {
    background: #0056b3;
}

/* Information Section */
.info {
    padding: 40px 0;
    text-align: center;
}

.operator-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.operator-logo {
    width: 150px;
    /* Adjust as needed */
    margin: 0 20px;
    filter: grayscale(50%);
    /* Make logos slightly gray */
    transition: filter 0.3s ease;
}

.operator-logo:hover {
    filter: grayscale(0);
    /* Remove grayscale on hover */
}

/* How it Works Section */
.how-it-works {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 30px;
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    /* Allows steps to wrap on smaller screens */
}

.step {
    text-align: center;
    margin: 20px;
    flex-basis: 250px;
    /* Minimum width for each step */
}

.step-icon {
    font-size: 3em;
    margin-bottom: 10px;
}


/* Device List Section */
.device-list {
    padding: 40px 0;
}

/* Search Input Styles */
#search-box {
    display: block;
    width: calc(100% - 40px);
    max-width: 600px;
    padding: 12px 20px;
    margin: 20px auto;
    border: 2px solid #3498db;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

#search-box:focus {
    border-color: #2980b9;
}

/* Table Styles */
#compatibilityTable {
    width: 100%;
    border-collapse: collapse;
}

#compatibilityTable thead {
    position: sticky;
    top: 0;
    z-index: 2;
    /* background-color: #004085;  Dark blue background */
    background-color: #3498db;
    /* Light blue background */
}

#compatibilityTable th {
    /* background-color: #004085;  Dark blue background */
    /* background-color: #3498db; */
    background-color: #009ed8;
    /* Light blue background */
    color: white;
    /* White text */
    border-bottom: 2px solid #002752;
    /* Darker blue border */
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    text-align: left;
}

#compatibilityTable tbody tr {
    background-color: #ffffff;
    /* White background for rows */
}

#compatibilityTable tbody tr:nth-child(even) {
    background-color: #e9ecef;
    /* Light gray background for even rows */
}

#compatibilityTable tbody tr:hover {
    background-color: #d6e9f8;
    /* Light blue background on hover */
}

#compatibilityTable th:hover {
    /* background-color: #002752;  Darker blue on hover */
    background-color: #0056b3;
    /* Darker light blue on hover */
}

#compatibilityTable th i {
    margin-left: 10px;
    float: none;
}

#compatibilityTable td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

#table-container {
    position: relative;
    max-height: 600px;
    /* Adjust height as needed */
    overflow-y: auto;
    margin: 20px 0;
}

/* Hidden Class */
.hidden {
    display: none;
}

/* Responsive Table */
@media (max-width: 768px) {
    #compatibilityTable {
        display: block;
        overflow-x: auto;
    }

    #compatibilityTable thead {
        display: none;
    }

    #compatibilityTable tr {
        display: block;
        margin-bottom: 10px;
        border: 1px solid #ddd;
    }

    #compatibilityTable td {
        display: block;
        text-align: right;
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    #compatibilityTable td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.9em;
    }

    .container {
        width: 90%;
    }

    .hero h1 {
        font-size: 2em;
    }

    .operator-logos {
        flex-direction: column;
        /* Stack logos vertically */
    }

    .operator-logo {
        margin: 10px 0;
    }

    .steps {
        flex-direction: column;
        /* Stack steps vertically */
        align-items: center;
        /* Center items */
    }

    .step {
        flex-basis: auto;
        /* Let steps take needed width */
        width: 80%;
        /* Control width on smaller screens */
    }
}


/* FAQ Section */
.faq {
    padding: 40px 0;
    background: #f8f9fa;
}

.accordion {
    width: 100%;
}

.accordion-item {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    background: #eee;
    color: #333;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #ddd;
}

.accordion-content {
    padding: 15px;
    display: none;
    /* Hide by default */
    background: #fff;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #fff;
}

footer .social-links {
    margin: 10px 0;
}

footer .social-links a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.2em;
}

footer .back-to-top {
    display: block;
    margin-top: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 1em;
}

footer .back-to-top:hover {
    text-decoration: underline;
}

/* Disclaimer Section */
.disclaimer {
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
    /* Slightly smaller font size */
    color: #666;
    /* Slightly lighter text color */
    border-top: 1px solid #eee;
    /* Subtle border */
}