* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Left-to-Right Ombre Background */
body {
    background: linear-gradient(to right, white, #4A90E2);
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

nav {
position: fixed;
top: 0;
width: 100%;
height: 70px;
background: rgba(255, 255, 255, 0.98); /* Default white */
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 5%;
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
z-index: 1000;
transition: background 0.3s ease;

}

.logo {
font-size: 1.5rem;
font-weight: 700;
color: #2B3467;
text-decoration: none;
}

.nav-links {
display: flex;
gap: 2.5rem;
list-style: none;
}

.nav-links a {
text-decoration: none;
color: #2B3467;
font-weight: 500;
transition: all 0.3s ease;
position: relative;
}

.nav-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: #4A90E2;
transition: width 0.3s ease;
}

.nav-links a:hover {
color: #4A90E2;
}

.nav-links a:hover::after {
width: 100%;
}

.nav-icons1 {
display: flex;
gap: 1.5rem;
}

.nav-icons i {
color: #2B3467;
font-size: 1.2rem;
cursor: pointer;
transition: color 0.3s ease;
}

.nav-icons i:hover {
color: #4A90E2;
}

/* Services Section */
.services-container {
    padding: 50px 5% 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 40px;

}

.service-card {
    width: 100%;
    max-width: 350px; /* Adjust width as needed */
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 500px; /* Ensure enough space */
    position: relative;
}

.full-description {
    margin-top: 10px;
    padding: 10px;
    text-align: left;
    width: 100%;
}

.full-description ul {
    padding: 0;
    list-style-type: none;
}

.full-description li {
    padding: 5px 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(43,52,103,0.2),
                0 0 40px rgba(66,134,244,0.1);
}

.service-title {
    color: #2B3467;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.short-description {
    color: #666;
    line-height: 1.5;
}

.full-description {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: #444;
    line-height: 1.7;
    opacity: 0;
    padding-top: 10px;
}

.service-card.expanded {
    height: auto;
}

.service-card.expanded .full-description {
    max-height: 300px;
    opacity: 1;
    transition: max-height 0.5s ease-in, opacity 0.5s ease-in;
}

/* Buttons */
.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.read-more {
    background: none;
    border: none;
    color: #4A90E2;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
}

.book-now {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.book-now:hover {
    background: #2B65C0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.footer {
background: #2B3467;
color: white;
padding: 30px 5%;
margin-top: auto;
}

.footer-content {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
}

.footer-section {
flex: 1;
min-width: 250px;
}

.footer-section h3 {
margin-bottom: 10px;
font-size: 1.3rem;
border-bottom: 2px solid #4A90E2;
display: inline-block;
padding-bottom: 5px;
}

.footer-section links{
    margin-left: 6%;
}

.footer-section ul {
list-style: none;
}

.footer-section ul li {
margin: 8px 0;
}

.footer-section ul li a {
text-decoration: none;
color: white;
transition: color 0.3s ease;
}

.footer-section ul li a:hover {
color: #4A90E2;
}

.footer-section p {
margin: 8px 0;
}

.footer-section i {
margin-right: 8px;
color: #4A90E2;
}

.footer-bottom {
text-align: center;
margin-top: 20px;
border-top: 1px solid #4A90E2;
padding-top: 10px;
font-size: 0.9rem;
}
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        padding-top: 30px;
    }

    .service-card {
        height: 220px;
    }

    .button-container {
        flex-direction: column;
        gap: 10px;
    }

    .book-now {
        width: 100%;
    }

    .nav-links {
        display: none;
    }
}
@media (max-width: 768px) {
.footer-content {
flex-direction: column;
align-items: center;
text-align: center;
}

.footer-section h3 {
border-bottom: none;
}

.footer-section.contact p {
justify-content: center;
}

.footer-section ul li a:hover {
transform: translateY(-3px);
}
}