.mains {
    background-color: #F4F4F4;
    padding: 20px 0;
}

.pl {
    padding-left: 30px;
}

/* Form base styles */
.contact-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #666;
}

/* Input, select, and textarea styles - bottom border only */
.contact-form .form-control {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    outline: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 16px;
}

/* Remove all hover/focus effects */
.contact-form .form-control:hover,
.contact-form .form-control:focus {
    border-bottom: 1px solid #ccc;
    box-shadow: none;
}

/* Custom select dropdown */
.custom-select {
    position: relative;
}

.custom-select::after {
    content: "▼";
    font-size: 10px;
    color: #333;
    position: absolute;
    right: 5px;
    top: 70%;
    transform: translateY(-50%);
    pointer-events: none;
}

.custom-select select.form-control {
    padding-right: 20px;
    /* Space for arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Custom file input */
.custom-file-input {
    position: relative;
}

.custom-file-input::after {
    content: "Browse";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #333;
    pointer-events: none;
}

.custom-file-input input[type="file"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    cursor: pointer;
}

.custom-file-input .form-control {
    padding-right: 60px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

/* Textarea specific */
.contact-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.box-1 {
    padding: 20px;
    margin-bottom: 20px;
}

.bx-1-head p {
    color: #5294B3;
    margin-bottom: 15px;
}

.bx-1-para p,
.bx-1-para a {
    color: #333;
    line-height: 1.6;
}

.main-add {
    gap: 10px;
    align-items: center;
    margin-top: 15px;
}

.address a {
    text-decoration: none;
    color: #000;
    position: relative;
    display: inline-block;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.address a:hover {
    color: #EA4635;
}

.address a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #EA4635;
    transition: width 0.3s ease;
}

.address a:hover::after {
    width: 100%;
}

.bx-1-para a {
    position: relative;
    color: inherit;
    text-decoration: none;
    display: inline-block;
    padding-bottom: 3px;
    transition: color 0.3s ease;
}

.bx-1-para a:hover {
    color: #5294B3;
}

.bx-1-para a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #5294B3;
    transition: width 0.3s ease;
}

.bx-1-para a:hover::after {
    width: 100%;
}

.social-section {
    margin-top: 30px;
    padding: 20px;
}

.social-section p {
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
    color: #5294B3;
    display: block;
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    text-decoration: none;
    color: #000;
    font-size: 20px;
    transition: transform 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    color: #5294B3;
}

.recaptcha-box {
    width: 100%;
    max-width: 300px;
    height: 78px;
    border: 1px solid #d3d3d3;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    padding: 10px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-bottom: 20px;
}

.recaptcha-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.recaptcha-text {
    font-size: 14px;
}

.recaptcha-logo {
    position: absolute;
    right: 10px;
    top: 10px;
    text-align: right;
    font-size: 10px;
    color: #666;
}

.recaptcha-logo img {
    width: 32px;
    height: 32px;
}

.recaptcha-terms {
    font-size: 9px;
    color: #666;
    margin-top: 3px;
}

.recaptcha-terms a {
    color: #666;
    text-decoration: none;
}

.recaptcha-terms a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .contact-form {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-group {
        margin-right: 0;
        margin-bottom: 15px;
    }



    .recaptcha-box {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .page-name ul {
        flex-wrap: wrap;
    }

    .pl {
        padding-left: 15px;
    }

    .box-1 {
        padding: 15px;
    }
}



/* carrier-page */

/* Custom select styling */
.custom-select {
    position: relative;
}

.custom-select::after {
    content: "▼";
    font-size: 12px;
    color: #333;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 25px;
    /* Make space for the arrow */
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    width: 100%;
    padding: 8px 0;
}

/* Remove focus styling */
select.form-control:focus {
    outline: none;
    border-bottom: 1px solid #ccc;
}

.contact-details-section {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.section-title {
    color: #5294B3;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.contact-numbers p {
    color: #555;
    font-size: 15px;
    display: flex;
    align-items: center;
}

.contact-numbers i {
    color: #5294B3;
}

.social-iconss {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-iconss a {
    color: #555;
    font-size: 18px;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-iconss a:hover {
    color: white;
    background-color: #5294B3;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-numbers {
        text-align: center;
    }

    .d-flex.flex-md-row {
        justify-content: center;
    }

    .social-media {
        text-align: center;
    }

    .social-iconss {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 14px;
    }

    .contact-numbers p {
        font-size: 14px;
    }

    .social-iconss a {
        font-size: 16px;
        width: 32px;
        height: 32px;
        margin: 0 8px;
    }
}



/* news&paly-page */
.overlay{
	padding-top: 20px;
	display:flex;
	justify-content:center;
position: relative;
 top:-74px;
}
.overlay-content {
    
}

.overlay-content a {
    text-decoration: none;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 22px;
    text-align: center;
    margin: auto;
    background-color: black;
    padding: 10px;
    transition:0.5s all ease-in;
}

 

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    text-align: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    margin-top: 5%;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

.head-trens2024 {
    border-bottom: 1px solid lightgrey;
    margin-bottom: 15px;
}

.head-trens2024 p {
    color: #5294B3;
}

/* Custom styling for gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.color-transition {
    /* Initial black & white state */
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    /* For Safari */

    /* Smooth transition */
    transition: filter 400ms ease;
    -webkit-transition: -webkit-filter 400ms ease;

    /* Ensure proper rendering */
    display: block;
    width: 100%;
    height: auto;
}

.color-transition:hover {
    /* Color on hover */
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.fancybox-close-small {
    color: #fff !important;
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

/* catalogue=pafe */
/* Section Styling */
.gallery-section {
    padding: 40px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #333;
}

/* 4-Column Grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 0 auto;
    /* border-bottom: 1px solid lightgrey; */
}

/* Grid Items */
/* .grid-item {
    width: 331px;
} */

.grid-img {
    width: 100%;
}

.grid-img img {
    /* height: 240px;
    object-fit: cover; */
    width: 100%;
    border: 1px solid #d7d7d7;
    padding: 10px;  
  }

.grid-img-head {
    color: #5294B3;
    padding: 25px 0 15px 0;
}

.grid-img-head p {
    margin: 0;
    text-transform: uppercase;
}

/* Popup Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Custom Form Styles */
.contact-form .head-form h2 {
    color: #0f0f0f;
    margin-bottom: 30px;
}

.contact-form .head-form p {
    color: #666;
}

.contact-form label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.contact-form .form-control {
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.recaptcha-box {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.recaptcha-logo {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.recaptcha-terms {
    margin-left: 10px;
    font-size: 12px;
}

.recaptcha-terms a {
    color: #666;
    text-decoration: none;
}

.simple-btn {
    width: 180px;
    background-color: #5294B3;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.simple-btn:hover {
    background-color: #3a7a99;
}

.down-text a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    /* font-weight: 600; */
    cursor: pointer;
    text-transform: uppercase;
}

.down-text:hover a {
    text-decoration: none;
    color: #0f0f0f;
}

.pdf {
    gap: 10px;
    padding-top: 10px;
}

.down-text {
    background: #000;
    padding: 7px 20px;
    color: #fff;
    margin: auto;
    border: 1px solid #0f0f0f;
    transition: all .5s ease-in-out;
        display: flex;
    gap: 10px;
    align-items:center;
}
.down-text:hover {
    background: #fff;
    padding: 7px 20px;
    color: #0f0f0f;
    margin: auto;
    transition: all .5s ease-in-out;

}