/* Google Fonts */
body {
    font-family: 'Open Sans', sans-serif;
}

/* Header & Navbar */
header {
    height: 80px;
    z-index: 1050;
}

.navbar {
    min-height: 80px;
}

/* Logo Styling */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-top {
    background-color: #0d4f8b;
    /* Dark blue matching the image */
    color: white;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    padding: 5px 15px 5px 35px;
    position: relative;
    letter-spacing: 1px;
    border-radius: 2px;
}

.logo-top .fa-star {
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #f39c12;
    /* Yellow star */
    text-shadow: -2px 0 #fff, 0 2px #fff, 2px 0 #fff, 0 -2px #fff;
    /* White outline */
}

.logo-bottom {
    font-size: 14px;
    font-weight: 800;
    color: #333;
    margin-top: 2px;
    letter-spacing: 1.5px;
    width: 100%;
    text-align: right;
    padding-right: 5px;
}

/* Navigation Links */
.navbar-nav .nav-link {
    font-size: 15px;
    color: #111 !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0d4f8b !important;
}

/* Get In Touch Button */
.nav-btn-container {
    height: 80px;
}

.get-in-touch-btn {
    background-color: #0d4f8b;
    border: none;
    padding: 0 40px;
    font-size: 16px;
    height: 100%;
    color: white;
    transition: background-color 0.3s ease;
}

.get-in-touch-btn:hover {
    background-color: #083866;
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: calc(100vh - 80px);
    /* Fill remaining viewport height */
    min-height: 500px;
}

.hero-img {
    height: calc(100vh - 80px);
    min-height: 500px;
    object-fit: cover;
}

/* Dark transparent box behind text */
.caption-content {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    color: white;
}

@media (min-width: 992px) {
    .caption-content {
        padding: 60px 50px;
        width: 85%;
        max-width: 1100px;
    }
}

.caption-content h1 {
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 1px;
}

.caption-content p {
    font-size: 1.25rem;
    font-weight: 400;
}

/* Custom Carousel Controls */
.custom-carousel-btn {
    width: 8%;
    opacity: 0.8;
}

.custom-carousel-btn:hover {
    opacity: 1;
}

