/*
 * style.css
 *
 * This stylesheet provides a clean, modern, and responsive design for the website.
 * It focuses on consistent aesthetics using CSS variables for easy customization,
 * while meticulously avoiding any structural distortions to the existing HTML content.
 *
 * Contents:
 * 1. CSS Variables (Global Colors & Shadows)
 * 2. Base & Typography
 * 3. Layout (Container, Header, Footer)
 * 4. Hero Section
 * 5. Buttons
 * 6. Service Sections (Cards) - NOW USING CSS GRID
 * 7. Cart Page Specifics
 * 8. Form Styles (Customer Details & Contact)
 * 9. Modals (General, Custom Package, Global)
 * 10. Floating Consultation Button
 * 11. Animations
 * 12. Responsive Media Queries
 */

/* ============================
    1. CSS Variables
    ============================ */
/* CSS Variables for Colors - Easy to customize! */
:root {
    --primary-blue: #002D7A;         /* Deep blue from your logo for main elements */
    --secondary-blue: #001C57;       /* Darker shade of logo blue, for hover/accents */
    --accent-gold: #FFD700;          /* Bright gold for highlights (still complements blue well) */
    --accent-green: #28a745;         /* Standard success green */
    --accent-red: #dc3545;           /* Standard error/danger red */

    --text-dark: #333333;            /* Main body text */
    --text-light: #666666;           /* Secondary text */
    --bg-light: #f8f9fa;             /* Light background */
    --bg-white: #ffffff;             /* White background for cards/modals */
    --border-light: #e9ecef;         /* Light border color */

    --shadow-light: rgba(0, 0, 0, 0.08); /* Lighter shadow for general cards/elements */
    --shadow-medium: rgba(0, 0, 0, 0.15); /* Medium shadow for interactive elements/modals */
    --shadow-strong: rgba(0, 0, 0, 0.25); /* Stronger shadow for prominent hover states */

    --border-radius-sm: 6px;         /* Small border radius for inputs, buttons */
    --border-radius-md: 10px;        /* Medium border radius for cards, forms */
    --border-radius-lg: 12px;        /* Larger border radius for modals */

    --transition-speed: 0.3s;        /* Standard transition duration */
    --transition-ease: ease-in-out; /* Standard transition timing function */
}

/* ============================
    2. Base & Typography
    ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased; /* Smoother font rendering */
    -moz-osx-font-smoothing: grayscale; /* Smoother font rendering */
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');

/* Links */
a {
    text-decoration: none;
    color: inherit; /* Inherit color by default, specific overrides below */
}

/* ============================
    3. Layout
    ============================ */

/* Main content container for consistent width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* NEW: Styling for utility classes to help with layout */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px; /* Adjust this value as needed for desired spacing */
}

/* Header Section */
header {
    background: var(--primary-blue);
    padding: 20px 0; /* Adjusted for more vertical space */
    box-shadow: 0 4px 15px var(--shadow-medium); /* Refined shadow for better depth */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 55px; /* Slightly increased logo size */
    transition: transform var(--transition-speed) var(--transition-ease);
}

.logo img:hover {
    transform: scale(1.05);
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav .nav-links li a {
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1.05em; /* Slightly increased font size */
    padding: 8px 0; /* Increased vertical padding for larger click area */
    position: relative;
    transition: color var(--transition-speed) var(--transition-ease);
}

nav .nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
    transition: width var(--transition-speed) var(--transition-ease);
}

nav .nav-links li a:hover::after,
nav .nav-links li a.active::after {
    width: 100%;
}

nav .nav-links li a:hover,
nav .nav-links li a.active {
    color: var(--accent-gold);
}

.nav-cart-icon {
    height: 24px; /* Increased cart icon size */
    vertical-align: middle;
    margin-right: 5px;
}

/* Footer Section */
footer {
    background: var(--primary-blue);
    color: var(--bg-white);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
    box-shadow: 0 -2px 8px var(--shadow-medium); /* Subtle top shadow */
}
/* ============================
    4. Hero Section
    ============================ */
.hero {
    background: linear-gradient(to right, var(--primary-blue), #2A62BB); /* Gradient for depth */
    color: var(--bg-white);
    padding: 80px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 30px var(--shadow-medium);
}
/* ============================
    4. Hero Section (adjust existing or add new for about page)
    ============================ */
.hero-about {
    background: linear-gradient(to right, var(--primary-blue), #2A62BB);
    color: var(--bg-white);
    padding: 80px 0;
    text-align: center;
}

.hero-about .hero-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-about .hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-about .hero-text h1 {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--bg-white);
}

.hero-about .hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-about .hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-about .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 30px var(--shadow-medium);
}


