/* 
   Theme: Shkalla Construction Premium
   Primary Colors: Dark Navy (#102a43), Crimson Red (#971413)
   Font: Inter, sans-serif
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --primary-color: #102a43;
    --primary-light: #243b53;
    --primary-dark: #0a1c2e;
    --accent-color: #971413;
    /* Crimson Red */
    --accent-hover: #7a100f;
    --text-main: #334e68;
    --text-light: #627d98;
    --bg-body: #f0f4f8;
    --bg-white: #ffffff;
    --gradient-hero: linear-gradient(135deg, rgba(16, 42, 67, 0.7) 0%, rgba(36, 59, 83, 0.6) 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --container-width: 1200px;
    --transition-base: all 0.3s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-grey {
    background-color: var(--bg-body);
}

.section-white {
    background-color: var(--bg-white);
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.text-center {
    text-align: center;
}

.text-light {
    color: var(--text-light);
}

.text-white {
    color: white;
}

/* Header & Navigation */
.top-bar {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    z-index: 1001;
    position: relative;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.lang-switcher-top {
    display: flex;
    gap: 20px;
}

.lang-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    transition: var(--transition-base);
}

.lang-link.active {
    color: white;
}

.lang-link:hover {
    color: white;
}

.lang-name {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
    font-weight: 500;
    font-size: 0.8rem;
}

.lang-link:hover .lang-name {
    max-width: 100px;
    opacity: 1;
    margin-left: 4px;
}

.main-header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: url('../images/index.png') no-repeat center center/cover;
    position: relative;
    color: white;
    padding: 120px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero.hero-about,
.hero.hero-services,
.hero.hero-projects,
.hero.hero-why,
.hero.hero-contact,
.hero.hero-careers,
.hero.hero-materials {
    padding: 80px 0;
    min-height: 325px;
}

.hero.hero-about {
    background-image: url('../images/aboutus2.png');
}

.hero.hero-services {
    background-image: url('../images/services.png');
}

.hero.hero-projects {
    background-image: url('../images/projects.png');
}

.hero.hero-why {
    background-image: url('../images/chooseus2.png');
}

.hero.hero-contact {
    background-image: url('../images/contact.png');
}

.hero.hero-careers {
    background-image: url('../images/careers.png');
}

.hero.hero-materials {
    background-image: url('../images/materials.png');
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(60, 42, 42, 0.55);
    /* Neutral dark overlay for better image clarity & text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.hero h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero h1.crimson-shadow {
    text-shadow: 3px 3px 6px #102a43
}

.hero p.crimson-shadow {
    text-shadow: 2px 2px 4px #102a43
}

.hero-tagline {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
    color: white !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-meta {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-shadow: 1px 1px 3px #102a43;
}

.hero-meta p {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-meta i {
    color: white;
    /* Soft gold for verification icons */
    font-size: 1.2rem;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-whatsapp {
    background-color: var(--accent-color);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    text-transform: none;
    font-size: 0.95rem;
    margin-top: 0;
    /* Removing top margin for parallel layout */
}

.btn-whatsapp:hover {
    background-color: var(--accent-hover);
    color: white;
}

.btn-whatsapp-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    font-size: 0.85rem;
    transition: var(--transition-base);
}

.btn-whatsapp-footer:hover {
    background-color: var(--accent-hover);
    transform: scale(1.1);
}

.btn-whatsapp-footer i {
    color: white !important;
    margin: 0 !important;
    width: auto !important;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.contact-row p {
    margin-bottom: 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info-item i {
    color: var(--accent-color);
    margin-top: 5px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-info-item span {
    flex: 1;
}

/* Boxes / Cards */
.feature-box {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border-bottom: 4px solid transparent;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 15px;
}

/* Section Dividers / Specifics */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

/* Services Page Specifics */
.services-grid {
    align-items: start;
    margin-top: 30px;
}

.column-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.column-title i {
    color: var(--accent-color);
}

/* Accordion Styles */
.accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.accordion-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-base);
}

.accordion-header:hover {
    background-color: rgba(151, 20, 19, 0.03);
}

.accordion-header i.service-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 30px;
    text-align: center;
}

.accordion-header h3 {
    flex: 1;
    font-size: 1.1rem;
    margin: 0;
    color: var(--primary-color);
}

.accordion-indicator {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.accordion-item.active .accordion-indicator {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    /* Sufficient for long content like careers */
    padding-bottom: 25px;
}

.accordion-body {
    padding: 0 25px 0 75px;
    /* Aligned with title text */
    color: var(--text-main);
}

@media (max-width: 768px) {
    .accordion-body {
        padding: 0 20px 0 20px;
    }

    .accordion-header {
        padding: 15px;
        gap: 15px;
    }
}

.section-title span {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-col ul li i {
    color: var(--accent-color);
    margin-top: 4px;
    width: 16px;
    text-align: center;
}


.footer-col ul li a {
    color: #a0aec0;
}

.footer-col ul li a.whatsapp-link:hover {
    color: #25d366;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {

    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-header .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        text-align: center;
    }

    .main-header .nav-links.active {
        display: flex;
    }

    .accordion-body {
        padding: 0 15px 0 20px;
        /* Less padding on mobile */
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {

    .grid-4,
    .grid-3,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btns .btn {
        width: 100%;
        margin-left: 0 !important;
    }
}

/* Utility for spacing in content */
.content-block {
    margin-bottom: 30px;
}

/* Custom Form Validation Styles */
.form-group {
    position: relative;
    margin-bottom: 25px !important;
}

.error-message {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: '\f06a';
    /* Font Awesome exclamation circle */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.form-input.invalid {
    border-color: var(--accent-color) !important;
    background-color: rgba(151, 20, 19, 0.02);
}

.form-input.invalid+.error-message {
    display: flex;
}

/* Contact Page Layout Refinements */
.contact-grid {
    align-items: stretch;
}

.contact-intro-col {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-card {
    background: var(--bg-body);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-top: 4px;
}

.contact-form-card {
    padding-bottom: 30px !important;
    /* Reduced bottom padding */
    height: 100%;
}

.contact-form-card .form-group:last-of-type {
    margin-bottom: 15px !important;
    /* Reduced space before button */
}