/* Custom Styles for Sunflower Oil Website */

/* Hero Slider Styles */
.hero-slider {
    margin-top: 56px; /* Account for fixed navbar */
}

.carousel-item {
    height: 100vh;
    min-height: 500px;
    position: relative;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}




/* sunflower background second section */
.slider-main{
  background-image: url(../image/all-bg.jpg);
  height: 35rem;
  background-repeat: no-repeat;
  background-size: cover;     
  position: relative;
}
.sunflwer-oil-shadow{
    position: absolute;
    width: 40%;
    height:100%;
    right: 80px;
    top: 20px;
    text-align: center;
    z-index: 1;

    img{
        padding: 7rem 0rem 0rem 3.9rem;
        color: white; 
        width: 100%;
        height: 100%;    
    }

}
.slider-sunflwer-oil-product{
    position: absolute;
    width: 50%;
    height: 60%;
    bottom: -59px;
    right: 0px;
    z-index: 2;
    mix-blend-mode: multiply;
    img{
        width: 100%;
        height: 20rem;
        object-fit: contain;
      
   }
}
.slider-text-body{
position: absolute;
left: 0px;
top: 38%;
width: 50%;
color: #fdfffd;
background: linear-gradient(to right, rgb(255, 213, 0), rgba(255, 255, 255, 0.09),rgba(255, 255, 255, 0.001));
padding: 30px 10px;
padding-left: 50px;
h1{
    font-weight: bolder;
    font-size: 45px;
}
button{
    font-size: 20px;
    padding: 10px 40px 10px 40px;
    background-color: rgb(219, 28, 28);;
    color: white;
    border: 0px solid red;
    &:hover{
         background-color: maroon;
        color: white;
    }
}
}
@media (max-width: 768px) {
  .slider-text-body{
    position: absolute;
    background: none;              
    background-color: transparent; 
    top: 3rem;
    width: 100%;
button{
    font-size: 15px;
    padding: 8px 18px 8px 18px;   
}
}

.sunflwer-oil-shadow{
    position: absolute;
    width: 100%;
    height:80%;
    right: 8px;
    top: 8rem;
    text-align: center;
    z-index: 1;

    img{
        padding: 7rem 4.4rem 0rem 4.4rem;
        color: white; 
        width: 100%;
        height: 100%;    
    }

}
.slider-sunflwer-oil-product{
    position: absolute;
    width: 38%;
    height: 57%;
    bottom: -97px;
    right: 9rem;
    z-index: 2;
    img{
        mix-blend-mode: multiply;
    }
    
}
}





.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.text-slider h1 {
    color: #ffc107;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-weight: 700;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-indicators .active {
    background-color: #fff;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom button styles */
.btn-warning {
    background: linear-gradient(45deg, #ffc107, #ff9800);
    border: none;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: linear-gradient(45deg, #ff9800, #ff5722);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

/* Card hover effects */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Table styles */
.table th {
    border-top: none;
    font-weight: 600;
}

/* Form styles */
.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Social icons */
.social-links a {
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: #ffc107 !important;
}

/* About section image styling */
.about-image i {
    transition: transform 0.3s ease;
}

.about-image i:hover {
    transform: scale(1.1);
}

/* Navigation active state */
.navbar-nav .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffc107;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p.lead {
        font-size: 1.1rem;
        
    }
    
    section {
        padding: 60px 0;
    }
}

/* Animation for sections */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom background patterns */
.bg-pattern {
    background-image: radial-gradient(circle, #f8f9fa 10%, transparent 10%);
    background-size: 20px 20px;
}

/* Utility classes */
.text-gradient {
    background: linear-gradient(45deg, #28a745, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading animation for images */
.img-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #28a745, #ffc107);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #218838, #e0a800);
}

/* footer */
.footer{
    ul{
            li{
                list-style: none;
                display: inline;
                
            }
        }
    .footer-soacial-media-icon{
        padding-top: 2rem;
        
        i{
        height: 20px;
        width:20px;
        padding:10px 15px 10px 15px;
        border-radius: 50%;
        background-color: #198754;
        }
    }
    .footer-list-of-service{
       padding-top: 1rem;
        li{
             margin-right: 10px;
        a{
            font-size: 12px;
            text-decoration: none;
            color: white;
        }
       
        
        }
    }
   
    .footer-copywrite{
        
        h2{
            font-size: 15px;
        }
        p{
            font-size: 11px;
            padding-top: 0.5rem;
        }
    }
}

.lead{
    
        text-align: justify;
        font-size: 17px;
        letter-spacing: 0px;
        color: black;
        font-family:Georgia, 'Times New Roman', Times, serif;
}
.about-image{
    mix-blend-mode: multiply;
    img{
        /* padding: 3rem; */
         margin-top: 5rem;
         width: 100%;
        

    }
}
#about{
    h2{
        padding-top: 3rem;
    }
}


/* CONATCT PAGE CSS STARTS HERE */
.contact-header{
    background-image: url(../image/all-bg.jpg);
    background-repeat: no-repeat;
    height: 20rem;
    background-size: cover;
    background-color: #d8f1de;
    padding: 3rem 0rem 2rem 0rem;
    
    h1{
       padding: 45px 0px 0px 20px;
       a{
       font-size: 25px;
       color:green;
       text-decoration: none;
       }
    }
    p{
        a{
        color: green;
        text-decoration: none;
    }
         padding: 20px 0px 0px 20px;
    }
        
    
}


.conatct-iocn-info{
    /* padding-top: 2rem; */

  .conatct-location, .conatct-email, .conatct-number{
/*     
    margin-right: 8rem;
    margin-left: 6rem; */
    text-align: center;
    padding: 10px 30px;
    border: 0px solid black;
    box-shadow: 5px 5px 10px rgba(160, 158, 158, 0.3);
    
    p{
       padding: 10px 10px 0px 10px;
    }
    i{
        font-size: 1.5rem;
        color: green;
    }
  }
}