/* 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;
     
    /* Hide scrollbar while preloading */
}


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


















/* Hero Div - No longer uses common-div-style for animation */
.hero-section {
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Removed opacity and transform as it's visible by default */
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3b82f6, #9333ea, #3b82f6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 3s ease-in-out infinite;
    line-height: 1.2;
}

@keyframes textGradient {

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

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #e5e7eb;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.1rem;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 30px;
    margin-top: 15px;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #9333ea);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #9333ea);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #3b82f6;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: #d1d5db;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    flex-grow: 1;
    max-height: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.service-list {
    list-style: none;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3b82f6, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: #9ca3af;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Div */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.about-text p {
    color: #d1d5db;
    margin-bottom: 20px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    text-align: center;
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
}

.value-item h4 {
    color: #3b82f6;
    margin-bottom: 10px;
    font-size: 1.2rem;
    text-align: center;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
    animation: float 6s ease-in-out infinite;
    z-index: -1;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(5deg);
    }

    66% {
        transform: translateY(20px) rotate(-5deg);
    }
}





 



 


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #3b82f6;
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}














/* Service Icons */
.icon-marketing::before {
    content: '📈';
}

.icon-web::before {
    content: '💻';
}

.icon-video::before {
    content: '🎬';
}












/* --- Video Editing Showcase Section Styles --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-container {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    max-height: 375px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    transition: all 0.3s ease;
    /* Keep transition for border/shadow change */

    padding-bottom: 90px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}

.video-container:hover {
    /* REMOVED: transform: translateY(-10px); */
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.video-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    padding: 15px 20px;
    z-index: 5;
    box-sizing: border-box;
    min-height: 90px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.video-info-overlay h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 5px;
    line-height: 1.3;
}

.video-stats {
    font-size: 0.9rem;
    color: #9333ea;
    font-weight: 600;
    margin-bottom: 5px;
}

.video-category {
    font-size: 0.8rem;
    color: #d1d5db;
    font-weight: 500;
}


/* --- Responsive Adjustments for Video Grid --- */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-container {
        padding-bottom: 80px;
    }

    .video-info-overlay {
        padding: 12px 15px;
        min-height: 80px;
    }

    .video-info-overlay h3 {
        font-size: 1rem;
    }

    .video-stats {
        font-size: 0.85rem;
    }

    .video-category {
        font-size: 0.75rem;
    }
}














/* --- NEW SECTION: Our Websites Styles --- */
.our-websites-container {
    padding-top: 80px;
    padding-bottom: 80px;
    /* background-color: #1a1a1a; Dark background */
    color: #f5f5f5; /* Light text */
}

.websites-grid {
    display: flex; /* Use flexbox for grid-like layout */
    flex-wrap: wrap; /* Allow items to wrap to next line */
    justify-content: center; /* Center items horizontally */
    gap: 40px; /* Space between website items */
    max-width: 1200px; /* Max width for the grid */
    margin: 60px auto 0 auto; /* Center the grid and provide top margin */
    padding: 0 20px; /* Horizontal padding for smaller screens */
}

.website-item {
    flex-basis: 300px; /* Base width for each item */
    flex-grow: 1; /* Allow items to grow to fill space */
    max-width: 380px; /* Max width to prevent items from becoming too wide */
    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;
    overflow: hidden; /* Ensure image corners are rounded */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-decoration: none; /* Remove underline from anchor tag */
    color: inherit; /* Inherit text color */
    display: flex; /* Use flexbox for content inside item */
    flex-direction: column; /* Stack image and info vertically */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.website-item:hover {
    transform: translateY(-8px); /* Lift effect on hover */
    box-shadow: 0 12px 30px rgba(140, 82, 255, 0.5); /* Stronger purple glow on hover */
    border-color: rgba(140, 82, 255, 0.7); /* Vibrant purple border on hover */
}

.website-thumbnail {
    width: 108%;
    height: 220px; /* Fixed height for thumbnails */
    object-fit: cover; /* Crop to cover area */
    display: block;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1); /* Subtle separator */
}

.website-info {
    padding: 25px;
    text-align: left;
    flex-grow: 1; /* Allow info to take remaining vertical space */
    display: flex;
    flex-direction: column;
}

