/* Custom Styling for Singh Trading Company Header and Navbar */

/* Header Container */
.head {
    background: linear-gradient(135deg, #000000 0%, #ffb347 100%);


    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

/* Sparkle Animation for Glamour */
.head::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    animation: sparkle 5s infinite;
}

@keyframes sparkle {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Contact Links (Email and Phone) */
.contact-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    position: relative;
}

.contact-link:hover {
    color: #ffffff !important;
    background: linear-gradient(45deg, #d4a017, #ffd700);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Font Awesome Icons for Email and Phone */
.contact-link .fa {
    color: #d4a017;
    transition: color 0.3s ease;
}

.contact-link:hover .fa {
    color: #ffffff;
}

/* Logo Styling */
.fiy-logo {
    max-width: 130px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.fiy-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(212, 160, 23, 0.4));
}

/* Social Media Links */
.social-links a {
    font-size: 1.3rem;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.4rem;
}



/* Navbar Styling */
.navbar {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    position: relative;
}

/* Navbar Brand */
.navbar-brand {
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(45deg, #000000, #0f9b8e, #00c9ff);

    margin-left: 40px;


    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.5px;

    transition: all 0.3s ease;
    position: relative;
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 16px;
        margin-left: 10px;
        /* Optional: adjust margin for smaller screen */
    }
}

.navbar-brand:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 3px 6px rgba(212, 160, 23, 0.4));
}

/* Navbar Links */
.nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c !important;
    padding: 0.5rem 1rem;
    margin-left: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'Poppins', sans-serif;
}

.nav-link:hover {
    color: #ffffff !important;
    background: linear-gradient(45deg, #d4a017, #ffd700);
    border-radius: 5px;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Active Nav Item */
.nav-item.active .nav-link {
    color: #ffffff !important;
    background: linear-gradient(45deg, #d4a017, #ffd700);
    font-weight: 700;
    border-radius: 5px;
}

/* Dropdown Menu */
.dropdown-menu {
    background: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.dropdown-item {
    font-size: 1rem;
    color: #2c2c2c;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.dropdown-item:hover {
    background: linear-gradient(45deg, #2a9d8f, #48cae4);
    color: #ffffff;
}

/* Dropdown Divider */
.dropdown-divider {
    border-top: 1px solid #e0e0e0;
}

/* Disabled Nav Item */
.nav-link.disabled {
    color: #aaaaaa !important;
    cursor: not-allowed;
    background: none !important;
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: transform 0.3s ease;
}

.navbar-toggler:hover {
    transform: rotate(90deg);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(212, 160, 23, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        padding: 0.75rem 1rem;
        margin-left: 0;
    }

    .dropdown-menu {
        background: #f0f4f8;
        box-shadow: none;
    }
}

@media (max-width: 576px) {


    .contact-link {
        font-size: 0.9rem;
    }

    .fiy-logo {
        max-width: 100px;
    }

    .social-links a {
        font-size: 1rem;
    }

    .head {
        padding: 1rem 0;
    }
}

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');







/* Carousel container */
#carouselExampleControls {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    margin: 30px auto;
    position: relative;
}

/* Carousel images */
.carousel-inner img {
    height: 400px;
    /* Fixed height for uniformity */

    transition: transform 0.6s ease;
}

/* Zoom effect on active slide */
.carousel-item.active img {
    transform: scale(1.05);
}

/* Dark transparent overlay on images */
.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Position captions (if you add any) */
.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: #fff;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.7);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Prev/Next controls styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.7));
    background-size: 40px 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transition: background-color 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Hide default outline */
.carousel-control-prev,
.carousel-control-next {
    outline: none;
}

/* Responsive: adjust height on smaller screens */
@media (max-width: 768px) {
    .carousel-inner img {
        height: 200px;
    }
}


.service-card {
    width: 320px;
    height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto;
    margin-top: 30px;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card .badge-popular {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* Image size & fit */
.service-card img {
    height: 250px;
    width: 100%;
   
    border-bottom: 1px solid #ddd;
}

/* Card body spacing */
.service-card .card-body {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Badge style for highlighted service */
.badge-popular {
    margin-top: 10px;
    font-size: 0.9rem;
}

.card-title {
    color: black;
    font-size: 30px;
    text-transform: uppercase;
}

/* Responsive wrapping */
@media (max-width: 350px) {
    .service-card {
        width: 100%;
        height: auto;
    }

    .service-card img {
        height: 200px;
    }
}



/* Gallery Image Styling */
.custom-card .card-img-top {
    width: 300px;
    height: 260px;
    border-radius: 8px;
    margin-top: 20px;
}

/* Styling for the gallery cards */
.custom-card {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for different screen sizes */
@media (max-width: 576px) {
    .custom-card .card-img-top {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .custom-card .card-img-top {
        height: 180px;
    }
}
