/* Global Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --danger-color: #e74c3c;
    --white: #ffffff;
    --black: #000000;
    --gray: #95a5a6;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn.primary:hover {
    background-color: #2980b9;
}

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

header .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 50px;
}

nav {
    flex: 1;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    text-decoration: none;
}

.header-cart {
    position: relative;
    margin-left: auto;
}

.mobile-menu-btn {
    display: none;
}
/* ===== HERO SECTION ===== */
.hero {
  background: url('../images/image1.jpeg') no-repeat center center;
  background-size: cover;           /* default for large screens */
  width: 100%;
  position: relative;
  margin-top: 70px;                  /* adjust if you have a fixed header */
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

/* Keep hero height immersive on desktop */
@media (min-width: 1025px) {
  .hero {
    height: 80vh;                    /* big hero look */
    min-height: 400px;
  }
}

/* Tablets */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero {
    height: 60vh;
    min-height: 300px;
  }
}

/* Phones — show full image without cropping */
@media (max-width: 768px) {
  .hero {
    background-size: contain;        /* keep full image */
    background-repeat: no-repeat;
    background-position: center top;
    height: 0;
    padding-top: 35.19%;              /* exact image ratio for 1600×563 */
  }

  /* If you add content back, make it overlay */
  .hero .hero-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
  }
}

/* Optional overlay effect */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0); /* adjust opacity if you need overlay tint */
  z-index: 0;
}

/* Text styles if used */
.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 15px;
  font-weight: 800;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 20px;
}

/* Remove spacing issues between sections */
.hero {
  margin-bottom: 0;
}
.hero + section {
  margin-top: 0;
  
}

* { outline: none; }
.hero { outline: 3px solid red !important; }
.hero * { outline: 1px dashed blue !important; }

/* Reset styles for this section */
.custom-hero {
  all: unset; /* removes all inherited styles */
  display: block; /* reapply block */
  
  background: url('../images/image1.jpeg') no-repeat center center;
  background-size: contain; /* maintains aspect ratio */
  
  width: 100%;
  height: 800px;
  
  margin: 0;
  padding: 0;
  
  position: relative;
}

/* Maintain aspect ratio for mobile */
@media (max-width: 768px) {
  .custom-hero {
    aspect-ratio: 16 / 9; /* replace with your image's actual ratio */
	  height: 150px;
	  margin-top:100px;
  }
}
@media (max-width: 1025px) {
  .custom-hero {
    aspect-ratio: 16 / 9; /* replace with your image's actual ratio */
	  height: 150px;
	  margin-top:90px;
  }
}
/* Optional: overlay or content container */
.custom-hero-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}



/* Services */
.services {
    padding: 80px 0;
    background-color: var(--white);
}

@media (max-width: 1025px) {
.services {
    padding: 10px 0;
    background-color: var(--white);
}
}

@media (max-width: 768px) {
.services {
    padding: 0px 0;
    background-color: var(--white);
}
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 18px;
}


/* howitworks */
.howitworks {
    padding: 80px 0;
    background-color: var(--white);
}

@media (max-width: 1025px) {
.howitworks {
    padding: 10px 0;
    background-color: var(--white);
}
.howitworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
	
}

@media (max-width: 768px) {
.howitworks {
    padding: 10px 0;
    background-color: var(--white);
}

.howitworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}
}

.howitworks h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.howitworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.howitworks-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.howitworks-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 18px;
}
/* Contact */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact form {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

/* Cart Dropdown basics */
.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.4rem;
}

.cart-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 360px;
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 16px;
    display: none;
    z-index: 1002;
}

.cart-dropdown.show {
    display: block;
}

.cart-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 360px;
    max-width: 90vw; /* ✅ keeps it inside the viewport */
    background: white;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 16px;
    display: none;
    z-index: 1002;
    box-sizing: border-box;
}

/* Show when active */
.cart-dropdown.show {
    display: block;
}

/* Small screens: make sure it doesn't overflow and center it if needed */
@media (max-width: 400px) {
    .cart-dropdown {
        right: 50%;
        transform: translateX(50%); /* ✅ keeps dropdown visible */
    }
}


/* ===== PRICING SECTION (pixel-perfect PNG version) ===== */
.pricing {
    padding: 80px 0;
    background-color: var(--light-color);
}

.pricing h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.2rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Tabs */
.pricing-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
.pricing-tabs {
    display: box;
    justify-content: center;
    /*flex-wrap: wrap;*/
    gap: 5px;
    margin-bottom: 10px;
}
}
@media (max-width: 1025px) {
.pricing-tabs {
    display: box;
    justify-content: center;
    /*flex-wrap: wrap;*/
    gap: 5px;
    margin-bottom: 10px;
}
}
.tab-btn {
    padding: 12px 28px;
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
.tab-btn {
    padding: 5px 8px;
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 400;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}
}

.tab-btn:hover {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.tab-btn.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

/* Tab content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Pricing Table */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 18px;
}

.package-card {
    background-color: white;
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.package-card h4 {
    text-align: center;
    margin-bottom: 12px;
    color: #1b9cc4;
    font-weight: 800;
}

/* Tables used for both monthly packages and price list */
.package-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.package-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    border-bottom: 1px solid #eee;
}


.package-row.header {
    background-color: #1b9cc4;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.package-row:nth-child(even):not(.header) {
    background-color: #f8f8f8;
}