.website-info h4 {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #8C52FF; /* Vibrant purple for titles */
}

.website-info p {
    font-size: 0.95em;
    line-height: 1.6;
    color: #d1d5db; /* Lighter grey for descriptions */
    flex-grow: 1; /* Allow description to take space */
}

/* Responsive adjustments for Our Websites */
@media (max-width: 992px) {
    .websites-grid {
        gap: 30px;
    }
    .website-item {
        flex-basis: 45%; /* Show 2 items per row on tablets */
        max-width: unset; /* Remove max-width override for flex-basis */
    }
    .website-thumbnail {
        height: 200px; /* Adjust height for tablet */
    }
}

@media (max-width: 600px) {
    .websites-grid {
        gap: 25px;
        padding: 0 15px;
    }
    .website-item {
        flex-basis: 100%; /* Show 1 item per row on mobile */
    }
    .website-thumbnail {
        height: 180px; /* Adjust height for mobile */
    }
    .website-info {
        padding: 20px;
    }
    .website-info h4 {
        font-size: 1.3em;
    }
    .website-info p {
        font-size: 0.9em;
    }
}
























/* --- NEW SECTION: Social Media Management Gallery Styles --- */
#social-media-gallery-section {
    padding-top: 80px; /* Space above this new section */
    padding-bottom: 80px; /* Space below this new section */
}

.social-media-gallery-grid {
    display: grid;
    /* --- CHANGE START: Increased minmax for wider items --- */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Increased from 280px to 350px */
    /* --- CHANGE END --- */
    gap: 30px; /* Space between grid items */
    max-width: auto; /* Max width of the grid */
    margin: 60px auto 0 auto; /* Center the grid and provide top margin */
    padding: 0 20px; /* Horizontal padding for grid on smaller screens */
}

/* Define the "shake" animation using CSS variables for amplitude */
@keyframes shake-in-air {
    0% { transform: translate(0px, 0px) rotate(0deg); }
    15% { transform: translate(calc(var(--shake-amplitude, 1) * -1px), calc(var(--shake-amplitude, 1) * -2px)) rotate(calc(var(--shake-amplitude, 1) * 0.5deg)); }
    30% { transform: translate(calc(var(--shake-amplitude, 1) * 2px), 0px) rotate(calc(var(--shake-amplitude, 1) * -1deg)); }
    45% { transform: translate(calc(var(--shake-amplitude, 1) * -2px), calc(var(--shake-amplitude, 1) * 2px)) rotate(calc(var(--shake-amplitude, 1) * 0.8deg)); }
    60% { transform: translate(calc(var(--shake-amplitude, 1) * 1px), calc(var(--shake-amplitude, 1) * -1px)) rotate(calc(var(--shake-amplitude, 1) * -0.5deg)); }
    75% { transform: translate(calc(var(--shake-amplitude, 1) * -1px), calc(var(--shake-amplitude, 1) * 1px)) rotate(calc(var(--shake-amplitude, 1) * 0.2deg)); }
    100% { transform: translate(0px, 0px) rotate(0deg); }
}

.social-media-grid-item {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column; /* Allow content to stack if needed */
    justify-content: center;
    align-items: center;
    cursor: pointer;

    /* --- CHANGE START: Added min-height for taller items --- */
    min-height: 180px; /* Base height for the item container */
    /* --- CHANGE END --- */

    /* Apply the shaking animation */
    animation: shake-in-air 3s ease-in-out infinite alternate; /* Default speed */

    /* Set a default amplitude. This will be overwritten by JS on scroll. */
    --shake-amplitude: 1; /* Default subtle shake */

    /* Smooth transition for hover effect (transform, shadow, border) */
    transition: transform 0.4s ease-out, box-shadow 0.4s ease-out, border-color 0.4s ease-out;
    will-change: transform, --shake-amplitude; /* Optimize performance */
}