.custom-icon-wrapper {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.custom-carousel-btn:hover .custom-icon-wrapper {
    background-color: rgba(0, 0, 0, 0.9);
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #fff;
    padding: 6px 15px 6px 6px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: #666;
}

.wa-icon-bg {
    background-color: #25D366;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 16px;
}

/* Scrolling Banner */
.bg-primary-dark {
    background-color: #0d4f8b;
}

.scrolling-banner {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    font-weight: 600;
    font-size: 14px;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

/* Info Section */
.info-section {
    background-color: #f4f7f8;
    /* Very light grey/blue */
    position: relative;
}

.section-title {
    color: #1a202c !important;
    line-height: 1.3;
}

.lead-text {
    font-size: 15px;
    line-height: 1.8;
    color: #6c757d;
}

.btn-our-products {
    background-color: #0d4f8b !important;
    border: none !important;
    transition: background-color 0.3s ease;
}

.btn-our-products:hover {
    background-color: #083866 !important;
}

/* Scroll Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #0d4f8b;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.scroll-top-btn:hover {
    background-color: #083866;
    color: white;
    transform: translateY(-3px);
}

/* Product Cards Section */
.products-section {
    background-color: #fff;
}

.products-section .row .col-lg-3:nth-child(even) {
    margin-top: 80px;
}

.product-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 380px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8f9fa;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(27, 34, 48, 1) 0%, rgba(27, 34, 48, 0.85) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
}

.product-icon {
    font-size: 28px;
    color: white;
    margin-bottom: 15px;
    font-weight: 300;
}

.product-title {
    color: white;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.read-more {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: white;
}

.read-more i {
    font-size: 13px;
    margin-left: 8px;
}

/* CTA Banner Section */
.cta-banner {
    background: url('https://images.unsplash.com/photo-1441984904996-e0b6ba687e04?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    border-radius: 25px 25px 0 0;
    clip-path: polygon(0 100%, 0 calc(15% + 25px), 2px calc(15% + 12px), 7px calc(15% + 5px), 15px calc(15% + 1px), 25px 15%, 100% 0, 100% 100%);
    overflow: hidden;
    min-height: 500px;

    padding-top: 120px;
    padding-bottom: 100px;
    margin-top: 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
}

.cta-title {
    font-size: 3.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-subtitle {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

.cta-banner .btn-light:hover {
    background-color: #f8f9fa;
    color: #083866 !important;
}

/* Stats Section */
.stats-section {
    background-color: #f4f7f8;
    border-radius: 0 0 25px 25px;
    overflow: hidden;
}

.stats-section h3 {
    color: #0b2e59 !important;
    font-size: 1.3rem;
    line-height: 1.4;
}

.stat-number {
    color: #111e35;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: -1px;
}

.stat-text {
    color: #111e35;
    font-size: 0.85rem;
}

/* About Section */
.view-more-link {
    border-bottom: 2px solid #ddd;
    padding-bottom: 3px;
    transition: all 0.3s ease;
    color: #888;
}

.view-more-link:hover {
    border-bottom-color: #0d4f8b;
    color: #0d4f8b !important;
}

/* Experience Section Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}

.feature-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.2) 100%);
}

.hover-opacity:hover {
    opacity: 0.8;
}

/* Circular text animation */
@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Custom Accordion */
.custom-accordion .accordion-button::after {
    display: none;
}

.custom-accordion .accordion-button::before {
    content: "\2b"; /* Plus sign */
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 400;
    margin-right: 15px;
    color: #6c757d;
    transition: all 0.3s;
    line-height: 1;
}

.custom-accordion .accordion-button:not(.collapsed)::before {
    content: "\2212"; /* Minus sign */
    color: #0d4f8b;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: #0d4f8b;
    box-shadow: none;
    background-color: transparent;
}

.custom-accordion .accordion-button {
    padding-left: 0;
    font-size: 15.5px;
}

.custom-accordion .accordion-body {
    padding-left: 30px;
    padding-top: 0;
}

/* Contact Form Section */
.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid #e9ecef;
    padding: 0.6rem 1rem;
    font-size: 14px;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #0d4f8b;
    box-shadow: 0 0 0 0.2rem rgba(13, 79, 139, 0.1);
}

/* Footer Section */
.footer-links a {
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff !important;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #6c757d;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 13px;
}

.footer-social-icon:hover {
    color: #fff;
    border-color: #fff;
    background-color: rgba(255,255,255,0.1);
}

/* Ensure floating elements stay above footer */
.scroll-top-btn, .whatsapp-widget {
    z-index: 1000;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    header {
        height: auto;
    }

    .navbar {
        min-height: 70px;
    }

    .hero-section,
    .hero-img {
        height: calc(100vh - 70px);
    }

    .logo-top {
        font-size: 28px;
        padding: 5px 15px 5px 30px;
    }

    .logo-top .fa-star {
        font-size: 32px;
        left: -14px;
    }

    .caption-content h1 {
        font-size: 2.8rem;
    }

    .caption-content p {
        font-size: 1.1rem;
    }

    .whatsapp-widget {
        bottom: 20px;
        left: 20px;
    }

    .cta-banner {
        clip-path: polygon(0 100%, 0 calc(8% + 25px), 2px calc(8% + 12px), 7px calc(8% + 5px), 15px calc(8% + 1px), 25px 8%, 100% 0, 100% 100%);
        min-height: 400px;
        padding-top: 80px;
        padding-bottom: 80px;
        margin-top: 0;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .stats-section h3 {
        text-align: center;
        margin-bottom: 25px;
    }
}

/* Why Choose Us Section */
.why-choose-us .section-title {
    font-size: 2.6rem;
    color: #111e35 !important;
    line-height: 1.2;
}

.why-choose-us .text-muted {
    color: #8892a0 !important;
    font-size: 0.95rem;
    line-height: 1.7;
}

.why-choose-us .contact-link {
    font-size: 13px;
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.why-choose-us .contact-link:hover {
    color: #0d4f8b !important;
    border-bottom-color: #0d4f8b;
}

.why-choose-us .contact-link i {
    font-size: 10px;
    vertical-align: middle;
}

.reason-card {
    border: 1px solid #eaeaea;
    border-radius: 8px;
    background-color: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.reason-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.reason-card h4 {
    font-size: 1.35rem;
    color: #111e35 !important;
}

.reason-card .small-text {
    font-size: 0.95rem;
}

.icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-bg-1 { background-color: #edf5f2; }
.icon-bg-2 { background-color: #f4f0f7; }
.icon-bg-3 { background-color: #f2f5f7; }
.icon-bg-4 { background-color: #f5f5f5; }

.icon-wrapper i {
    color: #7c889a !important;
}

@media (max-width: 991px) {
    .why-choose-us .section-title {
        font-size: 2rem;
    }
}

/* Manufacturing Unit Section */
.manufacturing-section .section-title {
    font-size: 2.2rem;
    color: #000;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.manufacturing-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #6c757d;
}

/* Custom Accordion 2 */
.custom-accordion-2 .accordion-button::after {
    display: none; /* Hide default chevron */
}

.custom-accordion-2 .accordion-button {
    color: #1a202c;
    padding-top: 0;
    padding-bottom: 0;
    transition: all 0.3s ease;
}

.custom-accordion-2 .accordion-button:not(.collapsed) {
    color: #0d4f8b !important;
}

.custom-accordion-2 .accordion-button .accordion-title-text {
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.custom-accordion-2 .accordion-button:not(.collapsed) .accordion-title-text {
    border-bottom-color: #0d4f8b;
}

.custom-accordion-2 .accordion-button i {
    color: #8892a0; /* Grey circle */
}

.custom-accordion-2 .accordion-button:not(.collapsed) i {
    color: #8892a0; /* Still grey */
}

@media (max-width: 991px) {
    .manufacturing-section .section-title {
        font-size: 1.8rem;
    }
}

/* Features & Applications Section */
.features-apps-section {
    background-color: #eef4f8;
}

.list-section-title {
    color: #111e35;
    font-size: 2.2rem;
    letter-spacing: -0.5px;
}

.custom-list-item {
    background-color: #dbe6f0;
    border-radius: 6px;
    padding: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.custom-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.item-number {
    background-color: #0d4f8b;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    flex-shrink: 0;
}

.item-text {
    color: #112a46;
    font-weight: 700;
    font-size: 0.85rem;
    padding-left: 15px;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .list-section-title {
        font-size: 1.8rem;
    }
}