﻿/* Basic Reset & Body Styles */
body {
    margin: 0;
    font-family: sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #0c0c1d; /* Deep dark background */
    color: #fff; /* White text */
    line-height: 1.6;
}

/* General Link Styling */
a {
    color: inherit;
    text-decoration: none;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    background-color: #0c0c1d;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

    .navbar .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: bold;
        font-size: 1.25rem;
    }

    .navbar .logo-image {
        width: 3rem;
        height: 3rem;
    }

/* Desktop Navigation Links Wrapper */
.nav-links-wrapper {
    display: flex; /* Always flex for desktop */
    align-items: center;
    gap: 1.5rem; /* space-x-6 */
}

/* Desktop Navigation Links */
.nav-links {
    display: flex;
    gap: 1.5rem; /* space-x-6 */
}

.nav-item:hover {
    color: #818cf8; /* hover:text-indigo-400 */
    text-decoration: none;
}


/* Mobile Menu Button (Hamburger) */
.mobile-menu-button {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001; /* Ensure it's above other content */
}

.hamburger-icon {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* General Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem; /* rounded-lg */
    font-weight: 600; /* font-semibold */
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(to right, #6366f1, #ec4899); /* from-blue-500 to-pink-500 */
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .btn-primary:hover {
        opacity: 0.9;
        transform: translateY(-2px);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
    }

.btn-primary-outline {
    background-color: transparent;
    color: #6366f1; /* text-blue-500 */
    border: 1px solid #6366f1; /* border-blue-500 */
}

    .btn-primary-outline:hover {
        background-color: #6366f1; /* hover:bg-blue-500 */
        color: #fff;
        text-decoration: none;
    }

/* Adjusted Secondary Button */
.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid #9ca3af;
}

    .btn-secondary:hover {
        background-color: rgba(255, 255, 255, 0.1); /* Subtle white overlay on hover */
        border-color: #6366f1; /* Blue border on hover */
        text-decoration: none;
    }


/* Sections General Styling */
section {
    margin: 0 auto;
    padding: 4rem 1.5rem;
    text-align: center;
}

.section-headline {
    font-size: 3rem; /* text-5xl */
    font-weight: 700; /* font-bold */
    margin-bottom: 1.5rem; /* mb-6 */
    line-height: 1.2;
}

.section-subheadline {
    font-size: 1.25rem; /* text-xl */
    color: #9ca3af; /* text-gray-400 */
    margin-bottom: 2rem; /* mb-8 */
    max-width: 48rem; /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #003366, #330033); /* Deep blue to purple gradient */
    padding: 6rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hero-content {
    text-align: center;
    /*padding: 6rem 1.5rem;*/
    display: inline-block;
    max-width: 70rem;
}

.hero-tag {
    color: #ec4899;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

    .hero-headline .text-pink-500 {
        color: #ec4899;
    }

.hero-subheadline {
    font-size: 1.25rem; /* text-xl */
    color: #d1d5db; /* text-gray-300 */
    margin-bottom: 2rem; /* mb-8 */
    max-width: 48rem; /* max-w-2xl */
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem; /* space-x-4 */
}

/* Features / Services Section */
.features-section {
    background-color: #1a202c; /* bg-gray-900 - slight variation for contrast */
    padding: 4rem 1.5rem;
}

.features-content {
    text-align: center;
    display: inline-block;
    max-width: 70rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem; /* gap-6 */
}

@media (min-width: 768px) { /* md:grid-cols-2 */
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) { /* lg:grid-cols-3 */
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: #2d3748; /* bg-gray-800 */
    padding: 1.5rem; /* p-6 */
    border-radius: 0.75rem; /* rounded-xl */
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    }

    .feature-card .card-title {
        font-size: 1.5rem; /* text-2xl */
        font-weight: 700; /* font-bold */
        margin-bottom: 0.5rem; /* mb-2 */
        color: #fff;
    }

    .feature-card .card-description {
        color: #d1d5db; /* text-gray-300 */
        flex-grow: 1; /* Allows description to take available space */
    }

    .feature-card .learn-more {
        color: #818cf8; /* text-indigo-400 */
        font-weight: 600; /* font-semibold */
        margin-top: 1rem; /* mt-4 */
        display: inline-block;
    }

        .feature-card .learn-more:hover {
            text-decoration: underline;
        }

/* Contact Strip Section */
.contact-strip-section {
    background: linear-gradient(to right, #003366, #330033); /* Deep blue to purple gradient */
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: 0.75rem; /* rounded-xl */
    margin: 4rem auto; /* py-16, px-6 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    max-width: 60rem; /* Adjusted for better fit */
}

.contact-strip-headline {
    font-size: 2.25rem; /* text-4xl */
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: #fff;
}

.contact-strip-subheadline {
    font-size: 1.125rem; /* text-lg */
    color: #d1d5db;
    margin-bottom: 2rem;
}


/* Footer */
.footer {
    background-color: #0a0a1a; /* bg-gray-950 */
    padding: 2.5rem 1.5rem; /* py-10 px-6 */
    color: #a0aec0; /* text-gray-500 */
    font-size: 0.875rem; /* text-sm */
    text-align: left;
}

.footer-grid {
    max-width: 72rem; /* max-w-6xl */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem; /* gap-6 */
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-title {
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem; /* mb-2 */
}

.footer-subtitle {
    color: #fff;
    font-weight: 600; /* font-semibold */
    margin-bottom: 0.5rem; /* mb-2 */
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    space-y: 0.25rem;
}

    .footer ul li {
        margin-bottom: 0.25rem;
    }

.footer a:hover {
    color: #818cf8; /* hover:text-indigo-400 */
}

.footer-bottom {
    text-align: center;
    margin-top: 2.5rem; /* mt-10 */
    border-top: 1px solid #2d3748; /* border-gray-700 */
    padding-top: 1.5rem; /* pt-6 */
    color: #9ca3af; /* text-gray-400 */
}

/* Mobile Specific Styles (max-width: 767px) */
@media (max-width: 767px) {
    /* Navbar adjustments */
    .navbar {
        flex-wrap: wrap; /* Allow items to wrap */
    }

        .navbar .logo {
            font-size: 1rem; /* Smaller font size for logo on mobile */
            flex-grow: 1; /* Allow logo to take available space */
        }

        .navbar .logo-image {
            width: 2rem; /* Smaller logo image */
            height: 2rem;
        }

    .nav-links-wrapper {
        display: none; /* Hidden by default on mobile */
        flex-direction: column; /* Stack links vertically */
        width: 100%; /* Take full width */
        background-color: #1a202c; /* Background for dropdown */
        position: absolute;
        top: 100%; /* Position below navbar */
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        border-top: 1px solid #2d3748;
    }

        .nav-links-wrapper.active {
            display: flex; /* Show when active */
        }

    .nav-links {
        flex-direction: column; /* Stack links */
        width: 100%;
        gap: 0; /* Remove gap for stacked links */
    }

    .nav-item {
        padding: 0.75rem 1.5rem; /* Padding for each link */
        text-align: center;
        width: 100%;
    }

    .login-button {
        width: calc(100% - 3rem); /* Full width minus padding */
        margin: 1rem 1.5rem 0; /* Add margin for separation */
        text-align: center;
    }

    .mobile-menu-button {
        display: block; /* Show hamburger button on mobile */
    }

    /* Hero section adjustments */
    .hero-tag {
        font-size: 0.875rem; /* Smaller font size for hero tag on mobile */
    }

    .hero-headline {
        font-size: 1.5rem; /* Adjust hero headline size for smaller screens */
    }

    .hero-subheadline {
        font-size: 1rem; /* Adjust hero subheadline size for smaller screens */
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem; /* Slightly reduced gap for stacked buttons */
    }

    /* General section adjustments */
    .section-headline {
        font-size: 2rem; /* Adjust general section headlines for smaller screens */
    }

    .section-subheadline {
        font-size: 1rem; /* Adjust general section subheadlines for smaller screens */
    }

    /* Adjust padding on sections for mobile */
    section {
        padding: 2rem 1rem;
    }

    /* Contact strip adjustments */
    .contact-strip-headline {
        font-size: 1.75rem;
    }

    .contact-strip-subheadline {
        font-size: 0.9rem;
    }

    /* Footer adjustments */
    .footer-grid {
        grid-template-columns: 1fr; /* Stack footer columns on mobile */
        text-align: center; /* Center footer text on mobile */
    }

    .footer ul {
        margin-bottom: 1rem; /* Add some space between stacked footer lists */
    }
}

/* Contact Form Styles */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.form-group {
    width: 100%;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: rgba(255, 255, 255, 0.7);
    }

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

    /* Form focus states */
    .form-input:focus,
    .form-textarea:focus {
        outline: none;
        border-color: #0099cc;
        box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.3);
    }

.contact-form button {
    width: 150px;
    padding: 11px;
}



/* About Page Specific Styles */
/* About Us Page Specific Styles */
.about-hero {
    background-image: radial-gradient(circle at top right, #002f5f, transparent 50%), radial-gradient(circle at bottom left, #440044, transparent 50%);
}

.content-section {
    background-color: #1a202c; /* Darker background for content sections */
    padding: 4rem 1.5rem;
    text-align: center;
}

.content-grid {
    display: flex;
    align-items: center;
    gap: 3rem; /* Space between text and image */
    margin-bottom: 4rem; /* Space between content blocks */
}

    .content-grid:last-child {
        margin-bottom: 0; /* No margin after the last content block */
    }

    .content-grid.reverse-grid {
        flex-direction: row-reverse; /* Reverse order for alternating layout */
    }

.content-text {
    flex: 1;
    text-align: left;
}

.content-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .content-image img {
        max-width: 100%;
        height: auto;
        border-radius: 0.75rem; /* rounded-lg */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

.section-description {
    font-size: 1.125rem; /* text-lg */
    color: #d1d5db; /* text-gray-300 */
    margin-bottom: 1rem;
}

    .section-description:last-of-type {
        margin-bottom: 0;
        padding-bottom: 15px;
    }


/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Space between form groups */
    background-color: #2d3748; /* Darker background for the form itself */
    padding: 2.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left; /* Align form elements left */
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #fff;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group textarea {
        padding: 0.75rem 1rem;
        border-radius: 0.375rem; /* rounded-md */
        border: 1px solid #4a5568; /* border-gray-700 */
        background-color: #1a202c; /* bg-gray-900 */
        color: #fff;
        font-size: 1rem;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
    }

/* ... and more styles for focus states, textarea resizing, and contact info list */



/*Services Section*/
#connectivity-solutions .content-grid,
#cybersecurity-solutions .content-grid,
#software-development .content-grid {
    display: inline-flex;
    max-width: 70rem;
}

#connectivity-solutions ul,
#cybersecurity-solutions ul,
#software-development ul {
    padding-bottom: 15px;
}

    #connectivity-solutions ul li,
    #cybersecurity-solutions ul li,
    #software-development ul li {
        padding-bottom: 15px;
    }

        #connectivity-solutions ul li strong,
        #cybersecurity-solutions ul li strong,
        #software-development ul li strong {
            display: flow;
        }

/* Mobile-specific fixes for services page */
@media (max-width: 767px) {
    /* Services Hero Section Fixes */
    #services-hero.hero-section {
        padding: 3rem 1rem !important;
    }

    #services-hero .hero-headline {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    #services-hero .hero-subheadline {
        font-size: 1rem !important;
        max-width: 100% !important;
    }

    /* Content Grid Fixes */
    .content-grid {
        flex-direction: column !important;
        gap: 2rem !important;
    }

        .content-grid.reverse-grid {
            flex-direction: column !important;
        }

    .content-text,
    .content-image {
        width: 100% !important;
        padding: 0 !important;
    }

        .content-image img {
            width: 100% !important;
            max-width: 100% !important;
            height: auto !important;
        }

    /* Section Headline Fixes */
    .section-headline {
        font-size: 1.75rem !important;
        text-align: center !important;
        margin-bottom: 1rem !important;
    }

    .section-description {
        font-size: 1rem !important;
        text-align: center !important;
    }

    /* Policy List Fixes */
    .policy-list {
        padding-left: 1.25rem !important;
        margin: 1.5rem 0 !important;
    }

        .policy-list li {
            margin-bottom: 0.75rem !important;
        }

    /* Button Fixes */
    .btn {
        width: 100% !important;
        display: block !important;
        margin: 1.5rem auto 0 !important;
    }

    /* Section Padding Fixes */
    .content-section {
        padding: 2rem 1rem !important;
    }

    /* Contact Strip Fixes */
    .contact-strip-section {
        padding: 2rem 1rem !important;
    }

    .contact-strip-headline {
        font-size: 1.5rem !important;
    }

    .contact-strip-subheadline {
        font-size: 1rem !important;
    }

    #connectivity-solutions ul li, #cybersecurity-solutions ul li, #software-development ul li {
        text-align: center;
    }
}

/* Additional fixes for very small screens */
@media (max-width: 400px) {
    #services-hero .hero-headline {
        font-size: 1.75rem !important;
    }

    .section-headline {
        font-size: 1.5rem !important;
    }

    .hero-tag {
        font-size: 0.875rem !important;
    }

    #connectivity-solutions ul li, #cybersecurity-solutions ul li, #software-development ul li {
        text-align: center;
    }
}
