/* Layout & Sections */
.hero-section {
    position: relative;
    padding: 120px 0 180px;
    background: linear-gradient(135deg, #165153 0%, #0a2e2f 100%);
    color: #ffffff;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* Text Side */
.hero-content { flex: 1; text-align: left; }
.hero-title { font-size: 2.8rem; line-height: 1.2; margin-bottom: 20px; font-weight: 700; }
.hero-description { font-size: 1.1rem; line-height: 1.6; margin-bottom: 35px; color: #e0e0e0; }

/* Image Side */
.hero-image-container { flex: 1; display: flex; justify-content: flex-end; }
.img-responsive { max-width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); }

/* Buttons */
.hero-actions { display: flex; gap: 15px; }
.btn-primary { background: #fff; color: #165153; padding: 15px 35px; border-radius: 50px; font-weight: bold; border: none; cursor: pointer; text-decoration: none; }
.btn-secondary { background: transparent; color: #fff; padding: 15px 35px; border-radius: 50px; font-weight: bold; border: 2px solid #fff; cursor: pointer; }
.btn-primary:hover { background: #165153; color: #fff; border: 1px solid #fff; }

/* Wave */
.wave-container { position: absolute; bottom: 0; left: 0; width: 100%; line-height: 0; }
.custom-wave { width: 100%; height: 130px; fill: #ffffff; }

/* Modal */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 1000; }
.modal-card { background: #fff; color: #333; margin: 5% auto; padding: 40px; width: 90%; max-width: 500px; border-radius: 20px; position: relative; }
.modal-close { position: absolute; top: 15px; right: 25px; font-size: 30px; cursor: pointer; }

/* Form Styles */
.form-group-row { display: flex; gap: 10px; margin-bottom: 15px; }
input { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; }
.full-width { width: 100%; }

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-flex { flex-direction: column; text-align: center; }
    .hero-content { text-align: center; }
    .hero-actions { justify-content: center; }
}


.services-header {
    padding: 60px 0 30px;
    background-color: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    color: #165153;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #165153;
    margin: 15px auto 0;
    border-radius: 2px;
}

.services-grid {
    padding: 60px 0;
    background-color: #fff;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #165153;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.service-icon {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1); /* Makes icons white */
}

.service-info h3 {
    color: #165153;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-info p {
    color: #666;
    line-height: 1.6;
}

/* Responsive Grid */
@media (max-width: 992px) {
    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-wrapper {
        grid-template-columns: 1fr;
    }
}



.services-summary {
    padding: 60px 0 100px;
    background-color: #fcfcfc;
    text-align: center;
}

.summary-text {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    font-weight: 500;
}

/* Adjusting the grid to handle the 2-item final row gracefully */
@media (min-width: 992px) {
    .grid-wrapper :nth-last-child(-n+2):nth-child(3n+1) {
        grid-column: auto;
    }
}


.industry-grid {
    padding: 40px 0 80px;
    background-color: #ffffff;
}

.industry-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.industry-card {
    text-align: center;
    padding: 40px 20px;
    background: #f0f7f7;
    border-radius: 20px;
    border: 1px solid #e0eeee;
    transition: all 0.3s ease;
}

.industry-card:hover {
    background: #165153;
    transform: translateY(-5px);
}

.industry-card:hover h3 {
    color: #ffffff;
}

.industry-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.industry-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.industry-card h3 {
    font-size: 1.1rem;
    color: #165153;
    font-weight: 600;
    margin: 0;
}

@media (max-width: 992px) {
    .industry-wrapper { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
    .industry-wrapper { grid-template-columns: 1fr; }
}


.benefits-header {
    padding: 80px 0 40px;
    background-color: #f9f9f9; /* Subtle contrast from the white grid above */
    text-align: center;
}

.benefits-header .section-title {
    line-height: 1.3;
    margin-bottom: 20px;
}


.benefits-grid {
    padding: 40px 0 80px;
    background-color: #f9f9f9;
}

.benefits-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon-wrap {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #165153;
    border-radius: 50%;
    padding: 15px;
}

.benefit-icon {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

.benefit-card h3 {
    color: #165153;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #555;
    line-height: 1.6;
}

/* Center the last two items if there are five total */
@media (min-width: 992px) {
    .benefit-card:nth-child(4) { grid-column: 1 / 2; margin-left: 50%; }
    .benefit-card:nth-child(5) { grid-column: 2 / 3; margin-left: 50%; }
}

@media (max-width: 992px) {
    .benefits-wrapper { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .benefits-wrapper { grid-template-columns: 1fr; }
}


.comparison-section { padding: 80px 0; background: #fff; }
.comparison-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 0; 
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.1); 
}

.comparison-column { padding: 40px; text-align: center; background: #fdfdfd; }
.comparison-column.labels { text-align: left; background: #f0f7f7; }
.comparison-column.highlighted { background: #165153; color: #fff; transform: scale(1.05); z-index: 2; }
.comparison-column h3 { font-size: 1.5rem; margin-bottom: 20px; color: inherit; }

.feature-list, .check-list { list-style: none; padding: 0; margin: 0; }
.feature-list li, .check-list li { 
    height: 60px; 
    display: flex; 
    align-items: center; 
    border-bottom: 1px solid rgba(0,0,0,0.05); 
}
.highlighted .feature-list li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.check-list li { justify-content: center; font-size: 1.5rem; }

.fa-check-circle { color: #2ecc71; }
.highlighted .fa-check-circle { color: #fff; }
.fa-times-circle { color: #e74c3c; }

.promo-badge {
    background: #ff4757;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 30px;
}


.explore-cta {
    padding: 100px 0;
    background-color: #f0f7f7;
    border-top: 1px solid #e0eeee;
}

.explore-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-title {
    font-size: 2.5rem;
    color: #165153;
    margin-bottom: 10px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: #444;
}

.explore-actions {
    display: flex;
    gap: 20px;
}

.btn-secondary-outline {
    padding: 15px 35px;
    border: 2px solid #165153;
    color: #165153;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
    background: #165153;
    color: #fff;
}

@media (max-width: 768px) {
    .explore-flex { flex-direction: column; text-align: center; }
    .explore-actions { flex-direction: column; width: 100%; }
}


.offline-edge-feature {
    padding: 100px 0;
    background: linear-gradient(rgba(22, 81, 83, 0.05), rgba(255, 255, 255, 1));
    text-align: center;
}

.feature-content-box {
    max-width: 900px;
    margin: 0 auto;
}

.feature-main-title {
    font-size: 2.8rem;
    color: #165153;
    margin-bottom: 30px;
    font-weight: 800;
}

.feature-description p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.feature-cta-highlight {
    font-size: 1.4rem;
    color: #165153;
    margin-top: 40px;
    padding: 20px;
    border-top: 2px solid #165153;
    display: inline-block;
}


.edge-features-grid { padding: 60px 0; background-color: #fff; }
.edge-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.edge-card { 
    text-align: center; 
    padding: 30px; 
    border-radius: 15px; 
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}
.edge-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.edge-icon-wrap { 
    font-size: 2.5rem; 
    color: #165153; 
    margin-bottom: 20px; 
    height: 60px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}
.edge-icon-wrap img { height: 100%; object-fit: contain; }
.edge-card h3 { color: #165153; font-size: 1.25rem; margin-bottom: 15px; }
.edge-card p { font-size: 0.95rem; color: #666; line-height: 1.6; }

@media (max-width: 992px) { .edge-wrapper { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .edge-wrapper { grid-template-columns: 1fr; } }



.faq-section { padding: 80px 0; background: #fff; }
.faq-header { text-align: center; margin-bottom: 50px; }
.faq-img { width: 120px; margin-bottom: 20px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.faq-item { border-bottom: 1px solid #eee; margin-bottom: 15px; }
.faq-question { width: 100%; text-align: left; padding: 20px 0; background: none; border: none; font-size: 1.1rem; font-weight: 600; color: #165153; cursor: pointer; display: flex; justify-content: space-between; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.faq-answer p { padding-bottom: 20px; color: #666; line-height: 1.6; }
.faq-item.active .faq-answer { max-height: 500px; }
@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; } }


.wifi-solutions {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  padding: 15px 20px;
  border-radius: 8px;
  max-width: 250px;
}
.wifi-solutions h5 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #165153;
}
.wifi-solutions ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.wifi-solutions ul li {
  margin-bottom: 8px;
}
.wifi-solutions ul li a {
  text-decoration: none;
  color: #0a2e2f;
  transition: color 0.3s;
}
.wifi-solutions ul li a:hover {
  color: #165153;
}