.social-media-grid-item img {
    width: 100%;
    /* --- CHANGE START: Increased image height --- */
    height: 200px; /* Increased from 150px to 200px to make images taller within the item */
    /* --- CHANGE END --- */
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

/* Hover Effect: Pause shaking and enlarge/lift */
.social-media-grid-item:hover {
    animation-play-state: paused; /* Stop the shaking animation on hover */
    transform: scale(1.05) translateY(-5px); /* Slightly enlarge and lift */
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4); /* Blue/cyan shadow on hover */
    border-color: rgba(59, 130, 246, 0.7); /* More prominent border on hover */
    --shake-amplitude: 1; /* Reset amplitude to default on hover */
}


/* Responsive adjustments for Social Media Gallery */
@media (max-width: 768px) {
    .social-media-gallery-grid {
        /* --- CHANGE START: Adjusted minmax for mobile to allow wider items --- */
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Increased from 200px to 250px for wider mobile items */
        /* --- CHANGE END --- */
        gap: 20px;
    }
    .social-media-grid-item img {
        /* --- CHANGE START: Increased image height for mobile --- */
        height: 180px; /* Adjusted from 200px to 180px, maintaining proportion with the desktop change */
        /* --- CHANGE END */
    }
}












/* --- NEW SECTION: Explore Our Designs Styles --- */
.design-previews-container {
    padding-top: 80px;
    padding-bottom: 80px;
    
}

.design-previews-container .section-title {
    font-size: 3.5em; /* text-4xl equivalent, adjusted for theme */
    font-weight: 700px; /* font-bold */
    color: #8C52FF; /* Vibrant purple from Branvidia theme */
    margin-bottom: 25px; /* mb-12 equivalent */
}

.design-previews-container .section-subtitle {
    font-size: 1.2em;
    color: #d1d5db;
    margin-bottom: 60px; /* More space for mb-12 */
}


#design-grid-wrapper {
    max-width: 1200px; /* max-w-7xl roughly equivalent */
    margin: 0 auto; /* mx-auto */
    /* REMOVED: padding: 0 20px; This padding should now be on .design-row itself to be scrollable */
    /* space-y-6 is equivalent to gap in flex/grid, handled by parent's gap or direct margin */
}

.design-row {
    display: flex; /* Change from grid to flex */
    flex-wrap: nowrap; /* Keep all items in one line */
    gap: 24px; /* gap-6 */
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
    padding-bottom: 15px; /* Add padding for scrollbar visibility if not hidden */
    /* --- CRITICAL FIX START: Adjusted padding for full card visibility on scroll --- */
    padding-left: 20px; /* Padding at the start of the scrollable area */
    /* Increase padding-right to ensure the last card is fully visible */
    padding-right: 40px; /* Adjusted from 20px to 40px (or even more if needed) */
    margin-left: -136px;
    margin-right: -136px;
}

/* Hide scrollbar for Webkit browsers */
.design-row::-webkit-scrollbar {
    display: none;
}

.card-container {
    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: 12px; /* rounded-xl */
    overflow: hidden; /* Ensures image corners are rounded */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Custom shadow for shadow-lg */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; /* transition-shadow duration-300 */
    flex-shrink: 0; /* Prevent cards from shrinking */
    width: 300px; /* Set a fixed width for each card */
    height: auto; /* Allow height to adjust based on content */
    display: flex; /* For consistent internal layout */
    flex-direction: column;
    text-decoration: none; /* Remove underline for entire card link */
    color: inherit; /* Inherit text color */
}

.card-container:hover {
    transform: translateY(-8px); /* Lift effect on hover */
    box-shadow: 0 12px 30px rgba(140, 82, 255, 0.5); /* Stronger purple glow for hover:shadow-xl */
    border-color: rgba(140, 82, 255, 0.7); /* Vibrant purple border on hover */
}

.card-thumbnail {
    width: 100%; /* w-full */
    height: 174px; /* Maintain a fixed height for consistent card layout */
    object-fit: contain; /* Changed from 'contain' to 'cover' */
    display: block;
    padding: 0px;
    margin: -10 10px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1); /* Subtle separator */
}