.package-cell {
    padding: 6px 6px;
    text-align: center;
}

/* Quantity input */
.package-cell input.qty {
    width: 55px;
    padding: 6px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}



/* Add to cart button */
.add-to-cart {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 9px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.add-to-cart:hover {
    background-color: #27ae60;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

/* Checkout Modal */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    overflow-y: auto;
}

.checkout-content {
    background: white;
    margin: 40px auto;
    padding: 18px;
    width: 92%;
    max-width: 820px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.checkout-header h3 {
    margin: 0;
}

.close-checkout {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Order summary items */
.order-summary {
    background: #fafafa;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 12px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1002;
}

.notification.show {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero {
        height: 60vh;
    }
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .package-row {
        grid-template-columns: repeat(1, 1fr);
    }
    .package-row.header {
        display: grid;
        grid-template-columns: repeat(1,1fr);
        text-align: left;
    }
}
/* Mobile & Tablet Card Layout */

@media (max-width: 768px) {
  .package-row {
    display: block;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
    background: #fff;
    padding: 10px;
  }
  .package-row.header {
    display: none; /* Hide the table header on mobile/tablet */
  }
  .package-cell {
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
  }
  .package-cell:last-child {
    border-bottom: none;
    
  }
  .package-cell::before {
    content: attr(data-label) ": ";
    font-weight: bold;
    display: inline-block;
    min-width: 90px;
    color: #000000;
  }
  .package-cell input.qty {
    width: 70px;
  }
  .package-cell button.add-to-cart {
    width: 100%;
    margin-top: 8px;
  }
}
/* ===== Adaptive Mobile/Table Layout for Pricing Cards ===== */

/* Small phones - portrait: 1 card per row */
@media (max-width: 480px) {
  .package-table {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .package-row {
    display: block;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  .package-row.header {
    display: none;
  }
  .package-cell {
    display: block;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
  }
  .package-cell:last-child {
    border-bottom: none;

  }

  .package-cell::before {
    content: attr(data-label) ": ";
    font-weight: bold;
    display: inline-block;
    min-width: 70px;
    color: #333;
  }
  .package-cell input.qty {
    width: 70px;
  }
  .package-cell button.add-to-cart {
    width: 100%;
    margin-top: 5px;
  }
}

/* Tablets & large phones - landscape: 2 cards per row */
@media (min-width: 481px) and (max-width: 768px) {
  .package-table {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .package-row {
    display: block;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    padding: 10px;
    width: calc(50% - 10px); /* 2 cards per row */
    box-sizing: border-box;
  }
  .package-row.header {
    display: none;
  }
  .package-cell {
    display: block;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
  }
  .package-cell:last-child {
    border-bottom: none;
    
  }
  .package-cell::before {
    content: attr(data-label) ": ";
    font-weight: bold;
    display: inline-block;
    min-width: 70px;
    color: #333;
  }
  .package-cell input.qty {
    width: 70px;
  }
  .package-cell button.add-to-cart {
    width: 100%;
    margin-top: 5px;
  }
}

@media (max-width: 1025px) {
    /* ... other styles ... */

    .package-row .package-cell[data-label="Action"]::before {
        content: none;
    }
}

/* Cart Item Container */
.cart-item-info {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

/* Item title */
.cart-item-title {
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

/* Item price */
.cart-item-price {
    color: var(--primary-color, #28a745);
    font-size: 0.85rem;
}

/* Quantity & Actions */
.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Buttons inside cart */
.cart-item-quantity button {
    background: var(--light-color, #f5f5f5);
    border: 1px solid #ccc;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0.8rem;
}

.cart-item-quantity button:hover {
    background: var(--primary-color, #28a745);
    color: white;
}

/* Trash icon button */
.remove-item {
    background: transparent;
    border: none;
    color: var(--danger-color, #e63946);
    cursor: pointer;
    font-size: 1rem;
}

.remove-item:hover {
    color: darkred;
}

/* Cart dropdown item wrapper */
.cart-dropdown .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.cart-dropdown .cart-item:last-child {
    border-bottom: none;
}

/* Mobile-friendly */
@media (max-width: 400px) {
    .cart-dropdown .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .cart-item-quantity {
        justify-content: flex-start;
    }
}

.cart-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 360px;
    background: rgb(204,204,255); 
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 16px;
    display: none;
    z-index: 1002;

    /* Scroll handling */
    max-height: 400px; /* adjust as you like */
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #ccc transparent; /* Firefox */
}

/* Custom scrollbar for WebKit browsers (Chrome, Edge, Safari) */
.cart-dropdown::-webkit-scrollbar {
    width: 6px;
}

.cart-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.cart-dropdown::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

/* Replace existing icon styles with these */
.service-card img.service-icon {
    width: 94px; /* Adjust based on your image size */
    height: 94px;
    object-fit: contain;
    margin-bottom: 15px; /* Space between icon and text */
}

/* Remove any existing Font Awesome styles if needed */
.service-card .fas {
    display: none;
}

/* Replace existing icon styles with these */
.howitworks-card img.howitworks-icon {
    width: 150px; /* Adjust based on your image size */
    height: 150;
    object-fit: contain;
    margin-bottom: 15px; /* Space between icon and text */
	
}

/* Remove any existing Font Awesome styles if needed */
.howitworks-card .fas {
    display: none;
}