/* --- Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
}

/* --- Header & Logo Styling --- */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: #0F2537;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    border-radius: 50%;
    object-fit: cover;
}

#logo-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #f9fcff;
    letter-spacing: 1px;
}

/* --- Navbar & Links --- */
.navbar .nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.navbar .nav-links a {
    text-decoration: none;
    color: #f3f3f3;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
    color: #3182ce;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
    z-index: 10;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: #2d3748 !important;
    font-size: 0.9rem;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #3182ce !important
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- Nav Actions (Search, Theme, Cart) --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-box {
    display: flex;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    overflow: hidden;
}

.search-box input {
    padding: 6px 10px;
    border: none;
    outline: none;
    font-size: 0.9rem;
}

.search-box button {
    background: #edf2f7;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
}

.theme-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-link {
    text-decoration: none;
    background-color: #3182ce;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.cart-link:hover {
    background-color: #2b6cb0;
}

/* --- Page Header & Common Sections --- */
.page-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #edf2f7, #e2e8f0);
    margin-bottom: 20px;
}

.page-header h2 {
    font-size: 2.2rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.page-header p {
    color: #718096;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #2d3748;
}

/* --- Categories & Cards Grid --- */
.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* --- Promo Banner --- */
.promo-banner {
    background: linear-gradient(135deg, #6b46c1, #3182ce);
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    margin: 40px 5%;
    border-radius: 10px;
}

.promo-btn {
    background: #fff;
    color: #333;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.promo-btn:hover {
    background: #edf2f7;
}


/* --- ABOUT PAGE SPECIFIC STYLES --- */
.about-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    
}
.image-grid {
    display: flex;
    gap: 15px; /* Dono pictures ke darmiyan chota sa fasla */
    width: 100%;
}

.image-grid img {
    width: 50%; /* Dono pictures adha adha area le lengi */
    height: 350px;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.about-image img {
    width: 100%;
    height: 350px;
    object-fit: contain; 
    border-radius: 0;
    box-shadow: none
}
.values-section {
    margin-bottom: 60px;
}

.value-card {
    padding: 30px !important;
    text-align: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.value-card h3 {
    margin-bottom: 10px;
    color: #333;
}

.value-card p {
    color: #666;
    font-size: 0.95rem;
}

.about-cta {
    border-radius: 10px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #6b46c1, #3182ce);
    color: #fff;
    margin-bottom: 40px;
}

.about-cta .promo-btn {
    background: #fff;
    color: #333;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}
/* Footer Section Styling */
.footer {
  background-color: #0f172a;
  color: #f8fafc;
  padding: 40px 8% 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-about, .footer-links, .footer-contact {
  flex: 1;
  min-width: 220px;
}

.footer-about h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #38bdf8;
}

.footer-about p {
  color: #94a3b8;
  line-height: 1.5;
}

.footer-links h4, .footer-contact h4 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #38bdf8;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #ffffff;
}

.footer-contact p {
  color: #94a3b8;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #334155;
  color: #64748b;
  font-size: 14px;
}
