/* Network Droids Website Styles - Based on networkdroids.co.uk */

:root {
    --primary-color: #2277b9;
    --accent-color: #f1bf17;
    --dark-bg: #24272e;
    --dark-text: #272727;
    --body-text: #717171;
    --light-gray: #F0EFEF;
    --light-text: #ffffff;
}

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

body {
    font-family: 'Assistant', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--body-text);
    background-color: #ffffff;
}

main {
    margin: 0;
    padding: 0;
    display: block;
    line-height: 0;
    font-size: 0;
}

section {
    margin: 0 !important;
    padding: 0;
    display: block;
    line-height: normal;
    font-size: 17px;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-text);
    font-weight: 600;
}

h1 {
    font-size: 30px;
}

h2 {
    font-size: 28px;
}

h2.section-title {
    font-size: 55px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #242424;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 20px;
}

/* Top Contact Bar */
.top-contact-bar {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 3px solid #f1bf17;
    margin: 0 !important;
    margin-bottom: 0 !important;
}

.top-bar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo-top img {
    height: 70px;
    width: auto;
}

.contact-bar-items {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    color: #2277b9;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    color: #666666;
    font-weight: 400;
}

.contact-item strong {
    color: #333333;
    font-weight: 700;
    font-size: 14px;
}

/* Header Styles */
.site-header {
    background-color: #2277b9;
    color: #ffffff;
    padding: 0;
    margin: 0 !important;
    margin-bottom: 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.logo {
    display: none;
}

.logo .tagline {
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 400;
}

.header-contact {
    padding: 10px;
}

.hours {
    font-size: 14px;
    color: var(--accent-color);
}

.main-navigation > ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
}

.main-navigation > ul > li {
    margin: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    padding: 20px 25px;
    display: block;
}

.main-navigation a:hover,
.main-navigation a.active {
    background-color: #f1bf17;
    color: #333333;
}

.main-navigation li.has-dropdown > a:hover {
    background-color: #f1bf17;
    color: #333333;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

/* Create a hover bridge area to prevent dropdown from disappearing */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 5px;
    display: block;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: #ffffff;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 10px 0;
    margin-top: 0;
    display: none !important;
    z-index: 1000;
    flex-direction: column;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    display: flex !important;
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
    display: block;
    width: 100%;
}

.dropdown-menu a {
    color: #333333;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 0;
    display: block;
    white-space: nowrap;
    background-color: transparent;
}

.dropdown-menu a:hover {
    background-color: #2277b9;
    color: #ffffff;
}

.social-links {
    background-color: #f1bf17;
    padding: 20px 25px;
    display: flex;
    align-items: center;
}

.social-links a {
    color: #333333;
    transition: color 0.3s;
    display: inline-block;
}

.social-links a:hover {
    color: #2277b9;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    margin-top: -120px !important;
    display: block;
}

.hero-slider {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 119, 185, 0.85), rgba(241, 191, 23, 0.3));
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--light-text);
    padding: 100px 20px;
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 85px;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 16px;
    font-weight: 400;
    color: var(--light-text);
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Services Section */
.services {
    padding: 40px 0;
    background-color: #ffffff;
}

