/* 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 */
}

















/* Blog Post Specific Styles (inherits from style.css for general elements) */

/* Main Article Container */
.blog-post-main {
    padding-top: 100px;
    /* Adjust for fixed header */
    padding-bottom: 80px;
    margin-top: 120px;
    max-width: 1300px;
    /* Max width for readable text column */
    background: rgba(0, 0, 0, 0.3);
    /* Slightly less opaque glassmorphism for content */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    /* Lighter border */
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    /* For image border-radius */
    position: relative;
    /* Needed for z-index */
    z-index: 1;
    /* Ensure it stacks above animated background */
}

.blog-article-content {
    padding: 30px 40px;
    /* Inner padding for the article */
    color: #d1d5db;
    /* Default text color for paragraphs */
}

/* Main Title */
.blog-main-title {
    font-size: 2.8em;
    color: #8C52FF;
    /* Vibrant purple */
    text-align: left;
    /* CHANGED: Align title to the left */
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
    display: flex;
    /* Use flex to align icon to the right of text */
    flex-direction: row;
    /* CHANGED: Icon to the left of text */
    justify-content: flex-start;
    /* CHANGED: Align content to the left */
    align-items: center;
    /* Vertically center icon with text */
    /* Added text shadow for more pop */
    text-shadow: 0px 0px 8px rgba(140, 82, 255, 0.5);
}

.blog-title-icon {
    font-size: 0.9em;
    margin-right: 15px;
    /* CHANGED: Margin to the right of the icon (before text) */
    margin-left: 0;
    /* Reset margin */
    color: #3b82f6;
    /* Blue accent for icon */
}

/* Meta Info (Author, Date, Read Time) */
.blog-meta {
    text-align: left;
    /* CHANGED: Align meta info to the left */
    font-size: 0.9em;
    color: #aaa;
    margin-bottom: 40px;
    display: flex;
    justify-content: flex-start;
    /* CHANGED: Align to the left */
    gap: 20px;
    flex-wrap: wrap;
    padding-left: 5px;
    /* CHANGED: Slight padding to align with left edge */
    padding-right: 0;
    /* Reset padding */
}

.blog-meta span i {
    margin-right: 8px;
    color: #A75ED7;
    /* Lighter purple for meta icons */
}

/* Paragraphs */
.blog-article-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05em;
    text-align: left;
    /* CHANGED: Align paragraphs to the left */
    padding-left: 5px;
    /* CHANGED: Slight padding for alignment */
    padding-right: 0;
    /* Reset padding */
}

/* Hero Image */
.blog-hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    /* Ensure image covers the area */
}

/* New Wrapper for text content and image within each section */
.blog-section-wrapper {
    display: flex;
    flex-direction: row;
    /* Text on left, Image on right (this was already set) */
    align-items: flex-start;
    /* Align items to the top of the flex container */
    gap: 30px;
    /* Space between text and image */
    margin-bottom: 40px;
    /* Space after the wrapper */
    padding: 20px;
    /* Added padding to this wrapper */
    background: rgba(0, 0, 0, 0.15);
    /* Slightly lighter glassmorphism for contrast */
    border-radius: 10px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    /* Even lighter border */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    /* Smooth transition on hover */
}

.blog-section-wrapper:hover {
    box-shadow: 0 5px 15px rgba(140, 82, 255, 0.3);
    /* Subtle purple glow on hover */
    border-color: rgba(140, 82, 255, 0.3);
    transform: translateY(-3px);
}

.blog-text-content {
    flex: 1;
    /* Allow text to take remaining space */
}

/* Section Titles (H2) */
.blog-section-item {
    margin-top: 50px;
}

.blog-section-title {
    font-size: 2em;
    color: #8C52FF;
    /* Vibrant purple */
    margin-bottom: 25px;
    /* Keep margin here for title below section heading */
    line-height: 1.4;
    font-weight: 600;
    text-align: left;
    /* CHANGED: Align to left */
    display: flex;
    flex-direction: row;
    /* CHANGED: Icon to the left of title text */
    justify-content: flex-start;
    /* CHANGED: Align title content to the left */
    align-items: center;
    /* Added subtle text shadow */
    text-shadow: 0px 0px 5px rgba(140, 82, 255, 0.3);
}

.blog-section-icon {
    font-size: 0.9em;
    margin-right: 12px;
    /* CHANGED: Margin to the right of the icon (before text) */
    margin-left: 0;
    /* Reset margin */
    color: #3b82f6;
    /* Blue accent for section icons */
}

