/*
Custom Styles for Azyan Zahi Website
*/
@import url('https://fonts.googleapis.com/css2?family=Manjari:wght@100;400;700&family=Quicksand:wght@300..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

/*----------------------------------------------------------------
# Variables
----------------------------------------------------------------*/
:root {
    --primary-color: #013448; /* Deep Green */
    --secondary-color: #F5A623; /* Bright Orange */
    --secondary-color-60: rgba(245, 166, 35, 0.7);
    --secondary-color-opaque: rgba(255, 255, 255, 0.7); /* White with 70% opacity */
    --secondary-color-40: rgba(255, 255, 255, 0.5); /* White with 50% opacity */
    --accent-color: #D0021B; /* Strong Red */
    --text-color: #4A4A4A; /* Dark Gray */
    --background-color: #71C0BB;
    --background-color-60: rgba(113, 192, 187, 0.3); /* Deep Green with 60% opacity */
    --light-gray: #f1f1f1; /* Lighter Gray */
    --white: #FFFFFF;
    --black: #000000;
    --dark-blue: #013448; /* Same as primary-color, retained for clarity */
    --gray: #4A4A4A; /* Same as text-color, retained for clarity */
}

/*----------------------------------------------------------------
# General Styles
----------------------------------------------------------------*/
body {
    font-family: 'Quicksand', sans-serif;
    color: var(--text-color);
    background-color: var(--light-gray);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
}

p {
    font-family: 'Quicksand', sans-serif;
    color: var(--black);
    font-weight: 200;
}

/*----------------------------------------------------------------
# Buttons
----------------------------------------------------------------*/
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #3b5e20;
    border-color: #3b5e20;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #e0911a;
    border-color: #e0911a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/*----------------------------------------------------------------
# Header & Navigation
----------------------------------------------------------------*/
.navbar {
    background: transparent;
    padding: 1.5rem 0;
}

.navbar-brand {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.navbar-brand img{
    height: 80px !important;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.navbar-collapse {
    /* No specific positioning needed here, as it's centered by flexbox in app.blade.php */
}

@media (max-width: 991.98px) {
    .navbar-brand {
        right: 70%;
        transform: translateX(-70%);
        transform: translateY(-70%);
    }

    .navbar-collapse {

    
    }
}

.nav-color {
    background-color: var(--secondary-color-opaque);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.navbar-nav {
    flex-direction: row;
    gap: 2rem;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 15px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    transition: width 0.3s ease-in-out;
}

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

.btn-nav {
    background: var(--background-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
}



.navbar-brand img {
    height: 50px;
    width: auto;
}

.navbar-scroll {
    color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-collapse {
        background-color: transparent; /* Ensure transparent background for mobile collapse */
        padding: 1rem;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Center navigation items horizontally */
    }
}

/*----------------------------------------------------------------
# Forms
----------------------------------------------------------------*/
.form-control {
    border-radius: 50px; /* Match button border-radius */
    padding: 12px 20px;
    border: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.25rem var(--secondary-color-40); /* Subtle focus shadow */
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/*----------------------------------------------------------------
# Featured Products Section (Home Page)
----------------------------------------------------------------*/
.featured-products-section {
    background: linear-gradient(rgba(1, 52, 72, 0.8), rgba(1, 52, 72, 0.9)), url('../images/hero1.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 80px 0;
}

.featured-products-section .section-title {
    color: var(--white);
    margin-bottom: 40px;
}

.featured-products-section .card-product {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
}

.featured-products-section .card-product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.featured-products-section .card-product-img {
    width: 100%;
    height: 200px; /* Fixed height for product images */
    object-fit: cover;
    border-bottom: 1px solid var(--light-gray);
}

.featured-products-section .card-body {
    padding: 20px;
    flex-grow: 1; /* Allow card body to take available space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push content to top and bottom */
}

.featured-products-section .card-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.featured-products-section .card-text {
    color: var(--text-color);
    font-size: 0.95rem;
}

/*----------------------------------------------------------------
# Get in Touch Section (Home Page)
----------------------------------------------------------------*/
.get-in-touch-section {
    background: linear-gradient(rgba(1, 40, 55, 0.95), rgba(0, 21, 29, 1)), url('../images/hero.jpeg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 80px 0;
}

.get-in-touch-section .section-title {
    color: var(--white);
    margin-bottom: 40px;
}

.get-in-touch-section .lead {
    color: var(--white-50);
}

/*----------------------------------------------------------------
# Hero Section
----------------------------------------------------------------*/
.hero-section {
    background: linear-gradient(rgba(1, 52, 72, 0.8), rgba(1, 52, 72, 0.9)), url('../images/hero.jpeg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 80px 0 100px; /* Adjusted padding for proper spacing */
    position: relative;
    z-index: 1;
}

/*----------------------------------------------------------------
# About Us Section
----------------------------------------------------------------*/
.about-us-section {
    background: linear-gradient(rgba(1, 52, 72, 0.8), rgba(1, 52, 72, 0.9)), url('../images/about-us.svg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-us-section .section-title {
    color: var(--white);
}

.about-us-section .lead, .about-us-section p {
    color: rgba(255, 255, 255, 0.8);
}

/*----------------------------------------------------------------
# Products Section
----------------------------------------------------------------*/
.products-section {
    background: linear-gradient(rgba(1, 52, 72, 0.8), rgba(1, 52, 72, 0.9)), url('../images/hero1.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.products-section .section-title {
    color: var(--white);
}

.products-section .card-product {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.products-section .card-product:hover {
    transform: translateY(-5px);
}

.products-section .card-product-img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 200px;
    object-fit: cover;
}

.products-section .card-product-body {
    padding: 20px;
}

.products-section .card-product-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.products-section .card-product-body p {
    color: var(--text-color);
}

/*----------------------------------------------------------------
# Contact Us Section
----------------------------------------------------------------*/
.contact-us-section {
    background: linear-gradient(rgba(1, 52, 72, 0.8), rgba(1, 52, 72, 0.9)), url('https://images.unsplash.com/photo-1699303480277-ddcd4f05aacd?q=80&w=395&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') no-repeat center center;
    background-size: cover;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.contact-us-section .section-title {
    color: var(--secondary-color);
}
.contact-us-section p {
    color: var(--white-50);
}
.contact-us-section i {
    color: var(--secondary-color) !important;
}
.contact-us-section i:hover {
    color: var(--secondary-color-dark);
    border-color: var(--secondary-color-dark);
}


/*----------------------------------------------------------------
# Services Section
----------------------------------------------------------------*/
.services-section {
    background: linear-gradient(rgba(1, 52, 72, 0.8), rgba(1, 52, 72, 0.9)), url('../images/hero.jpeg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.services-section .section-title {
    color: var(--white);
}

.services-section .card-feature {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.services-section .card-feature:hover {
    transform: translateY(-5px);
}

.services-section .card-feature-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.services-section .card-feature p {
    color: var(--text-color);
}

/*----------------------------------------------------------------
# Testimonials
----------------------------------------------------------------*/
.card-testimonial {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: 100%; /* Ensure cards have equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: auto; /* Push author to the bottom */

    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1000;
}

.hero-section .container {
    position: relative;
    z-index: 0;
}

.hero-section span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-title {
    font-size: 3.2rem !important; /* Adjust font size for smaller screens */
    }

    .hero-title .navbar-brand img {
        height: 60px; /* Adjust logo size */
    }

    .hero-subtitle {
        font-size: 1.2rem !important; /* Adjust subtitle font size */
    }
    .brand-logo {
        height: 120px !important;
    }
    .brand-logo img{
        height: 100px !important;
        margin-top: 20px;
        margin-bottom: 20px;

        border-radius: 50%;
        border: 2px solid var(--white);
    }
}

/* Why Choose Us Section */
.whychooseus-section .card-feature {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.whychooseus-section .card-feature:hover {
    transform: translateY(-5px);
}

.whychooseus-section .card-feature i {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.whychooseus-section .card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.whychooseus-section .card-text {
    color: var(--text-color);
}

@media (max-width: 768px) {
    .whychooseus-section .card-feature {
        margin-bottom: 20px; /* Add space between cards on mobile */
        color: var(--black);
        text-shadow: none; /* Remove text-shadow for better readability */
        font-weight: 700; /* Adjust font-weight */
    }
    .whychooseus-section {
        padding: 60px 15px; /* Further reduce padding for very small screens */
    }
}



.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 15px;
    color: var(--light-gray);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-quote-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
}

.hero-quote-box p {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 15px;
    color: var(--background-color);
}

.hero-quote-box footer {
    font-size: 1rem;
    font-weight: 600;
}

/*----------------------------------------------------------------
# Why Choose Us Section
----------------------------------------------------------------*/
.whychooseus-section {
    background-color: var(--primary-color);
    background-size: cover;
    color: var(--secondary-color) !important;
    padding: 80px 20px;
    position: relative;
}

.whychooseus-section .section-title {
    color: var(--secondary-color) !important;
}
.whychooseus-section p{
    color: var(--light-gray) !important;
}
.whychooseus-section i{
    color: var(--secondary-color) !important;   
    padding: 25px;
}

/*----------------------------------------------------------------
# Card Styles
----------------------------------------------------------------*/
.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

.card-feature,
.card-product {
    background-color: var(--background-color-60);
    border: none;
    border-radius: 15px;
    padding: 1.2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.card-feature:hover,
.card-product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-feature-icon img,
.card-product-img {
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    max-width: 100%;
    height: auto;
}

.card-feature-icon img {
    height: 80px;
}

.card-product-img {
    border-radius: 10px;
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-text {
    font-size: 1rem;
    color: var(--primary-color);
}

.card-product-body {
    padding: 1.5rem;
}

.card-product-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

/*----------------------------------------------------------------
# Team Cards
----------------------------------------------------------------*/
.card-team {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-team:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-team-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 2rem auto 1.5rem;
    display: block;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-team-body {
    padding: 0 1.5rem 2rem;
}

.card-team-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--dark-blue);
}

.card-team-text {
    color: var(--gray);
}

/*----------------------------------------------------------------
# Contact Card
----------------------------------------------------------------*/
/*----------------------------------------------------------------
# Contact Card
----------------------------------------------------------------*/
.card-feature-contact {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://i.pinimg.com/1200x/2f/fa/31/2ffa31bd840c28d7e7f0e3861cb189c5.jpg') no-repeat center center;
    background-size: cover;
    color: var(--light-gray);
    padding: 100px;
    position: relative;
}
.card-feature-contact  .card-feature-title{
    color: var(--secondary-color);
}



/* Contact Form */
.contact-form {
    flex: 1;
    background-color: var(--background-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInRight 1s ease;
}


.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 20px;

}

.contact-form .form-group i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-control {
    width: 90%;
    margin-left: 30px;
    padding: 12px 15px 12px 40px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid var(--background-color);
    border-radius: 8px;
    color: #ffffff;
    transition: border-color 0.3s ease-in-out;

}

.contact-form .form-control:focus {
    border-color: var(--background-color);
    outline: none;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.contact-form .btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--dark-blue);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.contact-form .btn-submit:hover {
    background: var(--secondary-color);
}
.contact-form i {
    background: var(--background-color) !important;
    padding: 10px !important;
color: var(--dark-blue-) !important;
    border-radius: 50% !important;
    left: 10px !important;
    /* font-size: 1.5rem !important; */
    /* margin-right: 10px !important; */
    transition: background 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);

}
.contact-form i:hover {
    color: var(--color-base2) !important;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
}

/*----------------------------------------------------------------
# Image Overlay
----------------------------------------------------------------*/
.card-img-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-shadow: 0 0 7px var(--black);
    font-weight: 700;
}


.card-testimonial {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border: none;
    border-radius: 15px;
    padding: 1.2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
}
.card-testimonial .testimonial-author {
    color: var(--light-gray) !important;
    font-size: 0.7rem;
}
.card-testimonial .testimonial-text {
    color: var(--white) !important;
    font-size: 0.9rem !important;
    font-style: italic;
    font-weight: 100;

}

.card-testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    font-size: 14px;
    width: 100%; /* Ensure footer fills the width */
}

.footer .footer-info .logo span {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.footer .footer-info p {
    color: var(--white);
}

.footer .social-links a {
    color: rgba(255, 255, 255, 0.7);
    padding-right: 10px;
    display: inline-block;
    line-height: 1;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--white);
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    color: var(--white);
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
}

.footer .footer-links ul li a:hover {
    color: var(--white);
}

.footer .copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright span {
    font-weight: bold;
}
.footer-contact p {
    color: var(--white);
}

@media (max-width: 768px) {
    .footer .footer-contact,
    .footer .footer-info,
    .footer .footer-links {
        text-align: center !important;
        margin-bottom: 20px; /* Add some space between sections */
    }

    .footer .social-links {
        justify-content: center; /* Center social links on mobile */
    }

    .footer .container .row > div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

ul {
    list-style-type: none;
}