@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #0B2B5B;
    --primary-green: #4CAF50;
    --dark-green: #2E7D32;
    --gradient-main: linear-gradient(135deg, #0B2B5B 0%, #4CAF50 100%);
    --gradient-hover: linear-gradient(135deg, #4CAF50 0%, #0B2B5B 100%);
    --bg-light: #f4f7fa;
    --text-dark: #333;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Navbar Modernization */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.brand-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--primary-blue) !important;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

/* Modern Buttons */
.btn-gradient {
    background: var(--gradient-main);
    color: white;
    border: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-gradient:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 43, 91, 0.4);
    color: white;
}

/* Hero Section */
.carousel-item {
    height: 500px;
}
.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85); /* Thoda dark taaki text pop kare */
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    bottom: 20%;
}

/* Section Titles */
.section-title {
    font-weight: 700;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: var(--gradient-main);
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 15px;
    background: #fff;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.product-img-wrapper {
    overflow: hidden;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card img {
    transition: transform 0.5s ease;
    max-height: 80%;
}

.badge-offer {
    background: var(--gradient-main);
    border-radius: 0 0 10px 0;
    padding: 8px 15px;
    font-size: 0.85rem;
}

.price {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 700;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

/* Features Section */
.feature-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
    height: 100%;
}
.feature-box:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--primary-green);
}
.feature-icon {
    width: 70px;
    height: 70px;
    background: #e8f5e9;
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
}

/* Footer */
footer {
    background: #051835; /* Darker blue */
    color: #cfd8dc;
    position: relative;
    overflow: hidden;
}
.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}
.footer-heading::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--primary-green);
}
.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}
.social-icon:hover {
    background: var(--primary-green);
    color: white;
}



/* Inputs matching the image style */
.form-control {
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}
.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: none;
}
.form-select {
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}
/* Login Button dark blue/blackish */
.btn-dark {
    background-color: #1A1A2E; 
    border: none;
}