/* Unordered Lists (UL) */
.blog-article-content ul {
    list-style: none;
    /* Remove default bullet */
    padding-left: 0;
    /* CHANGED: Reset padding-left */
    padding-right: 0;
    /* Reset padding-right */
    margin-bottom: 20px;
    text-align: left;
    /* CHANGED: Align list content to the left */
}

.blog-article-content ul li {
    position: relative;
    padding-left: 30px;
    /* CHANGED: Space for custom bullet on the left */
    padding-right: 0;
    /* Reset padding-right */
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 1em;
    color: #e2e8f0;
    /* Lighter grey for list items */
}

.blog-article-content ul li::before {
    content: "\f058";
    /* Font Awesome check-circle icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    /* Solid icon */
    position: absolute;
    left: 0;
    /* CHANGED: Place bullet on the left */
    right: unset;
    /* Unset right positioning */
    top: 3px;
    /* Adjusted vertical alignment for icon */
    color: #A75ED7;
    /* Lighter purple for bullet */
    font-size: 0.9em;
    /* Slightly smaller icon for better fit */
}

/* Advantage/Edge/Magic Callout Boxes */
.blog-advantage-box {
    background: rgba(59, 130, 246, 0.08);
    /* Very subtle blue background */
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-left: 5px solid #8C52FF;
    /* CHANGED: Stronger purple left border */
    border-right: none;
    /* Removed right border */
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    font-size: 1.1em;
    color: #e2e8f0;
    line-height: 1.6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    /* CHANGED: Align text inside to the left */
    transition: all 0.3s ease;
}

.blog-advantage-box strong {
    color: #A75ED7;
    /* Highlighted text in the box */
    font-weight: 700;
}

.blog-advantage-box:hover {
    box-shadow: 0 4px 15px rgba(140, 82, 255, 0.4);
    transform: translateY(-2px);
}

/* SEO Keywords */
.blog-seo-keywords {
    font-size: 0.85em;
    color: #aaa;
    font-style: italic;
    margin-top: -10px;
    margin-bottom: 30px;
    text-align: left;
    /* CHANGED: Align to the left */
    padding-left: 5px;
    /* CHANGED: Consistent padding */
    padding-right: 0;
    /* Reset padding */
}

/* Section Images */
.blog-section-image {
    width: 30%;
    /* Make images smaller, occupying 30% of wrapper width */
    max-width: 250px;
    /* Cap max width for control */
    height: auto;
    /* Maintain aspect ratio */
    min-width: 150px;
    /* Ensure images don't get too small */
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
    object-fit: cover;
    /* Cover their container */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Margin will be handled by gap in .blog-section-wrapper */
}

.blog-section-image:hover {
    transform: scale(1.03);
    /* Slight zoom on hover */
    box-shadow: 0 5px 20px rgba(140, 82, 255, 0.4);
}

/* Final Word / Call to Action */
.blog-final-word {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    /* Separator line */
    text-align: center;
    /* Keep centered as it's a call to action */
}

.blog-cta-title {
    font-size: 1.8em;
    color: #A75ED7;
    /* Lighter purple for CTA title */
    margin-top: 20px;
    margin-bottom: 20px;
    text-shadow: 0px 0px 5px rgba(167, 94, 215, 0.5);
}

.blog-final-word p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.blog-contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: linear-gradient(90deg, #6A1B9A 0%, #8C52FF 100%);
    /* Purple gradient button */
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 10px rgba(140, 82, 255, 0.4);
}

.blog-contact-btn i {
    margin-right: 10px;
    font-size: 1.1em;
}

.blog-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(140, 82, 255, 0.6);
    background: linear-gradient(90deg, #8C52FF 0%, #6A1B9A 100%);
    /* Inverted gradient on hover */
}


