/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background-color: #1E3A8A;
    color: #fff;
}

.btn-primary:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #22C55E;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #16a34a;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #1E3A8A;
    border: 2px solid #1E3A8A;
}

.btn-outline:hover {
    background-color: #1E3A8A;
    color: #fff;
}

.btn-emergency {
    background-color: #dc2626;
    color: #fff;
    animation: pulse 2s infinite;
}

.btn-emergency:hover {
    background-color: #b91c1c;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    color: #1E3A8A;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #1E3A8A;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #22C55E;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 5px;
    padding: 1rem 0;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover,
.dropdown-content a.active {
    background-color: #f8f9fa;
    color: #1E3A8A;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-content {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    color: #1E3A8A;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #22C55E;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #16a34a;
}

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #3b82f6 100%);
    color: #fff;
}

.why-choose-us .section-title {
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0.12));
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.35);
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.feature-card h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #e2e8f0;
}

/* Latest Blog */
.latest-blog {
    padding: 80px 0;
    background-color: #f8fafc;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.blog-link {
    color: #22C55E;
    text-decoration: none;
    font-weight: 600;
}

.blog-link:hover {
    color: #16a34a;
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #22C55E 0%, #16a34a 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #22C55E;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #22C55E;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.social-icons .social-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.2);
    color: #1E3A8A;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 6px 15px rgba(15, 23, 42, 0.12);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-icons .social-icon:hover {
    background-color: #1E3A8A;
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #3b82f6 100%);
    color: #fff;
    padding: 120px 0 80px;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Service Hero */
.service-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
}

.service-hero-content h1 {
    font-size: 3rem;
    color: #1E3A8A;
    margin-bottom: 1.5rem;
}

.service-hero-content p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.service-hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

/* Service Details */
.service-details {
    padding: 80px 0;
}

.service-overview {
    text-align: center;
    margin-bottom: 4rem;
}

.service-overview h2 {
    color: #1E3A8A;
    margin-bottom: 1.5rem;
}

.service-categories {
    display: grid;
    gap: 3rem;
}

