/*=============================== RA 9003 =====================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}
:root {
    --primary: #2E8B57;
    --secondary: #4CAF50;
    --dark: #1E5631;
    --light: #E8F5E9;
    --accent: #FFC107;
}
/*================================ Header ===================================== */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    margin: 1.5em;
    }
    
    .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    }
    
    .logo i {
    color: var(--accent);
    animation: spin 5s linear infinite;
    }
    .logo span {
    font-size: larger;
    }
    @keyframes spin {
    from {
    transform: rotate(0deg);
    }
    to {
    transform: rotate(360deg);
    }   
    
    }
    
    nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease-in-out;
    max-height: 500px;
    }
    
    nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    }
    
    nav a:hover {
    color: var(--accent);
    }
    
    nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s;
    }
    
    nav a:hover::after {
    width: 100%;
    }
    @media (max-width: 1200px) {
    nav ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    padding: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    }
    
    nav ul.show-mobile-menu {
    padding: 1rem 0;
    max-height: 500px; 
    opacity: 1;
    pointer-events: all;
    }
    
    nav ul li {
    margin: 0.5rem;
    }
    
    .mobile-menu {
    display: block !important;
    }
    
    }
    @media (max-width: 700px) {
    .logo span{
    font-size: 20px;
    }
    }
    @media (max-width: 500px) {
    .logo span{
    font-size: 0%;
    }
    }
    /*==================Search Section=========================*/
    .search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 1.5em; 
    height: 1.5em;
    transition: width 0.4s ease-in-out;
    overflow: hidden;
    border-radius: 20px;
    background-color: white;
    border: 1px solid #ccc;
    }
    
    .search-container:hover,
    .search-container:focus-within {
    width: 12.5em; 
    }
    
    
    .search-container:hover .search-icon,
    .search-container:focus-within .search-icon {
    opacity: 0;
    }
    
    .search-container:hover {
    width: 12.5em; 
    }
    
    .search-input {
    width: 30em;
    padding: 10px;
    border: none;
    outline: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    }
    
    .search-container:hover .search-input,
    .search-container:focus-within .search-input {
    
    opacity: 1;
    }
    
    .search-icon {
    position: absolute;
    left: 2px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #666; 
    z-index: 2; 
    pointer-events: none; 
    }
    
    .search-active {
    transition: background-color 0.5s ease;
    background-color: rgba(76, 175, 80, 0.1);
    }
    
    .search-highlight {
    transition: all 0.3s ease;
    }
    
    
    .search-input:not(:placeholder-shown) {
    opacity: 1 !important;
    }
    @media (max-width: 768px) {
    .search-container {
    width: 2.5em; 
    height: 2.5em; 
    position: relative;
    margin-left: 5px;
    }
    
    .search-icon {
    font-size: 1.2rem; 
    left: 50%; 
    transform: translateX(-50%);
    }
    
    .search-container:focus-within .search-icon,
    .search-container:hover .search-icon {
    opacity: 0;
    transition: opacity 0.2s ease;
    }
    
    .search-container:focus-within,
    .search-container:hover {
    width:90% !important; /* Full width expansion on mobile */
    background-color: white;
    border: 1px solid #ccc;
    }
    
    .search-input {
    width: calc(100% - 20px); /* Account for padding */
    padding-left: 10px;
    }
    
    /* Ensure the input is properly accessible when container is expanded */
    .search-container:focus-within .search-input,
    .search-container:hover .search-input {
    opacity: 1;
    padding-left: 15px;
    }
    
    /* Hide the search container completely when not active and empty */
    .search-container:not(:focus-within) .search-input:placeholder-shown:not(:focus) {
    display: none;
    }
    }
    @media (max-width: 980px) {
    .search-container {
    width: 2.5em; /* Slightly larger for mobile touchpoints */
    height: 2.5em; /* Make it square for better touch target */
    position: relative;
    margin-left: 5px;
    }
    
    .search-icon {
    font-size: 1.2rem; /* Larger icon for mobile */
    left: 50%; /* Center the icon */
    transform: translateX(-50%);
    }
    
    .search-container:focus-within .search-icon,
    .search-container:hover .search-icon {
    opacity: 0;
    transition: opacity 0.2s ease;
    }
    
    .search-container:focus-within,
    .search-container:hover {
    width: 100%; /* Full width expansion on mobile */
    background-color: white;
    border: 1px solid #ccc;
    }
    
    .search-input {
    width: calc(100% - 20px); /* Account for padding */
    padding-left: 10px;
    }
    
    /* Ensure the input is properly accessible when container is expanded */
    .search-container:focus-within .search-input,
    .search-container:hover .search-input {
    opacity: 1;
    padding-left: 15px;
    }
    
    /* Hide the search container completely when not active and empty */
    .search-container:not(:focus-within) .search-input:placeholder-shown:not(:focus) {
    display: none;
    }
    }
    
    /*====================Search Section End==============================*/

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}
/* Mobile menu when active */
.show-mobile-menu {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    padding: 1rem 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.show-mobile-menu li {
    margin: 0 0.5rem;
}

/* Main Content Styles */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.section {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.section-title {
    color: #1e6641;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #8fe67f;
    padding-bottom: 0.5rem;
}

.section-description {
    margin-bottom: 2rem;
    color: #555;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    display: flex;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1e6641;
    color: white;
    padding: 1.5rem;
    font-size: 1.8rem;
}

.service-content {
    padding: 1.5rem;
    flex: 1;
}

.service-title {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.service-description {
    color: #666;
    font-size: 0.95rem;
}

/* FAQ Styles */
.faq-container {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #edf2f7;
}

.faq-question span {
    font-weight: bold;
    color: #1e6641;
}

.faq-answer {
    padding: 1rem;
    background-color: white;
    display: none;
}

/* ============================ Footer Section ========================================= */
.footer {
display: flex;
flex-direction: column; 
padding: 2em;
background-color: #1b0808;
}

.footers-header h1 {
color: #35bf40;
font-size: 1.5rem;
margin-bottom: 1rem;
}

.footers-header ul {
margin-top: 1em;
list-style: none;
padding-left: 0; 
}

.footers-header li {
margin-bottom: 0.5em; 
}

.footers-header a {
color: white;
text-decoration: none;
}

.link-container a:hover {
margin-left: 15px;
background-color: #24262a;
border-radius: 5px;
transition: 0.2s ease-in-out;
padding-right: 15px;
}
.header-footer {
    opacity: 0.6;
    color: #f8f9f9;
    font-size: larger;
    font-weight: lighter;
}

@media (min-width: 480px) {
.example-2 .icon-content a {
width: 45px;
height: 45px;
}

.example-2 .icon-content a svg {
width: 26px;
height: 26px;
}
}

@media (min-width: 768px) {
.footer {
flex-direction: row !important;
justify-content: space-between !important;
}
.example-2 {
justify-content: flex-start; 
}

.example-2 .icon-content a {
width: 50px;
height: 50px;
}

.example-2 .icon-content a svg {
width: 30px;
height: 30px;
}
}


@media (max-width: 480px) {
.example-2 .icon-content .tooltip {
left: 50%; 
transform: translateX(-50%) translateY(-100%);
white-space: nowrap; 
}
}
@media (min-width: 992px) {
.footers-header h1 {
font-size: 2rem;
}
}
ul {
list-style: none;
}

.soc-med-link {
width: 100%;
margin: 1rem 0;
}

.example-2 {
display: flex;
flex-wrap: wrap; 
justify-content: flex-start; 
gap: 0.5rem; 
}
.example-2 .icon-content {
margin: 0 10px;
position: relative;
}
.example-2 .icon-content .tooltip {
position: absolute;
top: 20px;
left: 40%;
transform: translateY(-100%);
color: #fff;
padding: 6px 10px;
border-radius: 5px;
opacity: 0;
visibility: hidden;
font-size: 14px;
transition: all 0.3s ease;
}
.example-2 .icon-content:hover .tooltip {
opacity: 1;
visibility: visible;
top: 5px;
}
.example-2 .icon-content a {
position: relative;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
border-radius: 50%;
color: #4d4d4d;
background-color: #fff;
transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover {
box-shadow: 3px 2px 45px 0px rgb(0 0 0 / 12%);
}
.example-2 .icon-content a svg {
position: relative;
z-index: 1;
width: 24px;
height: 24px;
}
.example-2 .icon-content a:hover {
color: white;
}
.example-2 .icon-content a .filled {
position: absolute;
top: auto;
bottom: 0;
left: 0;
width: 100%;
height: 0;
background-color: #000;
transition: all 0.3s ease-in-out;
}
.example-2 .icon-content a:hover .filled {
height: 100%;
}

.example-2 .icon-content a[data-social="linkedin"] .filled,
.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
background-color: #0274b3;
}

.example-2 .icon-content a[data-social="github"] .filled,
.example-2 .icon-content a[data-social="github"] ~ .tooltip {
background-color: #24262a;
}
.example-2 .icon-content a[data-social="instagram"] .filled,
.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
background: linear-gradient(
45deg,
#405de6,
#5b51db,
#b33ab4,
#c135b4,
#e1306c,
#fd1f1f
);
}
.example-2 .icon-content a[data-social="youtube"] .filled,
.example-2 .icon-content a[data-social="youtube"] ~ .tooltip {
background-color: #ff0000;
} 
.example-2 .icon-content a[data-social="facebook"] .filled,
.example-2 .icon-content a[data-social="facebook"] ~ .tooltip {
background-color: #1877f2;
}
.icon-content {
transition: transform 0.3s ease-in-out;
}
.icon-content:hover {
transform: scale(1.5);
}
.responsive-container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 15px;
}
.flex-row-responsive {
display: flex;
flex-wrap: wrap;
}
.flex-col-responsive {
flex: 1;
min-width: 250px;
margin: 10px;
}
.responsive-image {
max-width: 100%;
height: auto;
}
.responsive-text {
font-size: clamp(16px, 4vw, 24px);
line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    .logo{
        font-size: 1.2rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #1e6641;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 10;
    }

    nav ul.show-mobile-menu {
        display: flex;
    }

    nav ul li {
        margin: 0.8rem 1rem;
        width: 100%;
    }

    .search-container {
        width: 100%;
        margin: 0.8rem 1rem;
    }

    .mobile-menu {
        display: block;
    }

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

    .footer {
        grid-template-columns: 1fr;
    }
} 
/*============== Back Button ============*/
.back-button a {
    text-decoration: none;
}
button {
    display: flex;
    height: 3em;
    width: 150px;
    align-items: center;
    justify-content: center;
    background-color: #eeeeee4b;
    border-radius: 20px;
    letter-spacing: 1px;
    transition: all 0.2s linear;
    cursor: pointer;
    border: none;
    background:green;
    color: white;
    padding: 5px;
    margin-bottom: 2em;
   }    
   button > svg {
    font-size: 20px;
    transition: all 0.4s ease-in;
   }
   
   button:hover > svg {
    font-size: 1.2em;
    transform: translateX(-5px);
   }
   
   button:hover {
    box-shadow: 9px 9px 33px #d1d1d1, -9px -9px 33px #ffffff;
    transform: translateY(-2px);
   }
     /*========================================== Loading overlay ===========================================*/
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(18, 18, 18, 0.9);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            visibility: visible;
            opacity: 1;
            transition: visibility 0s, opacity 0.3s;
        }

        .loading-overlay.hide {
            visibility: hidden;
            opacity: 0;
        }
        .futuristic-spinner {
            position: relative;
            width: 100px;
            height: 100px;
        }

        .futuristic-spinner .ring {
            position: absolute;
            border-radius: 50%;
            border: 4px solid transparent;
            border-top-color: #a0ff32;
            border-left-color: #a0ff32;
            box-shadow: 0 0 20px rgba(160, 255, 50, 0.5);
            animation: spin 1.5s linear infinite;
        }

        .futuristic-spinner .ring:nth-child(1) {
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
        }

        .futuristic-spinner .ring:nth-child(2) {
            width: 80%;
            height: 80%;
            top: 10%;
            left: 10%;
            animation-duration: 1.2s;
            animation-direction: reverse;
        }

        .futuristic-spinner .ring:nth-child(3) {
            width: 60%;
            height: 60%;
            top: 20%;
            left: 20%;
            animation-duration: 0.9s;
        }

        .futuristic-spinner .core {
            position: absolute;
            width: 40%;
            height: 40%;
            top: 30%;
            left: 30%;
            background-color: #a0ff32;
            border-radius: 50%;
            box-shadow: 0 0 30px rgba(160, 255, 50, 0.8);
            animation: pulse 1.5s ease-in-out infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); opacity: 1; }
            50% { transform: scale(0.8); opacity: 0.8; }
        }
     /*========================================= Idle screen saver overlay ====================================*/
     .idle-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 1000;
        visibility: hidden;
        opacity: 0;
        transition: visibility 0s 0.5s, opacity 0.5s;
        overflow: hidden;
    }
    
    .idle-overlay.show {
        visibility: visible;
        opacity: 1;
        transition: visibility 0s, opacity 0.5s;
    }
    
    /* Particle canvas background */
    #particles-canvas {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: -1;
    }
    
    /* Digital Clock Container */
    .clock-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 1;
    }
    
    /* Digital Clock */
    .digital-clock {
        font-family: 'Courier New', monospace;
        font-size: 80px;
        color: #a0ff32;
        text-shadow: 0 0 20px rgba(160, 255, 50, 0.8);
        margin-bottom: 10px;
        background: rgba(0, 0, 0, 0.5);
        padding: 20px 40px;
        border-radius: 10px;
        border: 2px solid #a0ff32;
        box-shadow: 0 0 30px rgba(160, 255, 50, 0.3);
        letter-spacing: 5px;
    }
    
    .date-display {
        font-size: 24px;
        color: #fff;
        margin-top: 20px;
        opacity: 0.8;
    }
    
    .status-text {
        font-size: 18px;
        color: #a0ff32;
        margin-top: 30px;
        opacity: 0.9;
        text-transform: uppercase;
        letter-spacing: 3px;
        animation: blink 1.5s infinite;
    }
    
    /* System status indicators */
    .system-status {
        display: flex;
        margin-top: 40px;
        gap: 30px;
    }
    
    .status-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .indicator-label {
        font-size: 14px;
        color: #fff;
        opacity: 0.6;
        margin-bottom: 5px;
        text-transform: uppercase;
    }
    
    .indicator-bar {
        width: 100px;
        height: 8px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
        overflow: hidden;
        position: relative;
    }
    
    .indicator-progress {
        height: 100%;
        background-color: #a0ff32;
        box-shadow: 0 0 10px rgba(160, 255, 50, 0.8);
        animation: fluctuate 8s infinite;
    }
    
    .cpu .indicator-progress {
        animation-delay: 0s;
    }
    
    .memory .indicator-progress {
        animation-delay: 2s;
    }
    
    .network .indicator-progress {
        animation-delay: 4s;
    }
    
    @keyframes fluctuate {
        0% { width: 30%; }
        20% { width: 60%; }
        40% { width: 40%; }
        60% { width: 80%; }
        80% { width: 50%; }
        100% { width: 30%; }
    }
    
    @keyframes blink {
        0%, 100% { opacity: 0.3; }
        50% { opacity: 1; }
    }
     /*========================================= Idle screen saver overlay End====================================*/