:root {
    /* Modern Dark Theme Palette (Slate + Teal/Cyan) */
    --primary-color: #2dd4bf; /* Teal 400 - Vibrant/Modern */
    --secondary-color: #0d9488; /* Teal 600 */
    --accent-color: #38bdf8; /* Sky 400 - Tech/AI feel */
    --gradient-bg: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 100%);
    
    /* Dark Mode Colors */
    --text-color: #f1f5f9; /* Slate 100 */
    --light-text: #94a3b8; /* Slate 400 */
    --background-color: #0f172a; /* Slate 900 */
    --section-bg: #1e293b; /* Slate 800 */
    --dark-bg: #020617; /* Slate 950 */
    
    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Shadows */
    --spacing-md: 2rem;
    --spacing-lg: 5rem;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
    --glow: 0 0 20px rgba(45, 212, 191, 0.3);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--background-color);
    position: relative;
}

#smoke-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2147483647; /* Max z-index to stay on top */
    pointer-events: none;
    display: block;
    mix-blend-mode: normal; /* Restored to normal for clear cursor visibility */
    opacity: 1; /* Restored full opacity */
}

@media (max-width: 992px) {
    #smoke-canvas {
        display: none; /* Hide on mobile via CSS */
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: white;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem; /* Fixed: Removed absolute centering */
    color: white;
    display: block; /* Fixed: Changed from inline-block */
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-bg);
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: var(--glow);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--light-text);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient-bg);
    color: #0f172a; /* Dark text for contrast on bright button */
    border: none;
    box-shadow: var(--glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(45, 212, 191, 0.1);
    color: white;
    border-color: var(--primary-color);
    box-shadow: var(--glow);
}

/* Header */
header {
    background-color: rgba(15, 23, 42, 0.9); /* Dark semi-transparent */
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    color: var(--light-text);
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2dd4bf 0%, #38bdf8 100%);
    color: white !important;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.5);
    background-color: #20bd5a;
}

.btn-nav {
    background: var(--gradient-bg);
    color: #0f172a !important;
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: var(--glow);
}

.btn-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 25px rgba(45, 212, 191, 0.4);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

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

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: var(--background-color);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    filter: blur(60px);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 650px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    max-height: 500px;
    object-fit: cover;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.4s ease;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Background blob behind image */
.hero-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    border-radius: 24px;
    top: 20px;
    right: -20px;
    z-index: -1;
    opacity: 0.2;
    filter: blur(20px);
    transition: all 0.3s ease;
}

.hero-image:hover::after {
    top: 15px;
    right: -15px;
    opacity: 0.3;
}


.hero h1 {
    font-size: 3.1rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: white;
    letter-spacing: -1px;
}