/* ============================
    NEW: 13. About Page Specifics
    ============================ */
.about-section {
    padding: 60px 0;
    background-color: var(--bg-white);
}

.about-section.bg-light { /* Changed from bg-light-gray for consistency with variable name */
    background-color: var(--bg-light);
}

.about-content-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.about-content-block.reverse-layout {
    flex-direction: row-reverse;
}

.about-content-block .about-text {
    flex: 1;
    min-width: 300px;
}

.about-content-block .about-text h2 {
    font-size: 2em;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-content-block .about-text p {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-content-block .about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-content-block .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 20px var(--shadow-light);
}

/* Enhancing list for values section (if you revert to list) */
/* This section is now replaced by .features-grid, but keeping for reference if you change your mind */
.about-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.about-section ul li {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.about-section ul li strong {
    color: var(--primary-blue);
}

.about-section ul li::before {
    content: '★';
    color: var(--accent-gold);
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.6;
}

/* ============================
    12. Responsive Media Queries (Add/Adjust)
    ============================ */
@media (max-width: 992px) {
    /* About Page Hero */
    .hero-about .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-about .hero-text h1 {
        font-size: 2.5em;
    }
    .hero-about .hero-image {
        margin-top: 30px;
    }

    /* About Section content blocks */
    .about-content-block,
    .about-content-block.reverse-layout {
        flex-direction: column;
        text-align: center;
    }
    .about-content-block .about-text h2 {
        font-size: 1.8em;
    }
    .about-content-block .about-text {
        order: 2;
    }
    .about-content-block .about-image {
        order: 1;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-about .hero-text h1 {
        font-size: 2em;
    }
    .about-section {
        padding: 40px 0;
    }
    .about-content-block {
        gap: 20px;
    }
    .about-content-block .about-text h2 {
        font-size: 1.6em;
    }
    .about-content-block .about-text p {
        font-size: 1em;
    }
}

@media (max-width: 600px) {
    .hero-about .hero-text h1 {
        font-size: 1.8em;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}
/* ============================
    5. Buttons
    ============================ */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-blue); /* Main button color */
    color: var(--bg-white);
    padding: 12px 25px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: background-color var(--transition-speed) var(--transition-ease),
                transform 0.2s var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px var(--shadow-light);
}

.btn-primary:hover {
    background-color: var(--secondary-blue); /* Darker on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-medium);
}

.add-to-cart-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: background-color var(--transition-speed) var(--transition-ease),
                transform 0.2s var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
    background-color: var(--accent-green); /* Green for add to cart */
    color: var(--bg-white);
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: auto; /* Pushes button to bottom of flex item */
    box-shadow: 0 2px 5px var(--shadow-light);
}

.add-to-cart-btn:hover {
    background-color: #218838; /* Slightly darker green */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-medium);
}

/* ============================
    6. Service Sections (Cards) - NOW USING CSS GRID
    ============================ */
/* Services Overview Section */
.services-overview {
    padding-top: 40px;    /* Keep top padding for this section */
    padding-bottom: 20px; /* Further reduced bottom padding to minimize gap */
    background-color: var(--bg-light);
    text-align: center;
}

/* Why Choose Us Section */
.why-choose-us {
    padding-top: 20px;    /* Further reduced top padding to minimize gap */
    padding-bottom: 40px; /* Keep bottom padding for this section */
    text-align: center;
}

/* NEW: Ensure headings at the start of these sections don't add extra top margin */
.services-overview h2,
.why-choose-us h2 {
    margin-top: 0;
}

/* Also, if the .features-grid has its own top padding, let's adjust it too for consistency */
.features-grid {
    /* Keep existing display, grid-template-columns, gap, max-width, margin, text-align */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 30px 20px 60px; /* Adjusted top padding within the grid */
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--bg-white);
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 -4px 10px var(--shadow-medium);
}

.services-overview h2, .services-preview h1, .section-title {
    font-size: 2.5em;
    color: var(--primary-blue);
    margin-bottom: 40px;
}

/* CSS Grid for service cards layout */
.services-overview .services-cards,
.services-preview {
    display: grid; /* Changed from flex */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive columns */
    gap: 30px; /* Space between grid items */
    justify-items: center; /* Center items within their grid cells */
    align-items: stretch; /* Make items stretch to equal height */
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 6px 15px var(--shadow-light);
    padding: 30px;
    text-align: center;
    /* Removed flex properties as grid handles layout */
    /* Removed max-width as grid handles column sizing */
    display: flex; /* Keep internal flex for content alignment (e.g., button at bottom) */
    flex-direction: column;
    align-items: center;
    transition: transform var(--transition-speed) var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
    min-height: 480px; /* Ensures consistent card height */
    border: 1px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-8px); /* Lifts card on hover */
    box-shadow: 0 12px 25px var(--shadow-medium); /* Stronger shadow on hover */
}