.card-info { /* This rule is now effectively unused if you removed card-info div from HTML */
    padding: 16px; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-title { /* This rule is now effectively unused if you removed card-info div from HTML */
    font-size: 1.25em; 
    font-weight: 600; 
    color: #8C52FF; 
    margin-bottom: 8px; 
}

.card-description { /* This rule is now effectively unused if you removed card-info div from HTML */
    font-size: 0.875em; 
    color: #d1d5db; 
    line-height: 1.5;
}

/* Vertical spacing between the two rows is handled by parent space-y-6 */
.h-6 { /* This class is on a div between rows */
    height: 24px; /* 1.5rem */
    width: 100%; /* Ensure it takes full width for spacing */
}

/* Responsive adjustments */
@media (max-width: 1024px) { 
    .design-row {
        /* No change needed here for flex layout, it will just overflow and scroll */
    }
    .card-container {
        width: 280px; /* Slightly smaller cards on larger tablets */
    }
}

@media (max-width: 768px) { 
    .design-row {
        /* No change needed here for flex layout, it will just overflow and scroll */
        gap: 20px;
    }
    .design-previews-container .section-title {
        font-size: 2em;
    }
    .design-previews-container .section-subtitle {
        font-size: 1.1em;
        margin-bottom: 40px;
    }
    .card-container {
        width: 250px; /* Adjusted fixed width for smaller screens */
    }
    .card-thumbnail {
        height: 180px; /* Adjusted height for tablet */
    }
    .card-info {
        padding: 12px;
    }
    .card-title {
        font-size: 1.15em;
    }
    .card-description {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .design-row {
        gap: 16px;
        /* Ensure responsive padding is also applied here if needed */
        padding-left: 15px; /* Match design-previews-container padding */
        padding-right: 30px; /* Adjusted for smaller screens */
    }
    .design-previews-container {
        padding: 60px 0; /* Remove horizontal padding here, now on .design-row */
    }
    .card-container {
        width: 90vw; /* Take 90% of viewport width on very small screens */
    }
    .card-thumbnail {
        height: 160px; /* Adjusted height for mobile */
    }
    .card-info {
        padding: 10px;
    }
}
































/* --- NEW SECTION: Testimonial Styles --- */
.testimonial-container {
    padding-top: 80px;
    padding-bottom: 80px;
    color: #f5f5f5; /* Light text */
}

.testimonial-slider-wrapper {
    position: relative; /* For positioning arrows */
    max-width: 1200px; /* Increased max-width to show more slides */
    margin: 60px auto 30px auto; /* Center slider, space below for dots */
    overflow: hidden; /* Hide overflowing slides */
    border-radius: 20px; /* Match overall theme */
    /* box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); Deep shadow */
    /* border: 1px solid rgba(59, 130, 246, 0.2); Subtle blue border */
}

.testimonial-slider {
    display: flex;
    transition: transform 0.6s ease-in-out; /* Smooth slide animation */
    /* No specific width here, slides will define total width */
}

.testimonial-slide {
    flex-shrink: 0; /* Prevent slides from shrinking */
    /* --- CHANGE START: Make slides narrower to show multiple --- */
    width: 30%; /* Each slide takes a percentage of wrapper width. Adjust as needed. */
    margin: 0 1.5%; /* Space between slides, adjusts with width */
    /* --- CHANGE END --- */
    padding: 30px; /* Adjusted internal padding for content */
    text-align: left; /* Align text within slide to left */
    background: rgba(0, 0, 0, 0.4); /* Glassmorphism background */
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to top */
    align-items: flex-start; /* Align content to left */
    border-radius: 15px; /* Consistent rounded corners */
}

.testimonial-slide:first-child {
    margin-left: 0; /* No left margin for the very first slide */
}

.testimonial-slide:last-child {
    margin-right: 0; /* No right margin for the very last slide */
}

.testimonial-quote {
    font-size: 1em; /* Smaller font size for multiple slides */
    font-style: normal; /* No italic, match image */
    margin-bottom: 20px;
    color: #d1d5db; /* Lighter grey for quote */
    line-height: 1.6;
    flex-grow: 1; /* Allow quote to take available space */
}

.testimonial-author {
    display: flex;
    flex-direction: row; /* Author image and info side-by-side */
    align-items: center;
    gap: 15px; /* Space between image and text */
    margin-top: auto; /* Push author to the bottom of the card */
    width: 100%; /* Take full width of card */
    padding-top: 15px; /* Space above author section */
    border-top: 1px solid rgba(59, 130, 246, 0.1); /* Subtle separator line */
}

.author-img {
    width: 50px; /* Smaller author image */
    height: 50px; /* Smaller author image */
    border-radius: 50%; /* Make it circular */
    object-fit: cover; /* Cover the area */
    border: 2px solid #8C52FF; /* Vibrant purple border */
    box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.1); /* Subtle glow around image */
}

.author-info {
    display: flex;
    flex-direction: column; /* Stack name and title */
    align-items: flex-start; /* Align name and title to left */
}

.author-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #8C52FF; /* Vibrant purple for name */
    margin-bottom: 2px;
}

