:root {
    --primary-color: #00E676;
    --primary-dark: #00C853;
    --secondary-color: #2979FF;
    --bg-dark: #0A0F0D;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-light: #F0F0F0;
    --text-dim: #B0B0B0;
    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-main);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(0, 230, 118, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(10, 15, 13, 0.8);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Adjust as needed */
    width: auto;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background: url('hero-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    /* Parallax effect via CSS for desktop */
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        /* Disable fixed bg on mobile for performance/visuals */
        background-position: center center;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 15, 13, 0.7), var(--bg-dark));
}

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

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-dim);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    opacity: 0.7;
}

@keyframes bounce {

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

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 230, 118, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 230, 118, 0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--gradient-main);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    text-align: center;
}

.about-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-card p {
    color: var(--text-dim);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 30px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 230, 118, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1497435334941-8c899ee9e8e9?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #ddd;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.05);
    animation: none;
    /* Stop pulse on hover */
}

.btn-whatsapp.pulse {
    animation: pulse-glow 2s infinite;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
    /* Add spacing between header and content */
}

.contact-info h3,
.contact-form h3 {
    margin-bottom: 25px;
    font-size: 1.5rem;
}

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

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 5px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    background: black;
    color: var(--text-dim);
    font-size: 0.9rem;
}

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

.footer-logo img {
    height: 60px;
    width: auto;
}

/* About Content Wrapper */
.about-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* ... */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 40px;
}

/* ... */

/* Responsive adjustments */
@media (max-width: 1024px) {

    .about-main,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-image {
        min-height: 300px;
        margin-bottom: 30px;
    }

    .contact-wrapper {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {

    /* ... existing 768px styles can remain or be simplified since 1024px covers the stacking ... */
    .hero h1 {
        font-size: 2.8rem;
    }

    /* ... */
}

/* Ensure no overlap by default */
.about-image,
.about-text {
    width: 100%;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.about-text strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.section-subtitle {
    color: var(--text-dim);
    font-size: 1.2rem;
    margin-top: -10px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 230, 118, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Responsive */
/* Responsive Design */

/* Tablet & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .section {
        padding: 80px 0;
    }

    .container {
        padding: 0 30px;
    }
}

/* Tablets & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: rgba(10, 15, 13, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

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

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

    .about-image {
        min-height: 250px;
        height: auto;
        /* Allow height to adjust */
        aspect-ratio: 16/9;
        /* Maintain aspect ratio */
    }

    .about-text {
        height: auto;
        /* Reset height */
        margin-top: 0;
        /* Ensure no negative margin */
    }
}

/* Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .glass-card {
        padding: 20px;
    }

    .contact-info,
    .contact-form {
        padding: 20px;
    }

    .logo {
        font-size: 1.3rem;
    }

    .section {
        padding: 80px 0;
        /* Increased section padding */
    }

    /* Force spacing to prevent overlap on small screens */
    .about-main,
    .contact-wrapper {
        display: flex;
        /* Use flex column for better control on mobile */
        flex-direction: column;
        gap: 60px;
        /* Consistent large gap */
    }

    .about-image {
        margin: 0 auto 30px auto;
        /* Center horizontally and add bottom margin */
        width: 100%;
        height: auto;
        min-height: 250px;
        display: block;
        transform: none !important;
        /* Disable animation offset */
    }

    .contact-info {
        margin-bottom: 30px;
        /* Explicit margin */
    }

    .about-text,
    .contact-form,
    .contact-info {
        margin-top: 0;
        transform: none !important;
        text-align: center;
        /* Center text */
    }

    .about-text {
        align-items: center;
        /* Center flex items if it's a flex container */
    }

    .info-item {
        justify-content: center;
        /* Center icon and text */
        text-align: center;
        /* Let's center for now based on request */
        align-items: center;
    }

    .social-links {
        justify-content: center;
        /* Center social icons */
    }

    .contact-info h3,
    .contact-form h3 {
        text-align: center;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* New Animation Classes for JS */
.hidden-el {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.hidden-el.fade-up {
    transform: translateY(30px);
}

.hidden-el.fade-left {
    transform: translateX(-30px);
}

.hidden-el.fade-right {
    transform: translateX(30px);
}

.hidden-el.zoom-in {
    transform: scale(0.9);
}

.show-el {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Stagger Delays */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

.delay-600 {
    transition-delay: 600ms;
}