/* Responsive Adjustments for Blog Post */
@media (max-width: 768px) {
    .blog-post-main {
        padding: 80px 20px 60px;
        /* Adjust padding for smaller screens */
    }

    .blog-article-content {
        padding: 20px 15px;
        /* Smaller inner padding */
    }

    .blog-main-title {
        font-size: 2em;
        /* Smaller title on mobile */
        margin-bottom: 15px;
        justify-content: center;
        /* Center on mobile */
        text-shadow: none;
        /* Remove text shadow on mobile for readability */
        flex-direction: row;
        /* Icon to the left of text on mobile */
    }

    .blog-title-icon {
        margin-right: 12px;
        /* Restore margin for icon on left */
        margin-left: 0;
    }

    .blog-meta {
        flex-direction: column;
        /* Stack meta info */
        gap: 10px;
        margin-bottom: 30px;
        justify-content: center;
        /* Center on mobile */
        padding-left: 0;
        /* Reset padding */
    }

    .blog-article-content p,
    .blog-article-content ul li {
        font-size: 0.95em;
        text-align: left;
        /* Still left on mobile */
        padding-left: 0;
        /* Reset padding */
    }

    .blog-article-content ul {
        padding-left: 0;
        /* Reset padding for mobile */
        text-align: left;
        /* Still left on mobile */
    }

    .blog-article-content ul li::before {
        left: 0;
        /* Still left on mobile */
        right: unset;
        top: 2px;
        /* Adjusted vertical alignment for icon */
    }

    .blog-section-title {
        font-size: 1.6em;
        /* Smaller section titles */
        margin-bottom: 20px;
        justify-content: center;
        /* Center on mobile */
        flex-direction: row;
        /* Icon to the left of text on mobile */
        text-shadow: none;
        /* Remove text shadow on mobile */
    }

    .blog-section-icon {
        margin-right: 12px;
        /* Restore margin for icon on left */
        margin-left: 0;
    }

    .blog-section-wrapper {
        flex-direction: column;
        /* Stack image and text vertically on mobile */
        align-items: center;
        /* Center items when stacked */
        gap: 20px;
        /* Reduce gap */
        padding: 15px;
        /* Reduce padding on mobile */
    }

    .blog-text-content {
        order: 2;
        /* Text after image on mobile */
    }

    .blog-section-image {
        order: 1;
        /* Image before text on mobile */
        width: 80%;
        /* Larger on mobile when stacked */
        max-width: 350px;
    }

    .blog-advantage-box {
        margin: 20px 0;
        /* Adjust margins */
        border-left: 5px solid #8C52FF;
        /* Still left border on mobile */
        border-right: none;
        /* Removed right border */
        text-align: left;
        /* Still left on mobile */
    }

    .blog-seo-keywords {
        text-align: left;
        /* Still left on mobile */
    }

    .blog-final-word {
        margin-top: 40px;
        padding-top: 30px;
    }

    .blog-cta-title {
        font-size: 1.5em;
        text-shadow: none;
        /* Remove text shadow on mobile */
    }

    .blog-contact-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .blog-post-main {
        padding: 60px 15px 40px;
    }

    .blog-article-content {
        padding: 15px 10px;
    }

    .blog-main-title {
        font-size: 1.8em;
    }

    .blog-section-title {
        font-size: 1.4em;
    }

    .blog-contact-links {
        flex-direction: column;
        gap: 15px;
    }

    .blog-contact-btn {
        width: 100%;
        /* Full width buttons */
    }
}

/* --- IMPORTANT: COMMON DIV STYLE OVERRIDE FOR BLOG POST --- */
/* This ensures the blog post is visible by default and doesn't rely solely on JS animation */
.blog-post-main.common-div-style {
    opacity: 1;
    /* Force content to be fully visible */
    transform: translateY(0);
    /* Remove any initial translation */
    transition: none;
    /* Disable transition on load to prevent content from animating in immediately */
}

/* When you want to re-enable the animation, remove the above block. 
   Then, ensure 'scripts.js' is correctly linked and its IntersectionObserver 
   is observing '.blog-post-main' to add the 'animate' class. */











.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #8C52FF;
    /* Purple spinner */
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    z-index: 10;
    /* Ensure it's on top of the image */
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.image-container {
    position: relative;
    width: 30%;
    height: auto;
    /* Adjusted by content or img within */
    min-height: 200px;
    /* Minimum height for spinner to be visible */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
    /* Placeholder background */
    border-radius: 10px;
    overflow: hidden;
}

.image-container img {
    display: block;
    /* To remove extra space below img */
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Hide image initially */
    transition: opacity 0.5s ease-in-out;
}

.image-container img.loaded {
    opacity: 1;
    /* Show image when loaded */
}



























/* 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;
    }

    /* 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;
    }

    .page-content {
        padding: 100px 3% 60px;
    }

    .content-block {
        padding: 25px;
    }
}