.service-card img {
    max-width: 90px; /* Slightly larger icons for prominence */
    height: auto;
    margin-bottom: 20px;
}

.service-card h2 {
    font-size: 1.5em;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 1em;
    margin-bottom: 25px;
    flex-grow: 1; /* Allows paragraph to take available space, pushing button down */
    color: var(--text-light);
}

.service-card .pricing-details {
    text-align: left;
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-light);
    border-radius: var(--border-radius-sm);
}

.service-card .pricing-details h3 {
    color: var(--accent-green);
    margin-bottom: 5px;
}

.service-card .pricing-details h4 {
    font-size: 0.9em;
    color: var(--text-light);
    margin-bottom: 10px;
}

.service-card .pricing-details ul {
    list-style: none;
    padding-left: 0;
}

.service-card .pricing-details ul li {
    font-size: 0.9em;
    color: var(--text-dark);
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

.service-card .pricing-details ul li::before {
    content: '✔';
    color: var(--accent-green);
    position: absolute;
    left: 0;
    top: 0;
}

/* Customize Package Card Specific Styles (inherits most from .service-card) */
.service-card .customize-package-btn {
    background-color: var(--primary-blue); /* Consistent with btn-primary */
    color: var(--bg-white);
    box-shadow: 0 2px 5px var(--shadow-light);
}

.service-card .customize-package-btn:hover {
    background-color: var(--secondary-blue);
    box-shadow: 0 4px 8px var(--shadow-medium);
}


/* ============================
    7. Cart Page Specifics
    ============================ */
.main-content {
    padding-top: 40px;
    padding-bottom: 60px;
}

#cartItems {
    margin-top: 30px;
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius-md);
    padding: 20px;
    background-color: var(--bg-white);
    box-shadow: 0 4px 10px var(--shadow-light);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.item-info {
    flex-grow: 1;
}

.item-name {
    font-weight: 600;
    color: var(--text-dark);
}

.item-price {
    font-weight: 600;
    color: var(--accent-green);
}

.remove-item-btn {
    background-color: var(--accent-red);
    color: var(--bg-white);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.8em;
    transition: background-color var(--transition-speed) var(--transition-ease);
}

.remove-item-btn:hover {
    background-color: #c82333; /* Darker red on hover */
}

.cart-summary-section {
    text-align: right;
    margin-top: 20px;
    padding: 15px 20px;
    background-color: #f0f8ff; /* Light blue tint for summary */
    border-radius: var(--border-radius-md);
    border: 1px solid #e0f0ff;
    box-shadow: 0 4px 10px var(--shadow-light);
}

.cart-total-display {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-blue);
}

.empty-message {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 20px;
}

/* ============================
    8. Form Styles (Customer Details & Contact)
    ============================ */
/* ============================
    Contact Page Specifics
    ============================ */

/* Ensure contact grid behaves as expected */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns for form and info */
    gap: 40px;
    padding: 40px 0;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }
}

.contact-form-container,
.contact-info-container {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-light);
}

.contact-form-container h2,
.contact-info-container h2 {
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-size: 1.8em;
}

/* Styling for form elements (re-add if not present or adjust) */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 1em;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}

/* Styling for info items (CRUCIAL for your icon size issue) */
.info-item {
    display: flex; /* Makes the icon and text align horizontally */
    align-items: center; /* Vertically centers icon and text */
    margin-bottom: 15px;
}

.info-item .info-icon {
    width: 30px; /* Set a specific small size for the icon */
    height: 30px; /* Maintain aspect ratio */
    margin-right: 15px; /* Spacing between icon and text */
    flex-shrink: 0; /* Prevent icon from shrinking on small screens */
}

.info-item p {
    margin: 0; /* Remove default paragraph margin */
    font-size: 1.1em;
    color: var(--text-dark);
}

.info-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Social Media Links */
.social-media-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.social-media-links h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.social-media-links a {
    display: inline-block;
    margin-right: 15px;
}

.social-media-links img {
    width: 35px; /* Size for social media icons */
    height: 35px;
    transition: transform 0.2s ease-in-out;
}

.social-media-links img:hover {
    transform: translateY(-3px);
}

