body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 3rem;
    font-weight: bold;
}

header p {
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

nav {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    transition: background 0.3s;
}

nav a:hover, nav a.active {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

main {
    padding: 1rem;
    max-width: 1200px;
    margin: 20px auto;
}

section {
    background: #fff;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

h2 {
    color: #004080;
    border-bottom: 2px solid #004080;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h3 {
    color: #004080;
    margin-bottom: 10px;
}

h4 {
    color: #005fbf;
    margin-bottom: 8px;
}

ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Content with image layout */
.content-with-image {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 20px;
}

.content-with-image.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 2;
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Services grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Network section */
.network-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.network-info img {
    width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.network-text {
    flex: 1;
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.value-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #004080;
}

.value-item h3 {
    margin-top: 0;
}

/* Qualification benefits */
.qualification-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-item {
    padding: 20px;
    background: #f0f8ff;
    border-radius: 8px;
    border-left: 4px solid #004080;
}

.benefit-item h4 {
    margin-top: 0;
    color: #004080;
}

/* Contact page styles */
.contact-info {
    margin-bottom: 30px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #004080;
}

.contact-item h4 {
    margin-top: 0;
    color: #004080;
}

.service-areas {
    margin: 30px 0;
}

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

.region-item {
    padding: 15px;
    background: #e8f4fd;
    border-radius: 8px;
    border-left: 4px solid #005fbf;
}

.region-item h4 {
    margin-top: 0;
    color: #004080;
}

.contact-services {
    margin: 30px 0;
}

.contact-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Terms page styles */
.terms-footer {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #004080;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #333;
    color: #fff;
    margin-top: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
    header {
        padding: 3rem 0;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    nav {
        position: static;
        background: #333;
    }
    
    nav a {
        padding: 0.8rem 0.5rem;
        display: inline-block;
    }
    
    main {
        padding: 0.5rem;
    }
    
    .content-with-image,
    .content-with-image.reverse {
        flex-direction: column;
    }
    
    .network-info {
        flex-direction: column;
    }
    
    .network-info img {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .qualification-benefits {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .regions-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-benefits {
        grid-template-columns: 1fr;
    }
}