/* Utility styles[standardized, unless 'Specified' otherwise] */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #EEEEEE;
    font-family: 'raleway cursive';
}
a {
    text-decoration: none;
    color: black; /* Added color definition for links */
}
li {
    list-style: none;
}

/* Navbar and Using Flexbox */
.navbar {
    display: flex;
    position: fixed;
    background-color: white;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .3);
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: black;
}
.navbar ul li a {
    text-decoration: none;
    margin: 0 10px;
    color: black;
}
.nav-links a {
    color: white;
}

/* LOGO */
/* .logo {
    font-size: 32px;
} */
.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: -6px;;
}

/* NAVBAR MENU */
.menu {
    display: flex;
    justify-content: space-evenly; /*spacing */
    gap: 1em;
    font-size: 18px;
}
.menu li:hover {
    background-color: #f2f2f2;
    color: black;
    border-radius: 5px;
    transition: 0.3s ease;
}
.menu li {
    padding: 5px 14px;
}

/* DROPDOWN MENU */
.catalogue {
    position: relative;
    position: transparent;
}
.dropdown {
    background-color: #f2f2f2;
    padding: 1em 0;
    position: absolute; /*WITH RESPECT TO PARENT*/
    display: none;
    border-radius: 8px;
    top: 35px;
}
.dropdown li + li {
    margin-top: 10px;
}
.dropdown li {
    padding: 0.5em 1em;
    width: 8em;
    text-align: center;
}
.dropdown li:hover {
    background-color: #E6E6E6;
}
.catalogue:hover .dropdown {
    display: block;
}

/*RESPONSIVE NAVBAR MENU STARTS*/
/* CHECKBOX HACK */
input[type=checkbox] {
    display: none;
}
/*HAMBURGER MENU*/
.hamburger {
    display: none;
    font-size: 24px;
    user-select: none;
}
/* APPLYING MEDIA QUERIES */
@media (max-width: 768px) {
    .menu { 
        display: none;
        position: absolute;
        background-color: white;
        right: 0;
        left: 0;
        text-align: center;
        padding: 16px 0;
    }
    .menu li:hover {
        display: inline-block;
        background-color: #f2f2f2;
        transition: 0.3s ease;
    }
    .menu li + li {
        margin-top: 12px;
    }
    input[type=checkbox]:checked ~ .menu {
        display: block;
    }
    .hamburger {
        display: block;
    }
    .dropdown {
        left: 50%;
        top: 30px;
        transform: translateX(35%);
    }
    .dropdown li:hover {
        background-color: #E6E6E6;
    }
}

/* CAROUSEL STYLES */
.carousel-item {
    height: 450px;
}

/* Section Title */
.section-title {
    text-align: center;
    padding-bottom: 30px;
}
.section-tittle h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}
.section-title p {
    margin-bottom: 0;
    font-size: 14px;
    color: #919191;
}
section p {
    margin-bottom: 0px;
    font-size: 16px;
}

/* Card Styles */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    text-align: center;
    padding: 15px;
}
.card:hover {
    transform: scale(1.05);
}
.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.card-body {
    padding: 15px;
}
.card-body h4 {
    font-size: 20px;
    margin-bottom: 10px;
}
.card-body p {
    font-size: 14px;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        padding: 10px;
    }
}

#moreButton {
    margin: 50px;
}

/* Card Rows */
.first-row {
    padding-bottom: 30px;
}

.about-img {
    height: 300px;
    width: 300px;
    /* To go up, negative pixels */
}
