:root {
    --primary-color: #003366;
    --secondary-color: #FF6600;
    --hero-blue: #4A5D94;
    --light-bg: #f8f9fa;
    --dark-bg: #002244;
    --text-color: #333;
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-top: 0;
    font-weight: 600;
}

.btn {
    color: var(--white-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
}

section {
    padding: 80px 0;
    overflow: hidden;
}

.main-header {
    background: var(--white-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    margin: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.logo span {
    color: var(--secondary-color);
}

#primary-navigation a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

#primary-navigation a:hover {
    color: var(--secondary-color);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.hero {
    position: relative;
    height: 95vh;
    min-height: 750px;
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.7);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 950px;
}

.hero-sub-heading {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    height: 20px;
    transition: opacity 0.3s;
}

.hero-main-heading {
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--white-color);
    line-height: 1.2;
}

.hero-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 5px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tab-button {
    background: transparent;
    color: var(--white-color);
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.hero-tab-button.active {
    background-color: var(--hero-blue);
}

.google-rating {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: left;
}

.google-rating p {
    margin: 0;
    font-size: 0.9rem;
}

.google-rating .stars {
    color: #fbbc05;
    font-size: 1rem;
}

.hero-tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.hero-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-search-bar {
    display: flex;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 65px;
}

.hero-search-bar > div {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.hero-search-bar > div:not(:last-child) {
    border-right: 1px solid #e0e0e0;
}

.hero-search-bar input,
.hero-search-bar select {
    border: none;
    outline: none;
    height: 100%;
    background: transparent;
    font-size: 1rem;
    color: var(--text-color);
    width: 100%;
}

.hero-search-input {
    flex-grow: 1;
}

.hero-search-button {
    background-color: var(--hero-blue);
    color: var(--white-color);
    cursor: pointer;
    padding: 0 25px;
}

.hero-city-select {
    background-color: var(--hero-blue);
}

.hero-city-select select {
    color: var(--white-color);
    font-weight: 500;
}

.hero-requirement-form {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    padding: 40px;
    border-radius: 8px;
    text-align: left;
    max-width: 900px;
    margin: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95rem;
}

.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-top: 8px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.form-footer {
    margin-top: 20px;
    text-align: center;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading .icon {
    height: 40px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-heading p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-tab {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-tab.active {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-color: var(--secondary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card-v2 {
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: opacity 0.4s, transform 0.4s;
}

.project-card-v2.hidden {
    opacity: 0;
    transform: scale(0.95);
    display: none;
}

.project-card-v2 img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.project-card-v2-content {
    padding: 25px;
}

.project-card-v2-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-card-v2-price strong {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.project-card-v2-info {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.project-card-v2-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.project-card-v2-info svg {
    width: 18px;
    height: 18px;
    fill: var(--secondary-color);
}

.project-card-v2-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    text-align: right;
}

.dark-bg-section {
    background: var(--dark-bg);
}

.dark-bg-section .section-heading h2,
.dark-bg-section .section-heading p,
.dark-bg-section h3,
.dark-bg-section strong,
.dark-bg-section li {
    color: var(--white-color);
}

.horizontal-scroll-wrapper {
    position: relative;
}

.horizontal-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 10px;
    scrollbar-width: none;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll-container > * {
    flex-shrink: 0;
    width: 350px;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white-color);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-arrow.left {
    left: -20px;
}

.scroll-arrow.right {
    right: -20px;
}

#experience {
    background-color: var(--light-bg);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.experience-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.experience-card h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
}

.experience-card h3 svg {
    width: 40px;
    height: 40px;
}

#developers {
    border-top: 1px solid #eee;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    align-items: center;
}

.logo-item img {
    max-height: 50px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

#handholding {
    background-color: #fff9f2;
    padding: 0;
}

.handholding-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
}

.review-card {
    text-align: center;
}

.review-card img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

.dev-review-card {
    display: flex;
    align-items: center;
    gap: 40px;
}

.dev-review-card img.dev-avatar {
    width: 200px;
    height: auto;
}

.main-footer {
    background-color: var(--dark-bg);
    color: var(--white-color);
    padding: 80px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-grid h4 {
    color: var(--white-color);
    border-bottom: 2px solid var(--secondary-color);
}

.footer-grid a {
    color: #ccc;
    text-decoration: none;
}

.footer-grid ul {
    list-style: none;
    padding: 0;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #3d5a78;
    padding-top: 30px;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .experience-grid,
    .handholding-grid,
    .footer-grid,
    .hero-requirement-form .form-grid,
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .scroll-arrow {
        display: none;
    }
    .dev-review-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    #primary-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }
    #primary-navigation.nav-active {
        display: flex;
    }
    .mobile-nav-toggle {
        display: block;
    }
    .main-header .btn {
        display: none;
    }
    .hero {
        min-height: 100vh;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-tab-buttons {
        flex-wrap: wrap;
        border: none;
        padding: 10px;
        background: rgba(0, 0, 0, 0.2);
    }
    .hero-search-bar {
        flex-direction: column;
        height: auto;
        border-radius: 8px;
    }
    .hero-search-bar > div {
        border: none;
        border-bottom: 1px solid #eee;
        height: 55px;
    }
    .experience-grid,
    .footer-grid,
    .logos-grid,
    .hero-requirement-form .form-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .social-media {
        justify-content: center;
    }
    .horizontal-scroll-container > * {
        width: 300px;
    }
}

.popup-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup-modal.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: #ffffff;
    margin: 10vh auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.popup-modal.active .popup-content {
    transform: scale(1);
}

.popup-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.popup-close:hover,
.popup-close:focus {
    color: #333;
}

.popup-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.popup-content p {
    margin-top: 0;
    margin-bottom: 25px;
    color: #555;
}

#popup-contact-form .form-group {
    margin-bottom: 15px;
}

#popup-contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

#popup-contact-form input,
#popup-contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

#popup-contact-form button {
    width: 100%;
    font-size: 1rem;
    padding: 15px;
}


/* career page */
.page-hero {
    background-image: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=2071&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: var(--white-color);
}

.page-hero h1 {
    color: var(--white-color);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

#why-us .experience-card h3 i {
    color: var(--secondary-color);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    text-align: center;
}

.job-listings {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-listing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.job-listing:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    transform: translateY(-5px);
}

.job-listing h3 {
    margin: 0 0 8px 0;
    font-size: 1.4rem;
}

.job-listing p {
    margin: 0;
    color: #555;
    font-weight: 500;
}

.job-listing .btn {
    padding: 10px 30px;
}

.general-application-form {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 8px;
}

.general-application-form .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.general-application-form .form-group label {
    color: #eee;
    font-weight: 500;
}

.general-application-form input, 
.general-application-form textarea {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #777;
    color: #333;
}

.general-application-form input[type="file"] {
    background: #fff;
    padding: 10px;
    cursor: pointer;
}

.form-group-full {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }
    .job-listing {
        flex-direction: column;
        align-items: flex-start;
    }
    .job-apply {
        width: 100%;
        text-align: left;
        margin-top: 15px;
    }
    .general-application-form .form-grid {
        grid-template-columns: 1fr;
    }
}


/* about page */

.about-hero {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.about-hero h1 {
    color: white;
    font-size: 3rem;
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-grid img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.story-content p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.stats {
    padding: 50px 0;
    background: var(--light-color);
}

.stats .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item h2 {
    font-size: 2.5rem;
    margin: 0;
    color: var(--secondary-color);
}

.stat-item p {
    margin: 5px 0 0;
    font-size: 1.1rem;
}

.team-section {
    padding: 80px 0;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--light-color);
}

.team-member h3 {
    margin-bottom: 5px;
}

.team-member p {
    color: var(--secondary-color);
    margin: 0;
    font-weight: bold;
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    .about-hero h1 {
        font-size: 2.2rem;
    }
    .story-content h2 {
        font-size: 2rem;
    }
    .stats .container {
        flex-direction: column;
        gap: 30px;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* career page */

.property-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.property-gallery-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.property-gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.thumbnail-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail-image:hover {
    border-color: var(--secondary-color);
}

.thumbnail-image.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(0, 51, 102, 0.4);
}

.property-info-panel {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.property-tags .tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    color: var(--white-color);
    font-size: 0.8rem;
    font-weight: bold;
    margin-right: 10px;
    margin-bottom: 15px;
}

.property-tags .tag.hot { background-color: #d9534f; }
.property-tags .tag.premium { background-color: #f0ad4e; }

.property-info-panel h1 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 5px;
}

.property-location {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 25px;
}

.property-price {
    font-size: 1.5rem;
    padding: 20px;
    background: #eef3fa;
    border-left: 5px solid var(--secondary-color);
    margin-bottom: 25px;
    border-radius: 0 5px 5px 0;
}
.property-price strong {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.property-key-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.property-key-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.property-key-stats .stat-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
}

.btn.btn-full {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 1.1rem;
}

#property-description {
    line-height: 1.8;
}

#property-description h2 {
    margin-bottom: 20px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

.amenity-item {
    background: var(--white-color);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.amenity-item i {
    display: block;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}
.amenity-item span {
    font-weight: 500;
}

#inquiry-form .general-application-form .form-grid {
    grid-template-columns: 1fr 1fr;
}
#inquiry-form .general-application-form .form-group.form-group-full {
    grid-column: 1 / -1;
}

@media (max-width: 992px) {
    .property-main-grid {
        grid-template-columns: 1fr;
    }
    .property-info-panel {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .property-info-panel h1 {
        font-size: 2rem;
    }
    .property-price strong {
        font-size: 1.8rem;
    }
    .property-key-stats {
        grid-template-columns: 1fr;
    }
    #inquiry-form .general-application-form .form-grid {
        grid-template-columns: 1fr;
    }
}



/* contact page */
section {
    padding: 60px 0;
}

.contact-section {
    background: var(--light-color);
}
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}
.contact-header h1 {
    font-size: 3rem;
}
.contact-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: auto;
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}
.contact-form h3, .contact-info h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.5rem;
}
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}
.contact-form textarea {
    resize: vertical;
}

.contact-info-item {
    margin-bottom: 25px;
}
.contact-info-item h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}
.contact-info-item p {
    margin: 0;
    line-height: 1.6;
}

