/* Google Fonts for a modern look */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* Define CSS Variables for Light Mode */
:root {
    --bg-color: #f8fbfd; /* Very light blue/grey */
    --text-color: #334155; /* Darker text for readability (Slate 700) */
    --header-bg: #ffffff;
    --header-shadow: rgba(0,0,0,0.04); /* Softer shadow */
    --nav-bg: #334155; /* Darker blue/grey for nav */
    --nav-link-color: #e2e8f0; /* Light text for nav links */
    --nav-link-bg: rgba(255,255,255,0.08); /* Subtle background for nav links */
    --nav-link-hover-bg: #475569; /* Slightly lighter dark blue on hover */
    --section-bg: #ffffff;
    --section-shadow: rgba(0,0,0,0.05); /* Refined section shadow */
    --card-bg: #f0f4f8; /* Light grey-blue for cards */
    --card-shadow: rgba(0,0,0,0.06); /* Refined card shadow */
    --border-accent-color: #3b82f6; /* Primary blue (Blue 500) */
    --cta-bg: #22c55e; /* Vibrant green (Emerald 500) */
    --cta-hover-bg: #16a34a; /* Darker green on hover */
    --link-color: #3b82f6;
    --link-hover-color: #2563eb; /* Darker blue on hover */
    --footer-bg: #1e293b; /* Darker blue-grey for footer */
    --footer-text: #e2e8f0;
    --footer-link: #93c5fd; /* Lighter blue for footer links */
    --footer-link-hover: #bfdbfe;
    --testimonial-bg: #e0f2fe; /* Very light blue for testimonials */
    --testimonial-card-bg: #ffffff;
    --list-item-bg: #f8fafc; /* Even lighter background for list items */
    --list-item-border: #22c55e; /* Green for list item accents */
    --price-color: #22c55e;

    /* UI specific variables for elegance */
    --transition-speed: 0.5s; /* Slower, smoother transitions */
    --border-radius-main: 18px; /* More pronounced rounded corners */
    --heading-underline-color: #3b82f6;
    --contact-link-bg: #e0f8f0; /* Light green background for contact links */
    --contact-link-hover-bg: #22c55e; /* Green background on hover */
    --contact-link-color: #22c55e; /* Green text color */
    --contact-link-hover-color: white; /* White text on hover */

    --i-paid-button-border: #22c55e; /* Green border for I Paid button */
    --i-paid-button-text: #22c55e; /* Green text for I Paid button */
    --i-paid-button-hover-bg: #22c55e; /* Green background on hover */
    --i-paid-button-hover-text: white; /* White text on hover */

    --modal-overlay-bg: rgba(0,0,0,0.6); /* Darker overlay */
    --modal-bg: #ffffff;
    --modal-shadow: rgba(0,0,0,0.25);
    --modal-close-color: #666;
    --modal-input-border: #cbd5e0; /* Slate 300 */
    --modal-input-focus-border: #3b82f6;
    --modal-submit-button-bg: #3b82f6;
    --modal-submit-button-hover-bg: #2563eb;
    --error-message-color: #ef4444; /* Red 500 */
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-color: #1a202c; /* Darker background (Gray 900) */
    --text-color: #e2e8f0; /* Light text (Slate 200) */
    --header-bg: #2d3748; /* Darker header */
    --header-shadow: rgba(0,0,0,0.4);
    --nav-bg: #1f2937; /* Even darker nav */
    --nav-link-color: #e2e8f0;
    --nav-link-bg: rgba(255,255,255,0.05);
    --nav-link-hover-bg: #4a5568;
    --section-bg: #2d3748;
    --section-shadow: rgba(0,0,0,0.4);
    --card-bg: #4a5568; /* Darker grey for cards */
    --card-shadow: rgba(0,0,0,0.4);
    --border-accent-color: #60a5fa; /* Lighter blue (Blue 400) */
    --cta-bg: #34d399; /* Lighter green (Emerald 400) */
    --cta-hover-bg: #10b981; /* Darker green on hover */
    --link-color: #60a5fa;
    --link-hover-color: #93c5fd;
    --footer-bg: #111827;
    --footer-text: #cbd5e0;
    --footer-link: #93c5fd;
    --footer-link-hover: #bfdbfe;
    --testimonial-bg: #2a3547;
    --testimonial-card-bg: #4a5568;
    --list-item-bg: #3a455a;
    --list-item-border: #34d399;
    --price-color: #34d399;

    --heading-underline-color: #60a5fa;
    --contact-link-bg: #2a3a2a;
    --contact-link-hover-bg: #34d399;
    --contact-link-color: #34d399;
    --contact-link-hover-color: white;

    --i-paid-button-border: #34d399;
    --i-paid-button-text: #34d399;
    --i-paid-button-hover-bg: #34d399;
    --i-paid-button-hover-text: white;

    --modal-overlay-bg: rgba(0,0,0,0.8);
    --modal-bg: #2d3748;
    --modal-shadow: rgba(0,0,0,0.5);
    --modal-close-color: #e2e8f0;
    --modal-input-border: #4a5568;
    --modal-input-focus-border: #60a5fa;
    --modal-submit-button-bg: #60a5fa;
    --modal-submit-button-hover-bg: #4a90e2;
    --error-message-color: #ef4444;
}


/* General Body Styles - apply variables */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7; /* Slightly more line height for readability */
    scroll-behavior: smooth;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

/* Container for content width */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header Styling - apply variables */
header {
    background-color: var(--header-bg);
    padding: 28px 0; /* More padding */
    box-shadow: 0 6px 20px var(--header-shadow); /* Deeper, softer shadow */
    text-align: center;
    position: relative;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

header .logo-text {
    font-family: 'Montserrat', sans-serif;
    color: var(--border-accent-color);
    font-size: 3.2em; /* Larger logo */
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.03em; /* More subtle letter spacing */
}

header .tagline {
    color: var(--text-color);
    font-size: 1.2em; /* Slightly larger tagline */
    margin-top: 10px;
    opacity: 0.85; /* Slightly less opaque */
}

/* Navigation Bar - apply variables */
nav {
    background-color: var(--nav-bg);
    padding: 20px 0; /* More padding */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.18); /* More prominent shadow */
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 40px; /* More space */
}

