/* CSS Variables for Easy Theming */ :root { --primary-color: #0056b3; /* Dark Blue - Professional & Trustworthy */ --secondary-color: #007bff; /* Bright Blue - Accent */ --text-color: #333; /* Dark Grey */ --light-text-color: #fff; /* White */ --background-light: #f8f9fa; /* Very Light Grey */ --background-dark: #343a40; /* Dark Grey - For footer etc */ --border-color: #dee2e6; /* Light Grey Border */ --hover-glow: rgba(0, 123, 255, 0.4); /* Blue glow for hover */ --spacing-unit: 1.5rem; /* Base spacing */ --container-max-width: 1200px; } /* --- Base Styles & Reset --- */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Roboto', sans-serif; /* A common, readable font */ line-height: 1.6; color: var(--text-color); background-color: var(--light-text-color); scroll-behavior: smooth; /* Optional: For smooth scrolling to anchors */ } img { display: block; max-width: 100%; height: auto; object-fit: cover; /* Ensure images cover their space without distortion */ } a { text-decoration: none; color: var(--secondary-color); transition: color 0.3s ease; } a:hover { color: var(--primary-color); } h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; /* A more prominent font for headings */ margin-bottom: var(--spacing-unit); color: var(--primary-color); line-height: 1.2; } h1 { font-size: 2.8rem; } h2 { font-size: 2rem; } h3 { font-size: 1.5rem; } h4 { font-size: 1.2rem; } p { margin-bottom: var(--spacing-unit); } /* --- Utility Classes --- */ .container { max-width: var(--container-max-width); margin: 0 auto; padding: 0 var(--spacing-unit); } .section-spacing { padding: calc(var(--spacing-unit) * 4) 0; /* More vertical space for sections */ } .bg-light { background-color: var(--background-light); } .bg-primary { background-color: var(--primary-color); color: var(--light-text-color); /* Ensure text is readable on dark background */ } .bg-primary h2, .bg-primary p, .bg-primary a { color: var(--light-text-color); } .text-center { text-align: center; } .section-description { font-size: 1.1rem; margin-bottom: calc(var(--spacing-unit) * 2); text-align: center; max-width: 800px; margin-left: auto; margin-right: auto; } /* --- CTA Button Styles --- */ .cta-button { display: inline-block; padding: 1rem 2rem; font-size: 1.1rem; font-weight: bold; text-align: center; border-radius: 5px; transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease; border: none; cursor: pointer; margin-top: var(--spacing-unit); white-space: nowrap; /* Prevent button text wrapping */ } .cta-button i { margin-right: 8px; } .primary-cta { background-color: var(--secondary-color); color: var(--light-text-color); } .primary-cta:hover { background-color: #0056b3; /* Slightly darker blue */ box-shadow: 0 4px 12px var(--hover-glow); transform: translateY(-2px); } .secondary-cta { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); } .secondary-cta:hover { background-color: var(--primary-color); color: var(--light-text-color); box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3); transform: translateY(-2px); } .light-cta { /* For use on dark backgrounds */ background-color: var(--light-text-color); color: var(--primary-color); } .light-cta:hover { background-color: var(--background-light); box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3); transform: translateY(-2px); } /* --- Header --- */ .site-header { background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white */ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); padding: 1rem 0; position: sticky; /* Sticky header */ top: 0; z-index: 1000; /* Ensure header is above other content */ backdrop-filter: blur(5px); /* Optional: Frosted glass effect */ } .header-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; /* Allow wrapping on smaller screens */ } .logo a { font-size: 1.8rem; font-weight: 700; color: var(--primary-color); white-space: nowrap; /* Prevent logo wrapping */ } .contact-info { display: flex; align-items: center; gap: 1.5rem; /* Space between phone and address */ flex-wrap: wrap; /* Allow wrapping */ } .contact-info > div { display: flex; align-items: center; font-size: 1rem; color: var(--text-color); } .contact-info i { color: var(--secondary-color); margin-right: 8px; font-size: 1.1rem; } .contact-info a { color: var(--text-color); /* Keep phone link color consistent */ font-weight: 500; } .contact-info a:hover { color: var(--secondary-color); } /* --- Hero Section --- */ .hero { position: relative; height: 70vh; /* 70% of viewport height */ min-height: 500px; /* Minimum height */ display: flex; align-items: center; justify-content: center; color: var(--light-text-color); text-align: center; overflow: hidden; /* Hide overflow from background image */ } .hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; /* Behind content and overlay */ } .hero-background img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); /* Darken image for readability */ } .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent black overlay */ z-index: -1; /* Behind content, above image */ } .hero-content { position: relative; /* Ensure content is above background layers */ z-index: 1; max-width: 800px; } .hero h1 { font-size: 3.5rem; margin-bottom: 1rem; color: var(--light-text-color); text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Text shadow for readability */ } .hero .subtitle { font-size: 1.3rem; margin-bottom: 2rem; color: rgba(255, 255, 255, 0.9); text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); } /* --- Service Grid --- */ .service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */ gap: var(--spacing-unit); } .service-item { background-color: var(--light-text-color); border: 1px solid var(--border-color); border-radius: 8px; padding: calc(var(--spacing-unit) * 1.5); text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; align-items: center; } .service-item:hover { transform: translateY(-5px); /* Lift effect on hover */ box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); } .service-item img { width: 80px; /* Fixed size for service icon/image */ height: 80px; border-radius: 50%; /* Make image round */ margin-bottom: var(--spacing-unit); border: 3px solid var(--secondary-color); /* Accent border */ } .service-item h3 { margin-top: 0; margin-bottom: calc(var(--spacing-unit) / 2); font-size: 1.3rem; } .service-item p { font-size: 1rem; margin-bottom: 0; flex-grow: 1; /* Allow paragraphs to take up equal space */ } /* --- Why Choose Us Grid --- */ .reason-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive grid */ gap: var(--spacing-unit); text-align: center; } .reason-item { padding: var(--spacing-unit); background-color: var(--light-text-color); border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; } .reason-item:hover { transform: translateY(-3px); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); } .reason-item .icon { font-size: 3rem; color: var(--secondary-color); margin-bottom: calc(var(--spacing-unit) / 2); } .reason-item h3 { font-size: 1.2rem; margin-bottom: calc(var(--spacing-unit) / 2); } .reason-item p { font-size: 0.95rem; margin-bottom: 0; } /* --- Testimonials --- */ .testimonial-slider { /* Basic styling for static examples */ display: flex; gap: var(--spacing-unit); overflow-x: auto; /* Add scrolling for more items */ padding-bottom: var(--spacing-unit); /* Space for scrollbar */ -webkit-overflow-scrolling: touch; /* Smooth scrolling on touch devices */ scrollbar-width: thin; /* Firefox */ scrollbar-color: var(--secondary-color) transparent; /* Firefox scrollbar color */ } /* Custom scrollbar for Webkit browsers */ .testimonial-slider::-webkit-scrollbar { height: 8px; } .testimonial-slider::-webkit-scrollbar-track { background: var(--background-light); border-radius: 10px; } .testimonial-slider::-webkit-scrollbar-thumb { background: var(--secondary-color); border-radius: 10px; } .testimonial-slider::-webkit-scrollbar-thumb:hover { background: var(--primary-color); } .testimonial-item { flex: 0 0 350px; /* Fixed width for each item */ background-color: var(--light-text-color); border-radius: 8px; padding: calc(var(--spacing-unit) * 1.5); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); border-left: 4px solid var(--secondary-color); /* Accent line */ /* For a real slider, you'd use a JS library */ } .testimonial-item p { font-style: italic; margin-bottom: calc(var(--spacing-unit) / 2); line-height: 1.5; } .testimonial-item .customer-meta { font-weight: 600; font-size: 0.9rem; color: var(--primary-color); text-align: right; } /* --- CTA Bottom --- */ .cta-bottom h2, .cta-bottom p { color: var(--light-text-color); } /* --- Footer --- */ .site-footer { background-color: var(--background-dark); color: rgba(255, 255, 255, 0.8); padding-top: calc(var(--spacing-unit) * 3); font-size: 0.9rem; } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--spacing-unit) * 2; margin-bottom: var(--spacing-unit) * 2; } .footer-brand h3 { color: var(--light-text-color); margin-bottom: var(--spacing-unit); } .footer-brand p { font-size: 0.9rem; margin-bottom: 0; } .footer-contact h4, .footer-links h4 { color: var(--light-text-color); margin-bottom: var(--spacing-unit); font-size: 1.1rem; } .footer-contact > div { display: flex; align-items: center; margin-bottom: calc(var(--spacing-unit) / 2); } .footer-contact i { color: var(--secondary-color); margin-right: 8px; font-size: 1rem; } .footer-contact a, .footer-contact span { color: rgba(255, 255, 255, 0.8); } .footer-contact a:hover { color: var(--secondary-color); } .footer-links ul { list-style: none; padding: 0; margin: 0; } .footer-links li { margin-bottom: calc(var(--spacing-unit) / 2); } .footer-links a { color: rgba(255, 255, 255, 0.8); transition: color 0.3s ease; } .footer-links a:hover { color: var(--secondary-color); text-decoration: underline; } .copyright { background-color: rgba(0, 0, 0, 0.2); /* Slightly darker band */ padding: var(--spacing-unit) 0; text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); } /* --- Responsiveness --- */ @media (max-width: 768px) { h1 { font-size: 2.2rem; } h2 { font-size: 1.8rem; } h3 { font-size: 1.3rem; } .hero { height: 60vh; min-height: 400px; } .hero h1 { font-size: 2.5rem; } .hero .subtitle { font-size: 1.1rem; } .cta-button { padding: 0.8rem 1.5rem; font-size: 1rem; } .section-spacing { padding: calc(var(--spacing-unit) * 2) 0; } .header-content { flex-direction: column; align-items: flex-start; /* Align items to the start in column layout */ gap: 1rem; } .contact-info { gap: 1rem; /* Reduce gap */ width: 100%; /* Allow contact info to take full width */ justify-content: center; /* Center contact info below logo */ } .contact-info > div { flex-direction: column; /* Stack icon and text */ align-items: center; text-align: center; } .contact-info i { margin-right: 0; margin-bottom: 4px; /* Space below icon */ } .logo { width: 100%; text-align: center;} .service-grid, .reason-grid, .footer-content { grid-template-columns: 1fr; /* Stack columns on small screens */ } .service-item, .reason-item, .testimonial-item { flex: 0 0 90%; /* Allow slight horizontal scroll on testimonials */ margin-left: 5%; /* Center items visually if scrolling */ margin-right: 5%; } .testimonial-slider { padding: 0 var(--spacing-unit) var(--spacing-unit); /* Add padding for scroll on small screens */ } .footer-contact, .footer-links { text-align: center; } .footer-links ul { padding: 0; } .footer-contact > div { justify-content: center; } } @media (max-width: 480px) { h1 { font-size: 2rem; } h2 { font-size: 1.5rem; } .hero h1 { font-size: 2.2rem; } .hero .subtitle { font-size: 1rem; } .cta-button { padding: 0.7rem 1rem; font-size: 0.9rem; } .contact-info { flex-direction: column; gap: 0.5rem; } }