.map-section iframe {
    border:0;
    width: 100%;
    height: 450px;
    display: block;
}

.faq-section {
    background-color: var(--white-color);
}
.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}
.faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 15px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 15px;
}
.faq-answer p {
    margin-top: 0;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 15px 15px 15px;
}
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    .contact-header h1 {
        font-size: 2.2rem;
    }
    .contact-wrapper {
        padding: 30px 20px;
    }
}

.search-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.hero-search-bar {
    display: flex;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    height: 65px;
    width: 100%;
    max-width: 950px;
}

.secondary-filter-bar {
    display: flex;
    height: 65px;
    width: 100%;
    max-width: 550px;
    gap: 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
}

.secondary-filter-bar.active {
    max-height: 100px;
    opacity: 1;
}

.hero-search-bar > div,
.secondary-filter-bar > div {
    display: flex;
    align-items: center;
    padding: 0 20px;
}
.hero-search-bar > div:not(:last-child) {
    border-right: 1px solid #e0e0e0;
}

.hero-search-input { flex-grow: 1; }

.more-filters-toggle {
    cursor: pointer;
    font-weight: 500;
    color: black;
}
.more-filters-toggle i {
    margin-left: 5px;
    transition: transform 0.3s;
}
.more-filters-toggle.active i {
    transform: rotate(180deg);
}

