/* General Body and Resets */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.btn {
    display: inline-block;
    background: #007bff; /* Example blue */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d; /* Example gray */
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-red {
    background: #dc3545; /* Example red */
}

.btn-red:hover {
    background: #c82333;
}

/* Header and Navigation */
.main-header {
    background: url('../img/SBack.jpg') no-repeat center center/cover; /* Replace with your hero image */
    color: #fff;
    position: relative;
    padding-bottom: 100px; /* Space for content above the hero */
}

.navbar {
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    padding: 15px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffd700; /* Gold color for logo */
}

.navbar .nav-links {
    display: flex;
}

.navbar .nav-links li {
    margin-left: 20px;
}

.navbar .nav-links a {
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: #ffd700;
}

.navbar .contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9em;
}

.hero-section {
    padding-top: 150px; /* Adjust based on navbar height */
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Areas We Serve */
.areas-we-serve {
    padding: 60px 0;
    text-align: center;
    background: #f8f9fa;
}

.areas-we-serve h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.area-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.area-cards .card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 280px;
    text-align: center;
}

.area-cards .card img {
    width: 100px; /* Example icon/image size */
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

/* About Us Section */
.about-us-section {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Benefits of Solar */
.benefits-of-solar {
    padding: 80px 0;
    background: #f0f8ff; /* Light blue background */
    text-align: center;
}

.benefits-of-solar h2 {
    font-size: 2.5em;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.benefit-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: left; /* Align text within benefit items */
}

.benefit-item h3 {
    color: #28a745; /* Green for benefit titles */
    margin-bottom: 10px;
}

.benefit-chart img {
    max-width: 100%;
    height: auto;
}

/* Residential Solar */
.residential-solar {
    background: url('../img/solarback.png') no-repeat center center/cover; /* Replace with your residential solar image */
    color: black;
    padding: 100px 0;
    text-align: center;
}

.residential-solar h2 {
    font-size: 3em;
    margin-bottom: 30px;
}

/* Our Services */
.our-services {
    padding: 80px 0;
    background: #fff;
}

.our-services h2 {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
}

.service-types {
    display: flex;
    flex-direction: column; /* Stack services vertically by default */
    gap: 50px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap; /* Allow content to wrap on smaller screens */
}

.service-card img {
    flex: 1;
    min-width: 300px;
    height: 250px;
    object-fit: cover;
}

.service-card .service-text {
    flex: 2;
    padding: 30px;
    min-width: 300px;
}

.service-card h3 {
    font-size: 2em;
    margin-bottom: 15px;
    color: #007bff;
}

.service-card ul {
    list-style: disc; /* Use bullets for lists */
    margin-left: 20px;
}

.service-card li {
    margin-bottom: 8px;
}

/* Specific styling for commercial service to reverse order if needed */
.commercial-service {
    flex-direction: row-reverse; /* Image on right for commercial */
}


/* Footer */
.main-footer {
    background: #212529; /* Dark background */
    color: #f8f9fa;
    padding: 60px 0 30px;
    font-size: 0.9em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #ffd700; /* Gold for footer headings */
    margin-bottom: 20px;
    font-size: 1.2em;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #f8f9fa;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #ffd700;
}

.footer-column.newsletter form {
    display: flex;
    margin-top: 15px;
}

.footer-column.newsletter input {
    border: none;
    padding: 10px;
    border-radius: 5px 0 0 5px;
    flex-grow: 1;
    outline: none;
}

.footer-column.newsletter button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.footer-column.newsletter button:hover {
    background: #0056b3;
}

.footer-column.logo-social img {
    max-width: 120px;
    margin-bottom: 20px;
}

.social-icons a {
    color: #f8f9fa;
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ffd700;
}

.social-iconsb a {
    color: orange;
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

    .social-iconsb a:hover {
        color: #ffd700;
    }

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none; /* Hide nav links on smaller screens, implement hamburger menu if desired */
    }

    .navbar .contact-info {
        flex-direction: column;
        gap: 5px;
        text-align: right;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .area-cards {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        flex-direction: column;
    }

    .service-card {
        flex-direction: column !important; /* Force column for all service cards on small screens */
    }

    .service-card img {
        width: 100%;
        height: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column.newsletter form {
        justify-content: center;
    }

    .footer-column.logo-social {
        text-align: center;
    }

    .social-icons {
        margin-top: 20px;
    }
}
/* Form Section */
.consultation-form-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: white; /* Light background to make the form stand out */
}

.form-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    padding-top: 0;
    max-width: 600px;
    width: 100%;
}

.form-header h2 {
    font-size: 2em;
    margin-bottom: 5px;
    color: #212121;
}

.form-header p {
    font-size: 1em;
    color: #6c757d;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
    border-color: #007bff;
    outline: none;
}

/* Monthly Bill Options */
.monthly-bill-group {
    margin-bottom: 30px;
}

.monthly-bill-group .info-icon {
    font-size: 0.9em;
    color: #888;
    cursor: pointer;
    margin-left: 5px;
}

.bill-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bill-options input[type="radio"] {
    display: none;
}

.bill-options label {
    background-color: #e9ecef;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
    font-weight: normal;
    font-size: 0.9em;
}

.bill-options input[type="radio"]:checked + label {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    font-weight: bold;
}

/* Checkbox and Button */
.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.form-checkbox input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.form-checkbox label a {
    color: #007bff;
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    background: #000d6a; /* Dark blue/black for button */
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #141c7b;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .form-card {
        padding: 20px;
    }
    
    .form-header h2 {
        font-size: 1.5em;
    }

    .bill-options label {
        padding: 8px 15px;
    }
}