.author-title {
    font-size: 0.85em;
    color: #aaa; /* Lighter grey for title */
}

/* Slider Navigation Buttons - unchanged, but adjust positioning if needed */
.slider-btn {
    top: 50%; /* Center vertically */
    transform: translateY(-50%);
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #f5f5f5;
    padding: 12px 15px; /* Slightly smaller buttons */
    font-size: 1.2em; /* Smaller icon size */
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover {
    background: rgba(59, 130, 246, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 188, 212, 0.5);
}

.prev-btn {
    left: 10px; /* Closer to edge */
}

.next-btn {
    right: 10px; /* Closer to edge */
}

/* Slider Pagination Dots - unchanged in styling, behavior will change */
.slider-pagination-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.dot.active {
    background-color: #8C52FF;
    transform: scale(1.2);
}


/* Responsive adjustments for Testimonial Slider */
@media (max-width: 1024px) {
    .testimonial-slide {
        width: 45%; /* Show 2 slides on tablets */
    }
}

@media (max-width: 768px) {
    .testimonial-slider-wrapper {
        margin: 40px auto 20px auto;
        max-width: 100%;
        border-radius: 15px;
    }
    .testimonial-slide {
        width: 80%; /* Show 1 slide on smaller tablets/large phones */
        padding: 30px;
    }
    .testimonial-quote {
        font-size: 1.1em;
        margin-bottom: 15px;
    }
    .author-img {
        width: 40px;
        height: 40px;
    }
    .author-name {
        font-size: 1em;
    }
    .author-title {
        font-size: 0.8em;
    }
    .slider-btn {
        padding: 8px 10px;
        font-size: 1em;
        left: 5px;
        right: 5px;
    }
    .slider-pagination-dots {
        margin-top: 20px;
        gap: 8px;
    }
    .dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .testimonial-slide {
        width: 90%; /* Almost full width on very small screens */
        padding: 25px;
    }
    .testimonial-quote {
        font-size: 1em;
    }
    .slider-btn {
        display: none; /* Hide arrows on very small screens if preferred */
    }
}














/* Team Section Specific Styles */

/* Main container for the team section */
.team-section-container {
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
    background: transparent; /* Ensures the animated-bg shows through */
    /* Common-div-style (from style.css) will add padding-left/right, max-width, margin: 0 auto; */
    /* and initial opacity/transform for entrance animation, which is good. */
}

/* Grid for team member cards - now allows wrapping and no horizontal scroll on desktop */
.team-grid {
    display: flex; /* Use flexbox for layout */
    flex-wrap: wrap; /* NEW: Allow items to wrap to new rows */
    gap: 40px; /* Space between cards */
    padding: 20px; /* Internal padding for the grid area */
    justify-content: center; /* Center rows of cards horizontally */
    max-width: 100%; /* Ensure it respects parent width */
    margin-top: 50px; /* Space below subtitle */
    overflow-x: hidden; /* NEW: Hide horizontal scrollbar, as we now wrap */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS (though less relevant now) */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
    padding-bottom: 0; /* No longer need padding for hidden scrollbar */
}

/* Hide scrollbar for Webkit browsers (Chrome, Safari, Edge) */
.team-grid::-webkit-scrollbar {
    display: none;
}

/* Individual team member card */
.team-member-card {
    position: relative; /* For positioning card-front/back */
    height: 300px; /* Fixed height for consistent card appearance */
    
    /* --- MODIFIED: Flexible width for desktop/large screens to prevent cutting --- */
    flex: 1 1 200px; /* Allow cards to grow (1), shrink (1), and prefer 200px width */
    max-width: calc(20% - 32px); /* Ensures approximate 5-column layout with gaps */
    /* (40px gap between items means 4 gaps for 5 items. (40px * 4) / 5 items = 32px per item avg gap share) */
    /* --- END MODIFIED --- */

    border-radius: 15px;
    overflow: hidden; /* Ensures content/transitions are clipped cleanly */
    
     backdrop-filter: blur(8px);

    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease; /* Smooth transitions for hover effects */
    
    /* Used for centering card-inner content (image, name, etc.) */
    display: flex; 
    justify-content: center;
    align-items: center;
}

/* Hover effect for the entire card (lift and glow remains) */
.team-member-card:hover {
    transform: translateY(-8px); /* Lifts the card slightly */
    box-shadow: 0 12px 30px rgba(140, 82, 255, 0.5); /* Stronger purple glow shadow */
    border-color: rgba(140, 82, 255, 0.7); /* Vibrant purple border on hover */
 }

/* Inner container for the front and back of the card */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
}

