@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
    --primary-color: #150572;
    --secondary-color: #150572;
    --text-color: #2b2d42;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

.container{
    max-width: 1280px;
    margin: 0 auto;
}

body, html{
    width: 100%;
    height: 100%;
}

/* Header */
header {
    width: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #150572;
    position: relative;
}

header .logo img {
    max-width: 240px;
    width: 100%;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 50px;
}

ul li {
    list-style: none;
}

ul li a {
    text-decoration: none;
    color: #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100vh;
    background-color: #150572;
    padding: 60px 20px;
    transition: right 0.3s ease;
    z-index: 1000;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu ul li a {
    font-size: 20px;
}

/* Hero Section */
.hero-section {
    width: 100%;
    min-height: 50vh;
    background: url(./images/products.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #150572;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}


/* Responsive */
@media (max-width: 768px) {
    nav {
        display: none;
    }
    .hamburger {
        display: block;
    }
}


/* Second Section */
.second-sec{
    width: 100%;
    display: flex;
    gap: 100px;
    padding: 100px 0;
}

.second-left {
   width: 50%;
}
.second-left h2{
    margin-bottom: 20px;
    font-size: 2.5rem;
    line-height: 3rem;
    color: #150572;
}
.second-left p{
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-bottom: 30px;
}
.second-left a{
  text-decoration: none;
  background-color: #150572;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.2rem;
}
.second-right {
    width: 50%;
}

.second-right img {
    max-width: 600px;
    width: 100%;
    height: auto;
}


.product-section{
    padding-bottom: 100px;
}

  .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: #6c757d;
}

@media (max-width: 768px){

    /* Header */
header {
    width: 100%;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #150572;
    position: relative;
}

header .logo img {
    max-width: 200px;
    width: 100%;
}

    .hero-section{
        min-height: 20vh;
        background-position: center;
       
    }

    .second-sec{
        width: 100%;
        display: flex;
        gap: 50px;
        padding: 40px 20px;
        flex-direction: column;
    }
    .second-left{
        width: 100%;
    }
    .second-left h2{
        font-size: 2rem;
        line-height: 2.5rem;
    }
    .second-left p{
        font-size: 1rem;
        line-height: 1.8rem;
    }

    .second-right{
        width: 100%;
    }
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start; /* Important - makes cards independent in height */
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Take full height of grid cell */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 180px; /* Slightly reduced for better balance */
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03); /* More subtle zoom */
}

.product-content {
    padding: 1.5rem;
    flex: 1; /* Allows content to expand and push footer down */
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.3;
}

.product-description {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    flex-grow: 1; /* Pushes following content down */
}

/* If you have buttons or prices at the bottom */
.product-actions {
    margin-top: auto;
    padding-top: 1rem;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}



.simple-footer {
    background-color: #150572;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-left {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.footer-right {
    flex: 1;
    min-width: 250px;
    display: flex;
    justify-content: flex-end;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    max-height: 100px;
    width: auto;
}

.quick-links {
    margin-bottom: 1rem;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0.3rem 0;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-left, .footer-right {
        margin-bottom: 1.5rem;
    }
    
    .footer-info {
        text-align: left;
    }
    
    .footer-right {
        justify-content: flex-start;
    }
}