:root {
    --primary-blue: #1a4b8c;
    --secondary-blue: #2c71d4;
    --light-blue: #e8f1ff;
    --deep-blue: #153c70;
    --pale-blue: #f0f7ff;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --white: #ffffff;
    --gradient-blue: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
}

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

body {
    font-family: 'Sora', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    width: 100%;
}


/* Navigation */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary-blue);
    padding: 0.5rem 1rem;
    z-index: 1000;
    color: var(--white);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.company-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.company-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
}

.company-slogan {
    font-size: 0.8rem;
    color: var(--light-blue);
    font-weight: 400;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--light-blue);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    position: relative;
    background: linear-gradient(rgba(53, 96, 153, 0.85), rgba(54, 98, 156, 0.95)),
        url('./assests/images/image.png');
    background-size: cover;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    /* padding: 4rem 2rem; */
    width: 100%;
    margin-top: 50px;
}


.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    /* max-width: 1200px; */
    text-align: center;
    
}

.hero-content h1 {
    font-size: 3vw;
    /* font-size: 3.2rem; */
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-blue);
}

.cta-button  {
    background: var(--secondary-blue);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border: 2px solid var(--text-light);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: var(--text-light);
    color: var(--primary-blue);
    border-color: var(--text-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.css-button-sliding-to-left--blue {
  min-width: 130px;
  height: 40px;
  color: var(--secondary-blue);
  padding: 5px 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  outline: none;
  border-radius: 5px;
  z-index: 0;
  background: var(--secondary-blue);
  overflow: hidden;
  border:2px solid var(--text-light);
  color: #fff;
}
.css-button-sliding-to-left--blue:hover {
  color:  var(--primary-blue);
}
.css-button-sliding-to-left--blue:hover:after {
  width: 100%;
}
.css-button-sliding-to-left--blue:after {
  content: "";
  position: absolute;
  z-index: -1;
  transition: all 0.3s ease;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background:  #fff;
}

.cta-button a {
    text-decoration: none;
    color: var(--text-light);
}

/* .cta-button a:hover {
    color: var(--primary-blue);
} */

/* Product Sections */
.section-title {
    text-align: center;
    margin: 4rem 0 2rem;
    color: var(--deep-blue);
    padding-top: 4rem;
}

.section-title1 {
    text-align: center;
    margin: 4rem 0 2rem;
    /* color: var(--deep-blue); */
    padding-top: 4rem;
}

.three-col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border-top: 4px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
    color: var(--primary-blue);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.product-card:hover {
    transform: translateY(-10px);
    color: var(--text-light);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card h3,
.product-card p {
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

/* Innovator Profile */
#innovator-profile {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.profile-img {
    width: 100%;
    border-radius: 20px;
    max-height: 500px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* animation: float 6s ease-in-out infinite; */
}

/* @keyframes float {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 20px 40px rgba(46, 204, 113, 0.2);
    }

    50% {
        transform: translateY(-20px);
        box-shadow: 0 30px 50px rgba(46, 204, 113, 0.3);
    }
} */

/* Product Showcase */
.product-showcase-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.product-img {
    width: 100%;
    border-radius: 20px;
    max-height: 500px;
    object-fit: fill;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* animation: float 6s ease-in-out infinite; */
}

/* @keyframes float {

    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 20px 40px rgba(46, 204, 113, 0.2);
    }

    50% {
        transform: translateY(-20px);
        box-shadow: 0 30px 50px rgba(46, 204, 113, 0.3);
    }
} */


#product-info {
   
    
    background: var(--pale-blue);
    width: 100%;
    
}

.product-info-grid {
    max-width: 1200px;
    /* margin: 0; */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    padding: 2rem;
}

.machine-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.machine-image {
    height: 300px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.machine-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

/* .machine-card:hover .machine-image img {
    transform: scale(1.05);
} */

.machine-details {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.machine-details h3 {
    color: var(--deep-blue);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.specs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.spec-item {
    background: var(--pale-blue);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.feature-list i {
    color: var(--primary-blue);

}


@media (max-width: 992px) {

    #product-info {
        padding: 0;
    }
    .product-info-grid {
        grid-template-columns: 1fr;
        align-items: center;
        width: 100%;
        margin: 0;
      
    }

    .machine-image {
        height: 250px;
    }

    .specs-list {
        grid-template-columns: 1fr;
    }

}

/* Contact Form */
#contact {
    background: var(--deep-blue);
    padding: 2rem 1rem;
    color: var(--text-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--primary-blue);
    border-radius: 4px;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--text-light);
    padding: 2rem 1rem;
    text-align: center;
}

footer a {
    color: var(--light-blue);
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--deep-blue);
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    #hero {
        min-height: 60vh;
        padding: 3rem 1rem;
    }

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

    .hero-content p {
        font-size: 1.1rem;
    }

    .logo img {
        height: 40px;
    }
    
    .company-title {
        font-size: 1rem;
    }
    
    .company-slogan {
        font-size: 0.7rem;
    }
    
    .nav-container {
        padding: 0.5rem;
    }
}

/* Add subtle blue accents */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.2);
}

/* Footer Styles */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}


.footer-section h3 {
    color: var(--light-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    text-decoration: none;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--light-blue);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    align-items: center;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    color: var(--light-blue);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}


@media (max-width: 390px) {
  body { 
    width: 120%;
}
footer {
    width:100%;
}
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }


    .social-links {
        align-items: center;
        justify-content: center;
        margin: 1rem auto;
    }
}

.contact-info {
    margin-top: 1.5rem;
}

.email-link,
.phone-link {
    margin-bottom: 0.8rem;
}

.email-link a,
.phone-link a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-link i,
.phone-link i {
    color: var(--light-blue);
    font-size: 1.1rem;
    width: 20px;
}

.email-link a:hover,
.phone-link a:hover {
    color: var(--light-blue);
}

@media (max-width: 768px) {
    .contact-info {
        text-align: center;
    }

    .email-link a,
    .phone-link a {
        justify-content: center;
    }
}

.learn-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: var(--primary-blue);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
    transition: all 0.3s ease;
}

.learn-more-btn i {
    transition: transform 0.3s ease;
}

.learn-more-btn:hover {
    background: var(--deep-blue);
    transform: translateY(-2px);
}

.learn-more-btn:hover i {
    transform: translateX(5px);
}

.form-message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 8px;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.form-message.success {
    background-color: rgba(46, 213, 115, 0.15);
    color: #2ed573;
    border: 1px solid #2ed573;
}

.form-message.error {
    background-color: rgba(255, 71, 87, 0.15);
    color: #ff4757;
    border: 1px solid #ff4757;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* If your logo is too light against the blue background */
.logo img {
    filter: brightness(0) invert(1); /* Only add this if you need the logo to be white */
}

/* For very small screens */
@media (max-width: 480px) {
    .company-slogan {
        display: none; /* Hide slogan on very small screens */
    }
    
    .logo-container {
        gap: 0.5rem;
    }
}