/* ================================
   Base Styles
=================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: #f8f9fa;
    line-height: 1.6;
}

/* ================================
   Header
=================================== */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}



.navbar-brand img {
    max-height: 50px; 
    width: auto;
}


.logo {
    font-size: 24px;
    font-weight: 700;
    color: #0066cc;
    margin: 0;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    padding: 8px 15px !important;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #0066cc !important;
    font-weight: 600;
}

.phone-number {
    color: #333;
    font-weight: 500;
}

.phone-number i {
    color: #0066cc;
}





/* ================================
   Hero Section
=================================== */
.hero-section {
    padding: 50px 15px 0; /* Added horizontal padding for small screens */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    text-align: center;
}

.hero-section .container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-section .row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-section .col-lg-8 {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.hero-section .carousel {
    width: 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.hero-section .carousel-inner {
    border-radius: 15px;
}

.hero-section .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

/* ================================
   Carousel Controls
=================================== */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    display: flex !important;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 102, 204, 0.7);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    z-index: 1;
    margin: 0 15px;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
}

/* ================================
   Responsive Design
=================================== */
@media (max-width: 992px) {
    .hero-section {
        padding: 30px 15px 0;
        min-height: auto;
    }

    .hero-section .carousel {
        border-radius: 12px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
        margin: 0 10px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 576px) {
    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 14px;
        height: 14px;
    }
}







/* ================================
   Dropdown Menu
=================================== */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 0;
}

.dropdown-item {
    padding: 8px 20px;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0066cc !important;
}

/* ================================
   Content Section
=================================== */
.content-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.content-section h2 {
    color: #0066cc;
    font-weight: 700;
    margin-bottom: 20px;
}

/* About Us Section Styling */
.about-section {
    background-color: #f8f9fa; /* Light background as seen in screenshot */
    padding: 3rem 0;
}

.about-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}



.text-justify {
    text-align: justify;
    margin-bottom: 1.5rem;
    hyphens: none; /* Disable hyphenation */
    word-break: normal;
    max-width: 800px;
    word-spacing: 0.02em;
    line-height: 1.8;
    color: #333;
}


.text-justify-center {
    text-align: justify;
    text-align-last: center;
    margin: 0 auto 1.5rem;
    max-width: 800px; /* Optimal reading width */
    hyphens: auto;
    word-spacing: -0.05em; /* Prevents excessive spacing in justified text */
}

.about-section h2 {
    color: #0066cc; /* Blue color as in your theme */
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.content-section .lead {
    font-size: 1.2rem;
    font-weight: 500;
}


/* Content Section Styling */
.content-section p {
    text-align: justify;
    text-align-last: center;
    hyphens: auto;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%; /* Adjust as needed */
}

/* For better spacing between paragraphs */
.content-section p + p {
    margin-top: 1.5rem;
}

/* ================================
   Product Showcase
=================================== */
.product-showcase {
    background-color: #f8f9fa;
}

.product-showcase h2 {
    color: #0066cc;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.product-showcase h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

.product-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
    color: #0066cc;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-card img {
    border-radius: 5px;
    max-height: 120px;
    width: auto;
    object-fit: cover;
    margin: 0 auto 10px auto;
    display: block;
}

.product-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ================================
   Buttons
=================================== */
.btn-primary {
    background-color: #0066cc;
    border-color: #0066cc;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #0055aa;
    border-color: #0055aa;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: #0066cc;
    border-color: #0066cc;
}

.btn-outline-primary:hover {
    background-color: #0066cc;
    color: white;
}

/* ================================
   Footer
=================================== */
/* ================================
   Footer Styles
=================================== */
.footer-section {
    background-color: #1a1a1a;
    color: white;
}

.footer-section address p {
    margin-bottom: 0.5rem;
}

/* Quick Links Base Style */
.quick-link {
    color: white;
    transition: color 0.3s ease;
}

/* Hover Effect - White to Blue */
.quick-link:hover {
    color: #0066cc; /* Only on hover */
}

.quick-link-icon {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.quick-link:hover .quick-link-icon {
    color: #0066cc;
}

.footer-section {
    background-color: #1a1a1a;
}

.footer-section address p {
    margin-bottom: 0.5rem;
}

/* Quick Links Hover Effect */
.quick-link {
    transition: color 0.3s ease;
    display: inline-block;
}

.quick-link:hover {
    color: #0066cc !important; /* Blue color on hover */
}

.quick-link-icon {
    transition: color 0.3s ease;
    color: rgba(255, 255, 255, 0.7); /* Slightly muted white for icons */
}

.quick-link:hover .quick-link-icon {
    color: #0066cc !important; /* Match icon color with text on hover */
}
/* ================================
   Responsive Adjustments
=================================== */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 100px 0 30px;
    }

    .navbar-collapse {
        padding: 20px 0;
        background-color: white;
        margin-top: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .phone-number {
        padding: 10px 15px;
        margin-top: 10px;
        border-top: 1px solid #eee;
    }

    .dropdown-menu {
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding-left: 20px;
    }

    .dropdown-item {
        padding: 8px 0;
        color: #333 !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 80px 0 20px;
    }

    .carousel-caption {
        width: 95%;
        padding: 10px;
    }

    .carousel-caption h5 {
        font-size: 1.1rem;
    }

    .carousel-caption p {
        font-size: 0.8rem;
    }

    .product-card {
        margin-bottom: 20px;
    }

    .content-section {
        padding: 40px 0;
    }
}

@media (max-width: 575.98px) {
    .logo {
        font-size: 20px;
    }

    .phone-number span {
        font-size: 14px;
    }

    .carousel-caption {
        position: relative;
        left: auto;
        transform: none;
        width: 100%;
        bottom: 0;
        background-color: transparent;
        padding: 10px 0;
    }

    .carousel-caption h5 {
        color: #333;
    }

    .carousel-caption p {
        color: #666;
    }

    .carousel-caption .btn {
        display: none;
    }}}






