/* --- CSS Variables --- */
:root {
    --primary-blue: #1e3a8a;    
    --accent-orange: #ea580c;
    --light-color: #fff;
    --dark-color: #111111;   
    --container-width: 1300px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #fff;
}
/* --- Container --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
/* --- Top Bar --- */
.top-bar {
    background-color: var(--primary-blue);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}
.top-bar-left span {
    margin-right: 20px;
}
.top-bar-left i {
    color: var(--light-color);
    margin-right: 5px;
}
.top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}
.admin-login {
    background: #526db6;
    color: white;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 400;
}

/* --- Navigation (Sticky) --- */
.main-header {
    background: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo img {
    height: 50px;
}
.nav-menu {
    display: flex;
    list-style: none;
}
.nav-menu li {
    margin-left: 25px;
}
.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 16px;
    text-transform: capitalize;
    transition: 0.3s;
}
.nav-menu a:hover, .nav-menu li a.active {
    color: var(--accent-orange);
}
/* --- Mobile Toggle (Right Side) --- */
.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-blue);
    order: 2; /* Ensures it stays to the right of the logo if needed */
}
/* --- Responsive Behavior --- */
@media (max-width: 992px) {
    .top-bar-left span:last-child { display: none; } /* Hide email on mobile */
    
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        display: none; /* Toggle this with JS */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    .nav-menu a {
        padding: 15px;
        display: block;
        text-align: center;
    }
}
/* --- Banner Area --- */
.hero-banner {
    width: 100%;
    height: 700px; /* Adjust height as needed */
    background: linear-gradient(to right, rgba(14, 33, 75, 0.9) 30%, rgba(14, 33, 75, 0.2) 100%), 
                url('../img/banner1.jpg') center/cover no-repeat;
    display: flex;
    align-items: center; /* Vertically center the content */
    color: white;
}
.banner-content {
    max-width: 800px; /* Limits text width for readability */
    text-align: left;
}
.banner-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.banner-content p {
    font-size: 18px;
    margin-bottom: 35px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}
/* --- Banner Buttons --- */
/* --- Button Logic --- */
.btn-group {
    display: flex;
    gap: 15px;
}
.btn {
    display: inline-block;
    padding: 14px 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    border-radius: 4px;
    transition: 0.3s;
    text-align: center; /* Centers text inside button */
}
.btn-primary { background: var(--accent-orange); color: white; border: 2px solid var(--accent-orange); }
.btn-secondary { background: transparent; color: white; border: 2px solid white; }
.btn-primary:hover {
    background: #d65d18;
    border-color: #d65d18;
}
.btn-secondary:hover {
    background: white;
    color: var(--primary-blue);
}
/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-banner { height: auto; padding: 80px 0; }
    .banner-content h1 { font-size: 32px; }
    .btn-group { flex-direction: column; width: 100%;}
    .btn {width: 100%; /* Makes buttons full width of the container */ display: block;}
}

.features-section{
    padding: 50px 0;
}
/* --- Features Grid --- */
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.feature-card {
    flex: 1;
    min-width: 250px;
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid #f6f7fe;
    border-radius: 8px;
    /* Subtle shadow like the image */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
}
/* --- Icon Styling --- */
.icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 25px auto;
    border-radius: 12px; /* Slightly rounded square */
}
/* --- Text Styling --- */
.feature-card h3 {
    color: var(--primary-blue);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}
.feature-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}
/* --- Responsive View --- */
@media (max-width: 992px) {
    .feature-card {
        flex: 0 0 calc(50% - 20px); /* 2 per row on tablets */
    }
}
@media (max-width: 600px) {
    .feature-card {
        flex: 0 0 100%; /* Full width on mobile */
    }
}

/* --- Product Section Styling --- */
/* --- Centered Product Section --- */
.product-range-section {
    padding: 50px 0;
    background-color: #ffffff;
}

