:root {
    --primary: #2C3E50; /* New primary color */
    --light: #ECF0F1; /* Light background color */
    --dark: #34495E; /* Darker text color */
    --accent: #E67E22; /* Accent color for highlights */
}

/* Card Container */
.card-container {
    display: flex;
    justify-content: space-between; /* Space between cards */
    flex-wrap: wrap; /* Allow wrapping if the screen is too small */
    margin: 0 -10px; /* Adjust for padding */
}

.col-sm-4 {
    flex: 1 1 30%; /* Allow cards to grow equally, with a base of 30% */
    min-width: 250px; /* Set a minimum width for the cards */
    padding: 0 10px; /* Add padding for spacing */
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Card Styling */
.pack {
    background-color: #ffffff; /* White background for the card */
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 20px; /* Add margin around the card */
    color: var(--dark); /* Set default text color for card content */
}

.pack:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Inner Package Styling */
.package {
    padding: 30px;
}

/* Header Styling */
.head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

.head h5 {
    font-size: 1.8em;
    color: var(--dark);
    margin: 0;
    font-weight: 600;
}

.head h6 {
    font-size: 1.1em;
    color: var(--primary);
}

/* Price Section Styling */
.price {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 20px 0;
}

.price h2 {
    font-size: 2.5em;
    color: var(--accent);
    margin: 0;
}

.price strike {
    color: #999;
    font-size: 1.2em;
}

/* Content Area Styling */
.content {
    max-height: 150px;
    overflow-y: auto;
    padding: 10px;
}

.listing ul {
    list-style-type: none;
    padding: 0;
}

.listing li {
    padding: 10px 0;
    font-size: 1em;
    color: var(--dark);
    position: relative;
}

.listing li::before {
    content: '✔';
    color: var(--accent);
    position: absolute;
    left: -20px;
}

/* Add-on Tag Styling */
.addontag {
    text-align: center;
    margin: 20px 0;
}

.addontag a {
    text-decoration: none;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1em;
}

/* Order Button Styling */
.custom-btn {
    display: block;
    text-align: center;
    margin: 20px auto;
    background-color: var(--primary);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.custom-btn:hover {
    background-color: #1a252f;
    transform: scale(1.05);
}

.read-more a{
     margin-bottom: 20px;
}

.carousel-item img{
    height: 650px;
    width: 100%;
    background-size: cover;
}

/* Responsive Design */

/* ✅ Mobile Devices (max-width: 600px) */
@media (max-width: 600px) {
    .col-sm-4 {
        flex: 1 1 100%; /* Allow cards to take full width */
        min-width: 300px; /* Set a minimum width for mobile */
    }

    .pack {
        margin: 10px;
        padding: 20px;
    }

    .package {
        padding: 20px;
    }

    /* Adjust Modal */
    .modal-content {
        width: 90%;
        padding: 20px;
    }

    /* Adjust Form Fields */
    #user_email, 
    #user_name {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }

    #submit_btn {
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
}

/* ✅ Tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .col-sm-4 {
        flex: 1 1 100%; /* Allow cards to take full width */
        min-width: 300px; /* Set a minimum width for tablets */
    }

    .modal-content {
        width: 70%;
    }
}

/* ✅ Small Laptops & Large Tablets (max-width: 1280px) */
@media (max-width: 1280px) {
    .col-sm-4 {
        flex: 1 1 45%; /* Allow cards to take up to 45% of the width */
        min-width: 250px; /* Set a minimum width for larger tablets */
    }

    .pack {
        margin: 15px;
    }
}

/* ✅ Login Form Responsive Adjustments */
@media (max-width: 768px) {
    .login_form_heading {
        font-size: 30px;
    }

    .main-form {
        height: auto;
        padding: 20px;
    }

    #user_email, #user_name {
        width: 100%;
        margin: 10px 0;
    }

    #submit_btn {
        width: 100%;
    }
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Darker background for better contrast */
}

.modal-content {
    background-color: #ffffff; /* White background */
    margin: 10% auto; /* Center the modal */
    padding: 30px; /* Increased padding for better spacing */
    border: none; /* No border */
    border-radius: 15px; /* Rounded corners */
    width: 90%; /* Full width on mobile */
    max-width: 500px; /* Maximum width */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); /* Deeper shadow for depth */
    animation: fadeIn 0.3s; /* Fade-in animation */
}

/* Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000; /* Darker color on hover */
    text-decoration: none;
    cursor: pointer;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px; /* Increased margin for better spacing */
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333; /* Darker label color */
    font-weight: bold; /* Bold labels */
    font-size: 1.1em; /* Slightly larger font size */
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px; /* Increased padding for comfort */
    border: 1px solid #ccc;
    border-radius: 5px; /* Rounded corners */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    transition: border-color 0.3s, box-shadow 0.3s; /* Smooth transition for border color and shadow */
}

input[type="text"]:focus,
input[type="email"]:focus {
    border-color: var(--accent); /* Change border color on focus */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px rgba(230, 126, 34, 0.5); /* Subtle shadow on focus */
}