/* New Content Section */
.new-content-section {
     /* background-color: white;Dark background */
    background: radial-gradient(at 10% 20%, #0c0a3e 0%, transparent 50%),
                radial-gradient(at 90% 80%, #2a0a3e 0%, transparent 50%),
                radial-gradient(at 50% 50%, #000d6a 0%, #000000 100%);
    background-color: #000000;
    padding: 10px 20px;
}

.content-container {
    display: flex;
    gap: 40px;
    max-width: 90%;
    margin: 0 auto;
    flex-wrap: wrap; /* Allows columns to stack on smaller screens */
    color: black;
    height: auto;
}

.left-column,
.right-column {
    flex: 1;
    min-width: 300px; /* Ensures columns don't get too narrow */
}

/* About Us Box */
.about-us-box {
    background-color: white;
    border-radius: 10px;
    padding: 0px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    height: 100%; /* Make sure both boxes are the same height */
}

.about-header h2 {
    font-size: 2.5em;
    color: #fdd835; /* Gold/yellow for header */
    margin: 0;
}

.about-us-box .subtitle {
    font-size: 1.2em;
    color: #aaa;
    margin-bottom: 20px;
}

.about-us-box p {
    font-size: 1em;
    line-height: 1.8;
    color: #eee;
    margin-bottom: 30px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.9em;
    color: #fdd835;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Services Box */
.services-box {
    background-color: transparent;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    height: auto;
}

.services-box h2 {
    font-size: 2.5em;
    color: #fdd835;
    margin-bottom: 5px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    font-size: 1.1em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #eee;
}

.service-list li i {
    color: #4CAF50; /* Green for checkmark icon */
    margin-right: 15px;
    font-size: 1.2em;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }

    .left-column,
    .right-column {
        min-width: unset;
        width: 100%;
    }
}
.values-section {
    background-color: var(--light-gray);
}
.values-section h2 {
    text-align: center;
    padding-top: 2%;
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.value-card {
    flex: 1;
    min-width: 220px;
    max-width: 250px;
    padding: 30px;
    background-color: var(--light-text);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-card i {
    font-size: 3rem;
    color: var(--secondary-orange);
    margin-bottom: 15px;
}

.logofut {
    background-color: white;
    padding: 1.5%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* What We Do Detailed Grid Styles */
.what-we-do-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-detail-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
}

    .service-detail-item:hover {
        transform: translateY(-10px);
    }

    .service-detail-item i {
        font-size: 2.5rem;
        color: var(--secondary-orange);
        margin-bottom: 20px;
    }

    .service-detail-item h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
.cta-button {
    background-color: orange;
    color: white;
    padding: 2%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}



/* Contact Page Styles */
.contact-info-section {
    padding: 80px 20px;
    background-color: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form-container h3, .contact-details-container h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .cta-button {
    width: 100%;
    text-align: center;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

    .contact-detail i {
        font-size: 1.5rem;
        color: var(--secondary-orange);
        margin-right: 15px;
        width: 30px;
    }

    .contact-detail p {
        margin: 0;
        font-size: 1rem;
    }

.social-links-container {
    margin-top: 40px;
}

    .social-links-container h4 {
        color: var(--dark-text);
        margin-bottom: 15px;
    }

.map-container {
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .map-container iframe {
        border-radius: 8px;
    }

/* Header image for Contact page */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x800.png?text=Contact+Background');
    background-size: cover;
    background-position: center;
}




/* Meet the Team Section */
.meet-the-team-section {
    padding: 80px 20px;
    background-color: var(--light-gray);
    text-align: center;
}

    .meet-the-team-section h2 {
        font-size: 2.5rem;
        margin-bottom: 50px;
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    justify-content: center;
}

.team-member-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

    .team-member-card img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        margin-bottom: 20px;
        border: 3px solid var(--secondary-orange);
    }

    .team-member-card h3 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .team-member-card .role {
        font-size: 1rem;
        color: var(--primary-blue);
        margin-bottom: 15px;
        font-weight: bold;
    }

    .team-member-card .bio {
        font-size: 0.9rem;
        color: #555;
    }

/* Final CTA on About Page */
.final-cta-about {
    background-color: var(--primary-blue);
    color: var(--light-text);
    padding: 60px 20px;
    text-align: center;
}

    .final-cta-about h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .final-cta-about p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

.NStyle {
    border: solid;
    border-width: 0.5px;
    padding: 1%;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 20px;
    margin-top: 1%;
}

/* Core Values Table-like Layout */
.core-values-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .core-values-card h3 {
        text-align: left;
        width: 100%;
        margin-bottom: 15px;
    }

.values-table {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.table-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.icon-cell {
    flex-shrink: 0;
}

    .icon-cell i {
        font-size: 1.2rem;
        color: var(--secondary-orange);
    }

.value-cell {
    flex-shrink: 0;
    font-weight: bold;
    color: var(--primary-blue);
    white-space: nowrap;
}

.description-cell {
    flex-grow: 1;
}

/* Responsive design for the table-like layout */
@media (max-width: 768px) {
    .table-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Media Page Specific Styles */
.media-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x800.png?text=Media+Gallery+Header');
    background-size: cover;
    background-position: center;
}

.photo-gallery-section, .video-gallery-section {
    padding: 80px 20px;
    text-align: center;
}

.photo-gallery-section {
    background-color: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .gallery-item:hover {
        transform: scale(1.03);
    }

    .gallery-item img {
        width: 100%;
        height: auto;
        display: block;
    }

.gallery-caption {
    padding: 15px;
    font-weight: bold;
    color: var(--dark-text);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.video-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .video-item iframe {
        width: 100%;
        aspect-ratio: 16 / 9; /* Ensures videos maintain a 16:9 aspect ratio */
    }

.video-caption {
    padding: 15px;
    font-weight: bold;
    color: var(--dark-text);
}

.contact-card {
    margin: 0 0 8px 0;
    font-size: 18px;
}


.small {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 12px 0;
}


.phones, .emails {
    margin-bottom: 14px;
}


    .phones p, .emails p {
        margin: 6px 0;
        font-size: 15px;
    }


.label-row {
    display: flex;
    align-items: center;
    gap: 12px;
}


.highlight {
    background: var(--accent);
    padding: 8px 10px;
    border-radius: 6px;
    display: inline-block;
    font-weight: 700;
    color: var(--blue);
}


.office {
    margin: 12px 0 18px 0;
}


    .office h4 { /* office sub-heading */
        margin: 0 0 6px 0;
        font-size: 15px;
        color: var(--blue);
    }


    .office p {
        margin: 0 0 8px 0;
        color: #1f2937;
        line-height: 1.45;
        font-size: 14px;
    }


/* small decorative stripe on the right like the image */
.card-decor {
    position: relative;
}

    .card-decor::after {
        content: "";
        position: absolute;
        right: -18px;
        top: 0;
        width: 40px;
        height: 100%;
        background: linear-gradient(180deg, rgba(10,78,138,0.95), rgba(10,78,138,0.7));
        clip-path: polygon(0 0, 100% 12%, 100% 88%, 0 100%);
        border-radius: 0 8px 8px 0;
        opacity: 0.95;
    }


@media (max-width:560px) {
   
    .contact-card {
        padding: 18px
    }
}