/* Overriding your global flex container for this section */
.product-range-section .container {
    display: block !important;
}

/* ROW 1: Heading and Description Centered */
.header-row {
    text-align: center; /* Centers the text */
    margin-bottom: 60px;
}

.header-row h2 {
    font-size: 36px;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.header-row p {
    color: #666;
    font-size: 16px;
    max-width: 650px; /* Limits width for better look */
    margin: 0 auto; /* Centers the paragraph block itself */
    line-height: 1.6;
}

/* ROW 2: Image Box Grid */
.content-row-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card Styling */
.product-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #f1f1f1;
    text-align: left; /* Keeps text inside the card aligned left */
}

.product-box:hover {
    transform: translateY(-8px);
}

.img-container {
    position: relative;
    height: 200px;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.img-overlay-label {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.box-body {
    padding: 20px;
}

.box-body p {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

.details-btn {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .content-row-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .content-row-grid { grid-template-columns: 1fr; }
}

/* --- View All Products Button Container --- */
.view-all-row {
    margin-top: 50px;
    width: 100%;
    display: flex;
    justify-content: center; /* Centers the button horizontally */
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-blue);
    color: white;
    padding: 14px 35px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.view-all-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.view-all-btn:hover {
    background-color: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.3); /* Uses your orange variable */
}

.view-all-btn:hover i {
    transform: translateX(5px); /* Arrow nudges right on hover */
}

/* --- Applications Section --- */
.apps-section {
    padding: 50px 0;
    background-color: #fff;
}

/* Fix for your global flex container */
.apps-section .container {
    display: block !important;
}

/* Centered Header Row */
.apps-header {
    text-align: center;
    margin-bottom: 50px;
}

.apps-header h2 {
    font-size: 34px;
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.apps-header p {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* The Grid */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* App Card Design */
.app-item {
    position: relative;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.app-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Gradient Overlay & Text */
.app-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient starts transparent and goes to dark at the bottom */
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: #fff;
    transition: 0.3s;
}

.app-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.app-overlay p {
    font-size: 13px;
    line-height: 1.4;
    opacity: 0.9;
    /* In the screenshot, the small text is visible. Adjust opacity if you want it hidden until hover */
}

/* Hover Effect */
.app-item:hover img {
    transform: scale(1.1);
}

.app-item:hover .app-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(30, 58, 138, 0.9) 100%);
}

/* Responsive */
@media (max-width: 992px) {
    .apps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .apps-grid { grid-template-columns: 1fr; }
}

/* --- Why Choose Us Section --- */
.why-choose-section {
    background-color: var(--primary-blue);
    padding: 100px 0;
    color: white;
}

/* Row wrapper using your existing flex container */
.why-choose-row {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

/* Left Side: Content */
.why-content {
    flex: 1;
}

.why-content h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 30px;
}

.why-list {
    list-style: none;
    padding: 0;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

/* Checkmark Icon Styling */
.why-list li i {
    color: var(--accent-orange); /* Using your orange variable */
    font-size: 20px;
}

/* Right Side: Image Wrapper */
.why-image-wrap {
    flex: 1;
    position: relative;
}

.why-image-wrap img {
    width: 100%;
    border-radius: 15px; /* Matches the rounded corners in screenshot */
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    display: block;
}

/* --- Mobile Fix --- */
@media (max-width: 992px) {
    .why-choose-row {
        flex-direction: column;
        text-align: center;
    }
    .why-list li {
        justify-content: center;
    }
}

/* --- Client Testimonials Section --- */
.testimonials-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

/* Override global flex container */
.testimonials-section .container {
    display: block !important;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
}

.testimonials-header h2 {
    font-size: 34px;
    color: var(--dark-color);
    font-weight: 700;
}

.testimonials-header p {
    color: #666;
    margin-top: 10px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: left;
}

/* --- Star Rating Styling --- */
.stars {
    margin-bottom: 15px;
    display: flex;
    gap: 4px; /* Space between stars */
}

.stars i {
    color: var(--accent-orange); /* Metarig Orange color */
    font-size: 12px;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-initials {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.client-details h4 {
    font-size: 16px;
    color: #333;
    margin: 0;
}

.client-details span {
    font-size: 13px;
    color: #888;
}

/* --- Call to Action (CTA) Section --- */
.cta-section {
    background-color: var(--accent-orange);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.cta-section .container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-section h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    background: white;
    color: var(--accent-orange);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-btn:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 650px) {
    .testimonial-grid { grid-template-columns: 1fr; }
}

/* --- Footer Section --- */
.main-footer {
    background-color: #0e214b; /* Deep Metarig Blue */
    color: #ffffff;
    padding: 80px 0 20px;
    font-size: 14px;
}

.main-footer .container {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 40px;
    padding-right: 20px;
}

/* Brand Column */
.footer-brand img {
    height: 70px;
    margin-bottom: 20px;
}

.footer-brand h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-brand .tagline {
    color: var(--accent-orange);
    font-style: italic;
    margin-bottom: 25px;
    display: block;
}

/* Info Grid (CIN, GST, etc) */
.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.cert-item {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.cert-item span {
    color: #fff;
    font-weight: 600;
}

/* Contact List */
.contact-info {
    margin-top: 25px;
}

.contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
}

.contact-item i {
    color: var(--accent-orange);
    margin-top: 4px;
}

/* Link Columns */
.footer-col h4 {
    color: var(--accent-orange);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 16px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-col { flex: 0 0 100%; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}

/* --- Floating WhatsApp Button (Left) --- */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* WhatsApp Green */
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #fff;
}

/* --- Made With Attribution (Right) --- */
.made-with-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8); /* Dark background like the screenshot */
    color: #fff;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.made-with-float:hover {
    background: #000;
    transform: translateY(-3px);
}

.made-with-float img {
    height: 18px; /* Small icon size */
    width: auto;
}

/* Hide on very small screens if they overlap content */
@media (max-width: 480px) {
    .made-with-float { display: none; }
}

.breadcrumb-section {
    background-color: #f4f7fa;
    padding: 12px 0;
    border-bottom: 1px solid #e1e8ef;
}

.breadcrumb-section .container {
    display: flex !important;
    justify-content: flex-start !important;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    font-size: 14px;
    display: flex;
    align-items: center;
    color: #6c757d;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--accent-orange);
}

/* Arrow Separator */
.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105"; /* FontAwesome Angle Right */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    padding: 0 12px;
    color: #adb5bd;
}

.breadcrumb-item.active {
    color: var(--primary-blue);
    font-weight: 700;
}

/* --- About Our Company Section --- */
.about-section {
    padding: 50px 0;
    background-color: #ffffff;
}

/* Ensure vertical stacking on mobile and flex on desktop */
.about-section .container {
    display: flex !important;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

/* Left Side: Image */
.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Right Side: Text Content */
.about-content {
    flex: 1;
}

.about-content .sub-title {
    color: var(--accent-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.about-content h2 {
    font-size: 40px;
    color: var(--primary-blue);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Stats Row */
.about-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 14px;
    color: #777;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
    .about-section .container {
        flex-direction: column;
        text-align: left;
    }
    .about-stats {
        justify-content: left;
    }
}

/* --- Vision & Mission --- */
.vm-section {
    padding: 50px 0;
    background-color: #fff;
}

.vm-section .container {
    display: flex !important;
    gap: 30px;
    align-items: stretch; /* Makes both cards same height */
}

.vm-card {
    flex: 1;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 40px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.vm-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    flex-shrink: 0;
}

.bg-blue { background-color: #1e3a8a; }
.bg-orange { background-color: #ea580c; }

.vm-content h3 {
    font-size: 22px;
    color: #1e3a8a;
    margin-bottom: 20px;
    font-weight: 700;
}

.vm-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.vm-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vm-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.vm-list li::before {
    content: "•";
    color: #ea580c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* --- Core Values --- */
.values-section {
    padding: 50px 0;
    text-align: center;
}

.values-section .container {
    display: block !important; /* Force vertical stack for header vs grid */
}

.values-title {
    margin-bottom: 50px;
}

.values-title h2 {
    font-size: 34px;
    color: var(--primary-blue);
    font-weight: 700;
}

.values-title p {
    color: #888;
    margin-top: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    border: 1px solid #f8f8f8;
    transition: 0.3s;
}

.value-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue); /* Light blue background for icons */
    color: var(--light-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.value-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 16px;
    color: #888;
    line-height: 1.4;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .vm-section .container { flex-direction: column; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .values-grid { grid-template-columns: 1fr; }
}

/* --- Catalogue Page Styles --- */
.catalogue-container {
    padding: 50px 0;
    background-color: #fcfdfe;
}

.pdf-viewer-wrapper {
    background: #525659; /* Matching Chrome/Edge PDF dark theme */
    padding: 0;
    margin: 0;
    line-height: 0;
    border-top: 1px solid #e1e8ef;
}

/* Ensure the card looks professional */
.catalogue-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    border: 1px solid #e1e8ef;
    overflow: hidden;
    margin-bottom: 50px;
}

.catalogue-header {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.catalogue-title h2 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.catalogue-title p {
    font-size: 13px;
    color: #888;
}

.download-pdf-btn {
    background-color: var(--accent-orange);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.download-pdf-btn:hover {
    background-color: #d44d0b;
}

/* PDF Viewer Mockup */
.pdf-viewer-area {
    background: #333;
    height: 600px;
    width: 100%;
    border: none;
}

/* --- Need More Info Section --- */
.info-section {
    padding: 50px 0;
    text-align: center;
}

.info-header h2 {
    font-size: 34px;
    color: var(--primary-blue);
    font-weight: 700;
}

.info-header p {
    color: #666;
    margin-top: 10px;
    margin-bottom: 50px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: #fff;
    padding: 40px 20px;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
    text-decoration: none;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.info2-icon {
    font-size: 30px;
    margin-bottom: 20px;
    display: block;
}

.icon-blue-text { color: #1e3a8a; }
.icon-orange-text { color: #ea580c; }

.info-card h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    color: #888;
}

@media (max-width: 992px) {
    .info-grid { grid-template-columns: 1fr; }
    .catalogue-header { flex-direction: column; gap: 20px; text-align: center; }
}

.contact-page-section {
    padding: 50px 0;
    background-color: #fff;
}

/* Flex Container Override */
.contact-flex {
    display: flex !important;
    gap: 50px;
    align-items: flex-start;
}

/* Left Column Styling */
.contact-info-column { flex: 1; }

.contact-info-column h2 {
    font-size: 34px;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-subtitle {
    color: #666;
    font-size: 15px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-card-item {
    background: #fff;
    border: 1px solid #f0f2f5;
    border-radius: 10px;
    padding: 25px;
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.info-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.bg-blue { background-color: var(--primary-blue); }
.bg-orange { background-color: var(--accent-orange); }

.info-details label {
    display: block;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.info-details p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Right Column (Form) Styling */
.contact-form-column { flex: 1.2; }

.form-wrapper {
    background: #fff;
    border: 1px solid #f0f2f5;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-wrapper h3 {
    font-size: 34px;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.form-group { margin-bottom: 20px; }

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group { flex: 1; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.submit-btn {
    background-color: var(--accent-orange); /* Metarig Orange */
    color: white;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover { background-color: #c2410c; }

@media (max-width: 992px) {
    .contact-flex { flex-direction: column; }
    .form-row { flex-direction: column; gap: 0; }
}

.modern-map-section {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 60px;
    overflow: hidden;
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* This makes the map look professional and clean */
    filter: grayscale(0.2) contrast(1.1) brightness(0.9);
}

/* Floating Card Design */
.map-overlay-card {
    position: absolute;
    top: 50px;
    left: 10%;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.15); /* Soft Blue Shadow */
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.overlay-badge {
    background: #ea580c; /* Metarig Orange */
    color: #fff;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.map-overlay-card h3 {
    color: #1e3a8a; /* Metarig Blue */
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
}

.map-overlay-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.map-overlay-card hr {
    border: 0;
    border-top: 1px solid #eee;
    margin-bottom: 15px;
}

.overlay-links a {
    color: #ea580c;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.overlay-links a:hover {
    color: #1e3a8a;
    transform: translateX(5px);
}

/* Mobile Fix */
@media (max-width: 768px) {
    .map-overlay-card {
        position: relative;
        top: 0;
        left: 0;
        width: 90%;
        margin: -50px auto 20px;
        text-align: center;
    }
    .modern-map-section {
        height: auto;
    }
    .map-container iframe {
        height: 350px;
    }
}

/* --- Dynamic Blog Section --- */
.blog-section {
    padding: 50px 0;
    background-color: #f8f9fa; /* Light grey to make white cards pop */
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Columns for Desktop */
    gap: 30px;
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eef0f2;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* Hover Effect: Card lifts and shadow deepens */
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 58, 138, 0.1); /* Blue-tinted shadow */
}

/* Image Container */
.blog-img-box {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
    background-color: #ddd; /* Fallback color */
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-box img {
    transform: scale(1.1); /* Zoom effect on hover */
}

/* Category Badge (NoSQL Driven) */
.cat-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ea580c; /* Metarig Orange */
    color: #fff;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    z-index: 2;
}

/* Content Area */
.blog-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-info .date {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-info h3 {
    font-size: 20px;
    color: #1e3a8a; /* Metarig Blue */
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.blog-info p {
    font-size: 14.5px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Read More Link */
.read-link {
    margin-top: auto;
    color: #ea580c;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.read-link i {
    font-size: 12px;
}

.read-link:hover {
    gap: 12px; /* Small arrow movement on hover */
    color: #1e3a8a;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns for Tablets */
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr; /* 1 Column for Mobile */
        padding: 0 15px;
    }
    
    .blog-section {
        padding: 50px 0;
    }
}

.blog-details-section { padding: 50px 0; background: #fff; }

.details-wrapper { max-width: 100%; margin: 0 auto; }

.main-blog-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.meta-info { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }

.meta-info .badge {
    background: #ea580c; /* Metarig Orange */
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 12px;
}

.details-wrapper h1 {
    color: #1e3a8a; /* Metarig Blue */
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 25px;
}

.full-text { font-size: 18px; line-height: 1.8; color: #444; }

.lead { font-weight: 600; color: #222; margin-bottom: 20px; font-size: 20px; }

.back-btn {
    display: inline-block;
    margin-top: 40px;
    margin-bottom: 40px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 768px) {
    .details-wrapper h1 { font-size: 28px; }
    .main-blog-img { height: 250px; }
}

/* Login Page Specifics */
.login-body {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.login-logo img {
    max-width: 180px;
    margin-bottom: 25px;
}

.login-card h3 {
    color: #1e3a8a;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.login-card p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Input Styling */
.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.3s;
    outline: none;
}

.input-group input:focus {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

/* Options & Button */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 25px;
    color: #64748b;
}

.login-options a {
    color: #ea580c;
    text-decoration: none;
    font-weight: 600;
}

.login-btn {
    width: 100%;
    background: #ea580c;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.login-btn:hover {
    background: #c2410c;
    transform: translateY(-2px);
}

.login-footer {
    margin-top: 25px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.login-footer a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.login-footer a:hover { color: #1e3a8a; }
.alert-box {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    display: none; /* Hidden by default */
}

.alert-box.success {
    display: block;
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-box.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Loading Spinner CSS */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}