.hero h1 span {
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sub-headline {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 90%;
}

.sub-headline strong {
    color: white;
    font-weight: 600;
}

.cta-group {
    display: flex;
    gap: 20px;
}

/* Trust Signals */
.trust-signals {
    padding: 30px 0;
    background-color: var(--section-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    align-items: center;
}

.trust-item {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--light-text);
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(45, 212, 191, 0.3);
}

.trust-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

/* Services */
.services {
    padding: var(--spacing-lg) 0;
    background-color: var(--background-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.center-btn{
    display: flex;
    justify-content: center;
    align-items: center;
}
.service-card {
    background: var(--section-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(45, 212, 191, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(45, 212, 191, 0.2);
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.service-card ul li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card ul li i {
    color: var(--background-color);
    font-size: 0.8rem;
    background: var(--primary-color);
    padding: 4px;
    border-radius: 50%;
}

/* WordPress Micro Services */
.wordpress-services {
    padding: var(--spacing-lg) 0;
    background-color: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.category-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid var(--accent-color);
}

.micro-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.micro-card {
    background: var(--section-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.micro-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.micro-icon {
    width: 50px;
    height: 50px;
    background: rgba(45, 212, 191, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.micro-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.micro-card h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.micro-card p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Small Button */
.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-sm:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* Extra Small Button (Minor) */
.btn-xs {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.85rem;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.3);
    color: var(--primary-color);
    border-radius: 30px;
    margin-top: auto;
    align-self: flex-start;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-xs:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

/* Featured Work */
.featured-work {
    padding: var(--spacing-lg) 0;
    background-color: var(--section-bg);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.work-item {
    background: var(--dark-bg);
    color: white;
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.work-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-bg);
}

.work-item h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.work-item p {
    color: var(--light-text);
}

/* Process */
.process {
    padding: var(--spacing-lg) 0;
    background-color: var(--background-color);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Connector Line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 60px; /* Aligns with center of 60px circle + 30px padding */
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(45, 212, 191, 0.2);
    z-index: 0;
}

.step {
    flex: 1;
    text-align: center;
    padding: 30px 15px;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--background-color); /* Matches section bg to "cut" the line */
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
    position: relative;
    z-index: 2;
}

.step h3 {
    color: white;
}

.step p {
    color: var(--light-text);
}

/* Why Choose Me */
.why-choose-me {
    padding: var(--spacing-lg) 0;
    background-color: var(--section-bg);
}

.reasons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.reason {
    flex: 1 1 300px;
    max-width: 360px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
}

.reason:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.15);
    transform: translateX(5px);
}

.reason i {
    color: var(--primary-color);
    font-size: 1.4rem;
}

.reason span {
    font-weight: 500;
    color: white;
}

/* Picture Reviews */
.picture-reviews {
    padding: var(--spacing-lg) 0;
    background-color: var(--background-color);
}

.reviews-slider-container {
    overflow: hidden;
    padding: 20px 10px; /* Space for shadow/hover transform */
    margin: 0 -10px; /* Offset padding */
    cursor: grab;
}

.reviews-slider-container:active {
    cursor: grabbing;
}

.reviews-track {
    display: flex;
    gap: 30px;
    width: max-content; /* Allows track to be as long as needed */
}

.review-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--dark-bg);
    width: 300px; /* Default fixed width, but JS will override or flex basis */
    height: 250px; /* Fixed height for alignment */
    flex-shrink: 0; /* Prevent shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.review-item::after {
    content: '\f00e'; /* FontAwesome search-plus icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: var(--primary-color);
    font-size: 1.5rem; /* Slightly smaller icon */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    background: rgba(15, 23, 42, 0.9); /* Darker background */
    width: 60px; /* Fixed width */
    height: 60px; /* Fixed height */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
    border: 1px solid var(--primary-color);
}

.review-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.review-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #fff;
    transition: transform 0.5s ease;
}

.review-item:hover img {
    transform: scale(1.05);
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.review-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.review-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent scrolling behind */
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    /* Flexbox for centering */
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
    object-fit: contain; /* Ensure image fits nicely */
}

@keyframes zoomIn {
    from {transform:scale(0.8); opacity:0} 
    to {transform:scale(1); opacity:1}
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Lightbox Navigation */
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px 15px;
    z-index: 10001;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.lightbox-nav-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.lightbox-nav-btn.prev-btn {
    left: 20px;
}

.lightbox-nav-btn.next-btn {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-nav-btn {
        top: auto;
        bottom: 30px;
        transform: none;
        padding: 12px 18px; /* Slightly larger for touch */
        background: rgba(0, 0, 0, 0.7); /* More contrast on mobile */
    }
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-lg) 0;
    background: var(--dark-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0) 100%);
    z-index: 0;
    pointer-events: none;
}

.testimonials-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonials-viewport {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px; /* Space between cards */
}

.testimonial-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 0 0 calc((100% - 60px) / 3); /* 3 cards visible: (100% - 2 gaps) / 3 */
    max-width: calc((100% - 60px) / 3);
}

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

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

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
}

@media (max-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc((100% - 30px) / 2); /* 2 cards visible */
        max-width: calc((100% - 30px) / 2);
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%; /* 1 card visible */
        max-width: 100%;
    }
    
    .testimonials-slider-wrapper {
        flex-direction: column; /* Stack controls on mobile or keep them side? Better relative */
        position: relative;
    }
    
    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .slider-btn.prev-btn {
        left: -10px;
    }
    
    .slider-btn.next-btn {
        right: -10px;
    }

    .slider-btn:hover {
        transform: translateY(-50%) scale(1.1);
    }
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    text-align: right;
    margin-bottom: 0;
}