nav ul li a {
    color: var(--nav-link-color);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.15em; /* Slightly larger font */
    padding: 10px 18px; /* More padding */
    transition: all var(--transition-speed) ease;
    border-radius: 10px; /* Softer corners */
    background-color: var(--nav-link-bg);
    box-shadow: 0 3px 8px rgba(0,0,0,0.12); /* Softer shadow */
    border: none; /* Explicitly remove any default borders */
}

nav ul li a:hover,
nav ul li a.active {
    color: #ffd700; /* Gold remains for active/hover */
    background-color: var(--nav-link-hover-bg);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3); /* Deeper shadow on hover */
    transform: translateY(-3px); /* Slightly more lift */
}

/* Hero Section - apply variables */
.hero-section {
    background: linear-gradient(135deg, var(--border-accent-color) 0%, var(--link-hover-color) 100%);
    color: var(--text-color);
    padding: 100px 25px; /* More vertical padding */
    text-align: center;
    border-radius: var(--border-radius-main);
    margin-top: 35px; /* More margin */
    box-shadow: 0 12px 40px var(--section-shadow); /* Deeper, softer shadow */
    transition: background var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.hero-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.2em; /* Even larger heading */
    margin-bottom: 30px;
    line-height: 1.15; /* Tighter line height */
    text-shadow: 2px 2px 5px rgba(0,0,0,0.15); /* Subtle shadow */
    transition: color var(--transition-speed) ease;
}

.hero-section p {
    font-size: 1.6em; /* Larger text */
    max-width: 950px;
    margin: 0 auto 55px;
    opacity: 0.9;
    color: var(--text-color);
    transition: color var(--transition-speed) ease;
}

/* Call to Action Button - apply variables */
.cta-button {
    display: inline-block;
    background-color: var(--cta-bg);
    color: white;
    padding: 22px 50px; /* Larger button */
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.5em; /* Larger font */
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4); /* Deeper, softer shadow */
    letter-spacing: 0.03em; /* More pronounced letter spacing */
    outline: none; /* Remove default outline */
    border: none; /* Ensure no default border */
}

.cta-button:hover {
    background-color: var(--cta-hover-bg);
    transform: translateY(-5px); /* More lift */
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.6); /* Stronger shadow */
}
.cta-button:focus {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.5); /* Focus ring */
}

/* Section Styling - apply variables */
section {
    padding: 80px 0; /* More padding */
    margin-top: 40px; /* More margin */
    background-color: var(--section-bg);
    border-radius: var(--border-radius-main);
    box-shadow: 0 8px 30px var(--section-shadow); /* Deeper, softer shadow */
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.4em; /* Larger heading */
    color: var(--text-color);
    text-align: center;
    margin-bottom: 50px; /* More space */
    position: relative;
    padding-bottom: 18px; /* More padding */
    transition: color var(--transition-speed) ease;
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 120px; /* Wider underline */
    height: 6px; /* Thicker underline */
    background-color: var(--heading-underline-color);
    border-radius: 3px;
    transition: background-color var(--transition-speed) ease;
}

.text-content {
    padding: 0 50px; /* More horizontal padding */
    max-width: 1000px; /* Wider content */
    margin: 0 auto;
    font-size: 1.2em; /* Slightly larger text */
    color: var(--text-color);
    transition: color var(--transition-speed) ease;
}

.text-content p {
    margin-bottom: 1.6em; /* More line spacing */
}

/* Process Steps - Flexbox Layout - apply variables */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 45px; /* More gap */
    margin-top: 60px; /* More space */
}

.step {
    flex: 1;
    min-width: 300px;
    max-width: 380px;
    background-color: var(--card-bg);
    padding: 40px; /* More padding */
    border-radius: 16px; /* Softer corners */
    box-shadow: 0 10px 25px var(--card-shadow); /* Deeper shadow */
    text-align: center;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08); /* Subtle border */
}
body.dark-mode .step {
    border: 1px solid rgba(255,255,255,0.08);
}

.step:hover {
    transform: translateY(-15px); /* More lift on hover */
    box-shadow: 0 18px 45px var(--card-shadow); /* Even deeper shadow */
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 12px; /* Thicker accent bar */
    background-color: var(--border-accent-color);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.step h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--border-accent-color);
    font-size: 2em; /* Larger */
    margin-bottom: 30px; /* More space */
    position: relative;
    padding-bottom: 15px;
    transition: color var(--transition-speed) ease;
}

.step h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px; /* Wider underline */
    height: 5px; /* Thicker underline */
    background-color: var(--link-hover-color);
    border-radius: 3px;
}

.step p {
    font-size: 1.15em; /* Slightly larger text */
    color: var(--text-color);
    line-height: 1.9; /* More line height */
    transition: color var(--transition-speed) ease;
}

.step img {
    max-width: 98%; /* Slightly larger images */
    height: auto;
    margin-bottom: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 20px var(--section-shadow); /* Deeper shadow */
    transition: box-shadow var(--transition-speed) ease;
}

.image-container {
    text-align: center;
    margin: 60px 0; /* More vertical margin */
}
.image-container img {
    max-width: 98%;
    height: auto;
    border-radius: var(--border-radius-main);
    box-shadow: 0 10px 35px var(--section-shadow); /* Deeper shadow */
    transition: box-shadow var(--transition-speed) ease;
}

/* List Styling (for concerns and why choose us) - apply variables */
ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 850px; /* Wider list content */
}

