:root {
    --primary-color: #1a5490;
    --secondary-color: #f39c12;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.top-bar {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 15px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 40px;
    align-items: center;
}

.top-bar-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.top-bar-item .icon {
    font-size: 20px;
    color: var(--primary-color);
}

.top-bar-item strong {
    color: var(--text-dark);
    font-size: 14px;
    display: block;
    line-height: 1.3;
}

.top-bar-item span {
    color: var(--text-light);
    font-size: 12px;
    line-height: 1.3;
}

.top-bar-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    transition: opacity 0.3s;
}

.top-bar-item a:hover {
    opacity: 0.8;
}

.top-bar-right {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icon {
    width: 32px;
    height: 32px;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: 12px 0;
}

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

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 5px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-icon {
    width: 35px;
    height: 35px;
    background-color: transparent;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    padding: 0 !important;
}

.user-icon:hover {
    background-color: var(--white);
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: #00bcd4;
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #00acc1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 40px;
}

.carousel-content h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-btn {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background-color: #00bcd4;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    border-radius: 5px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active,
.dot:hover {
    background-color: var(--white);
    transform: scale(1.2);
}

.search-section {
    background-color: var(--bg-light);
    padding: 40px 0;
    margin-top: -50px;
    position: relative;
    z-index: 20;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2c6ba8 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 900px;
    margin: 40px auto 0;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.search-form select,
.search-form input {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 14px;
}

.search-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.search-form button:hover {
    background-color: #0f3d6e;
}

.welcome-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.welcome-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.welcome-left {
    position: relative;
}

.president-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.president-card img {
    width: 100%;
    height: auto;
    display: block;
}

.president-info {
    padding: 25px;
    text-align: center;
    background-color: var(--white);
}

.president-info h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.president-info p {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
}

.welcome-right h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 600;
}

.welcome-right p {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 40px;
    text-align: justify;
}

.professions-title {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 600;
}

.professions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.profession-item {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.profession-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.profession-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--text-dark);
}

.profession-icon svg {
    width: 100%;
    height: 100%;
}

.profession-item h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.profession-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.features-section {
    padding: 80px 0;
    background-color: var(--white);
}

.features-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 60px;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.feature-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon svg {
    width: 35px;
    height: 35px;
}

.feature-card h3 {
    color: var(--text-dark);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

.features-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-primary-large {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 18px 50px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.btn-primary-large:hover {
    background-color: #00acc1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4);
}

.announcements-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.announcements-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 600;
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.announcement-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.announcement-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.announcement-card:hover .announcement-image img {
    transform: scale(1.1);
}

.announcement-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e74c3c;
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.announcement-badge.location {
    background-color: #27ae60;
}

.announcement-content {
    padding: 20px;
}

.announcement-price {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.announcement-content h3 {
    color: var(--text-dark);
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.announcement-location {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.announcement-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.announcement-features span {
    font-size: 13px;
    color: var(--text-light);
}

.btn-view-details {
    display: block;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-view-details:hover {
    background-color: #0f3d6e;
}

.property-types {
    padding: 80px 0;
}

.property-types h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 60px;
}

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

.type-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.type-card:hover {
    transform: scale(1.05);
}

.type-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.type-card-content {
    padding: 20px;
    text-align: center;
}

.type-card h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.victories-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.victories-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 600;
}

.accordion {
    max-width: 1000px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.accordion-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.accordion-header {
    width: 100%;
    background-color: var(--white);
    border: none;
    padding: 20px 25px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s;
}

.accordion-header:hover {
    background-color: #f8f9fa;
}

.accordion-icon {
    font-size: 12px;
    color: var(--text-dark);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-title {
    flex: 1;
    line-height: 1.5;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: var(--white);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 25px 20px 55px;
}

.accordion-content p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 15px;
    margin: 0;
}

.activities-section {
    padding: 80px 0;
    background-color: var(--white);
}

.activities-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 50px;
    font-weight: 600;
}

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

.activity-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.activity-card:hover {
    transform: translateY(-5px);
}

.activity-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.activity-content {
    padding: 25px;
}

.activity-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.activity-content h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.activity-content a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.activity-content a:hover {
    color: var(--primary-color);
}

.partners-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.partners-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.partners-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    min-height: 120px;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.partner-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--secondary-color);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p,
.footer-section ul {
    color: #ccc;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-color);
    cursor: pointer;
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 15px;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .top-bar-item {
        width: 100%;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        display: none;
        width: 100%;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .carousel-container {
        height: 400px;
    }

    .carousel-content h2 {
        font-size: 24px;
        padding: 20px;
    }

    .carousel-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .carousel-prev,
    .carousel-next {
        font-size: 20px;
        padding: 10px 15px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .president-content {
        flex-direction: column;
    }

    .president-image {
        flex: 1;
        max-width: 300px;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .carousel-container {
        height: 400px;
    }

    .carousel-content h2 {
        font-size: 24px;
        padding: 20px;
    }

    .carousel-btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .carousel-prev,
    .carousel-next {
        font-size: 20px;
        padding: 10px 15px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .welcome-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .welcome-left {
        max-width: 400px;
        margin: 0 auto;
    }

    .professions-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .announcements-grid {
        grid-template-columns: 1fr;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .types-grid,
    .activities-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
