/* General Styles */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Orbitron:wght@400;700&display=swap");

body {
    font-family: "Roboto", sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: #1a1a2e; /* Dark blue-purple background */
    color: #e0e0e0; /* Light grey text for contrast */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

/* Header */
header {
    background: rgba(26, 26, 46, 0.8); /* Semi-transparent dark background */
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 15px 0; /* Adjusted padding */
    min-height: 70px; /* Adjusted min-height */
    border-bottom: 1px solid #0f3460; /* Accent color border */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

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

header #logo h1 a {
    font-family: "Orbitron", sans-serif;
    color: #50c878;
    text-decoration: none;
    font-size: 26px; /* Slightly adjusted */
    letter-spacing: 1px;
}

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

header nav li {
    display: inline;
    padding: 0 15px;
}

header nav li a {
    color: #e0e0e0;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.3s ease;
}

header nav li a:hover, header nav li a.active {
    color: #50c878;
}

header #logo {
    margin-top:0;
}

header #logo h1 {
    margin: 0;
}

.mobile-nav-toggle {
    display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* Hero Section */
#hero {
    min-height: 100vh;
    background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.9)), url("../images/hero_bg_new.jpg") no-repeat center center/cover;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 70px; /* Account for fixed header */
    position: relative;
}

#hero h2 {
    font-family: "Orbitron", sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(80, 200, 120, 0.7);
}

#hero p {
    font-size: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    line-height: 1.7;
    text-align: center;
}

.cta-button {
    font-family: "Orbitron", sans-serif;
    background: #50c878;
    color: #1a1a2e;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
}

.cta-button:hover {
    background-color: #3ca961;
    transform: translateY(-3px);
}

/* Sections General */
section {
    padding: 80px 0;
    background-color: #1f1f38;
}

section:nth-child(even) {
    background-color: #1a1a2e;
}

section h2 {
    text-align: center;
    margin-bottom: 60px;
    font-family: "Orbitron", sans-serif;
    font-size: 36px;
    color: #50c878;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.service-item {
    background: rgba(40, 40, 68, 0.7);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(80, 200, 120, 0.3);
}

.service-item img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    border-radius:calc(20px);
    filter: grayscale(30%) brightness(1.2) contrast(1.1);
}

.service-item h3 {
    font-family: "Orbitron", sans-serif;
    font-size: 22px;
    color: #50c878;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 15px;
    color: #c0c0c0;
    line-height: 1.7;
}

/* About Us Section */
#about p {
    font-size: 17px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
}

/* Contact Section */
#contact .contact-info {
    text-align: center;
    margin-bottom: 40px;
}

#contact .contact-info p {
    font-size: 18px;
    margin: 10px 0;
}

#contact .contact-info strong {
    color: #50c878;
}

#contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

#contact-form label {
    font-weight: bold;
    color: #c0c0c0;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #0f3460;
    border-radius: 5px;
    background-color: #1a1a2e;
    color: #e0e0e0;
    font-size: 16px;
}

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

#contact-form .button_1 {
    background: #50c878;
    color: #1a1a2e;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
    font-family: "Orbitron", sans-serif;
}

#contact-form .button_1:hover {
    background-color: #3ca961;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: #0f101a;
    color: #aaa;
    text-align: center;
    padding: 40px 0;
    margin-top: 0;
    border-top: 1px solid #0f3460;
}

