/* CSS Variables for Colors */
:root {
    --color-primary-dark: #1a202c; /* Deep Blue - Main Background */
    --color-primary-accent: #2C5282; /* Deep Blue - Slightly lighter for accents/elements */
    --color-secondary-light-blue: #4299E1; /* Light Blue */
    --color-secondary-teal: #2DD4BF; /* Teal */
    --color-neutral-gray: #4A5568; /* Mid-Gray (Original, now used for text on lighter backgrounds if any) */
    --color-accent-orange: #F6AD55; /* Bright Orange - Darkened for better contrast */
    --color-text-light: #FFFFFF; /* White for main text on dark backgrounds */
    --color-text-dark: #1a202c; /* Dark text for light backgrounds */
}

/* Base Styles */
html {
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--color-primary-dark);
    color: var(--color-text-light); /* Default text color is white for dark backgrounds */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-light);
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.2;
}
h1 { font-size: 3em; font-weight: 700; }
h2 { font-size: 2.2em; font-weight: 600; }
h3 { font-size: 1.8em; font-weight: 600; }
p {
    margin-bottom: 1em;
    color: var(--color-text-light); /* Ensure all paragraphs are white by default */
}
a {
    color: var(--color-secondary-light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover:not(.btn)  {
    color: var(--color-secondary-teal);
}

/* Layout & Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
section {
    padding: 90px 0;
    text-align: center;
}
section:nth-of-type(even) { /* Alternate background for sections */
    background-color: var(--color-primary-accent);
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--color-accent-orange);
    color: var(--color-primary-dark);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background-color: var(--color-secondary-light-blue);
    color: var(--color-text-light);
}

/* Header */
header {
    background-color: transparent;
    padding: 20px 0;
    position: fixed; /* Changed to fixed for scroll effect */
    top: 0;
    width: 100%;
    transition: background-color 0.3s ease-out, transform 0.3s ease-out, opacity 0.3s ease-out; /* Smooth transition */
    z-index: 1000;
}

header.header-visible {
    transform: translateY(0); /* Slide down into view */
    opacity: 1; /* Become fully opaque */
    pointer-events: auto; /* Enable interaction */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    background-color: var(--color-primary-dark);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 35px;
}
.logo-img {
    max-width: 150px; /* Adjust to your desired maximum width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensures it behaves as a block element for sizing */
    /* If you need to center it within its container, you might add: */
    /* margin: 0 auto; */
    transition: opacity 0.3s ease-out;
}

/* Desktop Navigation Links */
.nav-links.desktop-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Default to flex for desktop */
    gap: 30px;
}
.nav-links.desktop-nav a {
    color: var(--color-text-light);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}
.nav-links.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-secondary-light-blue);
    transition: width 0.3s ease;
}
.nav-links.desktop-nav a:hover::after {
    width: 100%;
}
.nav-links.desktop-nav .contact-btn a {
    background-color: var(--color-accent-orange);
    color: var(--color-primary-dark);
    padding: 8px 18px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-links.desktop-nav .contact-btn a:hover {
    background-color: var(--color-secondary-light-blue);
    color: var(--color-text-light);
}
.nav-links.desktop-nav .contact-btn a::after {
    display: none; /* Hide underline for button */
}

/* Burger Menu (Mobile) */
.burger-menu {
    display: none; /* Hidden on desktop, shown by media query */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}
.burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-light);
    transition: all 0.3s ease;
}
/* Styles for when the checkbox is checked */
#nav-toggle:checked + .burger-menu span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#nav-toggle:checked + .burger-menu span:nth-child(2) { opacity: 0; }
#nav-toggle:checked + .burger-menu span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
#nav-toggle { display: none; /* Hide checkbox */ }

/* Mobile Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen to the right */
    width: 100%;
    height: 100dvh;
    background-color: rgba(26, 32, 44, 0.98); /* Semi-transparent dark background */
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease-in-out; /* Slide transition */
}
/* Show overlay when checkbox is checked */
#nav-toggle:checked ~ .nav-overlay {
    right: 0; /* Slide into view */
}
.nav-overlay .mobile-nav-links { /* Specific class for mobile nav links */
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}
.nav-overlay .mobile-nav-links a {
    font-size: 1.8em;
    padding: 10px 0;
    color: var(--color-text-light); /* Ensure links are visible */
    display: block; /* Make links block level for better touch target */
}
.nav-overlay .mobile-nav-links a::after { /* Hide underline for mobile links */
    display: none;
}


/* Hero Section */
.hero-section {
    background-color: var(--color-primary-dark);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}
.hero-content {
    max-width: 800px;
}
.hero-content svg{
    max-width: 340px;
}
.hero-content svg g{
    fill: var(--color-text-light);
}
.hero-content h1 {
    margin-bottom: 0.2em;
    color: var(--color-text-light);
}
.hero-content p {
    font-size: 1.3em;
    color: var(--color-text-light); /* Changed for legibility */
    margin-bottom: 1.5em;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(295px, 1fr));
    gap: 40px;
    margin-top: 50px;
}
.benefit-item {
    background-color: var(--color-primary-dark);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: left;
    transition: box-shadow 0.3s ease;
    align-content: space-around;
}
.benefit-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.benefit-item .icon {
    margin-bottom: 20px;
    color: var(--color-secondary-light-blue);
    font-size: 2.5em; /* For SVG icons */
    display: inline-block;
}
.benefit-item h3 {
    color: var(--color-text-light);
    margin-bottom: 10px;
    font-style: italic;
}
.benefit-item h3::before{
    content: ' ';
    background: url(quote-alt-left.svg) no-repeat 0 0;
    background-size: contain;
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-right: 8px;
}
.benefit-item h3::after{
    content: ' ';
    background: url(quote-alt-right.svg) no-repeat 0 0;
    background-size: contain;
    width: 30px;
    height: 30px;
    display: inline-block;
    margin-left: 8px;
}
.benefit-item p {
    color: var(--color-text-light); /* Changed for legibility */
    font-size: 0.95em;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.service-card {
    background-color: var(--color-primary-dark);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    text-align: left;
    transition: box-shadow 0.3s ease;
    align-content: center;
}
.service-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.service-card h3 {
    color: var(--color-text-light);
    margin-bottom: 10px;
    background: url(calculator.svg) no-repeat left center;
    background-size: 40px 40px;
    padding-left: 50px;
}
#service-psa h3{
    background-image: url(qr-code.svg);
}
#service-idb h3{
    background-image: url(server.svg);
}

