/* public/public/css/style.css */

/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #eab308;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
.bottom_line {
    width: 100%;

    border-bottom: 1px solid rgb(200, 200, 200);
    transition: 0.3s ease-in-out;
    padding: 0px;
}

/* ==================== Navigation Styles ==================== */
/* Header default (top pe) */
#mainHeader {
    background-color: #ffffff1a;
}

/* Scroll hone ke baad */
#mainHeader.scrolled {
    background-color: #ffffff; /* ✅ WHITE HEADER */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Menu text */
.nav-link {
    color: #ffffff;
    transition: color 0.3s ease;
}

/* Scroll ke baad text dark */
#mainHeader.scrolled .nav-link {
    color: #1f2937;
}

/* Hover */
.nav-link:hover {
    color: #2563eb;
}

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
}

.logo-icon {
    display: inline-block;
    transform: skewX(-12deg);
    margin-right: 5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.625rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

/* ==================== Side Quick Enquiry Button ==================== */
/* Vertical Button */
.quick-enquiry {
    position: fixed;
    right: 0; /* ✅ RIGHT SIDE */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.quick-enquiry-btn {
    background-color: #eab308;
    color: #fff;
    padding: 2rem 0.75rem;
    border: none;
    cursor: pointer;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Slide Panel */
.enquiry-panel {
    position: fixed;
    margin-top: 15%;
    top: 0;
    right: -420px;
    width: 350px;
    height: 65vh;
    background: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    padding: 40px 30px;
    z-index: 1200;
    transition: right 0.4s ease;
}

/* OPEN STATE */
.enquiry-panel.active {
    right: 0;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* Form */
.enquiry-panel h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 30px;
}

.enquiry-panel input,
.enquiry-panel textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    margin-bottom: 20px;
    font-size: 14px;
    outline: none;
}

.enquiry-panel textarea {
    resize: none;
    height: 80px;
}

.submit-btn {
    background-color: #0b5fa5;
    color: #fff;
    padding: 12px;
    border: none;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* ==================== Hero Section ==================== */
/* ================= MRG HERO SECTION ================= */

.mrg-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* VIDEO */
.mrg-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OVERLAY */
.mrg-hero-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.7),
    rgba(30, 64, 175, 0.7)
  ); */
    z-index: 1;
}

/* CONTAINER */
.mrg-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: auto;
    height: 100%;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
}

/* CONTENT */
.mrg-hero-content {
    max-width: 640px;
    color: #ffffff;
}

.mrg-hero-title {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.mrg-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* BUTTON */
.mrg-hero-btn {
    display: inline-block;
    padding: 0.9rem 2.25rem;
    background-color: #2563eb;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

.mrg-hero-btn:hover {
    background-color: #1d4ed8;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .mrg-hero-title {
        font-size: 2.2rem;
    }

    .mrg-hero-subtitle {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .mrg-hero-title {
        font-size: 1.9rem;
    }
}

/* ==================== Philosophy Section ==================== */
/* ================= Philosophy Section ================= */

.philosophy-section {
    padding: 6rem 7.5rem;
    background: #f5f5f5;
}

.container {
    max-width: 1280px;
    margin: auto;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
}

/* LEFT CONTENT */

.philosophy-label {
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4b4747;
    margin-bottom: 1rem;
}

.philosophy-title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    max-width: 520px;
}

/* BUTTON */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1rem 2rem;
    background: #0b5ea8;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(8px);
}

/* RIGHT LIST */

.philosophy-list {
    display: flex;
    flex-direction: column;
}

.list-item {
    display: flex !important;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #e5e5e5;
}

.list-item.no-border {
    border-bottom: none;
    margin-bottom: 0;
}

.list-number {
    font-size: 1.25rem;
    color: #cfcfcf;
    font-weight: 500;
}

.list-item p {
    color: #777;
}

.list-item strong {
    color: #111;
    font-weight: 600;
}

/* MOBILE OPTIMIZATION */

@media (max-width: 640px) {
    .philosophy-title {
        font-size: 1.75rem;
    }

    .btn-primary {
        padding: 0.875rem 1.5rem;
    }

    .philosophy-section {
        padding: 6rem 1.5rem;
        background: #f5f5f5;
    }
}

/* ==================== Features List ==================== */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.feature-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d1d5db;
    margin-right: 1rem;
    min-width: 2rem;
}

.feature-text {
    color: var(--text-light);
    font-size: 1rem;
}

.feature-text .highlight {
    font-weight: 600;
    color: var(--text-dark);
}

/* ==================== Portfolio Section ==================== */
.portfolio-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.portfolio-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.portfolio-nav {
    display: flex;
    gap: 1rem;
}

.nav-arrow {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-arrow:hover {
    background-color: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.portfolio-image-container {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.portfolio-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    max-width: 24rem;
}

.portfolio-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portfolio-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.portfolio-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.portfolio-link:hover {
    color: var(--primary-dark);
}

/* ==================== Blog Section ==================== */
.blog-section {
    padding: 5rem 0;
    background-color: #111827;
    color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.featured-blog h4 {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.featured-blog h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.featured-blog p {
    color: #d1d5db;
    margin-bottom: 2rem;
}

.latest-news h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    padding-left: 1rem;
    border-left: 4px solid transparent;
    transition: border-color 0.3s;
}

.news-item:hover {
    border-left-color: var(--primary-color);
}

.news-item.active {
    border-left-color: var(--primary-color);
}

.news-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.news-date {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* ==================== Footer ==================== */
.footer {
    background-color: #161616ed;
    color: #d1d5db;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 2rem;
    height: 2rem;
    background-color: #1f2937;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--primary-color);
}

.footer-section h3 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    background-color: #1f2937;
    border: none;
    padding: 0.5rem 1rem;
    color: var(--white);
    font-size: 0.875rem;
    border-radius: 0.25rem 0 0 0.25rem;
}

.newsletter-input:focus {
    outline: none;
}

.newsletter-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 0 0.25rem 0.25rem 0;
    transition: background-color 0.3s;
}

.newsletter-btn:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
    .philosophy-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-container {
        flex-wrap: wrap;
        height: auto;
        padding: 1rem;
    }

    .nav-menu {
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .philosophy-content h2 {
        font-size: 1.75rem;
    }

    .portfolio-image {
        height: 400px;
    }

    .portfolio-card {
        left: 1rem;
        right: 1rem;
        max-width: calc(100% - 2rem);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .quick-enquiry-btn {
        padding: 1.5rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* ==================== Utility Classes ==================== */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.25rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.mt-3 {
    margin-top: 0.75rem;
}
.mt-4 {
    margin-top: 1rem;
}
.mt-5 {
    margin-top: 1.5rem;
}
.mt-6 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}
.mb-2 {
    margin-bottom: 0.5rem;
}
.mb-3 {
    margin-bottom: 0.75rem;
}
.mb-4 {
    margin-bottom: 1rem;
}
.mb-5 {
    margin-bottom: 1.5rem;
}
.mb-6 {
    margin-bottom: 2rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.py-5 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

/* ==================== Animations ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.transition-all {
    transition: all 0.3s ease;
}

/* ==================== Additional Sections ==================== */

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-dark);
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit:hover {
    background-color: var(--primary-dark);
}

/* Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.project-location {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.project-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
