:root {
    --bg-main: #f5f5f5;
    --card-white: #ffffff;
    --card-dark: #1e1e1e;
    --text-dark: #1e1e1e;
    --text-light: #ffffff;
    --text-gray: #666666;
    --accent-lime: #c0ff00;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --border-radius: 28px;
    --gradient-bg: linear-gradient(135deg, #c0ff00 0%, #a0d911 100%);
}

body.dark-mode {
    --bg-main: #121212;
    --card-white: #1e1e1e;
    --card-dark: #ffffff;
    --text-dark: #ffffff;
    --text-light: #1e1e1e;
    --text-gray: #bbbbbb;
    --shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
    --gradient-bg: linear-gradient(135deg, #a0d911 0%, #c0ff00 100%);
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    background-color: var(--card-white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
    position: relative;
    transition: background-color 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 20px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

.nav-links {
    display: flex;
}

.nav-links.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--card-white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    margin-top: 10px;
    display: none;
}

.nav-links.mobile-menu.show {
    display: flex;
}

.nav-links.mobile-menu a {
    margin: 10px 0;
    text-align: center;
}

.logo {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    color:#c0ff00;
}

.nav-links a {
    margin-left: 30px;
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 15px;
    border-radius: 20px;
}

.nav-links a:hover {
    color: var(--accent-lime);
    background: rgba(192, 255, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 255, 0, 0.2);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-lime);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after {
    width: 80%;
}

.cta-button {
    background-color: var(--card-dark);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
}

.nav-links .cta-button {
    margin-left: 50px;
}

.mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    margin-left: 20px;
    color: var(--text-dark);
}



.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    min-height: 600px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 2;
}

.hero-text {
    width: 50%;
    position: relative;
    z-index: 3;
    color: var(--text-dark);
    padding: 60px;
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.hero-button {
    background: var(--gradient-bg);
    color: var(--text-dark);
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 255, 0, 0.3);
    display: inline-block;
}

.hero-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(192, 255, 0, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.clients {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 100px 0;
    flex-wrap: wrap;
    opacity: 0.6;
}

.clients p {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 20px;
}

.section-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    color: var(--text-dark);
}

.section-desc {
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    color: var(--text-dark);
    max-width: 800px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

#services {
    margin-bottom: 100px;
}

.service-card {
    background-color: var(--card-white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card.dark {
    background-color: var(--card-dark);
    color: var(--text-light);
}

.service-image {
    width: 100%;
    height: 200px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image i {
    font-size: 48px;
    color: var(--text-dark);
    transition: transform 0.3s;
}

body.dark-mode .service-image i {
    color: var(--text-light);
}

.service-card:hover .service-image i {
    transform: scale(1.1);
}

.service-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-text a {
    text-decoration: none;
    font-weight: 600;
    opacity: 0.8;
    color: var(--accent-lime);
}

.cta-section {
    background-color: var(--card-white);
    border-radius: var(--border-radius);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    margin: 100px 0;
}

.cta-text {
    width: 50%;
}

.cta-text h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text p {
    color: var(--text-gray);
    margin-bottom: 40px;
}

.cta-button-large {
    background: var(--gradient-bg);
    color: var(--text-dark);
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

.cta-image {
    width: 45%;
    text-align: center;
}

.case-studies .cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: var(--card-dark);
    color: var(--text-light);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-card p {
    margin-bottom: 30px;
}

.case-card a {
    color: var(--accent-lime);
    text-decoration: none;
    font-weight: 600;
}

/* About Section */
.slider {
    position: relative;
    max-width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 60px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

#home {
    margin-bottom: 100px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 100px;
}

.about-text {
    width: 60%;
}

.about-text h2 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
    color: var(--text-dark);
}

.about-text p {
    font-size: 20px;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    color: var(--text-dark);
}

.about-image {
    width: 40%;
    height: 300px;
    background: var(--gradient-bg);
    border-radius: var(--border-radius);
    /* Replace with actual image */
    background-size: cover;
    animation: fadeInUp 1.5s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    margin: 100px 0 50px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    padding: 40px;
    background: var(--card-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    font-size: 24px;
    color: var(--accent-lime);
    margin-right: 20px;
    width: 30px;
}

.contact-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-gray);
    margin: 0;
}

.contact-form {
    background: var(--card-white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-form p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 18px;
    transition: color 0.3s;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    background-color: #fafbfc;
    color: var(--text-dark);
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-lime);
    background-color: var(--card-white);
    box-shadow: 0 0 0 3px rgba(192, 255, 0, 0.1);
}

.contact-form input:focus + i,
.contact-form select:focus + i,
.contact-form textarea:focus + i {
    color: var(--accent-lime);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background: var(--gradient-bg);
    color: var(--text-dark);
    padding: 16px 32px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(192, 255, 0, 0.3);
}

.contact-form button:active {
    transform: translateY(0);
}



/* Footer */
footer {
    background-color: var(--card-dark);
    color: var(--text-light);
    padding: 60px 0;
    margin-top: 100px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    font-weight: 900;
    font-size: 34px;
    color: var(--accent-lime);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-lime);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-light);
    font-size: 24px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-lime);
}

