*{
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
}

/* NAVBAR */
.navbar{
    background: skyblue;
    padding-left: 15px;
    padding-right: 15px;
}

.navdiv{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navdiv img {
    height: 80px;
    width: auto;
}

.logo a{
    font-size: 25px;
    font-weight: 600;
    color: white;
}

ul{
    display: inline-block;
}

li{
    list-style: none;
    display: inline-block;
}

li a{
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-right: 25px;
}

li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
}

li a:hover, .dropdown:hover .dropbtn {
    background-color: red;
}

li.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* AUTH BUTTONS */
.auth-buttons{
    display: flex;
    gap: 10px;
}

button{
    background-color: black;
    border-radius: 10px;
    padding:10px;
    width: 90px;
}

button a{
    color: white;
    font-weight: bold;
}

/* SLIDER */
.container{
    padding: 2rem;
}

.slider-wrapper{
    position: relative;
    max-width: 70rem;
    margin: 0 auto;
}

.slider{
    display: flex;
    aspect-ratio: 20/9;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    border-radius: 0.5rem;
}

.slider img{
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
}

.slider-nav{
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
}

.slider-nav a{
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: white;
    opacity: 0.75;
}

.slider-nav a:hover{
    opacity: 1;
}

/* BODY SECTION */
.body1{
    display: flex;
    background-color: rosybrown;
    color: white;
    text-align: center;
    padding: 2rem;
}

.body2 img{
    max-height: 100%;
    width: auto;
    border-radius: 10px;
}

.text-content{
    margin-left: 1rem;
    flex: 1;
}

/* SERVICES */
#ourservices{
    text-align: center;
    font-size: 20px;
}

.services, .services1{
    display: flex;
    gap: 20px;
    padding: 20px;
}

.services img, .services1 img{
    width: 60px;
    height:42px;
}
/* Services section layout */
.services,
.services1 {
    display: flex;
    flex-wrap: wrap;              /* allows items to move to next line */
    justify-content: space-around;/* spreads items evenly across width */
    align-items: flex-start;      /* keeps icons and text aligned at top */
    gap: 40px;                    /* adds space between each service block */
    padding: 40px 60px;           /* adds breathing room around section */
}

/* Each service block */
.services div,
.services1 div {
    max-width: 250px;             /* keeps text readable */
    text-align: left;             /* aligns text neatly */
}

/* Service images */
.services img,
.services1 img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    display: block;
}


/* INFO SECTION */
.info{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: lightblue;
    font-size: 40px;
}

.info img{
    width: 100px;
    height: 120px;
}

/* FOOTER */
.footer {
    display: flex;
    background-color: #34495E;
    color: #ffffff;
}

.footer div {
    flex: 1;
    padding: 20px;
}

.footer a {
    color: #ffffff;
    font-weight: bold;
}

.footer a:hover {
    color: #d1e0e5;
}

.team-section {
    padding: 50px;
    background-color: #f9f9f9;
    text-align: center;
}

.team-container {
    display: flex;
    justify-content: space-evenly; /* keeps cards evenly spaced */
    align-items: stretch;          /* ensures equal height */
    flex-wrap: nowrap;             /* keeps them in one row */
    gap: 30px;                     /* adds space between cards */
    overflow-x: auto;              /* allows horizontal scroll on smaller screens */
}

.team-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;                /* prevents cards from shrinking */
}

.team-card:hover {
    transform: scale(1.05);
}

.team-card img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
}

.team-card h3 {
    font-size: 18px;
    color: #333;
}

.team-card .position {
    font-size: 14px;
    color: #ff6f00;
    margin-bottom: 10px;
}

.team-card p {
    font-size: 14px;
    color: #666;
}
@media (max-width: 900px) {
    .contactusbox {
        flex-direction: column;
        text-align: center;
    }

    .contactusbox img {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
}

.contactusbox {
    display: flex;
    align-items: stretch;          /* makes both sides equal height */
    justify-content: space-between;
    padding: 40px;
    gap: 40px;
}

.contactusbox img {
    flex: 1;                       /* image takes full left side */
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;             /* fills space without distortion */
}

#container1 {
    flex: 1;                       /* text takes full right side */
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 600px;
}

#container1 h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

#container1 p, 
#container1 h2 {
    font-size: 18px;
    line-height: 1.6;
}


