/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0;
}

.logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.tagline {
    font-size: 0.7rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.about-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Process Section */
.process {
    padding: 5rem 0;
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 581px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 850px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.process-step {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-step p {
    color: var(--text-light);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-card.featured {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #fff 0%, #ffe6e6 100%);
}

.service-card.special {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6e6 100%);
    border-color: #ff9800;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.special-note {
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.8;
}

/* Why Us Section */
.why-us {
    padding: 5rem 0;
    background: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1200px;
}

@media (min-width: 481px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 769px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.why-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.why-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.commitment {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.commitment h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.commitment p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: var(--bg-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-light);
}

/* New Project Cards with Background Images */
.projects-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card-new {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: var(--transition);
}

.project-card-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
}

.project-card-new:hover .project-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.85) 100%);
}

.project-overlay h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.project-overlay p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.project-overlay .btn {
    background: white;
    color: var(--primary-color);
}

.project-overlay .btn:hover {
    background: var(--secondary-color);
    color: white;
}

.project-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Areas */
.service-areas {
    padding: 3rem 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.service-areas h2 {
    color: white;
    margin-bottom: 1rem;
}

/* Mission & Values */
.mission-values {
    padding: 5rem 0;
    background: var(--bg-light);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mission-card, .values-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.mission-card h3, .values-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.values-card ul {
    list-style: none;
    padding: 0;
}

.values-card li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.values-card li:last-child {
    border-bottom: none;
}

.values-card strong {
    color: var(--secondary-color);
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testimonial-author {
    color: var(--text-light);
    font-weight: 600;
}

/* Stars inside testimonial authors */
.testimonial-author .stars {
    color: #f5c518; /* gold/yellow */
    margin-left: 0.4rem;
}
.stars{
    font-size: 28px;
}
/* Certifications */
.certifications {
    padding: 5rem 0;
    background: var(--bg-white);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.cert-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.cert-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.cert-item p {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Hidden honeypot field for spam prevention */
.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-white);
}

/* ADU Calculator Section */
.adu-calculator {
    padding: 5rem 0;
    background: var(--bg-light);
}

.calculator-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 1rem;
}

.calculator-wrapper iframe {
    width: 100%;
    height: 1200px;
    border: none;
    display: block;
}

/* Contact Info Bar */
.contact-info-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.contact-info-item {
    text-align: center;
}

.contact-info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-item p {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Form Styles */
.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-col p {
    line-height: 1.8;
}

.footer-contact-item {
    white-space: nowrap;
}

.footer-tagline {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-col a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.8);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: white;
        box-shadow: var(--shadow);
        padding: 2rem;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .about-grid,
    .mission-grid {
        grid-template-columns: 1fr;
    }

    .contact-info-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .services-grid,
    .projects-grid,
    .projects-grid-new,
    .why-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cert-item {
        padding: 1.5rem;
    }

    .cert-item {
        padding: 1.5rem;
    }

    .project-card-new {
        height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .calculator-wrapper {
        padding: 0.5rem;
    }

    .calculator-wrapper iframe {
        height: 1000px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .contact-info-bar {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem 1rem;
    }

    .contact-form h3 {
        font-size: 1.5rem;
    }

    .form-section h4 {
        font-size: 0.95rem;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cert-item {
        padding: 1.25rem;
    }

    .cert-item h3 {
        font-size: 1.05rem;
    }

    .calculator-wrapper {
        padding: 0.25rem;
    }

    .calculator-wrapper iframe {
        height: 900px;
    }

    .footer-col p {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}