/* Global Modal - WhatsApp button image sizing */
/* Make sure the image inside the large-whatsapp-btn is appropriately sized */
.large-whatsapp-btn img {
    width: 24px; /* Adjust as needed for the button */
    height: 24px; /* Adjust as needed for the button */
    margin-right: 8px; /* Space between icon and text in the button */
    vertical-align: middle; /* Align icon with text */
}

/* Ensure other modal icons are also sized */
.global-modal .modal-icon {
    width: 50px; /* Example size, adjust as needed */
    height: 50px;
    margin-bottom: 15px;
}


/* ============================
    9. Modals (General, Custom Package Modal, Global)
    ============================ */
.modal, .global-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001; /* Above header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if content is too large */
    background-color: rgba(0,0,0,0.7); /* Darker, slightly more opaque overlay */
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s var(--transition-ease);
}

.modal-content, .global-modal-content {
    background-color: var(--bg-white);
    margin: auto;
    padding: 30px; /* Base padding for modal content */
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px var(--shadow-medium);
    max-width: 600px;
    width: 90%; /* Responsive width */
    position: relative;
    animation: fadeInScale 0.4s var(--transition-ease); /* Slightly slower scale animation */
}

.close-button, .global-close-button {
    color: var(--text-light);
    float: right; /* Positions to the right top */
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    transition: color var(--transition-speed) var(--transition-ease);
}

.close-button:hover,
.close-button:focus,
.global-close-button:hover,
.global-close-button:focus {
    color: var(--text-dark);
    text-decoration: none;
}

/* Modal Headers/Icons */
.modal-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.modal-icon {
    width: 60px; /* Consistent icon size */
    height: auto;
    margin-bottom: 10px;
}

.modal-header h2 {
    color: var(--primary-blue);
    font-size: 2em;
    margin-bottom: 10px;
}

.modal-header .tagline {
    font-size: 1em;
    color: var(--text-light);
}

/* NEW: Styling for the form sections within the modal for custom package */
.global-modal-content .form-section {
    background-color: #f9f9f9; /* Light background for sections */
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px; /* Space between sections */
}

.global-modal-content .form-section h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4em;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.global-modal-content .form-section p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.global-modal-content .form-group {
    margin-bottom: 15px; /* Space between form groups within a section */
}

.global-modal-content .form-group label {
    display: block; /* Make labels take full width */
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.global-modal-content input[type="text"],
.global-modal-content input[type="email"],
.global-modal-content input[type="tel"],
.global-modal-content textarea {
    width: calc(100% - 2px); /* Full width minus border, use 100% for inner elements */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in width */
}

.global-modal-content textarea {
    resize: vertical; /* Allow vertical resizing */
}


/* Checkbox group within modals */
.modal-content .checkbox-group, .global-modal-content .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px; /* Spacing between checkboxes, added column gap */
    margin-top: 10px;
}

.modal-content .checkbox-group div, .global-modal-content .checkbox-group div {
    display: flex; /* Align checkbox and label */
    align-items: center;
}

.modal-content .checkbox-group label, .global-modal-content .checkbox-group label {
    margin-bottom: 0; /* Override default label margin */
    font-weight: normal;
    display: flex; /* Align checkbox and text */
    align-items: center;
    gap: 5px; /* Space between checkbox and label text */
    cursor: pointer;
}

.modal-content .checkbox-group input[type="checkbox"], .global-modal-content .checkbox-group input[type="checkbox"] {
    width: auto; /* Prevent full width */
    margin-right: 0; /* Adjust spacing */
    transform: scale(1.1); /* Slightly larger checkboxes */
}

.global-modal-content .required-asterisk {
    color: red;
    font-size: 0.9em;
    vertical-align: top;
    margin-left: 2px;
}

.global-modal-content .error-message {
    color: var(--accent-red); /* Red for error messages */
    font-size: 0.85em;
    margin-top: 5px;
    display: block; /* Ensures it's on its own line */
}

.modal-content button[type="submit"], .global-modal-content button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-green);
    color: var(--bg-white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed) var(--transition-ease),
                transform 0.2s var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
    box-shadow: 0 4px 8px var(--shadow-light);
}

.modal-content button[type="submit"]:hover, .global-modal-content button[type="submit"]:hover {
    background-color: #218838; /* Darker green on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-medium);
}

.modal-content button[type="submit"]:disabled, .global-modal-content button[type="submit"]:disabled {
    background-color: #6c757d; /* Grey when disabled */
    cursor: not-allowed;
}

