/* 
 * Master Stylesheet: Estructura Specialised Construction Pvt Ltd 
 * Last Updated: May 1, 2026 
 */

/* =========================================
   Global Variables & Resets
   ========================================= */
/* Universal Box Sizing - Prevents padding from breaking layouts */
*, *::before, *::after {
    box-sizing: border-box;
}
:root {
    --primary-navy: #0B2046;
    --accent-orange: #F25C05;
    --bg-light-gray: #F4F6F8;
    --text-dark: #333333;
    --text-light: #FFFFFF;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--text-light);
}

h1, h2, h3, h4 {
    margin-top: 0;
    font-family: 'Montserrat', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   Header & Navigation
   ========================================= */
header {
    background-color: var(--text-light);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container img {
    max-height: 50px;
    margin-right: 15px;
}

.logo-container h2 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--primary-navy);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    font-weight: bold;
    color: var(--primary-navy);
    padding: 10px 0;
}

nav ul li a:hover {
    color: var(--accent-orange);
}

/* Dropdown Menu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--text-light);
    min-width: 250px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    top: 100%;
    left: 0;
    z-index: 1;
    border-top: 3px solid var(--accent-orange);
    border-radius: 0 0 4px 4px;
}

.dropdown-content a {
    color: var(--primary-navy);
    padding: 12px 16px;
    display: block;
    font-weight: normal;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background-color: var(--bg-light-gray);
    color: var(--accent-orange);
    padding-left: 20px; /* Slight indent on hover for UX */
}

.dropdown:hover .dropdown-content {
    display: block;
}
/* =========================================
   Core Capabilities Section (Three-Column Cards)
   ========================================= */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Image Placeholder Style */
.card-img-container {
    width: 100%;
    height: 200px; /* Keeps all images a uniform size */
    background-color: var(--bg-light-gray);
    margin-bottom: 25px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the box without distorting */
}

.card h3 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card p {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* This ensures buttons always align at the bottom */
}

/* Know More Button */
.know-more-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: auto;
}

.know-more-btn:hover {
    background-color: var(--primary-navy);
    color: var(--text-light);
}
/* =========================================
   Hero Section
   ========================================= */
.hero {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 100px 50px;
    text-align: center;
}

.hero h1 { 
    font-size: 3rem; 
    margin-bottom: 20px; 
}

.hero p { 
    font-size: 1.2rem; 
    max-width: 800px; 
    margin: 0 auto 30px auto; 
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--text-light) !important;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    border: 2px solid var(--accent-orange);
    transition: all 0.3s ease;
}

.cta-button:hover { 
    background-color: transparent; 
    color: var(--accent-orange) !important;
}

/* =========================================
   General Layout Utility Classes
   ========================================= */
.section-padding { 
    padding: 80px 50px; 
}

.bg-gray { 
    background-color: var(--bg-light-gray); 
}

.text-center { 
    text-align: center; 
}

/* =========================================
   Service Pages
   ========================================= */
.service-header {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 60px 50px;
    text-align: center;
    border-bottom: 5px solid var(--accent-orange);
}

