/* Base Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --accent-color: #3498db;
    --text-color: #333;
    --light-bg: #f5f6fa;
    --spacing-unit: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Top Info Bar */
.top-info-bar {
    background: var(--primary-color);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: opacity var(--transition-speed) ease;
    font-size: 0.9rem;
}

.info-item:hover {
    opacity: 0.8;
}

.info-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    opacity: 0.9;
}

.license-info {
    display: flex;
    align-items: center;
    color: white;
    font-size: 0.9rem;
}

.license-info .info-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    opacity: 0.9;
}

/* Main Navigation */
.navbar {
    padding: 1rem 0;
    background: white;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.cta-button):hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary-color);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
    font-weight: 600;
	text-decoration: none;
}

.cta-button:hover {
    background: #1a252f; /* Darker shade of primary color */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2); /* Subtle shadow using primary color */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .top-info-bar {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        flex-direction: column;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* Adjust main content padding to account for header height */
main {
    padding-top: 120px; /* Adjust based on actual header height */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('images/hero-bg.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-buttons {
	margin-top: 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    /*margin-bottom: 1rem;*/
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat .number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
}

/* Services Section Styles */
.services {
    padding: 120px 0 80px;
    background: var(--light-bg);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-bg);
    border-radius: 50%;
}

.service-icon img {
    width: 40px;
    height: 40px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.learn-more-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.learn-more-btn:hover {
    background: #d35400; /* Darker shade of the secondary color */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.learn-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(230, 126, 34, 0.3);
}

.learn-more-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: all 0.3s ease;
}

.learn-more-btn:hover::after {
    opacity: 1;
}

/* Responsive Design for Services */
@media (max-width: 768px) {
    .services {
        padding: 80px 0 40px;
    }

    .services h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

/* Projects Section Styles */
.projects {
    padding: 80px 0;
    background: #fff;
}

.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.projects-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-button {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    background: transparent;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.filter-button.active {
    background: var(--primary-color);
    color: white;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.after-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.project-image:hover .after-image {
    opacity: 1;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: all 0.3s ease;
}

.project-image:hover .image-overlay {
    opacity: 1;
}

.compare-btn {
    width: 100%;
    padding: 0.8rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.compare-btn:hover {
    background: #d35400;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.project-details {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .project-filters {
        flex-wrap: wrap;
    }
    
    .filter-button {
        padding: 0.6rem 1.5rem;
    }
}

/* Process Section Styles */
.process {
    padding: 80px 0;
    background: var(--light-bg);
}

.process-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.process h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--text-color);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% - 2px);
    width: 4px;
    height: 100%;
    background: var(--secondary-color);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-left: 30px;
    margin: 100px 0;
    width: 50%;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -8px;
    width: 16px;
    height: 16px;
    background: var(--light-bg);
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 0;
    padding-right: 30px;
    left: 50%;
}

.timeline-item:nth-child(odd)::before {
    left: -8px;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    right: -25px;
    box-shadow: 0 0 0 4px var(--light-bg);
}

.timeline-item:nth-child(odd) .timeline-icon {
    left: -25px;
    right: auto;
}

.process-icon {
    width: 24px;
    height: 24px;
    color: white;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: calc(100% - 40px);
}

.timeline-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content ul li {
    padding: 5px 0 5px 25px;
    position: relative;
}

.timeline-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Animation classes */
.timeline-item {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease;
}

.timeline-item:nth-child(odd) {
    transform: translateX(100px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 50px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
        padding-right: 0;
        padding-left: 70px;
    }

    .timeline-icon {
        left: 25px;
        right: auto;
    }

    .timeline-item:nth-child(odd) .timeline-icon {
        left: 25px;
    }
}

/* Estimator Section Styles */
.estimator {
    padding: 80px 0;
    background: var(--light-bg);
}

.estimator-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.estimator h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.estimator-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-color);
}

.estimator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.estimator-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group select:focus,
.form-group input:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.estimate-button {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.estimate-button:hover {
    background: #d35400;
    transform: translateY(-2px);
}

/* Estimate Result Styles */
.estimate-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.estimate-header {
    text-align: center;
    margin-bottom: 2rem;
}

.estimate-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.estimate-subtitle {
    color: #666;
}

.estimate-amount {
    text-align: center;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.range-low,
.range-high {
    display: flex;
    align-items: baseline;
}

.currency {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-right: 0.25rem;
}

.amount {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.range-separator {
    color: #666;
    font-size: 1.2rem;
    margin: 0 1rem;
}

.estimate-disclaimer {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
}

.disclaimer-icon {
    color: var(--secondary-color);
    flex-shrink: 0;
}

.estimate-disclaimer p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.contact-button {
    width: 100%;
	display:inline-block;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
	text-decoration:none;
	text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: #1a252f;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .estimator-grid {
        grid-template-columns: 1fr;
    }

    .estimate-amount {
        flex-direction: column;
    }

    .range-separator {
        margin: 0.5rem 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links a {
        margin: 0.5rem;
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .timeline::after {
        left: 31px;
    }
}

/* Client Portal Section Styles */
.client-portal {
    padding: 80px 0;
    background: linear-gradient(to right, var(--light-bg) 50%, white 50%);
}

.portal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.portal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.portal-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.portal-intro {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.portal-features {
    list-style: none;
    padding: 0;
}

.portal-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    color: var(--secondary-color);
}

.portal-login {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-box {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-box h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.login-form input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.login-form input:focus {
    border-color: var(--secondary-color);
    outline: none;
}

.login-button {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background: #d35400;
    transform: translateY(-2px);
}

.portal-note {
    margin-top: 1rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .client-portal {
        background: var(--light-bg);
    }

    .portal-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .portal-info {
        text-align: center;
    }

    .portal-features li {
        justify-content: center;
    }

    .login-box {
        padding: 2rem;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 40px;
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.company-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.license-info {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 1rem;
}

.license-info p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    opacity: 0.9;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.social-icon {
    width: 20px;
    height: 20px;
    color: white;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.legal-links a:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .legal-links {
        justify-content: center;
    }
}