* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    color: #3498db;
}

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

nav ul li {
    margin-left: 30px;
}

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

nav ul li a:hover {
    color: #3498db;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(52, 152, 219, 0.8), rgba(52, 152, 219, 0.8)), url('https://images.unsplash.com/photo-1543466835-00a7907e9de1') no-repeat center center/cover;
    color: #fff;
    padding: 150px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background: #fff;
    color: #3498db;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary {
    background: #e74c3c;
    color: #fff;
    margin-left: 15px;
}

.btn-primary:hover {
    background: #c0392b;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #3498db;
    font-size: 2rem;
}

/* About Section */
.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature {
    flex: 0 0 30%;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.feature h3 {
    margin: 20px 0;
    color: #3498db;
}

/* Solution Section */
.solution {
    background: #f9f9f9;
}

.solution p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.solution-features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.solution-feature {
    flex: 0 0 30%;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.solution-feature h3 {
    margin: 20px 0;
    color: #3498db;
}

/* Team Section */
.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.team-member {
    flex: 0 0 30%;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 15px 20px;
}

.team-member h3 {
    margin: 20px 0 10px;
    color: #3498db;
}

.team-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-position: top;
    /*object-fit: cover; /* Prevents stretching * - previous version/
    object-fit: contain; /* Prevents cropping */
}

/* Team Slideshow */
.team-slideshow {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.slideshow-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slideshow-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.prev-btn, .next-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background: #2980b9;
}

.dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active, .dot:hover {
    background: #3498db;
}

/* Contact Section */
.contact {
    background: #f9f9f9;
    text-align: center;
}

.contact p {
    max-width: 600px;
    margin: 0 auto 40px;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

input, select, textarea {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-family: 'Poppins', sans-serif;
}

textarea {
    height: 150px;
    resize: vertical;
}

button.btn {
    border: none;
    cursor: pointer;
    background: #3498db;
    color: #fff;
}

button.btn:hover {
    background: #2980b9;
}

/* Form submission feedback */
.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

.form-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: none;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature, .solution-feature, .team-member {
        flex: 0 0 100%;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    header .container {
        flex-direction: column;
    }
}