@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #6a6a6ae2 0%, #7c94ffbe 100%);
    overflow-x: hidden;
}

/* Global Transition Enhancement */
/* Added to ensure layout changes (like resizing grids) are smooth) */
body,
.header,
.service-card,
.product-card {
    transition: all 0.3s ease-in-out;
}


.header {
    background: linear-gradient(135deg, #32548ee2 0%, #0086d49f 100%);
    color: white;
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    padding-top: 5px;
    padding-left: 0;
}

.header-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

/* //Reflect animation
#tagline {
    font-size: 18px; 
    font-weight: bold;
    margin: 0;
    padding-bottom: 3px; 

    background: linear-gradient(#ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow: 2px 2px 8px rgba(0,0,0,0.2);

    letter-spacing: 1px; 

    position: relative;
    display: inline-block;
    overflow: hidden;
    line-height: 1.2; 
}

#tagline::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    55% { left: 100%; }
    100% { left: 100%; }
} */

.logo {
    font-size: 28px;
    font-weight: 600;
    color: #fff200;
    text-align: left;
    line-height: 1;
}

.online-text {
    font-size: 0.6em;
    color: yellow;
    font-weight: normal;
    display: block;
    letter-spacing: 2px;
}

.phone-number {
    font-size: 16px;
    font-weight: bold;
    color: rgb(255, 255, 255);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

marquee {
    margin-bottom: 0;
    padding-bottom: 0;
}

.hero {
    /* background: linear-gradient(135deg,  #00ffd9 0%, #0800ff 100%); */
    background-image: url('images/111.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: white;
    position: relative;
    padding: 150px 5% 80px;
    /* Increased top padding to 150px */
    animation: moveGradient 15s ease infinite;
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.3);
}

/* Mobile text alignment */

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }
}

@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.scroll-down-btn {
    position: absolute;
    bottom: 120px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    animation:
        blink 1.5s infinite alternate,
        pulse 2s infinite;
    transition: background 0.3s ease;
}

.scroll-down-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.scroll-down-btn .arrow-icon {
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

@keyframes blink {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes changeColor {
    0% {
        background-color: rgb(82, 236, 31);
    }

    25% {
        background-color: rgb(48, 221, 97);
    }

    50% {
        background-color: rgb(56, 219, 56);
    }

    75% {
        background-color: rgb(110, 223, 69);
    }

    100% {
        background-color: rgb(87, 231, 15);
    }
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button,
.cta-button1 {
    background: linear-gradient(135deg, #32548e 0%, #0086d4fe 100%);
    color: #ffffff;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.4);
}

.cta-button:hover,
.cta-button1:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.6);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(53, 255, 107, 0.6);
}

.cta-button-fixed {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
    bottom: 20px;
    padding: 15px 30px;
    font-size: 1.2rem;
    transition: padding 0.3s ease, font-size 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

#sticky-cta.cta-button-fixed:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 20px rgba(53, 255, 107, 0.6);
}

.cta-button-stopped {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
    padding: 15px 30px;
    font-size: 1.2rem;
}

#sticky-cta.cta-button-stopped:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 20px rgba(53, 255, 107, 0.6);
}

.cta-button1 {
    background: linear-gradient(135deg, #32548ee4 0%, #0086d4e6 100%);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 90px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(53, 221, 255, 0.4);
}

.cta-button1:hover {
    transform: translateY(-3px);
    /* background: linear-gradient(135deg, #32548ee2 0%, #0086d49f 100%); */
    box-shadow: 0 6px 20px rgb(53, 248, 255);
}

.cta-buttondev {
    background: linear-gradient(135deg, #32548ee4 0%, #0086d4e6 100%);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 90px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(53, 221, 255, 0.4);
}

.cta-buttondev:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(53, 248, 255, 0.6);
}

/* Services Section */
.services {
    padding: 40px 0;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 33px;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #32548ee2 0%, #0086d49f 100%);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #3582ff;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #32548ee2 0%, #0086d49f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Products Section */
.products {
    padding: 80px 0;
    background: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 200px;
    background: linear-gradient(45deg, #ddd, #eee);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #999;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.product-info p {
    color: #666;
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 25px 0;
    background: linear-gradient(135deg, #32548ee2 0%, #0086d49f 100%);
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #35ff72;
    font-weight: bold;
    font-size: 1.2rem;
}

#textcolor {
    font-size: 35px;
    color: rgb(183, 236, 36);
}

.about-image {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Contact Section */
.contact {
    padding: 30px 0;
    background: #f0f0f0;
    color: rgb(51, 34, 238);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #3575ff;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid #0015ff;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: #3f35ff;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #3543ff;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    background: rgba(5, 203, 253, 0.1);
    color: rgb(3, 3, 3);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3f35ff;
    background: rgba(40, 181, 232, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(97, 99, 97, 0.6);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #32548ee2 0%, #0086d49f 100%);
    color: #e0e0e0;
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid #00bcd4;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 667px) {

    .nav-container {
        flex-direction: column;
        padding: 10px 10px;
    }

    .header-left,
    .header-right {
        width: 100%;
        text-align: center;
        padding: 5px 0;
    }

    .header-right {
        align-items: center;
    }

    .logo {
        font-size: 20px;
    }

    .online-text {
        font-size: 0.5em;
    }

    #tagline {
        font-size: 15px;
        text-align: center;
    }

    .phone-number {
        font-size: 14px;
    }

    .header-logo {
        height: 50px;
    }

    .hero {
        padding: 200px 5% 60px;
        /* Increased top padding for mobile header */
    }

    .hero h1 {
        font-size: 25px;
    }

    .hero p {
        font-size: 20px;
    }

    /* Mobile button and card refinements */
    .cta-button,
    .cta-button1 {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .service-card,
    .product-card {
        padding: 1.5rem;
    }

    .service-card h3,
    .product-card h4 {
        font-size: 1.2rem;
    }

    /* Preserve grid layout */
    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-text {
        order: 2;
    }

    .about-image {
        order: 1;
        height: 250px;
    }

    #textcolor {
        font-size: 25px;
    }

    .container {
        padding: 0 1rem;
    }

    .scroll-down-btn {
        right: 15px;
        left: auto;
        transform: none;
        bottom: 120px;
    }

    .cta-button-fixed {
        padding: 15px 27px;
    }

    .cta-button-stopped {
        padding: 15px 27px;
    }

}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 30px;
    }

    .about-content {
        gap: 1.5rem;
    }

    .hero {
        padding: 190px 5% 30px;
        /* Increased top padding for mobile header */
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Floating animation for hero */
.hero-content {
    font-size: small;
    /* animation: floating 3s ease-in-out infinite; <-- THIS IS THE FIX */
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}