ul li {
    background-color: var(--list-item-bg);
    margin-bottom: 20px; /* More space */
    padding: 30px; /* More padding */
    border-radius: 12px; /* Softer corners */
    display: flex;
    align-items: flex-start;
    gap: 30px; /* More space */
    box-shadow: 0 4px 15px var(--section-shadow); /* Deeper shadow */
    border-left: 8px solid var(--list-item-border); /* Thicker accent */
    transition: background-color var(--transition-speed) ease, border-left-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

ul li strong {
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25em; /* Slightly larger text */
    font-weight: 600;
    transition: color var(--transition-speed) ease;
}

.icon {
    font-size: 2.2em; /* Larger icons */
    color: var(--list-item-border);
    flex-shrink: 0;
    transition: color var(--transition-speed) ease;
}

/* Trust Badge - apply variables */
.trust-badge {
    text-align: center;
    margin-top: 70px; /* More space */
}
.trust-badge img {
    max-width: 300px; /* Slightly larger badge */
    height: auto;
    filter: drop-shadow(0 0 20px var(--border-accent-color)); /* Stronger glow */
    transition: filter var(--transition-speed) ease;
}

/* Testimonials - apply variables */
.testimonials {
    padding: 80px 0;
    background-color: var(--testimonial-bg);
    border-radius: var(--border-radius-main);
    margin-top: 40px;
    box-shadow: 0 8px 30px var(--section-shadow);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.testimonial-card {
    background-color: var(--testimonial-card-bg);
    padding: 45px; /* More padding */
    border-radius: 16px;
    margin: 35px auto; /* More space */
    max-width: 850px; /* Wider cards */
    box-shadow: 0 5px 20px var(--section-shadow); /* Deeper shadow */
    text-align: center;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 30px;
    font-size: 1.25em;
    color: var(--text-color);
    line-height: 1.8;
    transition: color var(--transition-speed) ease;
}
.testimonial-card .author {
    font-weight: 600;
    color: var(--link-color);
    font-size: 1.15em;
    transition: color var(--transition-speed) ease;
}

/* Contact Section - apply variables */
#contact-section {
    text-align: center;
    padding: 70px 0; /* More padding */
    background-color: var(--list-item-bg);
    border-radius: var(--border-radius-main);
    margin-bottom: 40px;
    box-shadow: 0 8px 30px var(--section-shadow);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

#contact-section h2 {
    margin-bottom: 35px; /* Adjusted space */
}

#contact-section p {
    font-size: 1.4em; /* Larger text */
    margin-bottom: 25px;
    color: var(--text-color);
    transition: color var(--transition-speed) ease;
}

/* Contact Social Links Styling */
#contact-section .social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 20px; /* Space between buttons */
    margin-top: 30px;
}

#contact-section .social-links a {
    display: inline-flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
    background-color: var(--contact-link-bg);
    color: var(--contact-link-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3em; /* Larger font for contact links */
    padding: 15px 30px; /* Generous padding */
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all var(--transition-speed) ease;
    outline: none; /* Remove default outline */
}

#contact-section .social-links a:hover {
    background-color: var(--contact-link-hover-bg);
    color: var(--contact-link-hover-color);
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
#contact-section .social-links a:focus {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.5); /* Focus ring */
}

#contact-section .social-links a .fab {
    font-size: 1.6em; /* Larger social icons */
}


/* Project Plans Specific Styles - apply variables */
.project-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; /* More gap */
    margin-top: 60px;
}
.plan-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-main);
    box-shadow: 0 10px 25px var(--card-shadow); /* Deeper shadow */
    padding: 40px; /* More padding */
    text-align: center;
    transition: all var(--transition-speed) ease;
    border-top: 12px solid var(--border-accent-color); /* Thicker accent border */
    border: 1px solid rgba(0,0,0,0.08); /* Subtle border */
}
body.dark-mode .plan-card {
    border: 1px solid rgba(255,255,255,0.08);
}

.plan-card:hover {
    transform: translateY(-15px); /* More lift */
    box-shadow: 0 18px 45px var(--card-shadow); /* Even deeper shadow */
}

.plan-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--border-accent-color);
    font-size: 2.4em; /* Larger heading */
    margin-bottom: 20px;
    transition: color var(--transition-speed) ease;
}

.plan-card .price {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2em; /* Larger price */
    font-weight: 700;
    color: var(--price-color);
    margin-bottom: 15px;
    transition: color var(--transition-speed) ease;
}

.plan-card .price span {
    font-size: 0.8em; /* Slightly larger */
    font-weight: 400;
    color: var(--text-color);
    transition: color var(--transition-speed) ease;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 30px 0; /* More margin */
    text-align: left;
    max-width: none;
}

.plan-card ul li {
    background: none;
    border: none;
    box-shadow: none;
    padding: 18px 0; /* More vertical padding */
    display: flex;
    align-items: flex-start; /* Align text to top of icon */
    color: var(--text-color);
    font-size: 1.15em; /* Slightly larger text */
    border-bottom: 1px dashed rgba(0,0,0,0.15); /* Slightly stronger dashed line */
    line-height: 1.6;
    transition: color var(--transition-speed) ease, border-bottom-color var(--transition-speed) ease;
}
body.dark-mode .plan-card ul li {
    border-bottom: 1px dashed rgba(255,255,255,0.15);
}


.plan-card ul li:last-child {
    border-bottom: none;
}

.plan-card ul li .fas {
    color: var(--list-item-border);
    margin-right: 20px; /* More space */
    font-size: 1.5em; /* Larger icons */
    min-width: 32px; /* Consistent width for icons */
    text-align: center;
    transition: color var(--transition-speed) ease;
}

.plan-card .plan-cta {
    display: inline-block;
    background-color: var(--link-color);
    color: white;
    padding: 18px 35px; /* Larger button */
    text-decoration: none;
    border-radius: 10px; /* Softer corners */
    font-size: 1.2em; /* Larger font */
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    margin-top: 30px; /* More space */
    box-shadow: 0 5px 12px rgba(0,0,0,0.2);
    outline: none; /* Remove default outline */
    border: none; /* Ensure no default border */
}