/* Profile Showcase Section */
.profile-showcase {
    padding: 4rem 0;
}

.profile-card {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-card img {
    max-height: 500px;
    width: auto;
    margin: 0 auto;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.profile-card img:hover {
    transform: scale(1.02);
}

.rounded {
    border-radius: 8px !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .profile-card img {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .profile-card img {
        max-height: 350px;
    }
    .row.justify-content-center > div {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .profile-card {
        margin-bottom: 2rem;
    }
}





/* Board of Directors Section */
/* Directors Section */
.directors-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.directors-section h2 {
    font-weight: 600;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.directors-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #3498db;
    margin: 15px auto 0;
}

/* Directors Grid Layout */
.directors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.director-grid-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fff;
    border: 1px solid #eaeaea;
}

.director-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

/* Square Image Styling */
.director-grid-img {
    width: 150px;
    height: 150px;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
    position: relative;
}

.director-grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Director Info Styling */
.director-grid-info h3 {
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 1.3rem;
}

.director-grid-info .position {
    font-weight: 500;
    color: #7f8c8d;
    margin-bottom: 5px;
    font-size: 1rem;
}

.director-grid-info .company {
    font-weight: 500;
    color: #3498db;
    font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .directors-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .directors-section {
        padding: 60px 0;
    }
    
    .directors-grid {
        gap: 20px;
        padding: 20px;
    }
    
    .director-grid-card {
        padding: 20px;
    }
    
    .director-grid-img {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .directors-section h2 {
        font-size: 2rem;
    }
    
    .directors-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .director-grid-img {
        width: 110px;
        height: 110px;
        margin-bottom: 15px;
    }
    
    .director-grid-info h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .directors-section {
        padding: 50px 0;
    }
    
    .directors-section h2 {
        font-size: 1.8rem;
    }
    
    .directors-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .director-grid-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding: 15px;
    }
    
    .director-grid-img {
        width: 80px;
        height: 80px;
        margin-bottom: 0;
        margin-right: 15px;
    }
    
    .director-grid-info h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .director-grid-info .position,
    .director-grid-info .company {
        font-size: 0.9rem;
    }
}




/* CSR Section */
/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.csr-section {
    padding: 60px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
.csr-main-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.csr-main-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #3498db;
    margin: 15px auto 0;
}

.csr-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.csr-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.csr-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.csr-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.csr-item-desc {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .csr-section {
        padding: 50px 0;
    }
    
    .csr-main-title {
        font-size: 2.2rem;
    }
    
    .csr-subtitle {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .csr-main-title {
        font-size: 2rem;
    }
    
    .csr-subtitle {
        font-size: 1.4rem;
    }
    
    .csr-item-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .csr-section {
        padding: 40px 0;
    }
    
    .csr-main-title {
        font-size: 1.8rem;
    }
    
    .csr-subtitle {
        font-size: 1.3rem;
    }
    
    .csr-item {
        margin-bottom: 20px;
        padding-bottom: 20px;
    }
}



.map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}






/* gallary */



body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.gallery-card {
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: contain; 
    display: block;
    background-color: #fff;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.gallery-actions {
    display: flex;
    justify-content: flex-end;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .gallery-card img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .gallery-card img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .gallery-card img {
        height: 150px;
    }
}




/* product page back btn */


  .back-button {
            position: fixed;
            top: 20px;
            left: 20px;
            z-index: 1000;
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            text-decoration: none;
        }
        .back-button:hover {
            background-color: rgba(255, 255, 255, 1);
            transform: scale(1.1);
        }
        .back-button i {
            font-size: 1.5rem;
            color: #333;
        }