/* About Me */
.about-me {
    padding: var(--spacing-lg) 0;
    text-align: center;
    background-color: var(--background-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.25rem;
    color: var(--light-text);
    text-align: center; /* Fixed: Ensure explicit center alignment */
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Tools & Technologies */
.tools-section {
    padding: 20px 0 var(--spacing-lg) 0; /* Reduced top padding */
    /* background-color: var(--section-bg); */
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--light-text);
}

.tool-item i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.tool-item:hover i {
    transform: scale(1.1);
}

.tool-item span {
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: var(--spacing-lg) 0 80px; /* Added bottom padding */
    background-color: var(--section-bg);
    position: relative;
    overflow: hidden;
    text-align: center; /* Center heading */
}

.contact::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, rgba(15, 23, 42, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
    z-index: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(45, 212, 191, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-text h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-text p {
    color: var(--light-text);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.4);
}

/* Form Styles */
.contact-form {
    width: 100%;
    background: var(--dark-bg);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Generic full-width helper for grid items */
.full-width {
    grid-column: span 2;
    width: 100%;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: left; /* Explicitly left-align labels */
    align-self: flex-start; /* Ensure label aligns to start of flex container */
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: white;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--light-text);
    opacity: 1; /* Firefox default opacity override */
}

/* Custom Select */
.custom-select-wrapper {
    position: relative;
    user-select: none;
}

.custom-select-wrapper select {
    display: none;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--light-text); /* Placeholder color */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-select-trigger.has-value {
    color: white;
}

.custom-select-trigger::after {
    content: '\f078'; /* FontAwesome Chevron Down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
    color: var(--light-text);
    transition: transform 0.3s;
}

.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.1);
}

.custom-select-wrapper.open .custom-select-trigger::after {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    display: block;
    top: 110%;
    left: 0;
    right: 0;
    background: var(--section-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    max-height: 250px;
    overflow-y: auto;
}

.custom-select-wrapper.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--light-text);
    cursor: pointer;
    transition: 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background: rgba(45, 212, 191, 0.1);
    color: white;
}

.custom-option.selected {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* Form Message */
.form-message {
    grid-column: span 2;
    margin-top: 15px;
    font-size: 0.95rem;
    text-align: center;
    min-height: 24px;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #f87171;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

footer .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--light-text);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: #64748b;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: var(--spacing-lg) 0;
    background-color: var(--dark-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.faq-item {
    background: var(--section-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: 0.3s;
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
    color: white;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
}

.faq-answer {
    padding: 0 30px 30px;
    color: var(--light-text);
    display: none; /* Hidden by default */
    line-height: 1.6;
}

/* Developed Plugins */
.plugins {
    padding: var(--spacing-lg) 0;
    background-color: var(--section-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.plugins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px)); /* Restrict max width of cards */
    gap: 30px;
    justify-content: center; /* Center the single card */
    margin-top: 40px;
}

.plugin-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 15px;
}

.plugin-buttons .btn {
    width: auto !important; /* Override .cert-item .btn width: 100% */
    flex: 1;
    margin-top: 0 !important;
    padding: 8px 10px; /* Compact padding */
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .plugins-grid {
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        margin: 0 auto;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 30px;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .step {
        flex: 0 0 100%;
    }

    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 1.85rem; /* Reduced from 2.25rem */
    }

    .sub-headline {
        font-size: 1rem;
    }
    
    .process-steps::before {
        display: none;
    }

    .step {
        flex: 0 0 45%;
        min-width: 250px;
    }
}

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

    nav ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--section-bg);
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.5);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        
        /* Smooth Transition */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.4s ease;
        padding: 0;
        pointer-events: none;
    }

    nav ul.active {
        max-height: 500px;
        opacity: 1;
        padding: 30px 0;
        pointer-events: auto;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero {
        padding-top: 120px;
    }

    /* Mobile Hero Buttons */
    .cta-group {
        gap: 12px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Contact Form Mobile Improvements */
    .form-group input,
    .form-group select,
    .custom-select-trigger,
    .form-group textarea {
        font-size: 1rem; /* Prevent zoom on iOS */
    }

    .form-group input,
    .custom-select-trigger {
        height: 50px; /* Smaller height for mobile */
        padding: 0 15px;
    }

    /* Process Steps Mobile */
    .process-steps {
        gap: 10px;
    }

    .step {
        flex: 0 0 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 10px 15px 20px;
    }

    /* Force Single Column for Contact Form Mobile */
    .contact-form {
        display: flex;
        flex-direction: column;
    }

    .form-group.full-width {
        width: 100%;
    }
}

/* Awards Section */
.awards {
    padding: var(--spacing-lg) 0 40px 0;
    background-color: var(--background-color);
    position: relative;
}

/* Certificate Carousel */
.cert-carousel {
    margin-top: 40px;
    position: relative;
    padding: 0 20px; /* Space for arrows */
    margin-bottom: -40px; /* Reduce space below significantly */
}

.cert-carousel .owl-stage-outer {
    padding: 10px 0; /* Space for hover effects */
}

.cert-carousel .owl-stage {
    display: flex;
}

.cert-carousel .owl-item {
    display: flex;
    flex: 1 0 auto;
}

.cert-item {
    background: var(--section-bg);
    border-radius: 16px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%; /* Ensure full height */
    width: 100%; /* Fill the owl-item */
    justify-content: space-between; /* Distribute content */
}

/* Owl Carousel Customization */
.owl-theme .owl-nav {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.owl-theme .owl-nav [class*='owl-'] {
    color: var(--text-color) !important;
    background: var(--section-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.owl-theme .owl-dots {
    margin-top: 20px !important;
}

.owl-theme .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.2) !important;
    width: 10px !important;
    height: 10px !important;
    margin: 5px !important;
    transition: all 0.3s ease !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--primary-color) !important;
    transform: scale(1.2);
}

.cert-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.cert-img-wrapper {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background: var(--dark-bg);
    position: relative; /* Enable absolute positioning for child elements */
}

.cert-expand-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(15, 23, 42, 0.8);
    color: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px; /* Slightly rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 5;
    opacity: 0;
    transform: translateY(10px);
}

.cert-item:hover .cert-expand-btn {
    opacity: 1;
    transform: translateY(0);
}

.cert-expand-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.cert-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cert-item:hover .cert-img-wrapper img {
    transform: scale(1.05);
}

.cert-item h3 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: white;
    flex-grow: 1;
}

.cert-item .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    width: 100%;
    margin-top: 10px;
}

/* Certificate Modal */
.cert-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-modal.show {
    opacity: 1;
}

.cert-modal-content {
    background-color: var(--section-bg);
    margin: 5% auto;
    width: 90%;
    max-width: 1000px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.cert-modal.show .cert-modal-content {
    transform: translateY(0);
}

.cert-modal-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.cert-modal-close:hover,
.cert-modal-close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.cert-modal-body {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .cert-modal-body {
        flex-direction: row;
    }
}

.cert-modal-img {
    flex: 1.5;
    background: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Changed from center to allow scrolling */
    min-height: 300px;
    max-height: 70vh; /* Limit height to allow scrolling */
    overflow-y: auto;
    padding: 20px;
    gap: 20px; /* Add gap between stacked images */
}

/* Custom Scrollbar for Modal Images */
.cert-modal-img::-webkit-scrollbar {
    width: 8px;
}

.cert-modal-img::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.cert-modal-img::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.cert-modal-img::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.cert-modal-img img {
    width: 100%; /* Ensure full width */
    height: auto; /* Allow natural height */
    object-fit: contain;
}

.cert-modal-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cert-modal-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cert-modal-info p {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.8;
}

.cert-modal-buttons {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cert-modal-buttons .btn {
    padding: 12px 20px;
    border-radius: 50px;
    white-space: nowrap;
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