.plan-card .plan-cta:hover {
    background-color: var(--border-accent-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transform: translateY(-3px);
}
.plan-card .plan-cta:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.5); /* Focus ring */
}


/* Footer - apply variables */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    padding: 45px 0; /* More padding */
    margin-top: 60px;
    border-radius: var(--border-radius-main) var(--border-radius-main) 0 0;
    box-shadow: 0 -5px 20px var(--header-shadow); /* Shadow on top */
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

footer p {
    margin: 12px 0;
    font-size: 1.05em; /* Slightly larger */
}

footer a {
    color: var(--footer-link);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

footer a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}

/* Mode Toggle Buttons */
.toggle-buttons {
    position: absolute;
    top: 28px; /* Slightly adjusted */
    right: 28px; /* Slightly adjusted */
    display: flex;
    gap: 18px; /* More gap */
    z-index: 100;
}

.mode-toggle {
    background-color: var(--nav-link-bg);
    color: var(--nav-link-color);
    border: none;
    padding: 14px 20px; /* More padding */
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.15em; /* Slightly larger font */
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    outline: none;
}

.mode-toggle:hover {
    background-color: var(--nav-link-hover-bg);
    color: white;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transform: translateY(-3px);
}
.mode-toggle:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.5); /* Focus ring */
}

.mode-toggle i {
    margin-right: 10px; /* More space for icon */
    font-size: 1.3em; /* Larger icon */
}
.mode-toggle:last-child i {
    margin-right: 0;
    margin-left: 10px;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 35px; /* More from bottom */
    right: 35px; /* More from right */
    background-color: var(--cta-bg);
    color: white;
    width: 55px; /* Larger button */
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6em; /* Larger icon */
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 99;
    outline: none;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-8px); /* More lift */
}

#back-to-top:hover {
    background-color: var(--cta-hover-bg);
    transform: translateY(-12px); /* Even more lift */
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
#back-to-top:focus {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.5); /* Focus ring */
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section h2 { font-size: 3.5em; }
    .hero-section p { font-size: 1.3em; }
    section h2 { font-size: 3em; }
    .text-content { padding: 0 30px; }
    .step { min-width: 280px; max-width: 48%; }
    .plan-card { min-width: 290px; }
}

@media (max-width: 768px) {
    header { padding: 20px 0; } /* Slightly less padding on mobile header */
    header .logo-text { font-size: 2.5em; }
    header .tagline { font-size: 1.1em; }
    .toggle-buttons {
        position: static;
        justify-content: center;
        margin-top: 15px;
        margin-bottom: 10px;
        flex-wrap: wrap;
        gap: 12px;
    }
    header { padding-bottom: 0; }
    nav { padding: 15px 0; }
    nav ul { flex-direction: column; gap: 12px; }
    nav ul li a {
        font-size: 1em;
        padding: 10px 15px;
        width: calc(100% - 40px); /* Full width buttons for mobile nav */
        max-width: 250px; /* Max width for mobile buttons */
        margin: 0 auto; /* Center the buttons */
    }

    .hero-section { padding: 70px 15px; margin-top: 25px; } /* Adjusted padding and margin for mobile hero */
    .hero-section h2 { font-size: 2.8em; margin-bottom: 20px; }
    .hero-section p { font-size: 1.2em; margin-bottom: 40px;}
    .cta-button { padding: 18px 35px; font-size: 1.2em; }

    section { padding: 50px 0; margin-top: 30px; }
    section h2 { font-size: 2.5em; margin-bottom: 35px; padding-bottom: 12px;}
    section h2::after { width: 90px; height: 5px; }
    .text-content { padding: 0 20px; font-size: 1.1em; }
    .process-steps { flex-direction: column; align-items: center; gap: 30px; margin-top: 40px; }
    .step { max-width: 90%; padding: 30px; }
    .step h3 { font-size: 1.6em; margin-bottom: 20px; padding-bottom: 10px; }
    .step h3::after { width: 60px; height: 4px; }
    .step p { font-size: 1.05em; }
    .step img { margin-bottom: 25px; }

    ul li { padding: 20px; gap: 20px; margin-bottom: 15px; }
    ul li strong { font-size: 1.1em; }
    .icon { font-size: 1.8em; }

    .trust-badge { margin-top: 50px; }
    .trust-badge img { max-width: 250px; }

    .testimonials { padding: 60px 0; margin-top: 30px; }
    .testimonial-card { padding: 35px; margin: 25px auto; }
    .testimonial-card p { font-size: 1.1em; margin-bottom: 20px; }
    .testimonial-card .author { font-size: 1em; }

    #contact-section { padding: 50px 0; margin-bottom: 30px; }
    #contact-section h2 { margin-bottom: 25px; }
    #contact-section p { font-size: 1.2em; margin-bottom: 15px; }
    #contact-section .social-links a {
        font-size: 1.1em;
        padding: 10px 20px;
        margin: 0 8px 12px;
        gap: 6px;
    }
    #contact-section .social-links a .fab {
        font-size: 1.3em;
    }

    .project-plans-grid { gap: 30px; margin-top: 40px; }
    .plan-card { padding: 30px; border-top-width: 10px; }
    .plan-card h3 { font-size: 1.8em; margin-bottom: 15px; }
    .plan-card .price { font-size: 1.6em; margin-bottom: 10px; }
    .plan-card ul { margin: 20px 0; }
    .plan-card ul li { padding: 12px 0; font-size: 1.05em; gap: 15px; }
    .plan-card ul li .fas { font-size: 1.2em; min-width: 25px; }
    .plan-card .plan-cta { padding: 15px 30px; font-size: 1.05em; margin-top: 20px; }

    footer { padding: 35px 0; margin-top: 40px; }
    footer p { font-size: 0.95em; margin: 8px 0; }

    #back-to-top {
        width: 48px;
        height: 48px;
        font-size: 1.4em;
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 480px) {
    header .logo-text { font-size: 2em; }
    .hero-section h2 { font-size: 2.2em; }
    .hero-section p { font-size: 1em; }
    .cta-button { padding: 15px 30px; font-size: 1em; }
    section h2 { font-size: 2em; }
    .text-content { font-size: 1em; }
    .step h3 { font-size: 1.5em; }
    .step p { font-size: 1em; }
    .testimonial-card p { font-size: 1em; }
    .plan-card h3 { font-size: 1.8em; }
    .plan-card .price { font-size: 1.5em; }
    .plan-card ul li { font-size: 1em; }
    .plan-card .plan-cta { font-size: 1em; padding: 12px 25px; }
    .toggle-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

/* Payment Page Specific Styles */
.payment-section {
    padding: 80px 0;
    margin-top: 40px;
    background-color: var(--section-bg);
    border-radius: var(--border-radius-main);
    box-shadow: 0 8px 30px var(--section-shadow);
    text-align: center;
}

.payment-section h2 {
    font-size: 3.2em;
    margin-bottom: 20px;
    padding-bottom: 15px;
}
.payment-section h2::after {
    width: 150px;
}

.payment-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2em;
    line-height: 1.6;
}