.service-content {
    padding: 60px 50px;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* =========================================
   Ongoing Projects Page
   ========================================= */
.project-section {
    padding: 60px 50px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 2px solid var(--bg-light-gray);
}

.project-section:last-child { 
    border-bottom: none; 
}

.project-title { 
    color: var(--primary-navy); 
    margin-bottom: 10px; 
    font-size: 2rem; 
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.media-box {
    background-color: #E2E8F0;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #64748B;
    font-weight: bold;
    border: 2px dashed #CBD5E1;
}
/* =========================================
   Why Partner Section (Two-Column Layout)
   ========================================= */
.why-partner-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-partner-image {
    flex: 1; /* Takes up 50% of the space */
}

.why-partner-image img {
    width: 100%;
    border-radius: 8px; /* Adds the rounded corners seen in the photo */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); /* Optional subtle shadow */
    display: block;
}

.why-partner-content {
    flex: 1; /* Takes up the other 50% of the space */
    display: flex;
    flex-direction: column;
    gap: 30px; /* Space between each of the 3 points */
}

.benefit-item {
    display: flex;
    gap: 15px; /* Space between the checkmark and text */
    align-items: flex-start;
}

.check-icon {
    color: var(--accent-orange);
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.2;
}

.benefit-text h3 {
    color: var(--primary-navy);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.benefit-text p {
    color: #555555; /* Slightly lighter gray for the paragraph text */
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Mobile Responsiveness for the new section */
@media (max-width: 900px) {
    .why-partner-container {
        flex-direction: column;
    }
}
/* =========================================
   Downloads Page
   ========================================= */
.download-list {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 50px;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: var(--bg-light-gray);
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 5px solid var(--accent-orange);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.download-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-navy);
}

.download-btn {
    background-color: var(--primary-navy);
    color: var(--text-light) !important;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
}

.download-btn:hover {
    background-color: var(--accent-orange);
}

/* =========================================
   Contact Us Page
   ========================================= */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 50px;
    gap: 50px;
}

.contact-details {
    flex: 1;
    min-width: 300px;
}

.contact-details h2 { 
    color: var(--primary-navy); 
    margin-bottom: 20px; 
    font-size: 2.2rem;
}

.contact-details p { 
    font-size: 1.1rem; 
    margin-bottom: 15px; 
}

.contact-details a { 
    color: var(--accent-orange); 
    font-weight: bold; 
}

.contact-details a:hover {
    text-decoration: underline;
}

.map-container {
    flex: 1;
    min-width: 300px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* =========================================
   Footer
   ========================================= */
footer {
    background-color: var(--primary-navy);
    color: var(--text-light);
    padding: 60px 50px;
    text-align: center;
}

footer h2 {
    font-size: 2.2rem;
}

.contact-info {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 1.1rem;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a { 
    color: var(--accent-orange); 
    font-weight: bold; 
}

.contact-info a:hover { 
    text-decoration: underline; 
}

/* =========================================
   Mobile Responsiveness
   ========================================= */
@media (max-width: 900px) {
    header {
        flex-direction: column;
        padding: 20px;
    }

    .logo-container {
        margin-bottom: 20px;
        text-align: center;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero h1 { 
        font-size: 2.2rem; 
    }

    .hero, .section-padding, .service-header, .service-content, .project-section, .contact-container, footer { 
        padding: 40px 20px; 
    }

    .download-list {
        padding: 0 20px;
    }

    .download-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
/* =========================================
   Post-Tensioning Dark Grid Layout
   ========================================= */
.pt-dark-section {
    background: linear-gradient(to right, #00040A 50%, #001B2E 100%); /* Matches image background */
    color: #ffffff;
    padding: 60px 0;
}

.pt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
}

.pt-grid-item {
    padding: 50px;
}

/* Creating the cross-hair grid dividers */
.pt-grid-item.border-right {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.pt-grid-item.border-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.pt-icon {
    margin-bottom: 25px;
}

.pt-grid-item h3 {
    font-size: 1.25rem;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    margin-bottom: 20px;
}

.pt-grid-item ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0;
}

.pt-grid-item ul li {
    font-size: 0.95rem;
    color: #D1D5DB; /* Light gray text for readability */
    line-height: 1.5;
    margin-bottom: 6px;
}

/* Mobile Responsiveness for Grid */
@media (max-width: 900px) {
    .pt-grid {
        grid-template-columns: 1fr; /* Stacks to a single column */
    }
    .pt-grid-item {
        padding: 40px 20px;
    }
    .pt-grid-item.border-right {
        border-right: none;
    }
    /* Adds bottom border to all except the very last one on mobile */
    .pt-grid-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
}

/* =========================================
   Precast Erection Rows (3-Column Layout)
   ========================================= */
.erection-container {
    max-width: 1200px;
    margin: 0 auto;
}

.erection-row-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    overflow: hidden; /* Ensures the image respects the border-radius */
}

/* Column 1: Image */
.erection-image {
    flex: 0 0 32%; /* Takes up 32% of the width */
    display: flex; /* Forces the container to stretch */
    align-items: stretch; /* Ensures the child image fills the height */
}

.erection-image img {
    width: 100%;
    height: 100%;
    min-height: 100%; /* Prevents the image from shrinking */
    object-fit: cover; /* Fills the space without distorting or squishing */
    object-position: center; /* Keeps the best part of the image centered */
    display: block;
}
/* Column 2: Content */
.erection-content {
    flex: 0 0 40%; /* Takes up 40% of the width */
    padding: 40px;
    border-right: 1px solid #E2E8F0; /* The vertical dividing line */
}

.erection-content h2 {
    color: var(--primary-navy);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.erection-content p {
    color: #444444;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Column 3: Benefits Checklist */
.erection-benefits {
    flex: 0 0 28%; /* Takes up 28% of the width */
    display: flex;
    flex-direction: column;
}

.erection-benefits .benefit-item {
    padding: 25px 30px;
    border-bottom: 1px solid #E2E8F0; /* Horizontal dividing lines */
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-grow: 1; /* Distributes height evenly */
}

/* Removes the bottom line from the last item */
.erection-benefits .benefit-item:last-child {
    border-bottom: none;
}

.benefit-item .check-icon {
    color: #D32F2F; /* Matching the red/orange checkmark in the image */
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 2px;
}

.benefit-item .benefit-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.benefit-item .benefit-text strong {
    color: var(--primary-navy);
    font-size: 1.05rem;
}

.benefit-item .benefit-text span {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.4;
}
/* --- Global Container --- */
.product-container {
    max-width: 1000px;
    margin: 40px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
}

/* --- Product Card Layout --- */
.product-card {
    display: flex;
    border: 1px solid #e0e4e8;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
}

/* --- Image Styling --- */
.product-image-wrapper {
    flex: 0 0 45%; /* Image takes up 45% of the card width */
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Text & Details Section --- */
.product-details {
    flex: 1; /* Takes up remaining space */
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
}

.product-details h2 {
    color: #1a365d; /* Dark navy blue */
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
}

.product-description {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* --- Specifications List --- */
.specs-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.specs-list li {
    font-size: 13px;
    color: #444;
    padding: 10px 0;
    border-bottom: 1px dashed #d1d5db; /* Dashed separator */
    display: flex;
    align-items: center;
}

/* Removes the dashed border from the last item */
.specs-list li:last-child {
    border-bottom: none; 
}

/* Orange Icons */
.specs-list li i {
    color: #e65100; /* Matching the orange from the image */
    width: 25px;
    font-size: 14px;
}

.specs-list li strong {
    font-weight: 600;
    margin-right: 5px;
}

/* --- View Details Button --- */
.view-details-btn {
    color: #e65100;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    margin-top: auto; /* Pushes button to the bottom if text is short */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.view-details-btn:hover {
    color: #bf360c;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .product-card {
        flex-direction: column; /* Stacks image on top of text on small screens */
    }
    
    .product-image-wrapper {
        flex: auto;
        height: 250px;
    }
    
    .product-details {
        padding: 20px;
    }
}
/* Mobile Responsiveness for Rows */
@media (max-width: 950px) {
    .erection-row-card {
        flex-direction: column; /* Stacks everything vertically on small screens */
    }
    
    .erection-image, .erection-content, .erection-benefits {
        flex: 1 1 100%; /* Resets width to 100% */
    }
    
    .erection-image img {
        height: 250px; /* Restricts image height on mobile */
    }
    
    .erection-content {
        border-right: none;
        border-bottom: 1px solid #E2E8F0;
        padding: 30px 20px;
    }
    
    .erection-benefits .benefit-item {
        padding: 20px;
    }
}