/* Main Styles */
:root {
    --primary-color: #FF6B00; /* eSIMFOX orange */
    --secondary-color: #2C3E50;
    --accent-color: #3498DB;
    --light-color: #F8F9FA;
    --dark-color: #343A40;
    --success-color: #28A745;
    --warning-color: #FFC107;
    --danger-color: #DC3545;
    --gray-color: #6C757D;
    --light-gray: #E9ECEF;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #FFFFFF;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
}

.alt-bg {
    background-color: var(--light-color);
}

/* Header Styles */
header {
    background-color: #FFFFFF;
    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;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #FFFFFF;
    text-align: center;
    padding: 120px 0;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

#hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #E05A00;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn.secondary {
    background-color: var(--secondary-color);
}

.btn.secondary:hover {
    background-color: #1A2530;
}

.btn.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn.yellow {
    background-color: #FFEB3B;
    color: #000000;
    border-radius: 30px;
    font-weight: bold;
}

.btn.yellow:hover {
    background-color: #FDD835;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Overview Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.benefit-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-card h3 {
    margin-bottom: 15px;
}

/* New Comparison Table Styles */
.modern-comparison {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
}

.modern-comparison th,
.modern-comparison td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.modern-comparison th:first-child,
.modern-comparison td:first-child {
    text-align: left;
    padding-left: 30px;
    font-weight: 500;
}

.modern-comparison th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.modern-comparison th.esimfox-col {
    background-color: #000000;
    color: #ffffff;
}

.modern-comparison td.esimfox-col {
    background-color: #000000;
    color: #ffffff;
}

.modern-comparison .provider-logo {
    height: 40px;
    margin: 0 auto;
    display: block;
}

.modern-comparison .check {
    color: #28A745;
    font-size: 24px;
}

.modern-comparison .x {
    color: #cccccc;
    font-size: 24px;
}

.modern-comparison .view-plans {
    background-color: #FFEB3B;
    color: #000000;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-comparison .view-plans:hover {
    background-color: #FDD835;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.disclaimer {
    font-size: 0.8rem;
    color: #777;
    margin-top: 20px;
    line-height: 1.4;
}

/* Provider Cards */
.provider-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.provider-card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.provider-card.highlight-card {
    background-color: #000000;
    color: #FFFFFF;
    position: relative;
}

.provider-card.highlight-card:before {
    content: 'Best Choice';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.provider-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.highlight-card .provider-logo {
    color: #FFFFFF;
}

.feature-list ul {
    list-style: none;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.check, .x {
    display: inline-block;
    width: 20px;
    margin-right: 10px;
    font-weight: bold;
}

.check {
    color: #28A745;
}

.x {
    color: #cccccc;
}

.highlight-card .check {
    color: #28A745;
}

.highlight-card .x {
    color: #cccccc;
}

/* Pricing Section */
.tabs {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    background-color: transparent;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: #FFFFFF;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.pricing-card.highlight-card {
    background-color: #000000;
    color: #FFFFFF;
    transform: scale(1.05);
}

.pricing-card .provider {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.highlight-card .price {
    color: #FFFFFF;
}

.pricing-card .plan {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.highlight-card .plan {
    color: #cccccc;
}

.pricing-card ul {
    text-align: left;
    list-style: none;
    margin-bottom: 20px;
}

.pricing-card li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.pricing-card li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.highlight-card li:before {
    color: #FFFFFF;
}

.pricing-card .cta {
    margin-top: 20px;
}

/* Pros and Cons Section */
.pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.provider-pros-cons {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.provider-pros-cons h3 {
    text-align: center;
    margin-bottom: 20px;
}

.provider-pros-cons.highlight-box {
    background-color: #000000;
    color: #FFFFFF;
}

.provider-pros-cons.highlight-box h3 {
    color: #FFFFFF;
}

.pros, .cons {
    margin-bottom: 20px;
}

.pros h4, .cons h4 {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.pros h4:before, .cons h4:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
}

.pros h4:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2328A745'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

.cons h4:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23DC3545'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z'/%3E%3C/svg%3E");
}

.highlight-box .pros h4:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2328A745'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
}

.highlight-box .cons h4:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cccccc'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z'/%3E%3C/svg%3E");
}

/* Recommendation Section */
.recommendation-box {
    background-color: #FFFFFF;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.winner {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000000;
    padding: 30px;
    border-radius: var(--border-radius);
    color: #FFFFFF;
}

.winner-badge {
    background-color: var(--primary-color);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.winner-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

.winner-details {
    flex: 2;
    min-width: 300px;
}

.key-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.advantage {
    display: flex;
    align-items: flex-start;
}

.advantage-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #28A745;
}

.advantage-text h4 {
    margin-bottom: 5px;
}

.cta-large {
    text-align: center;
    margin-top: 30px;
}

.cta-large .btn.yellow {
    padding: 15px 30px;
    font-size: 1.2rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: #777;
    margin-top: 10px;
}

/* FAQ Section */
.accordion {
    margin-top: 40px;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-header {
    background-color: #FFFFFF;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
}

.accordion-item.active .accordion-header:after {
    content: '-';
}

.accordion-content {
    background-color: #FFFFFF;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 20px;
    max-height: 1000px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #FFFFFF;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo, .footer-links, .footer-disclaimer {
    margin-bottom: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    text-align: left;
    margin-bottom: 10px;
}

.footer-logo h2:after {
    margin: 10px 0 0;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #FFFFFF;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-disclaimer {
    flex: 2;
    min-width: 300px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}
