/* === VARIABLES & RESET === */
:root {
    --green: #009879; /* Example Green - Adjust with actual logo color */
    --orange: #ffa500; /* Example Orange - Adjust with actual logo color */
    --dark-grey: #333;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --transition-speed: 0.3s ease;
}

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

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
    font-size: 16px; /* Base font size */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 40px 0;
}

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

.bg-dark {
    background-color: var(--dark-grey);
    color: var(--white);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    font-family: var(--font-primary);
    transition: all var(--transition-speed);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #007a61; /* Darker green */
}

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

.btn-secondary:hover {
    background-color: #cc8400; /* Darker orange */
}


/* === HEADER === */
.top-bar {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.8rem;
}

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

.contact-info-header a {
    color: var(--white);
    margin-left: 15px;
    transition: color var(--transition-speed);
}

.contact-info-header a:hover {
    color: var(--orange);
}

.contact-info-header i {
    margin-right: 5px;
    color: var(--orange);
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    z-index: 1000;
}

.header.sticky {
    position: sticky;
    top: 0;
}

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

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

.main-nav {
    display: none; /* Hidden on mobile */
}

.nav-list {
    display: flex;
    gap: 20px;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-speed);
    font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--green);
    border-bottom-color: var(--green);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn, .burger-menu {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark-grey);
}

.lang-selector {
    display: none;
}

.burger-menu {
    display: block; /* Visible on mobile */
}

/* === MOBILE NAV (off-canvas) === */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: var(--dark-grey);
    color: var(--white);
    z-index: 2000;
    transition: right 0.4s ease-in-out;
    padding: 60px 20px 20px;
    display: flex;
    flex-direction: column;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.mobile-nav .nav-link {
    font-size: 1.2rem;
    color: var(--white);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
}


/* === HERO SLIDER === */
.hero-slider {
    position: relative;
    height: 60vh;
    overflow: hidden;
    background-color: var(--dark-grey); /* Fallback for slow images */
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* Dark overlay for readability */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    width: 90%;
    max-width: 800px;
    padding: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.hero-content h1 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.hero-content p {
    font-size: 1rem;
    font-family: var(--font-primary);
    margin-bottom: 1.5rem;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
    padding: 8px 12px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    transition: background-color var(--transition-speed);
    border-radius: 50%;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.dot.active {
    background-color: var(--white);
}


/* === HERO STATIC === */
.hero-static {
    position: relative;
    height: 30vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-static::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay */
    z-index: 1;
}

.hero-static .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}


/* === SERVICES / EXPERTISE GRIDS === */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.services-grid, .expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.service-card, .expertise-card {
    background-color: var(--white);
    border: 1px solid #eee;
    padding: 25px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover, .expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--green);
}

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

.service-card h3, .expertise-card-content h3 {
    margin-bottom: 15px;
}

.card-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 500;
    color: var(--green);
    transition: color var(--transition-speed);
}

.service-card:hover .card-link {
    color: var(--orange);
}

.expertise-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}
.expertise-card-content {
    padding: 20px;
}


/* === DETAILED SERVICES PAGE === */
.service-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
    align-items: center;
}

.service-item:last-child { margin-bottom: 0; }
.service-img { flex: 1; width: 100%; }
.service-img img { border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.service-content { flex: 1; }
.service-content h2 { color: var(--green); margin-bottom: 15px; }
.service-content ul { list-style-type: disc; padding-left: 20px; margin-top: 20px; }
.service-content ul li { margin-bottom: 10px; }


/* === NETWORK PAGE === */
.map-placeholder {
    text-align: center;
    margin: 20px 0;
}
.map-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
}
.network-description {
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}



/* === FOOTER === */
.footer {
    padding: 50px 0 20px 0;
    background-color: var(--dark-grey);
    color: var(--light-grey);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 1.2rem;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col a:hover { color: var(--orange); text-decoration: underline; }

.social-icons a {
    font-size: 1.5rem;
    margin-right: 20px;
    transition: color var(--transition-speed);
}
.social-icons a:last-child { margin-right: 0; }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.85rem;
}


/* === CONTACT PAGE === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
}

.contact-info {
    background-color: var(--light-grey);
    padding: 25px;
    border-radius: 8px;
}

.contact-info h3 { color: var(--green); margin-bottom: 20px; }
.contact-info p { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 12px; }
.contact-info i { color: var(--orange); font-size: 1.2rem; margin-top: 3px; }

.contact-form { padding: 0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--green);
    outline: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }



/* === RESPONSIVE MEDIA QUERIES (Mobile-First) === */

/* Small devices (landscape phones, 480px and up) */
@media (min-width: 480px) {
    .container {
        width: 90%;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .contact-info-header {
        display: block; /* Show header contact on slightly larger screens */
    }
}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.4rem; }

    .section-padding {
        padding: 60px 0;
    }
    
    .top-bar { font-size: 0.85rem; }
    .logo-img { height: 50px; }

    .burger-menu { display: none; }
    .main-nav { display: block; }
    .nav-list { gap: 30px; }
    .nav-link { font-size: 1rem; }
    .lang-selector { display: block; font-family: var(--font-primary); font-size: 14px; cursor: pointer; }

    .hero-slider { height: 70vh; }
    .hero-static { height: 35vh; }
    .hero-content h1 { font-size: 3.2rem; }
    .hero-content p { font-size: 1.2rem; }

    .services-grid, .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .service-item {
        flex-direction: row;
        gap: 40px;
    }
    .service-item.reverse { flex-direction: row-reverse; }

    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 40px;
    }
    .contact-form {
        padding: 30px;
        border: 1px solid #eee;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        gap: 50px;
    }
    .hero-slider {
        height: 75vh;
    }
}


/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    body { font-size: 17px; }
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 1.5rem; }

    .container {
        max-width: 1140px;
    }

    .hero-slider { height: 80vh; }
    .hero-content h1 { font-size: 3.8rem; }
    .hero-content p { font-size: 1.3rem; }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}