.payment-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-main);
    box-shadow: 0 10px 30px var(--card-shadow);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.08);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.payment-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8em;
    color: var(--border-accent-color);
    margin-bottom: 30px;
    transition: color var(--transition-speed) ease;
}

.payment-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    text-align: left;
}

.detail-item {
    background-color: var(--list-item-bg);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 5px solid var(--list-item-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.detail-item p {
    margin: 0;
    font-size: 0.95em;
    color: var(--text-color);
    opacity: 0.8;
}

.detail-item strong {
    font-size: 1.2em;
    color: var(--price-color);
    font-family: 'Montserrat', sans-serif;
    transition: color var(--transition-speed) ease;
}

.detail-item .icon-large {
    font-size: 1.8em;
    color: var(--border-accent-color);
    margin-bottom: 5px;
    transition: color var(--transition-speed) ease;
}

.qr-code-container {
    margin-top: 40px;
    padding: 25px;
    background-color: var(--list-item-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--card-shadow);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.qr-code-container p {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.qr-code-container img {
    max-width: 250px;
    height: auto;
    border: 1px solid var(--border-accent-color); /* Subtle border for QR code */
    border-radius: 8px;
    padding: 5px;
    background-color: white; /* Ensure white background for QR code */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
body.dark-mode .qr-code-container img {
    background-color: #f8f8f8; /* White background even in dark mode */
}

.qr-note {
    font-size: 0.9em !important; /* Use !important for clarity */
    color: var(--text-color) !important;
    opacity: 0.7;
    margin-top: 15px !important;
}

.payment-instructions {
    margin-top: 40px;
    text-align: left;
    background-color: var(--list-item-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px var(--card-shadow);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.payment-instructions h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6em;
    color: var(--text-color);
    margin-bottom: 15px;
    transition: color var(--transition-speed) ease;
}

.payment-instructions ul {
    list-style: decimal; /* Numbered list */
    padding-left: 25px;
}

.payment-instructions ul li {
    background: none;
    border: none;
    box-shadow: none;
    padding: 8px 0;
    margin-bottom: 0;
    font-size: 1em;
    line-height: 1.5;
    color: var(--text-color);
    transition: color var(--transition-speed) ease;
}

.payment-support-link {
    margin-top: 40px;
    font-size: 1.1em;
    color: var(--text-color);
    transition: color var(--transition-speed) ease;
}

.payment-support-link a {
    color: var(--list-item-border) !important; /* Green color for emphasis */
    font-weight: bold;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}
.payment-support-link a:hover {
    text-decoration: underline;
    color: var(--cta-hover-bg) !important;
}

/* "I Paid" Button Styling */
.i-paid-button {
    background-color: transparent;
    color: var(--i-paid-button-text);
    border: 2px solid var(--i-paid-button-border); /* Green border */
    padding: 15px 35px;
    border-radius: 50px; /* Pill shape */
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 40px; /* Space from instructions */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all var(--transition-speed) ease;
    outline: none;
}

.i-paid-button:hover {
    background-color: var(--i-paid-button-hover-bg);
    color: var(--i-paid-button-hover-text);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.i-paid-button:focus {
    box-shadow: 0 0 0 4px var(--i-paid-button-border);
}


/* UTR Submission Modal Styling */
.modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* On top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--modal-overlay-bg); /* Semi-transparent black */
    align-items: center; /* Center content vertically */
    justify-content: center; /* Center content horizontally */
    padding: 20px;
}

.modal-content {
    background-color: var(--modal-bg);
    margin: auto;
    padding: 30px;
    border-radius: var(--border-radius-main);
    box-shadow: 0 8px 30px var(--modal-shadow);
    width: 90%;
    max-width: 500px; /* Max width for larger screens */
    position: relative;
    text-align: center;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.modal-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    color: var(--text-color);
    margin-bottom: 20px;
    transition: color var(--transition-speed) ease;
}

.modal-content p {
    font-size: 1.1em;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.6;
    transition: color var(--transition-speed) ease;
}

.modal-content input[type="text"] {
    width: calc(100% - 40px); /* Adjust for padding */
    padding: 12px 18px;
    margin-bottom: 20px;
    border: 1px solid var(--modal-input-border);
    border-radius: 8px;
    font-size: 1em;
    color: var(--text-color);
    background-color: var(--card-bg); /* Use card bg for input */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.08); /* Inner shadow */
    transition: all var(--transition-speed) ease;
    outline: none;
}
.modal-content input[type="text"]:focus {
    border-color: var(--modal-input-focus-border);
    box-shadow: 0 0 0 3px rgba(var(--modal-input-focus-border), 0.3);
}

.submit-utr-button {
    background-color: var(--modal-submit-button-bg);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all var(--transition-speed) ease;
    outline: none;
}

.submit-utr-button:hover {
    background-color: var(--modal-submit-button-hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
.submit-utr-button:focus {
    box-shadow: 0 0 0 4px rgba(var(--modal-submit-button-bg), 0.5); /* Focus ring */
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--modal-close-color);
    font-size: 2.2em;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--border-accent-color);
}

.error-message {
    color: var(--error-message-color);
    font-size: 0.9em;
    margin-top: 10px;
}


/* Footer - apply variables */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
    padding: 45px 0; /* More padding */
    margin-top: 60px;
    border-radius: var(--border-radius-main) var(--border-radius-main) 0 0;
    box-shadow: 0 -5px 20px var(--header-shadow); /* Shadow on top */
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

footer p {
    margin: 12px 0;
    font-size: 1.05em; /* Slightly larger */
}

footer a {
    color: var(--footer-link);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

footer a:hover {
    color: var(--footer-link-hover);
    text-decoration: underline;
}

/* Mode Toggle Buttons */
.toggle-buttons {
    position: absolute;
    top: 28px; /* Slightly adjusted */
    right: 28px; /* Slightly adjusted */
    display: flex;
    gap: 18px; /* More gap */
    z-index: 100;
}

.mode-toggle {
    background-color: var(--nav-link-bg);
    color: var(--nav-link-color);
    border: none;
    padding: 14px 20px; /* More padding */
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.15em; /* Slightly larger font */
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    outline: none;
}

.mode-toggle:hover {
    background-color: var(--nav-link-hover-bg);
    color: white;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transform: translateY(-3px);
}
.mode-toggle:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.5); /* Focus ring */
}

.mode-toggle i {
    margin-right: 10px; /* More space for icon */
    font-size: 1.3em; /* Larger icon */
}
.mode-toggle:last-child i {
    margin-right: 0;
    margin-left: 10px;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 35px; /* More from bottom */
    right: 35px; /* More from right */
    background-color: var(--cta-bg);
    color: white;
    width: 55px; /* Larger button */
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6em; /* Larger icon */
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 99;
    outline: none;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-8px); /* More lift */
}

#back-to-top:hover {
    background-color: var(--cta-hover-bg);
    transform: translateY(-12px); /* Even more lift */
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.i-paid-button:focus {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.5); /* Focus ring */
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-section h2 { font-size: 3.5em; }
    .hero-section p { font-size: 1.3em; }
    section h2 { font-size: 3em; }
    .text-content { padding: 0 30px; }
    .step { min-width: 280px; max-width: 48%; }
    .plan-card { min-width: 290px; }
    .payment-section h2 { font-size: 2.8em; }
    .payment-intro { font-size: 1.1em; }
    .payment-card { padding: 30px; max-width: 600px; }
    .payment-card h3 { font-size: 2.4em; }
    .payment-details-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
    .detail-item strong { font-size: 1.1em; }
    .detail-item .icon-large { font-size: 1.6em; }
    .qr-code-container img { max-width: 200px; }
    .payment-instructions h4 { font-size: 1.4em; }
    .i-paid-button { font-size: 1.1em; padding: 12px 30px; }
    .modal-content { max-width: 450px; padding: 25px; }
    .modal-content h3 { font-size: 1.8em; }
    .modal-content input { padding: 10px 15px; }
    .submit-utr-button { font-size: 1em; padding: 10px 25px; }
}

@media (max-width: 768px) {
    header { padding: 20px 0; }
    header .logo-text { font-size: 2.5em; }
    header .tagline { font-size: 1.1em; }
    .toggle-buttons {
        position: static;
        justify-content: center;
        margin-top: 15px;
        margin-bottom: 10px;
        flex-wrap: wrap;
        gap: 12px;
    }
    header { padding-bottom: 0; }
    nav { padding: 15px 0; }
    nav ul { flex-direction: column; gap: 12px; }
    nav ul li a {
        font-size: 1em;
        padding: 10px 15px;
        width: calc(100% - 40px);
        max-width: 250px;
        margin: 0 auto;
    }

    .hero-section { padding: 70px 15px; margin-top: 25px; }
    .hero-section h2 { font-size: 2.8em; margin-bottom: 20px; }
    .hero-section p { font-size: 1.2em; margin-bottom: 40px;}
    .cta-button { padding: 18px 35px; font-size: 1.2em; }

    section { padding: 50px 0; margin-top: 30px; }
    section h2 { font-size: 2.5em; margin-bottom: 35px; padding-bottom: 12px;}
    section h2::after { width: 90px; height: 5px; }
    .text-content { padding: 0 20px; font-size: 1.1em; }
    .process-steps { flex-direction: column; align-items: center; gap: 30px; margin-top: 40px; }
    .step { max-width: 90%; padding: 30px; }
    .step h3 { font-size: 1.6em; margin-bottom: 20px; padding-bottom: 10px; }
    .step h3::after { width: 60px; height: 4px; }
    .step p { font-size: 1.05em; }
    .step img { margin-bottom: 25px; }

    ul li { padding: 20px; gap: 20px; margin-bottom: 15px; }
    ul li strong { font-size: 1.1em; }
    .icon { font-size: 1.8em; }

    .trust-badge { margin-top: 50px; }
    .trust-badge img { max-width: 250px; }

    .testimonials { padding: 60px 0; margin-top: 30px; }
    .testimonial-card { padding: 35px; margin: 25px auto; }
    .testimonial-card p { font-size: 1.1em; margin-bottom: 20px; }
    .testimonial-card .author { font-size: 1em; }

    #contact-section { padding: 50px 0; margin-bottom: 30px; }
    #contact-section h2 { margin-bottom: 25px; }
    #contact-section p { font-size: 1.2em; margin-bottom: 15px; }
    #contact-section .social-links a {
        font-size: 1.1em;
        padding: 10px 20px;
        margin: 0 8px 12px;
        gap: 6px;
    }
    #contact-section .social-links a .fab {
        font-size: 1.3em;
    }

    .project-plans-grid { gap: 30px; margin-top: 40px; }
    .plan-card { padding: 30px; border-top-width: 10px; }
    .plan-card h3 { font-size: 1.8em; margin-bottom: 15px; }
    .plan-card .price { font-size: 1.6em; margin-bottom: 10px; }
    .plan-card ul { margin: 20px 0; }
    .plan-card ul li { padding: 12px 0; font-size: 1.05em; gap: 15px; }
    .plan-card ul li .fas { font-size: 1.2em; min-width: 25px; }
    .plan-card .plan-cta { padding: 15px 30px; font-size: 1.05em; margin-top: 20px; }

    footer { padding: 35px 0; margin-top: 40px; }
    footer p { font-size: 0.95em; margin: 8px 0; }

    #back-to-top {
        width: 48px;
        height: 48px;
        font-size: 1.4em;
        bottom: 25px;
        right: 25px;
    }

    .payment-section h2 { font-size: 2.5em; }
    .payment-intro { font-size: 1em; margin-bottom: 30px; }
    .payment-card { padding: 25px; max-width: 90%; }
    .payment-card h3 { font-size: 2em; margin-bottom: 20px; }
    .payment-details-grid { grid-template-columns: 1fr; gap: 15px; margin-bottom: 30px; }
    .detail-item { padding: 12px; }
    .detail-item strong { font-size: 1.1em; }
    .detail-item .icon-large { font-size: 1.5em; }
    .qr-code-container { padding: 20px; margin-top: 30px; }
    .qr-code-container img { max-width: 180px; }
    .qr-code-container p { font-size: 1.1em; }
    .payment-instructions { padding: 20px; margin-top: 30px; }
    .payment-instructions h4 { font-size: 1.4em; }
    .payment-instructions ul { padding-left: 20px; }
    .payment-instructions ul li { font-size: 0.95em; padding: 6px 0; }
    .i-paid-button { font-size: 1em; padding: 12px 30px; margin-top: 30px; }
    .modal-content { width: 95%; max-width: 400px; padding: 20px; }
    .modal-content h3 { font-size: 1.6em; margin-bottom: 15px; }
    .modal-content p { font-size: 1em; margin-bottom: 20px; }
    .modal-content input { width: calc(100% - 30px); padding: 10px 15px; }
    .submit-utr-button { font-size: 0.95em; padding: 10px 25px; }
    .close-button { font-size: 1.8em; top: 10px; right: 15px; }
    .error-message { font-size: 0.8em; }
}