.category-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.category-image {
    border-radius: 10px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.category-content h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.category-content ul {
    list-style: none;
    margin-top: 1rem;
}

.category-content li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.category-content li::before {
    content: '•';
    color: #22C55E;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Services Listing */
.services-listing {
    padding: 80px 0;
}

.service-item {
    margin-bottom: 4rem;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    align-items: center;
}

.service-item.reverse .service-content {
    grid-template-columns: 400px 1fr;
}

.service-info {
    padding: 3rem;
}

.service-info h2 {
    color: #1E3A8A;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '•';
    color: #22C55E;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Process Steps */
.service-process,
.design-process,
.installation-process {
    padding: 80px 0;
    background-color: #f8fafc;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1E3A8A 0%, #3b82f6 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
}

/* About Page Specific */
.about-story {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: #1E3A8A;
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.mission-values {
    padding: 80px 0;
    background-color: #f8fafc;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.value-card h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.value-card ul {
    list-style: none;
}

.value-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.team-section {
    padding: 80px 0;
}

.team-image {
    margin: 2rem 0;
    text-align: center;
}

.team-image img {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.team-description {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
}

.trust-points {
    padding: 80px 0;
    background-color: #f8fafc;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trust-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.trust-icon,
.benefit-icon,
.safety-icon,
.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background-color: #f8fafc;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon::after,
.benefit-icon::after,
.safety-icon::after,
.contact-icon::after {
    content: '';
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background-color: #fff;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.05);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.trust-card h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

.emergency-content h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.emergency-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Service Plans */
.service-plans {
    padding: 80px 0;
    background-color: #f8fafc;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card.featured {
    border: 3px solid #22C55E;
    transform: scale(1.05);
}

.plan-card h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.plan-card ul {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.plan-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.plan-card li::before {
    content: '•';
    color: #22C55E;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Safety and Warning Sections */
.safety-first,
.warning-signs {
    padding: 80px 0;
}

.safety-grid,
.signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.safety-item {
    text-align: center;
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.safety-item h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.signs-category {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.signs-category h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.signs-category ul {
    list-style: none;
}

.signs-category li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.signs-category li::before {
    content: '!';
    font-weight: 700;
    color: #dc2626;
    position: absolute;
    left: 0;
}

.warning-note {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    text-align: center;
}

/* Smart Home Benefits */
.smart-benefits {
    padding: 80px 0;
    background-color: #f8fafc;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.benefit-card h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
}

/* Popular Devices */
.popular-devices {
    padding: 80px 0;
}

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.device-category {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.device-category h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.device-category ul {
    list-style: none;
}

.device-category li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.device-category li::before {
    content: '•';
    color: #22C55E;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Interior Design Styles */
.design-styles {
    padding: 80px 0;
    background-color: #f8fafc;
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.style-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.style-image {
    height: 200px;
    overflow: hidden;
}

.style-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.style-card h3 {
    color: #1E3A8A;
    margin: 1rem;
}

.style-card p {
    padding: 0 1rem 1.5rem;
    color: #64748b;
}

/* Gallery */
.service-gallery {
    padding: 80px 0;
    background-color: #f8fafc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Blog Page Specific */
.featured-post {
    padding: 80px 0;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.featured-image {
    height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 2rem;
}

.post-category {
    background-color: #22C55E;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.featured-content h2 {
    color: #1E3A8A;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.post-meta {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.blog-grid-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.blog-grid .blog-card .blog-content .post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

/* Newsletter Signup */
.newsletter-signup {
    padding: 80px 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #3b82f6 100%);
    color: #fff;
    text-align: center;
}

.newsletter-content h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-form button {
    white-space: nowrap;
}

/* Contact Page Specific */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1E3A8A;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.contact-info {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
}

.contact-info h2 {
    color: #1E3A8A;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.contact-details h3 {
    color: #1E3A8A;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details a {
    color: #1E3A8A;
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    color: #3b82f6;
}

.contact-details small {
    color: #64748b;
    font-size: 0.875rem;
}

.contact-item.emergency {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
}

.contact-item.emergency h3 {
    color: #dc2626;
}

.contact-item.emergency .contact-details a {
    color: #dc2626;
}

.social-connect {
    margin-top: 2rem;
    text-align: center;
}

.social-connect h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.map-container {
    margin-top: 2rem;
}

.map-placeholder {
    background-color: #e2e8f0;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    color: #64748b;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.faq-item h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #64748b;
    margin: 0;
}

/* Why Choose Service Section */
.why-choose-service {
    padding: 80px 0;
    background-color: #f8fafc;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .dropdown-content {
        position: static;
        display: block;
        box-shadow: none;
        background-color: #f8f9fa;
        margin-top: 1rem;
        padding: 1rem;
    }

    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    /* Service Hero */
    .service-hero {
        grid-template-columns: 1fr;
        padding: 100px 0 60px;
    }

    .service-hero-content {
        text-align: center;
        padding: 0 20px;
    }

    .service-hero-content h1 {
        font-size: 2rem;
    }

    .service-hero-image {
        margin-top: 2rem;
        padding: 0 20px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* About Content */
    .about-content,
    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 250px;
    }

    /* Service Categories */
    .category-card {
        grid-template-columns: 1fr;
    }

    .category-image {
        height: 200px;
    }

    /* Service Content */
    .service-content {
        grid-template-columns: 1fr !important;
    }

    .service-item.reverse .service-info {
        order: 1;
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Newsletter Form */
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    /* Grids */
    .features-grid,
    .blog-grid,
    .trust-grid,
    .benefits-grid,
    .devices-grid,
    .styles-grid,
    .plans-grid,
    .safety-grid,
    .signs-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* Process Steps */
    .process-steps {
        grid-template-columns: 1fr;
    }

    /* Spacing */
    .hero,
    .services-overview,
    .why-choose-us,
    .latest-blog,
    .contact-cta,
    .page-hero,
    .service-details,
    .about-story,
    .mission-values,
    .team-section,
    .trust-points,
    .service-process,
    .design-process,
    .installation-process,
    .smart-benefits,
    .popular-devices,
    .design-styles,
    .service-gallery,
    .featured-post,
    .blog-grid-section,
    .newsletter-signup,
    .contact-section,
    .map-section,
    .faq-section,
    .why-choose-service,
    .service-plans,
    .safety-first,
    .warning-signs {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .service-hero-content h1 {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-subtitle,
    .service-hero-content p {
        font-size: 1.1rem;
    }

    .contact-form-container,
    .contact-info {
        padding: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .contact-cta,
    .footer,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }

    .service-card,
    .feature-card,
    .blog-card {
        border: 2px solid #333;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
