:root {
    --primary: #00a8ff;
    --secondary: #0097e6;
    --accent: #ffd700;
    --dark: #2f3640;
    --light: #f5f6fa;
    --success: #4cd137;
    --error: #e84118;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

/* Navigation */
.nav-style {
    background: rgba(47, 54, 64, 0.95);
    backdrop-filter: blur(10px);
    
}
/* .nav-container {
    background: rgba(47, 54, 64, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

/* .logo {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
} */

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    color: white;
    background-color: var(--accent);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
    color:red !important;;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(47, 54, 64, 0.9), rgba(47, 54, 64, 0.9)), url('/api/placeholder/1920/1080');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    /* margin-top: 60px; */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Content Layout */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--dark);
}

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

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

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

.product-card img {
    width: 100%;

    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
}

.product-info h3 {
    color: var(--dark);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
    color: var(--primary);
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary);
    margin: 1rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    /* background: var(--primary); */
  color:white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
  
    color:white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

/* .btn:hover {
   
    background-color: #0097e6;
     color: white !important;
} */

.btn:hover::before {
    width: 300px;
    height: 300px;
    color:white;
}


.btn-submit {
    background-color: #007bff; /* Default blue color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
  
    color:white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

/* .btn-submit:hover {
   
    background-color: #0097e6;
     color: white !important;
} */

.btn-submit:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Page Title */
.page-title {
    text-align: center;
    margin: 0 0 4rem;
    font-size: 1.5rem;
    color: var(--dark);
    position: relative;
}
.page-title-product {
    text-align: center;
    margin: 6rem 0 4rem;
    font-size: 2.5rem;
    color: var(--dark);
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent);
}
.page-title-product::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 4rem 2rem;
    margin-top: 4rem;
}

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

.footer-content h3 {
    margin-bottom: 1rem;
}

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

.footer-content a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: var(--accent);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Page Styles */
/* .contact-page {
    padding-top: 6rem;
} */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    /* margin-top: 3rem; */
}

.contact-form-section,
.contact-details {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease-out;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,168,255,0.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content {
        padding: 4rem 1rem;
    }
}

@media (max-width: 968px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
        margin: 5rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .product-card img {
        height: 200px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
    }
    
    .contact-page {
        padding-top: 4rem;
    }
    
    .contact-form-section,
    .contact-details {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .nav-container,
    .back-to-top,
    .btn {
        display: none;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
    }
    
    .product-info {
        padding: 1rem 0;
    }
}
/* About Page Specific Styles */
.about-hero {
    background: linear-gradient(rgba(47, 54, 64, 0.9), rgba(47, 54, 64, 0.9)),
                url('/api/placeholder/1920/1080');
    height: 60vh;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.about-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-card h2 {
    color: var(--dark);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    position: relative;
}

.about-card h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.about-card p {
    color: #666;
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    margin-top: 4rem;
    padding: 4rem 0;
    background: var(--light);
    border-radius: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: #666;
    font-size: 1.1rem;
}

/* Animations */
.about-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.about-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

/* Responsive Design for About Page */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .about-card {
        padding: 1.5rem;
    }

    .about-card h2 {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-card h3 {
        font-size: 1.75rem;
    }
}
.contact-info-item{
    margin-bottom: 5%;
}

.notification {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 25px;
    background-color: #4CAF50;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: opacity 0.5s ease-in-out, transform 0.3s ease-in-out;
    z-index: 1000;
    opacity: 1;
}
.notification.error {
    background-color: #f44336;
}
.notification.fade-out {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
}
/* Dropdown menu */
.nav-item.dropdown {
    position: relative;
}

.nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    background: var(--dark);
    top: 100%;
    left: 0;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
}

.nav-item.dropdown .dropdown-menu li {
    list-style: none;
}

.nav-item.dropdown .dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.nav-item.dropdown .dropdown-menu a:hover {
    background: var(--secondary);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}