/* Responsive Design - Mobile Navigation */
@media(max-width: 768px){
    header #logo h1 a {
        font-size: 22px; /* Adjust logo size for mobile */
    }

    .mobile-nav-toggle {
        display: block;
        position: relative; /* Changed from absolute */
        z-index: 9999;
        background-color: transparent;
        border: 0;
        cursor: pointer;
        padding: 0;
        width: 30px; /* Size of the hamburger icon */
        height: 22px; /* Size of the hamburger icon */
    }

    .hamburger-box {
        width: 30px;
        height: 22px;
        display: inline-block;
        position: relative;
    }

    .hamburger-inner,
    .hamburger-inner::before,
    .hamburger-inner::after {
        width: 30px;
        height: 3px;
        background-color: #e0e0e0; /* Icon color */
        border-radius: 3px;
        position: absolute;
        transition-property: transform;
        transition-duration: 0.15s;
        transition-timing-function: ease;
    }

    .hamburger-inner::before,
    .hamburger-inner::after {
        content: "";
        display: block;
    }

    .hamburger-inner {
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger-inner::before {
        top: -10px;
    }

    .hamburger-inner::after {
        bottom: -10px;
    }

    /* Active state for hamburger icon (X) */
    .mobile-nav-toggle[aria-expanded="true"] .hamburger-inner {
        transform: rotate(45deg);
    }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger-inner::before {
        top: 0;
        transform: rotate(-90deg);
        opacity: 1;
    }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger-inner::after {
        bottom: 0;
        transform: rotate(-90deg);
        opacity: 0; /* Hide bottom bar for X */
    }
    
    /* Alternative X: make before and after form the X directly */
    .mobile-nav-toggle[aria-expanded="true"] .hamburger-inner {
        background-color: transparent; /* Middle bar disappears */
    }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger-inner::before {
        transform: translateY(10px) rotate(45deg);
         top: -10px; /* Reset top */
    }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger-inner::after {
        transform: translateY(-10px) rotate(-45deg);
        bottom: -10px; /* Reset bottom */
        opacity: 1;
    }


    header nav .primary-navigation {
        display: none; /* Hidden by default */
        position: fixed;
        inset: 70px 0 0 0; /* Start below header, full width/height */
        flex-direction: column;
        padding: 20px;
        margin:0;
        background: rgba(26, 26, 46, 0.98); /* Dark, slightly transparent background */
        backdrop-filter: blur(1rem);
        /* transform: translateX(100%); */ /* Remove transform for display toggle */
        /* transition: transform 350ms ease-out; */
        z-index: 999; /* Below header but above content */
    }

    header nav .primary-navigation[data-visible="true"] {
        display: flex; /* Show when active */
        /* transform: translateX(0%); */
    }

    header nav li {
        display: block;
        padding: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: center; /* Center text for mobile nav items */
    }
    
    header nav li:last-child {
        border-bottom: none;
    }

    header nav li a {
        display: block; /* Make links take full width for easier tapping */
        padding: 15px 0; /* Add padding to list items */
        font-size: 18px; /* Larger font for mobile nav items */
        color: #e0e0e0;
    }
    header nav li a:hover, header nav li a.active {
        color: #50c878;
        background-color: rgba(80, 200, 120, 0.1);
    }

    /* General Mobile Adjustments */
    #hero {
        min-height: auto;
        padding: 120px 20px 60px;
    }

    #hero h2 {
        font-size: 32px;
    }

    #hero p {
        font-size: 16px;
    }

    section h2 {
        font-size: 28px;
    }

    .container {
        width: 95%;
        padding: 0 15px;
    }

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


/* FAQ Section */
#faq .faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

#faq .faq-item {
    background: rgba(40, 40, 68, 0.7);
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #0f3460;
}

#faq .faq-question {
    background: transparent;
    color: #e0e0e0;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px;
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

#faq .faq-question:hover {
    background-color: rgba(80, 200, 120, 0.1);
}

#faq .faq-question span {
    flex-grow: 1;
}

#faq .faq-icon {
    font-size: 24px;
    font-weight: bold;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

#faq .faq-item.active .faq-icon {
    transform: rotate(45deg);
}

#faq .faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: rgba(26, 26, 46, 0.5);
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

#faq .faq-answer p {
    color: #c0c0c0;
    font-size: 16px;
    line-height: 1.7;
    padding-bottom: 20px;
    margin-top:0;
}

#faq .faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 10px;
    padding-bottom: 20px;
}