.secondary-filter-bar .zone-dropdown {
    flex: 1;
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 0 20px;
}
.secondary-filter-bar .construction-dropdown {
    flex: 1;
    background-color: var(--white-color);
    border-radius: 8px;
    padding: 0 20px;
}
.secondary-filter-bar select {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
}
.secondary-filter-bar .construction-dropdown select {
    font-weight: 500;
}

#review-view * {
    box-sizing: border-box;
}

#review-view {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-grey);
    max-width: 1000px;
    margin: 2rem auto;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.form-container {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 1.5rem 0;
}

.add-review-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-add {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-add:hover {
    background-color: #357abd;
}

.table-container {
    padding: 1.5rem 2rem;
}

.table-header {
    margin-bottom: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

thead {
    background-color: #f9f9f9;
}

th {
    font-weight: 700;
    color: #333;
    font-size: 0.9rem;
    text-transform: uppercase;
}

tbody tr:last-child td {
    border-bottom: none;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--white-color);
}

.status.approved {
    background-color: var(--success-color);
}

.status.pending {
    background-color: var(--warning-color);
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.table-actions button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
    font-size: 1.1rem;
}

.table-actions button:hover {
    background-color: #e0e0e0;
}

.action-approve { color: var(--success-color); }
.action-delete { color: var(--danger-color); }

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    font-family: 'Roboto', sans-serif;
}