.services .section-title {
    text-align: center;
    color: #2277b9;
    font-size: 48px;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(34, 119, 185, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(34, 119, 185, 0.3);
    border-color: #f1bf17;
}

.service-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-card:hover .service-image img {
    transform: scale(1.08);
}

.service-content {
    padding: 35px 30px;
    background: #ffffff;
}

.service-content h3 {
    font-size: 26px;
    margin-bottom: 18px;
    color: #2277b9;
    font-weight: 700;
}

.service-content p {
    color: var(--body-text);
    font-size: 16px;
    line-height: 1.75;
}

/* Welcome Section */
.welcome {
    padding: 40px 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.welcome-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-text {
    padding-right: 20px;
}

.welcome .section-title {
    text-align: left;
    font-size: 45px;
    margin-bottom: 30px;
    color: #2277b9;
}

.welcome-intro {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--body-text);
    line-height: 1.8;
}

.value-props {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.value-prop {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.value-icon {
    flex-shrink: 0;
}

.value-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.value-prop h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2277b9;
    font-weight: 700;
}

.value-prop p {
    color: var(--body-text);
    font-size: 16px;
    line-height: 1.6;
}

.welcome-image {
    width: 100%;
}

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

/* Why Choose Section */
.why-choose {
    padding: 40px 0;
    background-color: #ffffff;
}

.why-choose .section-title {
    text-align: center;
    color: #2277b9;
}

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

.benefit {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    margin-bottom: 25px;
}

.benefit-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.benefit h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #2277b9;
    font-weight: 700;
}

.benefit p {
    color: var(--body-text);
    font-size: 16px;
    line-height: 1.8;
}

/* About Snippet */
.about-snippet {
    padding: 40px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    text-align: center;
}

.about-snippet .section-title {
    text-align: center;
    color: #2277b9;
    margin-bottom: 30px;
}

.about-snippet p {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 40px;
    color: var(--body-text);
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #f1bf17;
    color: #333333;
    border-color: #f1bf17;
    font-weight: 700;
}

.btn-primary:hover {
    background-color: #2277b9;
    border-color: #2277b9;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #f1bf17;
    font-weight: 700;
}

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

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #f1bf17;
}

.footer-contact address {
    font-style: normal;
    line-height: 1.9;
    font-size: 15px;
}

.footer-contact a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #f1bf17;
}

.footer-contact strong {
    color: #f1bf17;
    font-weight: 700;
}

.social-icons a {
    color: var(--light-text);
    transition: color 0.3s;
    display: inline-block;
}

.social-icons a:hover {
    color: #f1bf17;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Page Banner */
.page-banner {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin: 0;
    padding: 0;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 119, 185, 0.7) 0%, rgba(34, 119, 185, 0.5) 50%, rgba(241, 191, 23, 0.3) 100%);
}

.page-banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
}

.page-banner-content h1 {
    font-size: 85px;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-banner-content p {
    font-size: 16px;
    font-weight: 400;
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Single Page Styles */
.single-page {
    padding: 40px 0;
    min-height: 50vh;
    background-color: #ffffff;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.page-header::before {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #2277b9;
    margin: 0 auto 30px;
}

.page-header h1 {
    font-size: 55px;
    color: #2277b9;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-description {
    font-size: 20px;
    color: var(--body-text);
}

.page-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 17px;
}

.page-content h2 {
    font-size: 38px;
    margin-top: 50px;
    margin-bottom: 25px;
    color: #2277b9;
    font-weight: 700;
}

.page-content h3 {
    font-size: 26px;
    margin-top: 35px;
    margin-bottom: 20px;
    color: #2277b9;
    font-weight: 700;
}

.page-content ul {
    margin-left: 30px;
    margin-bottom: 25px;
}

.page-content li {
    margin-bottom: 12px;
    color: var(--body-text);
}

.page-content p {
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--body-text);
}

.page-content strong {
    color: var(--dark-text);
    font-weight: 600;
}

.page-content a {
    color: #2277b9;
    text-decoration: underline;
    font-weight: 600;
}

.page-content a:hover {
    color: #f1bf17;
}

/* Responsive Design */
@media (max-width: 1000px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .welcome-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .welcome .section-title {
        font-size: 38px;
    }

    h2.section-title {
        font-size: 42px;
    }

    .hero-content h1 {
        font-size: 55px;
    }

    .page-banner-content h1 {
        font-size: 55px;
    }
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 42px;
        letter-spacing: 2px;
    }

    .hero-content p {
        font-size: 14px;
    }

    h2.section-title {
        font-size: 32px;
    }

    .welcome .section-title {
        font-size: 28px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .page-banner {
        height: 300px;
    }

    .page-banner-content h1 {
        font-size: 42px;
        letter-spacing: 2px;
    }

    .page-banner-content p {
        font-size: 14px;
    }

    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .value-props {
        gap: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 15px;
    }

    h2.section-title {
        font-size: 28px;
    }

    .hero-slider {
        height: 300px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 15px;
    }
}