.copyright {
    text-align: center;
    margin-top: 40px;
    color: var(--text-gray);
}

/* Placeholder Sections */
.placeholder-section {
    background-color: var(--card-white);
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--shadow);
    text-align: center;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: red;
    padding: 15px;
    border-radius: 50%;
    display: none;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.5s ease-out;
}

.back-to-top:hover {
    background: var(--accent-lime);
    color: var(--text-dark);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 25px rgba(192, 255, 0, 0.3);
}

.back-to-top.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero, .cta-section, .about-content {
        flex-direction: column;
    }

    .hero-text, .cta-text, .about-text {
        width: 100%;
        text-align: center;
    }

    .hero-image, .cta-image, .about-image {
        width: 100%;
        margin-top: 40px;
    }

    .clients {
        justify-content: center;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--card-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        border-radius: var(--border-radius);
        margin-top: 10px;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        margin: 10px 0;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .service-card {
        padding: 30px;
    }

    .contact-section {
        padding: 40px 0;
        margin: 60px 0;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 15px;
    }

    .contact-info, .contact-form {
        padding: 30px;
    }

    .contact-info h3, .contact-form h3 {
        font-size: 24px;
    }

    .contact-item {
        margin-bottom: 20px;
        padding: 12px 0;
    }

    .contact-item i {
        font-size: 20px;
        width: 25px;
    }

    .contact-item h4 {
        font-size: 16px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        padding: 12px 12px 12px 40px;
        font-size: 15px;
    }

    .form-group i {
        font-size: 16px;
        left: 12px;
    }

    .contact-form button {
        padding: 14px 28px;
        font-size: 15px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 10px;
    }

    header {
        padding: 20px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-button {
        padding: 14px 28px;
        font-size: 16px;
    }

    .service-card {
        padding: 20px;
    }

    .service-text h3 {
        font-size: 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* Service Image Link Animations */
.service-image-link {
    display: block;
    text-decoration: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.service-image-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(192, 255, 0, 0.1), rgba(160, 217, 17, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-image-link:hover {
    transform: scale(1.08) rotate(1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.service-image-link:hover::before {
    opacity: 1;
}

.service-image-link:hover .service-image {
    transform: rotate(3deg) scale(1.1);
    filter: brightness(1.2) saturate(1.3);
    animation: pulse 2s infinite;
}

.service-image-link:hover .service-image i {
    transform: scale(1.3) rotate(10deg);
    color: var(--accent-lime);
    animation: bounce 0.6s ease;
}

@keyframes pulse {
    0%, 100% {
        transform: rotate(3deg) scale(1.1);
    }
    50% {
        transform: rotate(3deg) scale(1.15);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: scale(1.3) rotate(10deg);
    }
    40% {
        transform: scale(1.4) rotate(10deg);
    }
    60% {
        transform: scale(1.35) rotate(10deg);
    }
}

/* Service animations for small screens */
@media (max-width: 768px) {
    .service-image-link:active,
    .service-image-link:focus {
        transform: scale(1.08) rotate(1deg);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    }

    .service-image-link:active::before,
    .service-image-link:focus::before {
        opacity: 1;
    }

    .service-image-link:active .service-image,
    .service-image-link:focus .service-image {
        transform: rotate(3deg) scale(1.1);
        filter: brightness(1.2) saturate(1.3);
        animation: pulse 2s infinite;
    }

    .service-image-link:active .service-image i,
    .service-image-link:focus .service-image i {
        transform: scale(1.3) rotate(10deg);
        color: var(--accent-lime);
        animation: bounce 0.6s ease;
    }
}