/* Front and Back of the card */
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content */
    align-items: center; /* Horizontally center content */
    padding: 25px; /* Internal padding */
    box-sizing: border-box; /* Include padding in width/height */
    transition: opacity 0.4s ease; /* Keep transition for smooth initial state, but hover effects removed */
}

/* Front of the card (image and name) */
.card-front {
    opacity: 1; /* Always visible */
    transform: translateY(0); /* Ensure no vertical movement */
    z-index: 2; /* Always on top */
}

/* Back of the card (designation) */
.card-back {
    opacity: 0; /* Always hidden */
    transform: translateY(0); /* Ensure no vertical movement */
    z-index: 1; /* Always below the front */
    background: none; /* Make it fully transparent (no black overlay) */
}

/* --- MODIFIED: Removed hover effects for card-front and card-back --- */
/* The following rules are no longer needed as card-back will always be hidden */
/* .team-member-card:hover .card-front { opacity: 0; transform: translateY(0); } */
/* .team-member-card:hover .card-back { opacity: 1; transform: translateY(0); } */
/* --- END MODIFIED --- */

/* Team member image styling */
.member-image {
    width: 140px; /* Keeping at 140px as per your request and screenshot */
    height: 140px; /* Keeping at 140px as per your request and screenshot */
    border-radius: 50%; /* Makes the image perfectly round */
    object-fit: cover; /* Ensures the image covers the area, cropping if necessary */
    border: 4px solid #A75ED7; /* Purple border around the image */
    margin-bottom: 15px; /* Space between image and name */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow around image */
    transition: transform 0.3s ease, border-color 0.3s ease; /* Smooth transitions for hover */
}

/* Image zoom/border change on card hover (this remains, as it's an effect on the *card* not the back) */
.team-member-card:hover .member-image {
    transform: scale(1.05); /* Slight zoom on image */
    border-color: #3b82f6; /* Blue border on hover */
}

/* Team member name styling */
.member-name {
    font-size: -0.2em; /* Font size for the name */
    color: #8C52FF; /* Vibrant purple color */
    margin-bottom: 0; /* No bottom margin needed as designation is not directly below */
    font-weight: 600;
}

/* Team member designation styling (will always be hidden) */
.member-designation {
    font-size: 1.1em; /* Font size for designation */
    color: #d1d5db; /* Light grey color */
    margin-top: 10px; /* Space from top of card-back content */
    font-style: italic;
    
    text-align: center;
    padding: 0 10px;
}

/* Responsive Adjustments for Team Section */
@media (max-width: 992px) {
    .team-grid {
        flex-wrap: wrap; /* Allow wrapping on tablets */
        overflow-x: hidden; /* Hide horizontal scroll */
        justify-content: center; /* Center cards in rows */
        padding-left: 20px; 
        padding-right: 20px; 
    }
    .team-member-card {
        flex: 0 0 calc(50% - 30px); /* Two cards per row, accounting for gap */
        max-width: calc(50% - 30px); /* Limit max width */
        height: 280px; /* Adjusted height for tablets */
    }
    .member-image {
        width: 130px; /* Adjusted for tablet responsiveness */
        height: 130px; /* Adjusted for tablet responsiveness */
    }
    .member-name {
        font-size: 1.6em;
    }
    .member-designation {
        font-size: 1em;
    }
}

