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

body {
    background: #f5f5f5;
    color: #222;
    line-height: 1.6;
}

/* Navigation */
header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #0077ff;
}

/* Slider */
.slider {
    position: relative;
    height: 75vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
    display: block;
    text-decoration: none;
    color: white;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: white;
}

.overlay h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.overlay p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
}

.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 3;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    display: inline-block;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: white;
}

/* Sections */
section {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Footer */
footer {
    background: white;
    border-top: 1px solid #eee;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    margin-right: 20px;
    color: #222;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #0077ff;
}

@media (max-width: 768px) {
    nav ul {
    gap: 15px;
    }

    .overlay h1 {
    font-size: 2rem;
    }
}

.cropped-image {
  width: 350px;
  height: 500px;
  object-fit: cover; /* Crops the image to fill the dimensions */
  object-position: center; /* Centers the crop area (Default) */
}