@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

:root {
    --primary: #0ea5e9;
    --secondary: #8b5cf6;
    --accent: #10b981;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f1f5f9;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, var(--darker), var(--dark));
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.gradient-bg {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.2), rgba(16, 185, 129, 0.1));
    z-index: -1;
    animation: pulse 4s infinite alternate;
}

/* IMPROVED FLOATING SHAPES - Better distributed across page */
.floating-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(12px);
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

/* Top left area */
.shape-1 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3), transparent);
    top: 10%;
    left: 8%;
    animation-delay: 0s;
}

/* Top right area */
.shape-2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
    top: 15%;
    right: 10%;
    animation-delay: 2s;
}

/* Middle left */
.shape-3 {
    width: 90px;
    height: 90px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.5), transparent);
    top: 45%;
    left: 5%;
    animation-delay: 4s;
}

/* Center area */
.shape-4 {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25), transparent);
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 1s;
}

/* Bottom right */
.shape-5 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
    bottom: 20%;
    right: 8%;
    animation-delay: 3s;
}

/* Middle right */
.shape-6 {
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4), transparent);
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

/* Bottom left */
.shape-7 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.35), transparent);
    bottom: 15%;
    left: 12%;
    animation-delay: 6s;
}

/* Top center */
.shape-8 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.45), transparent);
    top: 8%;
    left: 70%;
    animation-delay: 1.5s;
}

/* Bottom center */
.shape-9 {
    width: 130px;
    height: 130px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.3), transparent);
    bottom: 25%;
    left: 60%;
    animation-delay: 4.5s;
}

header {
    text-align: center;
    padding: 6rem 2rem 3rem;
    position: relative;
}

.logo-img {
    height: clamp(150px, 25vw, 700px);
    width: auto;
    filter: drop-shadow(0 0 30px rgb(6, 181, 212));
    transition: filter 0.3s ease;
}

.logo-img:hover {
    filter: drop-shadow(0 0 30px rgba(242, 229, 49, 0.866)) drop-shadow(0 0 15px rgba(0, 170, 255, 0.9));
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    max-width: 64rem;
    margin: 0 auto 3rem;
    color: #cbd5e1;
}

nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.nav-btn {
    padding: 0.75rem 2rem;
    background: rgba(6, 182, 212, 0.1);
    color: #cbd5e1;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-btn:hover {
    background: rgba(6, 182, 212, 0.2);
    color: var(--primary);
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.3);
}

/* FIXED: Sections are now visible by default */
section {
    max-width: 80rem;
    margin: 0 auto;
    padding: 4rem 2rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 1s ease;
}

/* Animation class for scroll effects (optional) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 1s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: 'Poppins', sans-serif;
}

.divider {
    width: 8rem;
    height: 0.25rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 0 auto 3rem;
    border-radius: 9999px;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* WhatsApp Button Styles */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background: #128C7E;
}

.whatsapp-button i {
    color: white;
}

/* Responsive content grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.card {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card:hover {
    transform: translateY(-0.5rem);
    background: rgba(139, 92, 246, 0.1);
    box-shadow: 0 10px 25px -5px rgba(139, 92, 246, 0.3);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

/* FIXED PRODUCT CARDS */
.product-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem;
    margin-bottom: 4rem;
    background: rgba(6, 182, 212, 0.03);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(6, 182, 212, 0.1);
    width: 100%;
    box-sizing: border-box;
    opacity: 1;
    visibility: visible;
}

@media screen and (min-width: 768px) {
    .product-card {
        flex-direction: row !important;
        align-items: center !important;
    }

    .product-card:nth-child(even) {
        flex-direction: row-reverse !important;
    }
}

.product-content {
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.product-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.product-description {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    width: 100%;
}

.product-specs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem;
    margin-top: 1.5rem;
    width: 100%;
}

.spec-tag {
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-family: monospace;
    transition: all 0.3s ease;
    display: inline-block !important;
}

.spec-tag:hover {
    background: rgba(6, 182, 212, 0.2);
    transform: scale(1.05);
}

.product-image-container {
    flex: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 20rem;
    border-radius: 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(139, 92, 246, 0.1));
    width: 100%;
}

.product-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    transition: all 0.5s ease;
    border-radius: 1rem;
}

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

.application-card {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.application-card:hover {
    transform: translateX(1rem);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.2);
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.2), rgba(6, 182, 212, 0.2));
}

.application-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.application-icon {
    font-size: 2.5rem;
}

.application-title {
    font-size: 1.5rem;
    color: var(--accent);
    font-family: 'Poppins', sans-serif;
}

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

.contact-card {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: 1.5rem;
    padding: 2rem;
}

.contact-title {
    font-size: 1.75rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
}

.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.3);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 0.75rem;
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(6, 182, 212, 0.1);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-family: 'Poppins', sans-serif;
}

.submit-btn:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.5);
}

footer {
    text-align: center;
    padding: 3rem 2rem;
    color: #94a3b8;
    font-size: 1.125rem;
}

.made-in-india {
    color: var(--accent);
    font-weight: 700;
}

/* Image placeholder styles */
.image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #0ea5e933, #8b5cf633);
    border-radius: 1rem;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    text-align: center;
    padding: 1rem;
}

/* ANIMATIONS */
@keyframes pulse {
    0% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(2deg);
    }
    66% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

/* Enhanced mobile-specific styling */
@media screen and (max-width: 480px) {
    .product-card {
        padding: 1.5rem !important;
        gap: 1.5rem !important;
        margin-bottom: 3rem !important;
    }

    .product-image-container {
        min-height: 15rem !important;
    }

    .spec-tag {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    section {
        padding: 2rem 1rem !important;
    }

    .nav-btn {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    h2 {
        font-size: 1.8rem !important;
    }

    /* Adjust floating shapes for mobile */
    .floating-shape {
        display: none;
    }
}

/* Tablet styling */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .product-card {
        padding: 1.8rem !important;
        gap: 1.8rem !important;
    }
    
    .product-image-container {
        min-height: 18rem !important;
    }

    /* Reduce floating shapes on tablets */
    .shape-4, .shape-6, .shape-8 {
        display: none;
    }
}
/* NORMAL FOOTER */
.footer {
  padding: 20px 30px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  border-radius: 8px 8px 0 0;
}

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

/* Left section with logo and stacked text */
.footer-left {
  display: flex;
  align-items: center; /* vertically center text with logo */
  gap: 10px; /* space between logo and text */
}

.footer-left img.footer-logo {
  height: 40px; /* adjust logo size */
  width: auto;
}

.footer-left .footer-text p {
  margin: 0; /* remove extra spacing */
  line-height: 1.3; /* make text compact */
}

.footer-brand {
  font-weight: bold;
    font-size: 18px;
    color: var(--primary);
}

.footer-author {
  font-size: 12px; 
  opacity: 0.8;
}

/* Right section (optional if you keep something there) */
.footer-right {
  text-align: right;
  line-height: 1.4;
  font-size: 18px;
  color: var(--secondary);
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .footer-left {
    justify-content: center;
  }
  .footer-right {
    text-align: center;
  }
}
/* END OF FOOTER */