@media (max-width: 600px) {
    .team-grid {
        gap: 25px;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap; /* Ensure wrapping on mobile */
        overflow-x: hidden; /* Hide horizontal scroll */
        justify-content: center; /* Center the single column of cards */
    }
    .team-member-card {
        flex: 0 0 calc(100% - 30px); /* One card per row, accounting for padding */
        max-width: calc(100% - 30px); /* Limit max width */
        height: 250px; /* Adjusted height for mobile */
    }
    .member-image {
        width: 100px; /* Adjusted for mobile responsiveness */
        height: 100px; /* Adjusted for mobile responsiveness */
    }
    .member-name {
        font-size: 1.4em;
    }
    .member-designation {
        font-size: 0.9em;
    }
}

























/* --- NEW SECTION: FAQ Styles --- */
.faq-container {
    padding-top: 80px;
    padding-bottom: 80px;
    /* background-color: #1a1a1a; Dark background */
    color: #f5f5f5; /* Light text */
}

.faq-accordion {
    max-width: 900px; /* Max width for the accordion content */
    margin: 60px auto 0 auto;
    padding: 0 20px; /* Horizontal padding on smaller screens */
}

.faq-item {
    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;
    margin-bottom: 20px; /* Space between FAQ items */
    overflow: hidden; /* Ensures content is clipped when hidden */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease; /* Smooth transition for background/border change */
}

.faq-item:last-child {
    margin-bottom: 0; /* No margin after the last item */
}

.faq-item.active {
    border-color: rgba(140, 82, 255, 0.5); /* Vibrant purple border when active */
    box-shadow: 0 8px 25px rgba(140, 82, 255, 0.4); /* Stronger purple shadow when active */
    background: rgba(0, 0, 0, 0.6); /* Slightly darker background when active */
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px; /* Padding for the clickable question area */
    cursor: pointer;
    background: transparent; /* No specific background, relies on faq-item */
    color: #f5f5f5; /* Question text color */
    font-size: 1.2em;
    /* --- CHANGE START: Remove font-weight: 600; (bold) --- */
    /* font-weight: 600; */ /* Removed this line */
    /* --- CHANGE END --- */
    transition: background 0.3s ease, color 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 1em;
    /* --- NEW: Ensure h3 does not inherit any unexpected bolding --- */
    font-weight: normal; /* Explicitly set to normal */
    /* --- END NEW --- */
}

.faq-question:hover {
    background: rgba(59, 130, 246, 0.1); /* Subtle blue hover background */
}

.faq-item.active .faq-question {
    color: #A75ED7; /* Vibrant purple for active question text */
}

.arrow-icon {
    font-size: 1em;
    color: #d1d5db; /* Light grey arrow */
    transition: transform 0.3s ease; /* Smooth rotation */
}

.faq-item.active .arrow-icon {
    transform: rotate(180deg); /* Rotate arrow up when active */
    color: #8C52FF; /* Vibrant purple arrow when active */
}

.faq-answer {
    max-height: 0; /* Hidden by default */
    overflow: hidden;
    padding: 0 30px; /* Horizontal padding, vertical padding set to 0 initially */
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Smooth slide transition */
    color: #d1d5db; /* Answer text color */
    /* --- NEW: Performance optimization for smoother transitions --- */
    will-change: max-height, padding; 
    /* --- END NEW --- */
}

.faq-item.active .faq-answer {
    /* --- CHANGE: Make max-height significantly larger to ensure content never cuts off during transition --- */
    max-height: 2000px; /* Increased from 1000px. Use an even larger value like 9999px if necessary. */
    /* This value should always be larger than the longest possible content in an answer. */
    /* The JavaScript will set it to 'none' after the transition completes for true auto-height. */
    /* --- END CHANGE --- */
    padding: 20px 30px; /* Show vertical padding when active */
}