@media (max-width: 480px) {
    header .logo-text { font-size: 2em; }
    .hero-section h2 { font-size: 2.2em; }
    .hero-section p { font-size: 1em; }
    .cta-button { padding: 15px 30px; font-size: 1em; }
    section h2 { font-size: 2em; }
    .text-content { font-size: 1em; }
    .step h3 { font-size: 1.5em; }
    .step p { font-size: 1em; }
    .testimonial-card p { font-size: 1em; }
    .plan-card h3 { font-size: 1.8em; }
    .plan-card .price { font-size: 1.5em; }
    .plan-card ul li { font-size: 1em; }
    .plan-card .plan-cta { font-size: 1em; padding: 12px 25px; }
    .toggle-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .payment-section h2 { font-size: 2em; }
    .payment-card { padding: 20px; }
    .payment-card h3 { font-size: 1.8em; }
    .qr-code-container img { max-width: 150px; }
}
/* New: Contact Page Specific Styles */
.contact-page-section {
    padding: 80px 0;
    margin-top: 40px;
    background-color: var(--section-bg);
    border-radius: var(--border-radius-main);
    box-shadow: 0 8px 30px var(--section-shadow);
    text-align: center;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.contact-page-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.4em;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    position: relative;
    transition: color var(--transition-speed) ease;
}
.contact-page-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 180px; /* Wider underline for contact heading */
    height: 6px;
    background-color: var(--heading-underline-color);
    border-radius: 3px;
    transition: background-color var(--transition-speed) ease;
}

