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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a; /* Already a very dark grey, close to black */
    color: white;
    overflow-x: hidden;
    line-height: 1.6;
    overflow-y: auto; /* Ensure scrolling is enabled by default on this page */
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000000, #050505, #101010);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 40% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: floatingLights 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes floatingLights {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(20px) rotate(-5deg); }
}





/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Changed for transparent "smog blur" effect */
    background: rgba(10, 10, 10, 0.5);
    /* More transparent */
    -webkit-backdrop-filter: blur(15px);
    /* For Safari, increased blur */
    backdrop-filter: blur(15px);
    /* Increased blur value */
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    /* Use flex to center the image if needed, though not strictly necessary here */
    align-items: center;
    /* Align items vertically */
    height: 60px;
    /* Fixed height for the logo container */
    margin-right: 1.5rem;
    /* Space between logo and nav */
    border-radius: 0.5rem;
    /* Rounded corners for the logo container */
}

/* Styles for the logo image */
.logo img {
    /* max-height: 100%; Ensure image scales within the logo container's height */
    height: 80px;
    width: auto;
    /* Maintain aspect ratio */
    border-radius: 0.375rem;
    /* Slightly rounded corners for the image itself */
    object-fit: contain;
    /* Ensure the entire image is visible within its bounds */
}

@keyframes logoGlow {

    /* Kept for reference but not applied to ::before */
    0% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }

    100% {
        box-shadow: 0 0 30px rgba(147, 51, 234, 0.8);
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #9333ea);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: #3b82f6;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger:hover span {
    background-color: #3b82f6;
}

/* Common Div Styles for animatable sections */
.common-div-style {
    padding: 100px 5% 80px;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    /* Initial state for animation */
    transform: translateY(50px);
    /* Initial state for animation */
    transition: all 0.8s ease;
}

.common-div-style.animate {
    opacity: 1;
    transform: translateY(0);
}




/* Dropdown Specific Styles */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(10, 10, 10, 0.9);
    /* Matching header background */
    -webkit-backdrop-filter: blur(15px);
    /* Matching header blur */
    backdrop-filter: blur(15px);
    /* Matching header blur */
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    /* Above header */
    list-style: none;
    padding: 10px 0;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    /* Slightly below and then slide up */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out, transform 0.3s ease-out;
    transform-origin: top;
}

.dropdown-content li a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.dropdown-content li a:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(147, 51, 234, 0.2));
    color: #3b82f6;
    transform: translateX(5px);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    /* Slide into final position */
}
/* Hamburger active state (for X animation) */
.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0; /* Hide middle bar */
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}












/* --- NEW SECTION: About Us Styles --- */
#about {
    padding-top: 80px;
    padding-bottom: 80px;
    margin-top: 80px;
    color: #f5f5f5; /* Light text */
    text-align: center; /* Center the title and subtitle */
    z-index: 1; /* Ensure it's above animated background */
}

.section-title{
    font-size: 3.5rem;
    color: #8C52FF;
    font-weight: 700px;
}

.section-subtitle{
    font-size: 25px;
    font-weight: 700;
}

.about-content {
    display: flex;
    flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
    justify-content: center; /* Center content horizontally */
    max-width: 1200px; /* Max width for the content area */
    margin: 60px auto 0 auto; /* Center the content, space below subtitle */
    gap: 50px; /* Space between about-text and about-values */
    padding: 0 20px; /* Horizontal padding for smaller screens */
}

.about-text {
    flex: 2; /* Allows it to take more space */
    min-width: 300px; /* Minimum width before wrapping */
    text-align: left; /* Align text within this panel */
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Glassmorphism background */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(59, 130, 246, 0.2); /* Subtle blue border */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #d1d5db; /* Lighter grey for body text */
}

.about-text h3 {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #8C52FF; /* Vibrant purple for subheadings */
}

.service-list {
    list-style: none; /* Remove default bullet points */
    padding-left: 0;
    margin-top: 15px;
    color: #d1d5db;
}

.service-list li {
    position: relative;
    padding-left: 25px; /* Space for custom bullet */
    margin-bottom: 10px;
    line-height: 1.6;
}

.service-list li::before {
    content: "\f00c"; /* Font Awesome checkmark icon */
    font-family: "Font Awesome 5 Free"; /* Use Font Awesome font */
    font-weight: 900; /* Solid icon */
    position: absolute;
    left: 0;
    top: 0;
    color: #8C52FF; /* Vibrant purple checkmark */
}