.faq-answer p {
    margin: 0; /* Remove default paragraph margin */
    font-size: 1em;
    line-height: 1.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}























/* Contact Div */
.contact-section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    margin: 30px auto;
    padding: 80px 50px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.2); /* Original subtle border */

    position: relative;
    overflow: hidden;

    /* Smooth transition for the transform (tilt/translate) and shadow. */
    /* --- MODIFIED: Added border-color to transition for smooth appearance --- */
    transition: transform 0.2s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out;
    /* --- END MODIFIED --- */
    will-change: transform, box-shadow, filter;
}

/* We'll keep the box-shadow change on hover for visual feedback */
.contact-section:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
    /* --- NEW: Prominent blue border on hover --- */
    border-color: rgba(59, 130, 246, 0.7); /* Change border to a more prominent blue */
    /* --- END NEW --- */
}
/* Torch/Spotlight effect using a pseudo-element */
.contact-section::before {
    content: '';
    position: absolute;
    
    /* --- NEW: Default position for JS to update. Translate(-50%,-50%) centers it on the mouse. --- */
    left: var(--torch-x, 50%); /* JS will update this */
    top: var(--torch-y, 50%);  /* JS will update this */
    transform: translate(-50%, -50%) scale(var(--torch-scale, 0.1)); /* Scales down initially, then scales up on hover via JS */
    /* --- END NEW --- */

    /* --- NEW: Increased size of the torch light as requested --- */
    width: 900px;
    height: 200px;
    filter: blur(80px);
    /* --- END NEW --- */

    background: radial-gradient(circle at center,
                rgba(59, 130, 246, 0.6) 0%,   /* Blue center with higher opacity */
                rgba(59, 130, 246, 0.2) 40%,  /* Fading blue */
                transparent 70%);             /* Transparent outer edge */
    border-radius: 50%; /* Makes it a circle */
    opacity: var(--torch-opacity, 0); /* Opacity controlled by JS via CSS variable */
    pointer-events: none; /* Allows clicks to pass through the torch itself */
    
    /* --- NEW: Faster transition for smooth tracking, slower for opacity for fading --- */
    transition: transform 0.1s linear, opacity 0.3s ease-out;
    /* --- END NEW --- */
    
    z-index: -1; /* Place behind content but above background */
}

.contact-section::after {
    content: '';
    position: absolute;
    /* Make it slightly larger than the parent to create a border effect */
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: inherit; /* Inherit the parent's border-radius */
    pointer-events: none; /* Allows clicks to pass through */
    z-index: -1; /* Placed above the torch but behind content */

    /* The glowing gradient background that tracks cursor */
    /* 'from 0deg at' means the start of the conic gradient is fixed, but its center moves */
    background: conic-gradient(
        from 0deg at var(--border-gradient-x, 50%) var(--border-gradient-y, 50%),
        rgba(59, 130, 246, 0.1) 0%,    /* Subtle blue start */
        rgba(59, 130, 246, 0.8) 15%,   /* Strong blue highlight (adjust angle for size of highlight) */
        rgba(59, 130, 246, 0.1) 30%,   /* Fade back */
        transparent 50%,              /* Transparent sections to make it look like a moving highlight */
        transparent 100%
    );

    /* --- Masking to create only a border effect --- */
    /* This cuts out the inner part of the pseudo-element, leaving only a border */
    mask: 
        linear-gradient(#fff 0 0) content-box, /* Cuts out the inner content area */
        linear-gradient(#fff 0 0);             /* Acts as the base for the border */
    -webkit-mask-composite: xor; /* Combines masks to cut out the inner part (for older WebKit) */
    mask-composite: exclude;     /* Standard property for mask composition */
    /* --- End Masking --- */

    opacity: var(--border-glow-opacity, 0); /* Opacity controlled by JS */
    filter: blur(10px); /* Apply a subtle blur to the border glow for a softer look */
    transition: opacity 0.3s ease-out, filter 0.3s ease-out; /* Smooth transition */
    will-change: background-position, opacity, filter;
}




















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




 






















 