.contact-intro-text {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2em;
    line-height: 1.7;
    color: var(--text-color);
    transition: color var(--transition-speed) ease;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-main);
    box-shadow: 0 6px 20px var(--card-shadow);
    padding: 35px;
    text-align: center;
    transition: all var(--transition-speed) ease;
    border-top: 8px solid var(--border-accent-color);
    border: 1px solid rgba(0,0,0,0.08);
}
body.dark-mode .contact-item {
    border: 1px solid rgba(255,255,255,0.08);
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px var(--card-shadow);
}

.contact-item .contact-icon {
    font-size: 3.5em;
    color: var(--border-accent-color);
    margin-bottom: 20px;
    transition: color var(--transition-speed) ease;
}

.contact-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    color: var(--text-color);
    margin-bottom: 15px;
    transition: color var(--transition-speed) ease;
}

.contact-item p {
    font-size: 1.05em;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 50px; /* Ensure consistent height for text block */
    transition: color var(--transition-speed) ease;
}

.contact-item .contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--link-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    padding: 12px 25px;
    border-radius: 50px;
    margin-top: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all var(--transition-speed) ease;
    outline: none;
    border: none; /* Ensure no border */
}

.contact-item .contact-button:hover {
    background-color: var(--link-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}
.contact-item .contact-button:focus {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.5);
}

.contact-note {
    font-size: 1.1em;
    margin-top: 50px;
    color: var(--text-color);
    opacity: 0.8;
}