/* Submit Button Styles */
.submit-btn {
    background-color: #E67E22;; /* Use the primary color defined in your CSS variables */
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 1.1em; /* Slightly larger font size */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition */
}

.submit-btn:hover {
    background-color: #fd7905;; /* Darker shade on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Responsive Design */
@media (max-width: 600px) {
    .modal-content {
        width: 90%; /* Full width on mobile */
    }
}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4; /* Light background for contrast */
    margin: 0;
    padding: 0;
}

/* Login Form Heading */
.login_form_heading {
    text-align: center;
    font-size: 2em;
    color: var(--primary); /* Use your primary color */
    margin-bottom: 20px;
}

/* Main Form Container */
.main-form {
    max-width: 100%; /* Limit the width of the form */
    margin: auto; /* Center the form */
    background: var(--primary); /* White background for the form */
    padding: 30px; /* Padding for inner spacing */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Form Group Styles */
.form-group {
    display: flex; /* Use flexbox for alignment */
    justify-content: space-between; /* Space between inputs and button */
    align-items: center; /* Center items vertically */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

/* Input Styles */
input[type="text"],
input[type="email"] {
    width: calc(50% - 10px); /* Make inputs take half the width of the container minus margin */
    padding: 12px; /* Padding for comfort */
    width: 100%;
    margin-bottom: 10px; /* Space between inputs */
    border: 1px solid #ccc; /* Light border */
    border-radius: 5px; /* Rounded corners */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    transition: border-color 0.3s, box-shadow 0.3s; /* Smooth transition for focus effects */
}

/* Submit Button Styles */
#submit_btn {
    width: calc(50% - 10px); /* Same width as the inputs */
    background-color: #E67E22; /* Use your primary color */
    color: white;
    border: none; /* No border */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 1.1em; /* Slightly larger font size */
    padding: 12px; /* Padding for comfort */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition */
}

/* Input Focus Effects */
input[type="text"]:focus,
input[type="email"]:focus {
    border-color: var(--accent); /* Change border color on focus */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px rgba(230, 126, 34, 0.5); /* Subtle shadow on focus */
}

/* Submit Button Hover Effects */
#submit_btn:hover {
    background-color: #E67E22; /* Darker shade on hover */
    color: var(--dark);
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Responsive Design */
@media (max-width: 600px) {
    .main-form {
        width: 90%; /* Full width on mobile */
    }
    .form-group {
        flex-direction: column; /* Stack form elements on small screens */
    }
    input[type="text"],
    input[type="email"],
    #submit_btn {
        width: 100%; /* Ensure full width for all elements */
    }
}
/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4; /* Light background for contrast */
    margin: 0;
    padding: 0;
}

/* Login Form Heading */
.login_form_heading {
    text-align: center;
    font-size: 2em;
    color: var(--primary); /* Use your primary color */
    margin-bottom: 20px;
}

/* Main Form Container */
.main-form {
    max-width: 100%; /* Limit the width of the form */
    margin: auto; /* Center the form */
    background: var(--primary); /* White background for the form */
    padding: 30px; /* Padding for inner spacing */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Form Group Styles */
.form-group {
    display: flex; /* Use flexbox for alignment */
    justify-content: space-between; /* Space between inputs and button */
    align-items: center; /* Center items vertically */
    flex-wrap: nowrap; /* Prevent wrapping */
}

/* Input Styles */
#user_email,
#user_name {
    width: 40%; /* Set width for inputs */
    padding: 12px; /* Padding for comfort */
    border: 1px solid #ccc; /* Light border */
    margin-left: 10px;
    margin-top: 20px;
    border-radius: 5px; /* Rounded corners */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    transition: border-color 0.3s, box-shadow 0.3s; /* Smooth transition for focus effects */
}

/* Submit Button Styles */
#submit_btn {
    width: 40%; /* Set width for button */
    background-color: #E67E22; /* Use your primary color */
    margin-left: 10px;
    margin-top: 10px;
    color: white;
    border: none; /* No border */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 1.1em; /* Slightly larger font size */
    padding: 12px; /* Padding for comfort */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transition */
}

/* Input Focus Effects */
#user_email:focus,
#user_name:focus {
    border-color: var(--accent); /* Change border color on focus */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px rgba(230, 126, 34, 0.5); /* Subtle shadow on focus */
}

/* Submit Button Hover Effects */
#submit_btn:hover {
    background-color: #E67E22; /* Darker shade on hover */
    color: var(--dark);
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Responsive Design */
@media (max-width: 600px) {
    .main-form {
        width: 90%; /* Full width on mobile */
        padding: 15px; /* Reduced padding on small screens */
    }

    .form-group {
        flex-direction: column; /* Stack form elements vertically */
        align-items: stretch; /* Stretch elements to full width */
    }

    #user_email,
    #user_name,
    #submit_btn {
        width: 100%; /* Make inputs and button take full width on small screens */
        margin-left: 0; /* Remove left margin */
        margin-top: 10px; /* Add top margin for spacing */
    }

    #submit_btn {
        margin-top: 20px; /* More space above button */
    }
}