.modal-content {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.modal-content p {
    font-size: 1.2rem;
    margin: 0 0 2rem 0;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-confirm {
    background-color: var(--danger-color);
    color: var(--white-color);
}
.btn-confirm.approve {
    background-color: var(--success-color);
}
.btn-cancel {
    background-color: var(--medium-grey);
    color: var(--dark-grey);
}









/* home  */

:root {
    --primary-color: #003366;
    --secondary-color: #FF6600;
    --hero-blue: #4A5D94;
    --light-bg: #f8f9fa;
    --dark-bg: #002244;
    --text-color: #333;
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    margin-top: 0;
    font-weight: 600;
}

.btn {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
}

section {
    padding: 80px 0;
    overflow: hidden;
}

/* --- Header --- */
.main-header {
    background: var(--white-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px; /* Control size from CSS */
    width: auto;
}

#primary-navigation {
    display: flex;
    gap: 15px;
}
#primary-navigation a {
    margin: 0 10px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

#primary-navigation a:hover {
    color: var(--secondary-color);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 95vh;
    min-height: 700px;
    color: var(--white-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 102, 0.7);
    z-index: -1;
}

.hero-content {
    z-index: 2;
    width: 100%;
    max-width: 950px;
}

.hero-sub-heading {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    min-height: 20px;
    transition: opacity 0.3s;
}

.hero-main-heading {
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 700;
    color: var(--white-color);
    line-height: 1.2;
}

.hero-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    padding: 5px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.hero-tab-button {
    background: transparent;
    color: var(--white-color);
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.3s;
}

.hero-tab-button.active {
    background-color: var(--hero-blue);
}

.google-rating {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: left;
}

.google-rating p {
    margin: 0;
    font-size: 0.9rem;
}

.google-rating .stars {
    color: #fbbc05;
    font-size: 1rem;
}

.hero-tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

.hero-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Search Bar & Filters */
.search-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.hero-search-bar {
    display: flex;
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    height: 65px;
    width: 100%;
}

.hero-search-bar > div {
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.hero-search-bar > div:not(:last-child) {
    border-right: 1px solid #e0e0e0;
}

.hero-search-bar input,
.hero-search-bar select,
.secondary-filter-bar select {
    border: none;
    outline: none;
    height: 100%;
    background: transparent;
    font-size: 1rem;
    color: var(--text-color);
    width: 100%;
}
.hero-search-input { flex-grow: 1; }
.hero-city-select { background-color: var(--hero-blue); }
.hero-city-select select { color: var(--white-color); font-weight: 500; }

.more-filters-toggle {
    cursor: pointer;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
}
.more-filters-toggle i { margin-left: 5px; transition: transform 0.3s; }
.more-filters-toggle.active i { transform: rotate(180deg); }

.hero-search-button {
    background-color: var(--hero-blue);
    color: var(--white-color);
    cursor: pointer;
    border: none;
    padding: 0 25px;
    border-radius: 0 8px 8px 0;
}

.secondary-filter-bar {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 550px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
}

.secondary-filter-bar.active {
    max-height: 65px;
    opacity: 1;
}

.secondary-filter-bar .filter-group {
    flex: 1;
    background-color: var(--white-color);
    border-radius: 8px;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

/* Requirement Forms */
.hero-requirement-form {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    max-width: 900px;
    margin: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-group label { margin-bottom: 5px; font-size: 0.9rem; font-weight: 500; }
.form-group input, .form-group select { padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 0.95rem; }
.radio-group { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; padding-top: 8px; }
.checkbox-group { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.form-footer { margin-top: 20px; text-align: center; }

/* --- Projects Section --- */
.section-heading {
    text-align: center;
    margin-bottom: 60px;
}
.section-heading i { font-size: 1.5rem; color: var(--secondary-color); }
.section-heading h2 { font-size: 2.5rem; margin-top: 10px; }

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.filter-tab {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-tab.active {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-color: var(--secondary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card-v2 {
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    overflow: hidden;
}
.project-card-v2:hover {
    transform: translateY(-5px);
}

.project-card-v2 img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-card-v2-content { padding: 25px; }
.project-card-v2-content h3 { margin-bottom: 10px; }
.project-card-location { margin: 0 0 15px 0; color: #555; }
.project-card-location i { color: var(--secondary-color); margin-right: 5px; }
.project-card-v2-footer { border-top: 1px solid #eee; padding-top: 15px; text-align: right; }
.project-card-v2-footer a { text-decoration: none; color: var(--primary-color); font-weight: 600; }

/* --- Popup Modal --- */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.popup-modal.active { display: block; opacity: 1; }

.popup-content {
    background-color: #ffffff;
    margin: 10vh auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.4s ease;
}

.popup-modal.active .popup-content { transform: scale(1); }

.popup-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}
#popup-contact-form .form-group { margin-bottom: 15px; }
#popup-contact-form input, #popup-contact-form textarea { width: 100%; }
#popup-contact-form button { width: 100%; padding: 15px; font-size: 1.1rem; }


/* --- Footer --- */
.main-footer {
    background-color: var(--dark-bg);
    color: #ccc;
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    color: var(--white-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
}
.footer-col p { margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #ccc; text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: var(--white-color); }

.social-media { display: flex; gap: 15px; }
.social-media a {
    color: var(--white-color);
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #555;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.social-media a:hover { background-color: var(--secondary-color); border-color: var(--secondary-color); }
.footer-bottom {
    text-align: center;
    border-top: 1px solid #3d5a78;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
}
.footer-bottom a { color: yellow; text-decoration: none; }

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-main-heading { font-size: 2.8rem; }
    #primary-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white-color);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    #primary-navigation.nav-active { display: flex; }
    #primary-navigation a { padding: 10px 0; width: 100%; text-align: center; }
    .mobile-nav-toggle { display: block; }
    .header-btn { display: none; }

    .hero-search-bar {
        flex-direction: column;
        height: auto;
        border-radius: 8px;
    }
    .hero-search-bar > div, .hero-search-bar > button {
        border-right: none;
        border-bottom: 1px solid #eee;
        height: 60px;
        width: 100%;
        border-radius: 0;
    }
    .hero-search-bar > div:first-child { border-radius: 8px 8px 0 0; }
    .hero-search-bar > button { border-radius: 0 0 8px 8px; border-bottom: none; }

    .secondary-filter-bar {
        flex-direction: column;
        max-width: 100%;
        gap: 10px;
    }
    .secondary-filter-bar.active { max-height: 150px; }
    .secondary-filter-bar .filter-group {
        width: 100%;
    }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .hero { min-height: 179vh; justify-content: flex-start; padding-top: 120px; }
    .hero-main-heading { font-size: 2.2rem; }
    .hero-tab-buttons { border: none; background: rgba(0,0,0,0.2); border-radius: 10px; }

    .hero-requirement-form { padding: 20px; }
    .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .google-rating { display: none; }
    .hero-tab-button { font-size: 0.85rem; padding: 6px 12px; }
    .section-heading h2 { font-size: 2rem; }
}