/* Mobile specific styles for contact page */
@media (max-width: 768px) {
    .contact-page-section h2 {
        font-size: 2.8em;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    .contact-page-section h2::after {
        width: 150px;
        height: 4px;
    }
    .contact-intro-text {
        font-size: 1.05em;
        margin-bottom: 30px;
    }
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .contact-item {
        padding: 30px;
    }
    .contact-item .contact-icon {
        font-size: 3em;
    }
    .contact-item h3 {
        font-size: 1.6em;
    }
    .contact-item p {
        font-size: 0.95em;
        min-height: auto; /* Allow height to adjust naturally on small screens */
    }
    .contact-item .contact-button {
        font-size: 1em;
        padding: 10px 20px;
    }
    .contact-note {
        font-size: 1em;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .contact-page-section h2 {
        font-size: 2.2em;
    }
    .contact-item .contact-icon {
        font-size: 2.5em;
    }
    .contact-item h3 {
        font-size: 1.4em;
    }
}

/* WhatsApp specific colors */
:root {
    /* ... existing variables ... */
    --whatsapp-green: #25D366;
    --whatsapp-dark-green: #128C7E;
}

body.dark-mode {
    /* ... existing dark mode variables ... */
    --whatsapp-green: #25D366; /* Keep green for WhatsApp in dark mode */
    --whatsapp-dark-green: #128C7E;
}

/* WhatsApp Chat Button (replaces Back to Top) */
#whatsapp-chat-button {
    position: fixed;
    bottom: 35px; /* More from bottom */
    right: 35px; /* More from right */
    background-color: var(--whatsapp-green); /* WhatsApp green */
    color: white;
    width: 60px; /* Slightly larger button */
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em; /* Larger WhatsApp icon */
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    opacity: 1; /* Always visible */
    visibility: visible; /* Always visible */
    transition: all var(--transition-speed) ease;
    z-index: 99;
    outline: none;
}

#whatsapp-chat-button:hover {
    background-color: var(--whatsapp-dark-green); /* Darker WhatsApp green on hover */
    transform: translateY(-12px); /* Even more lift */
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
#whatsapp-chat-button:focus {
    box-shadow: 0 0 0 4px var(--whatsapp-green); /* Focus ring with WhatsApp green */
}

/* Responsive Adjustments for WhatsApp button */
@media (max-width: 768px) {
    #whatsapp-chat-button {
        width: 48px;
        height: 48px;
        font-size: 1.6em; /* Slightly smaller icon for smaller screens */
        bottom: 25px;
        right: 25px;
    }
}
/* Add this to your existing CSS file */

.hidden {
    display: none !important; /* Forces element to be hidden */
}

/* Delivery Details Section Styles */
.delivery-details-section {
    padding: 80px 0;
    margin-top: 40px;
    background-color: var(--section-bg);
    border-radius: var(--border-radius-main);
    box-shadow: 0 8px 30px var(--section-shadow);
    text-align: center;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.delivery-details-section h2 {
    font-size: 3.2em;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

.delivery-details-section h2::after {
    width: 180px; /* Adjust as needed */
}

.delivery-intro-text {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-color);
}

.delivery-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius-main);
    box-shadow: 0 10px 30px var(--card-shadow);
    text-align: left;
    border: 1px solid rgba(0,0,0,0.08);
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
body.dark-mode .delivery-form {
    border: 1px solid rgba(255,255,255,0.08);
}

.delivery-form .form-group {
    margin-bottom: 25px;
}

.delivery-form label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--text-color);
    margin-bottom: 10px;
    transition: color var(--transition-speed) ease;
}

.delivery-form input[type="text"],
.delivery-form input[type="tel"] {
    width: calc(100% - 24px); /* Adjust for padding and border */
    padding: 12px;
    border: 1px solid var(--modal-input-border);
    border-radius: 8px;
    font-size: 1em;
    color: var(--text-color);
    background-color: var(--list-item-bg); /* Use list-item-bg for input */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
    transition: all var(--transition-speed) ease;
    outline: none;
}

.delivery-form input[type="text"]:focus,
.delivery-form input[type="tel"]:focus {
    border-color: var(--modal-input-focus-border);
    box-shadow: 0 0 0 3px rgba(var(--modal-input-focus-border), 0.3);
}

.delivery-form small {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: var(--text-color);
    opacity: 0.7;
}

.delivery-form .cta-button {
    width: 100%;
    padding: 15px 25px;
    font-size: 1.1em;
    margin-top: 30px;
    border-radius: 10px; /* Make it less round than main CTA */
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.3);
}

.delivery-form .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.45);
}

/* Error Message for form */
#delivery-form-message {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

/* Responsive adjustments for delivery form */
@media (max-width: 768px) {
    .delivery-details-section {
        padding: 50px 0;
    }
    .delivery-details-section h2 {
        font-size: 2.5em;
    }
    .delivery-intro-text {
        font-size: 1.1em;
    }
    .delivery-form {
        padding: 30px;
        max-width: 90%;
    }
    .delivery-form label {
        font-size: 1em;
    }
    .delivery-form input[type="text"],
    .delivery-form input[type="tel"] {
        width: calc(100% - 20px); /* Adjust padding */
        padding: 10px;
    }
    .delivery-form .cta-button {
        font-size: 1em;
        padding: 12px 20px;
    }
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f2f5; /* Light gray background */
}
.container {
    max-width: 600px;
}
.card {
    background-color: #ffffff;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
input {
    border: 1px solid #d1d5db; /* Light border for inputs */
    padding: 10px;
    border-radius: 8px;
    width: 100%;
}
button {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}
.btn-primary {
    background-color: #4f46e5; /* Indigo */
    color: #ffffff;
}
.btn-primary:hover {
    background-color: #4338ca; /* Darker indigo */
}
.btn-secondary {
    background-color: #10b981; /* Emerald */
    color: #ffffff;
}
.btn-secondary:hover {
    background-color: #059669; /* Darker emerald */
}
.btn-whatsapp {
    background-color: #25d366; /* WhatsApp green */
    color: #ffffff;
}
.btn-whatsapp:hover {
    background-color: #1da851; /* Darker WhatsApp green */
}
.message-box {
    background-color: #ecfdf5; /* Light green background for success messages */
    color: #065f46; /* Dark green text */
    border: 1px solid #a7f3d0; /* Green border */
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
}
.hidden {
    display: none;
}