.service-card p {
    color: var(--color-text-light); /* Changed for legibility */
    font-size: 0.95em;
    margin-bottom: 20px;
}
.service-card .btn {
    font-size: 0.9em;
    padding: 8px 15px;
    background-color: var(--color-secondary-light-blue);
    color: var(--color-text-light);
    transition: background-color 0.3s ease, color 0.3s ease;
}
.service-card .btn:hover{
    background-color: var(--color-accent-orange);
    color: var(--color-primary-dark);
}
/* About Us Section */
.misc-content, 
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}
.misc-content h2, 
.about-content h2 {
    text-align: center;
    margin-bottom: 40px;
}
.misc-content h3, 
.about-content h3 {
    text-align: center;
}
.misc-content p, 
.about-content p {
    color: var(--color-text-light); /* Changed for legibility */
    margin-bottom: 1.5em;
}
.team-section {
    margin-top: 50px;
    text-align: center;
}
.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}
.team-member-card {
    background-color: var(--color-primary-dark);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 200px;
    text-align: center;
}
.team-member-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--color-secondary-light-blue);
}
.team-member-card h4 {
    color: var(--color-text-light);
    margin-bottom: 5px;
}
.team-member-card h4 i{
    font-weight: normal;
    font-size: 0.85em;
}
.team-member-card p {
    color: var(--color-text-light); /* Changed for legibility */
    font-size: 0.85em;
    margin-bottom: 0;
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}
.contact-info, .contact-form-embed {
    flex: 1;
    min-width: 300px;
    text-align: left;
}
.contact-info img {
    width: 100%;
    vertical-align: top;
    max-width: 500px;
    display: flex;
    justify-self: left;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.contact-info p {
    color: var(--color-text-light); /* Changed for legibility */
    margin-bottom: 10px;
    display: flex;
}
.contact-info a {
    margin-left: 4px;
    font-weight: 600;
    color: var(--color-text-light);
}
.contact-info .icon {
    display: inline-block;
    width: 20px;
    margin-right: 10px;
    color: var(--color-secondary-light-blue);
}
.contact-info p:last-of-type{
    font-size: 0.9em;
}
.contact-form-embed iframe {
    width: 100%;
    border: none;
    background-color: #eee;
    height: 1500px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.contact-form-embed p {
    color: var(--color-text-light); /* Changed for legibility */
    font-size: 0.9em;
    text-align: center;
    margin-top: 15px;
}

/* Footer */
footer {
    background-color: var(--color-primary-dark);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-links a {
    color: var(--color-text-light);
    font-size: 0.9em;
}
.social-icons {
    margin-top: 20px;
}
.social-icons a {
    display: inline-block;
    margin: 0 10px;
    color: var(--color-text-light);
    font-size: 1.5em;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: var(--color-secondary-light-blue);
}

.social-icons a svg path{
    fill: var(--color-text-light);
}
.social-icons a:hover svg path{
    fill: var(--color-secondary-light-blue);
}

footer p {
    color: var(--color-text-light);
    font-size: 0.85em;
    margin-top: 20px;
}

/* Utility Classes (for icons - these are simplified SVGs) */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}


section li+li{
    margin-top: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 { font-size: 1.9em; }
    h2 { font-size: 1.7em; }
    h3 { font-size: 1.5em; }
    section { padding: 70px 0; }

    .nav-links.desktop-nav {
        display: none; /* Hide desktop nav on mobile */
    }
    .burger-menu {
        display: flex; /* Show burger menu on mobile */
    }
    .navbar {
        padding: 0 20px; /* Add padding to navbar on mobile */
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .benefits-grid, .services-grid {
        grid-template-columns: 1fr; /* Stack columns on small screens */
    }
    .benefit-item {
        text-align: center;
    }
    .service-card h3{
        background-size: 40px 30px;
        padding-left: 45px;
    }
    .contact-info, .contact-form-embed {
        min-width: unset;
        width: 100%;
    }
    header{
        padding-top: 10px;
        padding-bottom: 10px;
    }
    header .logo-img {
        opacity: 0;
    }
    header.header-visible .logo-img {
        opacity: 1;
    }
    .contact-content{
        flex-direction: column;
    }
    .desktop-only-break {
        display: none;
    }
    .hero-content svg{
        max-width: 230px;
    }
    .hero-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .contact-info img{
        justify-self: center;
    }
}


@media (min-width: 769px) { /* Show desktop nav on desktop */
    .nav-links.desktop-nav {
        display: flex;
    }
    .burger-menu, .nav-overlay { /* Hide mobile menu elements on desktop */
        display: none;
    }
    header {
        transform: translateY(-100%); /* Initially hidden above the viewport */
        opacity: 0; /* Also start with 0 opacity */
        pointer-events: none; /* Disable interaction when hidden */
    }
}
