/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease; /* General Transition for Smooth Animations */
}

body {
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    background-color: #333;
    padding: 1rem 0;
    text-align: center;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease; /* Transition for navigation links */
}

header nav ul li a:hover {
    color: #f39c12;
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background-color: #282c34;
    color: #fff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    margin: 20px 0;
}

.hero .btn {
    background-color: #f39c12;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero .btn:hover {
    background-color: #d35400;
    transform: scale(1.1);
}

/* Section Styles */
section {
    padding: 50px 20px;
    text-align: center;
}

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

section p,
section ul {
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Section */
#services ul {
    list-style: none;
    padding: 0;
}

#services ul li {
    font-size: 1.2rem;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #eee;
    border-left: 5px solid #f39c12;
}

/* AI Collaboration Section */
#ai-collaboration {
    background-color: #ecf0f1;
}

#ai-collaboration p {
    color: #333;
}

/* Contact Section */
#contact form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#contact label {
    display: block;
    margin-bottom: 10px;
    color: #333;
}

#contact input,
#contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact input:focus,
#contact textarea:focus {
    border-color: #f39c12;
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.2);
}

#contact button {
    background-color: #f39c12;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#contact button:hover {
    background-color: #d35400;
    transform: scale(1.1);
}

/* Fade-In Animation for Contact and Head Office Sections */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section Hover Effects */
#head-office ul li {
    transition: transform 0.3s ease;
}

#head-office ul li:hover {
    transform: translateX(10px);
}

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

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    header nav ul li {
        display: block;
        margin: 10px 0;
    }

    section {
        padding: 20px;
    }
}

/* Smooth Scroll for the Page */
html {
    scroll-behavior: smooth;
}
