/* General Styles */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    width: 85%;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: #343A40; /* Graphite */
}

#expert-guidance {
    color: #f5c581; /* Gold/Yellow for visibility on dark background */
}

p {
    margin-bottom: 1em;
}

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

/* Header & Navigation */
header {
    background: #343A40; /* Dark Graphite */
    color: #fff;
    padding-top: 10px;
    min-height: 70px;
    border-bottom: #DC143C 3px solid; /* Red Accent */
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

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

header #branding {
    display: flex;
    align-items: center;
}

header #branding h1 {
    margin: 0;
    font-size: 32px;
    color: #fff;
}

header #branding .logo-text-sub {
    font-size: 18px;
    color: #ccc;
    text-transform: none;
    font-stretch: expanded;
    letter-spacing: 1px;
}


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

header nav ul li {
    margin-left: 20px;
}

header nav ul li a:hover {
    color: #f0ad4e; /* Gold/Yellow for hover - common accent */
    font-weight: bold;
}

.current a {
    color: #f0ad4e;
    font-weight: bold;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Section Styling */
.section {
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
}

.section-light {
    background-color: #fff;
}

.section-dark {
    background-color: #f0f0f0; /* Light grey for contrast */
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #343A40;
}

/* Background Image Sections */
.hero-section, .background-section {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero-section::before, .background-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 2, 2, 0.7); /* Dark overlay for text readability */
}


.hero-section .container, .background-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background: #f0ad4e; /* Gold/Yellow */
    color: #343A40; /* Dark Blue text */
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #e69500; /* Darker Gold/Yellow */
}

/* Content Pages (About, Services) */
.content-page {
    padding: 40px 0;
    background: #fff;
}

.content-page .container {
    max-width: 900px;
}

.content-page h1 {
    border-bottom: 2px solid #f0ad4e;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.content-page img {
    float: right;
    margin: 0 0 20px 20px;
    width: 300px;
    height: auto;
    border-radius: 5px;
    border: 3px solid #343A40; /* Dark Blue/Gray border */
}

/* Testimonials Section */
.testimonials-container {
  width: 80%;
  margin: 20px auto; /* Centers the container */
  overflow: hidden; /* Hides overflow from the scrolling */
}

.testimonial-slider {
  display: flex;
  width: 100%; /* Make sure the slider fills the container */
  animation: scroll 35s linear infinite; /* Adjust speed as needed */
}

.testimonial-item {
  min-width: 100%; /* Make sure each item fills the container */
  padding: 60px;
  box-sizing: border-box;
  text-align: center; /* Center the text within each item */
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); } /* Scrolls the entire container */
}

/* News & Updates Section */
.news-updates {
    padding: 40px 0;
    background: #fff;
}

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

.news-item {
    background: #f9f9f9;
    padding: 20px;
    border: 1px solid #eee;
    border-left: 5px solid #DC143C; /* Blue accent */
}

.news-item h4 {
    margin-top: 0;
    color: #343A40;
}

.news-item p {
    font-size: 0.9em;
}

.news-item a {
    text-decoration: none;
    color: #f0ad4e;
    font-weight: bold;
}

.news-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.news-item a:hover {
    text-decoration: underline;
}

/* Credentials Section */
.credentials-section {
    padding: 40px 0;
    background: #fff;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.credentials-item {
    text-align: center;
    background: #f9f9f9;
    padding: 1px;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: box-shadow 0.3s ease;
    margin: 0 auto; /* Center the item */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Ensure equal height */
    flex-direction: row; /* Stack items vertically */
    flex-wrap: wrap;
    
}

.credentials-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.credentials-image:hover img {
    transform: scale(1.1); /* Slight zoom effect on hover */
    border: 3px solid #fff;
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* So padding doesn't add to width */
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 12px;
    background: #343A40;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background: #00509E;
}

.contact-details {
    margin-top: 30px;
}
.contact-details p {
    font-size: 1.1em;
    margin-bottom: 10px;
}


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

footer p {
    margin: 0;
}

/* Responsive Design */
@media(max-width: 750px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav {
        margin-top: 8px;
        width: 100%;
    }

    header nav ul {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        width: 100%;
    }

    header nav ul.active {
        display: flex; /* Shown when active */
    }

    header nav ul li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }

    header nav ul li a {
        display: block;
        padding: 10px;
    }

    .menu-toggle {
        display: block; /* Show hamburger icon */
        position: absolute;
        right: 20px;
        top: 25px;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-section p {
        font-size: 18px;
    }

    .container {
        width: 95%;
    }

    .content-page img {
        display: block;
        width: 50%;
        margin: 0 auto 20px auto; /* Center the image */
    }
}
