* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    transition: all 0.3s ease;
    color: #337ab7;
}

a:hover {
    text-decoration: none;
    color: #23527c;
}

/* Header Top */
.header-top {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 10px 0;
    color: white;
}

.social ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social ul li {
    display: inline-block;
    margin-right: 15px;
}

.social ul li a {
    color: white;
    font-size: 18px;
}

.social ul li a:hover {
    color: #3498db;
}

.w3layouts-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.w3layouts-details ul li {
    display: inline-block;
    margin-left: 20px;
    font-size: 14px;
}

.w3layouts-details ul li a {
    color: white;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
}

.w3ls-logo h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.w3ls-logo h1 a {
    color: #2c3e50;
    text-decoration: none;
}

.w3ls-logo h1 a:hover {
    color: #3498db;
}

.header-top-right form {
    position: relative;
}

.header-top-right input[type="text"] {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    outline: none;
    transition: border-color 0.3s;
}

.header-top-right input[type="text"]:focus {
    border-color: #3498db;
}

.header-top-right input[type="submit"] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: url('../images/search.png') no-repeat center;
    background-size: 20px;
    width: 30px;
    height: 30px;
    border: none;
    cursor: pointer;
}

/* Navigation */
.top-nav {
    margin-top: 15px;
}

.navbar {
    margin-bottom: 0;
    background: transparent !important;
    border: none !important;
}

.navbar-nav li {
    margin: 0 10px;
}

.navbar-nav li a {
    color: #333 !important;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 15px !important;
    border-radius: 5px;
    transition: all 0.3s;
}

.navbar-nav li a:hover,
.navbar-nav li a.active {
    background: #3498db !important;
    color: white !important;
}

/* Banner */
.banner {
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../images/1.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.banner h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.banner p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner .btn {
    background: #3498db;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 25px;
}

.banner .btn:hover {
    background: #2980b9;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.aboutw3-agileinfo {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    padding: 40px 0;
    margin-bottom: 40px;
}

.aboutw3-agileinfo h1 {
    color: white;
    text-align: center;
    font-size: 32px;
    margin: 0;
}

.about-bottom {
    padding: 40px 0;
}

.about-w3grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-w3grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.about-w3grid h5 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-w3grid p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.about-w3grid p strong {
    color: #3498db;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.feature-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-box i {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 20px;
}

.feature-box h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 80px 0;
    background: white;
}

.team h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #3498db;
    transition: transform 0.3s, border-color 0.3s;
}

.team-member img:hover {
    transform: scale(1.05);
    border-color: #2980b9;
}

.team-member h4 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.team-member p {
    color: #666;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.services h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.service-item {
    text-align: center;
    padding: 30px;
}

.service-item i {
    font-size: 40px;
    margin-bottom: 20px;
    color: #3498db;
}

.service-item h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.service-item p {
    opacity: 0.8;
    line-height: 1.6;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.2);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 152, 219, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    color: white;
    font-size: 36px;
}

/* Footer */
.footer {
    background: #2c3e50;
    padding: 50px 0;
    color: white;
}

.footer h5 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-right form {
    position: relative;
}

.footer-right input[type="text"] {
    width: 100%;
    padding: 12px 100px 12px 15px;
    border: none;
    border-radius: 5px;
    outline: none;
}

.footer-right input[type="submit"] {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    background: #3498db;
    border: none;
    padding: 0 20px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.footer-right input[type="submit"]:hover {
    background: #2980b9;
}

.f-address {
    margin-top: 20px;
}

.f-address p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer .w3-agileitsicons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .w3-agileitsicons ul li {
    display: inline-block;
    margin-right: 15px;
}

.footer .w3-agileitsicons ul li a {
    color: white;
    font-size: 20px;
}

.footer .w3-agileitsicons ul li a:hover {
    color: #3498db;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright p {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .w3layouts-details ul li {
        display: block;
        margin-left: 0;
        margin-bottom: 5px;
        text-align: left;
    }
    
    .social ul {
        text-align: center;
    }
    
    .navbar-nav li {
        margin: 5px 0;
    }
    
    .banner h2 {
        font-size: 32px;
    }
    
    .about-w3grid {
        margin-bottom: 30px;
    }
}
