/* --- Home Page Specifics --- */

/* Hero Section with Overlay */
.hero-electric {
    background: linear-gradient(rgba(0, 34, 68, 0.8), rgba(0, 0, 0, 0.85)), url('../images/E1.jpeg');
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    text-align: center;
    color: #fff;
}

.hero-electric h1 {
    font-size: 3rem;
    color: #fcc200; /* Safety Yellow */
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-electric p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #ddd;
}

/* Buttons */
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-main {
    background: #fcc200;
    color: #1a1a1a;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-main:hover { background: #e5b100; transform: translateY(-2px); }
.btn-outline:hover { background: #fff; color: #1a1a1a; }

/* Service Cards on Home Page */
.home-services {
    padding: 80px 8%;
    text-align: center;
    background: #fff;
}

.home-services h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #003366;
}

.service-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.s-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fdfdfd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.s-card h3 {
    color: #003366;
    margin-bottom: 15px;
}

.view-all {
    display: inline-block;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Highlights Bar */
.highlights {
    background: #1a1a1a;
    padding: 20px 0;
    border-bottom: 4px solid #fcc200;
}

.highlights .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    color: #fff;
    font-weight: bold;
}

.trust-badge {
    padding: 10px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-electric h1 { font-size: 2rem; }
    .hero-btns { flex-direction: column; align-items: center; }
}

/* --- Basic Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* --- Navigation --- */
header {
    background: #1a1a1a;
    padding: 10px 0;
    border-bottom: 3px solid #fcc200;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo img {
    height: 70px;
    width: auto;
    border-radius: 50%;
}

.logo-text {
    color: #fcc200;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

nav ul li a:hover, .active {
    color: #fcc200;
}

/* --- Hero & Headers --- */
.page-header {
    background: #003366;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* --- The Grid (Fixes image sizes) --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px 8%;
}

.item {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.item img {
    width: 100%;
    height: 300px;
    object-fit: cover; /* Keeps images from stretching */
    display: block;
}

.item p {
    padding: 15px;
    text-align: center;
    font-weight: bold;
    background: #fff;
}

/* --- Contact Form (The "Too Large" Fix) --- */
.contact-container {
    padding: 50px 20px;
    display: flex;
    justify-content: center;
    background: #f9f9f9;
}

.contact-card {
    width: 100%;
    max-width: 450px; /* Limits the width so fields aren't too big */
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

/* --- Professional Contact Page Styles --- */

.contact-hero {
    background: #003366;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.contact-layout {
    background: #f8f9fa;
    padding: 60px 5%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Info on left, Form on right */
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Side Info Card */
.contact-info-card {
    background: #1a1a1a;
    color: white;
    padding: 40px;
    border-radius: 10px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item strong {
    display: block;
    color: #fcc200; /* Gold */
    margin-bottom: 5px;
}

.info-item a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Form Card */
.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; /* Crucial: Keeps padding inside the box */
}

/* Keeps Email and Phone side-by-side */
.form-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.submit-button {
    background: #003366;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #fcc200;
    color: #1a1a1a;
}

/* Mobile Fix */
@media (max-width: 850px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row-split {
        grid-template-columns: 1fr;
    }
}


.phone-link {
    display: block;
    font-size: 1.5rem;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 25px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.btn-submit {
    background: #fcc200;
    color: #1a1a1a;
    padding: 15px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
}

.btn-submit:hover {
    background: #e5b100;
}

/* --- Footer --- */
footer {
    background: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 30px;
    font-size: 0.8rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
        gap: 10px;
    }
    .logo-text {
        font-size: 1rem;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}

/* --- Reviews Section Styles --- */
.reviews-section {
    padding: 80px 8%;
    background-color: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    color: #003366;
    margin-bottom: 50px;
    font-weight: bold;
    text-transform: uppercase;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: #fdfdfd;
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    border-color: #fcc200;
}

.stars {
    color: #fcc200; /* Gold Stars */
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.7;
}

.reviewer-name {
    font-weight: bold;
    color: #1a1a1a;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.google-cta {
    margin-top: 40px;
    font-weight: bold;
    color: #003366;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .reviews-section {
        padding: 50px 5%;
    }
}
