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

:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a1a1a;
    --accent-color: #00d4ff;
    --text-light: #ffffff;
    --text-dark: #333333;
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --dark-gradient: linear-gradient(135deg, #232526 0%, #414345 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 90vw;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

/* CSS-only Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: all 0.3s ease;
}

#menu-checkbox {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-light);
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('intro-bg.png');
    /* Your image URL */
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    /* Change this value to adjust the opacity (0.0 to 1.0) */
    z-index: -1;
    /* Puts the pseudo-element behind the content */
}

.hero-content {
    max-width: 1000px;
    z-index: 1;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: rgb(0, 0, 0);
    font-weight: 600;
    animation: slideInUp 1s ease-out;
}

.hero p {
    font-size: 2rem;
    color: black;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.3s both;
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

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

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: rgb(252, 2, 2);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 400;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-50px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
    background: #e55a2b;
}

/* About Section */
.about {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.664);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: rgb(0, 255, 183);
    border-radius: 2px;
}

.about-content {
    gap: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: black;
}

.about-image img {
    height: 300px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 1s ease;
}

/* Services Section */
.services {
    padding: 40px 0;
    background-color: #764ba2;
}

.services .section-title {
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* Enhanced Service Cards */
.service-card {
    background: rgba(13, 228, 60, 0.605);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 3px solid rgba(236, 19, 19, 0.769);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    background-color: wheat;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 72, 21, 0.5);
}

.service-card:nth-child(even):hover {
    transform: translateY(-15px) scale(1.02) rotateY(5deg);
}

.service-card:nth-child(odd):hover {
    transform: translateY(-15px) scale(1.02) rotateY(-5deg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-light);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg) scale(1.1);
    background: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.service-card:hover h3 {
    color: black;
}

.service-card:hover p {
    color: black;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: var(--text-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* Enhanced Pricing Cards */
.pricing-card {
    background: var(--text-light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* .pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 243, 242, 0.422), transparent);
    transition: left 0.6s ease;
} */

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card:nth-child(1) {
    transform: scale(1.05);
    background-color: #0befdc;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.pricing-card:nth-child(2) {
    transform: scale(1.05);
    background-color: #06f732;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.pricing-card:nth-child(3) {
    transform: scale(1.05);
    color: #ffffff;
    background-color: #0008029a;
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.price span {
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.6;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.features li {
    padding: 0.5rem 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.356);
}

.pricing-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--secondary-color);
}

.contact .section-title {
    font-size: 3rem;
    color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: var(--text-light);
}

.contact-info h3 {
    color: rgb(168, 3, 250);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: rgb(245, 205, 5);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #000;
    padding: 2rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Advanced Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }
}

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

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
    }

    #menu-checkbox:checked~.nav-menu {
        left: 0;
    }

    #menu-checkbox:checked~.menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-checkbox:checked~.menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    #menu-checkbox:checked~.menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 1rem;
        border-radius: 8px;
        width: 80%;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-link:hover {
        background: rgba(255, 107, 53, 0.2);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card:nth-child(2) {
        transform: none;
        order: -1;
    }

    .about-image {
        height: 250px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .service-card,
    .pricing-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .about-image {
        height: 200px;
        font-size: 1.5rem;
    }
}

/* CSS-only animation triggers */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.fade-in:nth-child(even) {
    animation-delay: 0.4s;
}

.fade-in:nth-child(3n) {
    animation-delay: 0.6s;
}

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

/* Staggered animation for grid items */
.services-grid .service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.services-grid .service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.services-grid .service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.services-grid .service-card:nth-child(5) {
    animation-delay: 0.5s;
}

.services-grid .service-card:nth-child(6) {
    animation-delay: 0.6s;
}

.pricing-grid .pricing-card:nth-child(1) {
    animation-delay: 0.2s;
}

.pricing-grid .pricing-card:nth-child(2) {
    animation-delay: 0.4s;
}

.pricing-grid .pricing-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* Enhanced form interactions */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
    transform: scale(1.02);
}

.submit-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Pulse animation for CTA button */
.cta-button {
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(4, 43, 217, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}