.about-values {
    flex: 1; /* Allows it to take less space than about-text */
    min-width: 280px; /* Minimum width before wrapping */
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Glassmorphism background */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(59, 130, 246, 0.2); /* Subtle blue border */
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.about-values h3 {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #8C52FF; /* Vibrant purple for "Our Values" heading */
    text-align: center; /* Ensure it stays centered */
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stack values vertically on most screens */
    gap: 25px; /* Space between value items */
}

.value-item {
    background: rgba(59, 130, 246, 0.08); /* Very subtle blue background for value cards */
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.2); /* Blue border for value cards */
    text-align: left;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(140, 82, 255, 0.3); /* Purple glow on hover */
    border-color: rgba(140, 82, 255, 0.5); /* Purple border on hover */
}

.value-item h4 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #A75ED7; /* Slightly lighter purple for value titles */
}

.value-item p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #d1d5db; /* Lighter grey for value descriptions */
}

/* Responsive adjustments for About Us */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column; /* Stack sections vertically */
        gap: 30px;
    }
    .about-text,
    .about-values {
        min-width: unset; /* Allow full width */
        width: 100%;
        padding: 30px; /* Adjusted padding */
    }
    .about-text h3,
    .about-values h3 {
        text-align: left; /* Align subheadings to left when stacked */
    }
    .about-values h3 {
        text-align: center; /* Keep values heading centered within its stacked panel */
    }
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Allow multiple columns in values grid */
    }
}

@media (max-width: 600px) {
    #about {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .about-content {
        margin-top: 40px;
        padding: 0 15px;
    }
    .about-text,
    .about-values {
        padding: 25px;
    }
    .about-text h3 {
        font-size: 1.5em;
    }
    .about-values h3 {
        font-size: 1.5em;
    }
    .value-item h4 {
        font-size: 1.2em;
    }
    .values-grid {
        grid-template-columns: 1fr; /* Stack values in a single column on small phones */
        gap: 20px;
    }
}
 













/* Common Div Styles for animatable sections */
.common-div-style {
    padding: 100px 5% 80px;
    max-width: 1200px;
    margin: 0 auto;
    /* --- CRITICAL DEBUGGING OVERRIDE --- */
    opacity: 1 !important; /* Force opacity to 1 */
    transform: none !important; /* Force no transform */
    /* --- END CRITICAL DEBUGGING OVERRIDE --- */
    transition: all 0.8s ease; /* Keep transition for future animations */
}

/* The .animate class will now have no effect as base state is visible */
.common-div-style.animate {
    /* These rules will effectively be redundant with !important above, but keep for structure */
    opacity: 1;
    transform: translateY(0);
}



























/* Sticky WhatsApp Button */
.whatsapp-sticky-button {
    position: fixed; /* Makes it stick to the viewport */
    bottom: 20px; /* 20px from the bottom */
    left: 92%; /* 20px from the left */
    background-color: #000000; /* WhatsApp green */
    color: white;
    border-radius: 50%; /* Makes it a perfect circle */
    width: 70px; /* Size of the button */
    height: 70px; /* Size of the button */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2em; /* Size of the WhatsApp icon */
    text-decoration: none; /* Remove underline */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Subtle shadow */
    z-index: 990; /* Ensure it's above most content but below preloader/header */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-sticky-button:hover {
    transform: translateY(-5px); /* Lift effect on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5); /* Slightly stronger shadow on hover */
}

/* Responsive adjustments for the sticky button */
@media (max-width: 768px) {
    .whatsapp-sticky-button {
        width: 50px; /* Smaller on mobile */
        height: 50px;
        font-size: 1.8em; /* Smaller icon on mobile */
        bottom: 15px; /* Closer to bottom on mobile */
        left: 15px; /* Closer to left on mobile */
    }
}







/* Footer */
footer {
    text-align: center;
    padding: 40px 5%;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 50px 30px;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(59, 130, 246, 0.2);
    }

    nav ul.active {
        right: 0;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-section {
        margin: 20px;
        padding: 40px 20px;
    }

    /* Mobile menu dropdown adjustments */
    nav ul.active .dropdown-content {
        position: static;
        background: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        min-width: unset;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
    }

    nav ul.active .dropdown-content li a {
        padding: 8px 16px;
    }

    nav ul.active .dropdown .dropdown-arrow {
        transform: none;
        display: none;
    }
}