/* Success Message inside modal */
.consultation-success-message {
    text-align: center;
    padding: 20px;
    background-color: #d4edda; /* Light green background for success */
    border: 1px solid var(--accent-green);
    border-radius: var(--border-radius-md);
    display: none; /* Hidden by default, shown by JS */
}

.consultation-success-message h3 {
    color: #155724; /* Darker green text */
    margin-bottom: 15px;
}

.consultation-success-message p {
    color: #155724; /* Darker green text */
    margin-bottom: 10px;
}

.popup-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background-color: #25D366; /* Specific WhatsApp green */
    color: var(--bg-white);
    padding: 12px 20px;
    border-radius: var(--border-radius-md);
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color var(--transition-speed) var(--transition-ease),
                transform 0.2s var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
    margin-top: 15px;
    box-shadow: 0 4px 8px var(--shadow-light);
}

.popup-whatsapp-btn:hover {
    background-color: #1DA851; /* Darker WhatsApp green */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px var(--shadow-medium);
}

.popup-whatsapp-btn img {
    width: 24px;
    height: auto;
    margin-right: 8px;
}

.small-text {
    font-size: 0.85em;
    color: var(--text-light);
}

/* ============================
    10. Floating Consultation Button
    ============================ */
#floatingConsultationBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border: none;
    border-radius: 50%; /* Perfect circle */
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em; /* For icon font if used */
    box-shadow: 0 6px 12px var(--shadow-medium);
    cursor: pointer;
    z-index: 999; /* Below modals, above content */
    transition: background-color var(--transition-speed) var(--transition-ease),
                transform 0.2s var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
}

#floatingConsultationBtn:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--shadow-strong);
}

#floatingConsultationBtn img {
    max-width: 30px; /* Icon size */
    height: auto;
}

/* ============================
    11. Animations
    ============================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================
    12. Responsive Media Queries
    ============================ */
@media (max-width: 992px) {
    /* Header */
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        margin-top: 15px;
        justify-content: center;
    }
    .logo {
        margin-bottom: 10px;
    }

    /* Hero Section */
    .hero {
        padding: 60px 0;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5em;
    }
    .hero-text p {
        font-size: 1.1em;
    }
    .hero-image {
        margin-top: 30px;
    }

    /* Service Cards (Grid) */
    .services-overview .services-cards,
    .services-preview {
        /* On medium screens, force 2 columns */
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Adjusted minmax for 2 columns more reliably */
    }
}
/* ============================
    NEW: Feature Item Styling (for sections like "Unmatched Expertise")
    ============================ */

/* Container for the feature items - similar to service cards grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid for 3-4 columns */
    gap: 30px; /* Space between feature items */
    padding: 60px 20px; /* Adjust padding for the section */
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; /* Center overall content */
}

/* Individual Feature Item styling */
.feature-item {
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 10px var(--shadow-light);
    padding: 30px;
    display: flex; /* Use flex for internal content alignment */
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    text-align: center; /* Ensure text is centered */
    transition: transform var(--transition-speed) var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
    border: 1px solid var(--border-light);
    min-height: 280px; /* Ensure a consistent minimum height for visual balance */
}

.feature-item:hover {
    transform: translateY(-5px); /* Lift on hover */
    box-shadow: 0 8px 20px var(--shadow-medium); /* Stronger shadow on hover */
}

/* Styling for the images inside feature items */
.feature-item img {
    max-width: 90px; /* Standard icon size */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 20px; /* Space below the icon */
    /* If you want to refine colors, you might need to use SVG or apply filters,
        but this will ensure proper sizing. */
}

.feature-item h3 {
    font-size: 1.4em;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1em;
    color: var(--text-light);
    flex-grow: 1; /* Allow paragraph to take up available space */
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    /* Hero Section */
    .hero {
        padding: 60px 0;
    }
    .hero-text h1 {
        font-size: 2em;
    }
    .hero-text p {
        font-size: 1em;
    }
    /* Section Titles */
    .services-overview h2, .services-preview h1, .section-title {
        font-size: 2em;
    }

    /* Floating Button */
    #floatingConsultationBtn {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
        bottom: 15px;
        right: 15px;
    }

    /* Modals */
    .modal-content, .global-modal-content {
        padding: 20px;
    }
    .modal-header h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 600px) {
    /* Header */
    nav .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    /* Service Cards (Grid) */
    .services-overview .services-cards,
    .services-preview {
        /* On small screens, force 1 column */
        grid-template-columns: 1fr;
    }

    .service-card h2 {
        font-size: 1.3em;
    }
    .service-card p {
        font-size: 0.9em;
    }

    /* Cart and Contact Forms */
    .customer-details-form, .contact-form {
        padding: 20px;
    }
}
