:root {
    --dark-blue: #2c5faa;
    --medium-blue: #142252;
    --light-blue: #3c6eaf;
    --white: #edf2f7;
    --off-white: #f8f9fa;
    --danger: #ff6b6b;
    --success: #4CAF50;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-blue);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-img {
    height: 50px;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 40px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: var(--transition);
    padding: 5px 0;
}

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

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--light-blue);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

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

/* Cart Button Styles */
.checkout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    background-color: var(--light-blue);
    color: var(--white);
    font-size: 14px;
    margin-left: 15px;
    position: relative;
}

.checkout-btn i {
    font-size: 18px;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--white);
    color: var(--light-blue);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--dark-blue);
    font-size: 18px;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-blue);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.page-hero {
    background: linear-gradient(rgba(10, 36, 99, 0.7), rgba(10, 36, 99, 0.7)), url('img/allproduct.png') no-repeat center/cover;
    height: 100vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    margin-bottom: 40px;
}

.hero-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* Checkout Layout */
.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

/* Order Summary */
.order-summary {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
    align-self: start;
}

.order-summary h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-summary h2 i {
    color: var(--light-blue);
}

.cart-items {
    margin-bottom: 25px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.item-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: var(--off-white);
    padding: 5px;
    border-radius: 8px;
}

.item-details h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.item-details p {
    font-size: 14px;
    color: #666;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    background: var(--light-blue);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--dark-blue);
}

.quantity-input {
    width: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

.remove-item {
    position: absolute;
    top: 15px;
    right: 0;
    color: var(--danger);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.order-totals {
    margin-top: 25px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.total-row:last-child {
    font-weight: 700;
    font-size: 18px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #eee;
}

.free-delivery {
    color: var(--light-blue);
    font-weight: 600;
}

/* Checkout Form */
.checkout-form {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.checkout-form h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-form h2 i {
    color: var(--light-blue);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-blue);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Submit Button */
.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--light-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 36, 99, 0.2);
}

.submit-btn i {
    font-size: 20px;
}

/* Empty Cart State */
.empty-cart {
    text-align: center;
    padding: 40px 0;
}

.empty-cart i {
    font-size: 60px;
    color: var(--light-blue);
    margin-bottom: 20px;
}

.empty-cart h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.empty-cart p {
    margin-bottom: 25px;
    color: #666;
}

.shop-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--light-blue);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.shop-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 36, 99, 0.2);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 60px 0;
}

.success-message i {
    font-size: 80px;
    color: var(--success);
    margin-bottom: 20px;
}

.success-message h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.success-message p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
/* Add to your index.css file */

/* Footer Redesign */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    padding: 60px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--white);
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    padding-left: 5px;
    opacity: 0.8;
}

/* Location Section */
.footer-location {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.location-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.location-info i {
    font-size: 18px;
    margin-top: 3px;
}

/* Map Container */
.map-container {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Floating Social Icons */
.floating-social-icons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 1000;
}

.floating-social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    font-size: 25px;
    box-shadow: 0 4px 10px rgba(139, 138, 138, 0.253);
    transition: var(--transition);
    transform: translateY(20px);
    opacity: 0;
    animation: floatIn 0.5s forwards;
    text-decoration: none !important;
}

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

.floating-social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.075);
}

.floating-social-icon.instagram:hover { background: white; color:  #E1306C }
.floating-social-icon.whatsapp:hover { background: white; color: #25D366; }
.floating-social-icon.facebook:hover { background: #3b5998; color: white; }
.floating-social-icon.youtube:hover { background: white; color: #FF0000; }

@keyframes floatIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .floating-social-icons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-social-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .map-container {
        height: 160px;
    }
}
/* Mobile Responsiveness */
@media (max-width: 992px) {
    .nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .checkout-btn {
        margin-left: 0;
        margin-top: 10px;
    }

    .nav.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .checkout-content {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .page-hero {
        min-height: 250px;
        height: 30vh;
    }
}


/* ===== MOBILE CHECKOUT ===== */
@media (max-width: 992px) {
  .checkout-content {
    grid-template-columns: 1fr !important;
  }
  
  .order-summary {
    position: static;
    margin-bottom: 30px;
  }
  
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .item-price, .remove-item {
    margin-top: 10px;
    align-self: flex-end;
  }
  
  .quantity-input {
    width: 35px;
  }
}