:root {
    --gcesz-apricot: #eb8471;
    --gcesz-breaker-bay: #57a394;
    --gcesz-casal: #326573;
    --gcesz-yuma: #c5bb85;
    --gcesz-brandy-rose: #b48478;
    --gcesz-gray: #928d89;
    --gcesz-shaft: #212121;
    --gcesz-new-your-pink: #d88879;
    --gcesz-shark: #212223;
    --gcesz-natural-gray: #8f8c89;
    --gcesz-millbrook: #67513c;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --footer-bg: #0f172a;
    --footer-text: #94a3b8;
    --footer-link: #cbd5e1;
    --footer-border: #334155;
    --footer-accent: #57a394;
}

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

body {
    font-family: 'Rubik', sans-serif;
    color: var(--gcesz-shaft);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--gcesz-casal);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--gcesz-breaker-bay);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(50, 101, 115, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--gcesz-casal);
    color: var(--gcesz-casal);
}

.btn-outline:hover {
    background-color: var(--gcesz-casal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--gcesz-yuma);
    color: var(--gcesz-shaft);
}

.btn-secondary:hover {
    background-color: var(--gcesz-brandy-rose);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 5px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: all 0.3s ease;
}

header.scrolled .header-container {
    padding: 8px 0;
}

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

.logo img {
    height: 50px;
    transition: all 0.3s ease;
}

header.scrolled .logo img {
    height: 40px;
}

.logo-text {
    margin-left: 12px;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 600;
    color: var(--gcesz-casal);
    transition: all 0.3s ease;
}

header.scrolled .logo-text h1 {
    font-size: 18px;
}

.logo-text p {
    font-size: 12px;
    color: var(--gcesz-gray);
    transition: all 0.3s ease;
}

header.scrolled .logo-text p {
    font-size: 10px;
}

nav ul {
    display: flex;
}

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

nav ul li a {
    font-weight: 300;
    color: var(--gcesz-shaft);
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
    font-size: small;
}

nav ul li a:hover {
    color: var(--gcesz-casal);
}

nav ul li a.active {
    color: var(--gcesz-casal);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gcesz-casal);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gcesz-casal);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

/* Full-Width Dropdown Menu */
.dropdown {
    position: static;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    display: block; /* block so it can contain the centered inner */
    overflow: visible;
    padding: 24px 0; /* vertical padding to give breathing room */
    box-sizing: border-box;
}

.dropdown-content-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px; /* maintain horizontal gutter on smaller screens */
    display: flex;
    gap: 30px;
    align-items: stretch;
    box-sizing: border-box;
    }

/* .dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
} */

.dropdown.active .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}



.dropdown-content .dropdown-menu {
    flex: 3;
    padding: 40px 0; /* vertical padding moved inside */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.dropdown-content .dropdown-image {
    flex: 1;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    min-height: 400px;
    }

.dropdown-content .dropdown-image img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dropdown-section {
    margin-bottom: 0;
    max-width: 1300px;
}

.dropdown-section h4 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--gcesz-casal);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gcesz-breaker-bay);
}

.dropdown-section h4 i {
    font-size: 16px;
    width: 20px;
}

.dropdown-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dropdown-link {
    display: block;
    padding: 0;
    color: var(--gcesz-shaft);
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    color: var(--gcesz-casal);
}

@media (max-width: 1400px) {
    .dropdown-content-inner { padding: 0 18px; }
    .dropdown-content .dropdown-menu { padding: 30px 0; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .dropdown-content-inner { flex-direction: column; gap: 16px; padding: 12px; }
    .dropdown-content .dropdown-menu { grid-template-columns: 1fr; padding: 16px 0; }
    .dropdown-content .dropdown-image { min-height: 200px; padding: 20px; }
}

.link-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    margin-bottom: 5px;
}

.link-title i {
    width: 16px;
    text-align: center;
    color: var(--gcesz-breaker-bay);
    font-size: 14px;
}

.link-desc {
    font-size: 13px;
    color: var(--gcesz-gray);
    line-height: 1.4;
    margin-left: 26px;
}

.dropdown-cta {
    background: linear-gradient(135deg, var(--gcesz-casal), var(--gcesz-breaker-bay));
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    grid-column: 1 / -1;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-cta-content {
    flex: 2;
}

.dropdown-cta h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.dropdown-cta p {
    font-size: 14px;
    margin-bottom: 0;
    opacity: 0.9;
}

.dropdown-cta .btn {
    background-color: white;
    color: var(--gcesz-casal);
    font-weight: 600;
}

.dropdown-cta .btn:hover {
    background-color: var(--gcesz-yuma);
    transform: translateY(-2px);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

/* Auth Section */
.auth-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.user-menu:hover {
    background-color: var(--light-gray);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gcesz-breaker-bay);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 500;
    font-size: 14px;
}

.user-role {
    font-size: 12px;
    color: var(--gcesz-gray);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gcesz-casal);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: var(--light-gray);
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

    /* Search Bar */
.search-container {
    position: relative;
    margin-right: 15px;
}

.search-input {
    padding: 8px 15px 8px 40px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    width: 200px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--gcesz-casal);
    width: 250px;
    box-shadow: 0 0 0 2px rgba(50, 101, 115, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gcesz-gray);
}

/* Language Selector */
.language-selector {
    position: relative;
    margin-right: 15px;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    color: var(--gcesz-shaft);
}

.language-btn:hover {
    background-color: var(--light-gray);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    min-width: 150px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* .language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
} */
 .language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown.active > a {
    color: var(--gcesz-casal);
}

.dropdown.active > a::after {
    transform: scaleX(1);
}


.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.language-option:hover {
    background-color: var(--light-gray);
}

.language-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    /* background: linear-gradient(rgba(50, 101, 115, 0.8), rgba(50, 101, 115, 0.8)), url('${pageContext.request.contextPath}/assets/landing/hero-bg.jpg'); */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 180px 0 100px;
    margin-top: 80px;
}

/* .hero-content {
    max-width: 700px;
} */

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

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--gcesz-casal);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gcesz-gray);
    max-width: 700px;
    margin: 0 auto;
}

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

.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-img {
    height: 200px;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.feature-content {
    padding: 25px;
}

.feature-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gcesz-casal);
}

.feature-content p {
    color: var(--gcesz-gray);
    margin-bottom: 20px;
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--gcesz-casal);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gcesz-gray);
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.stat-item h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--gcesz-casal);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--gcesz-gray);
    font-size: 14px;
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

/* Parcels Section */
.parcels {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.parcels-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.parcels-filter {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.filter-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--gcesz-casal);
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--gcesz-shaft);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
}

.filter-option input {
    margin-right: 10px;
}

.filter-option label {
    color: var(--gcesz-gray);
    cursor: pointer;
}

.parcels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.parcel-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.parcel-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.parcel-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-available {
    background-color: var(--gcesz-breaker-bay);
    color: var(--white);
}

.status-sold {
    background-color: var(--gcesz-apricot);
    color: var(--white);
}

.parcel-content {
    padding: 20px;
}

.parcel-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gcesz-casal);
}

.parcel-location {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--gcesz-gray);
    font-size: 14px;
}

.parcel-location i {
    margin-right: 5px;
}

.parcel-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.parcel-detail {
    text-align: center;
}

.parcel-detail h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gcesz-casal);
    margin-bottom: 5px;
}

.parcel-detail p {
    font-size: 12px;
    color: var(--gcesz-gray);
}

.parcel-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--gcesz-casal);
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--gcesz-casal);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--gcesz-gray);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--gcesz-apricot);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--white);
    font-size: 20px;
}

.contact-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--gcesz-casal);
}

.contact-text p {
    color: var(--gcesz-gray);
    margin: 0;
}

/* .social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--gcesz-casal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: var(--gcesz-breaker-bay);
} */

.contact-form {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gcesz-shaft);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Rubik', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--gcesz-casal);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.modern-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    font-family: 'Rubik', sans-serif;
    border-top: 3px solid var(--gcesz-breaker-bay);
}

.footer-content {
    padding: 40px 0 20px;
}



/* Footer Links Section */
.footer-links-section {
    margin-bottom: 30px;
}

.footer-links-container {
    display: flex;
    justify-content: center;
}

.footer-link-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    max-width: 100%;
}

.footer-link {
    color: var(--footer-link);
    text-decoration: none;
    font-size: 12px;
    font-weight: 100;
    padding: 8px 4px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.footer-link:hover {
    color: var(--gcesz-breaker-bay);
    transform: translateY(-1px);
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gcesz-breaker-bay);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.footer-underline {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--footer-border) 50%, transparent 100%);
    margin-top: 20px;
}

/* Footer Info Section */
.footer-info-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
    align-items: start;
}

.footer-description {
    padding-right: 30px;
}

.footer-brand {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--gcesz-breaker-bay), var(--gcesz-casal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc-text {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--footer-text);
    font-weight: 100;
}

.footer-desc-text strong {
    color: var(--gcesz-yuma);
    font-weight: 600;
}

.footer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature-tag {
    background: rgba(87, 163, 148, 0.1);
    color: var(--gcesz-breaker-bay);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(87, 163, 148, 0.3);
}

/* Social Media Section */
.footer-social-section {
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--footer-border);
}

.social-header h4 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.social-header p {
    font-size: 13px;
    color: var(--footer-text);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--footer-link);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    background: rgba(87, 163, 148, 0.1);
    color: var(--gcesz-breaker-bay);
    border-color: var(--gcesz-breaker-bay);
    transform: translateX(5px);
}

.social-link i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.social-link span {
    font-size: 14px;
    font-weight: 500;
}

.newsletter-signup {
    border-top: 1px solid var(--footer-border);
    padding-top: 20px;
}

.newsletter-text {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--footer-link);
    font-weight: 100;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--footer-border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 13px;
}

.newsletter-input::placeholder {
    color: var(--footer-text);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--gcesz-breaker-bay);
}

.newsletter-btn {
    padding: 10px 16px;
    background: var(--gcesz-breaker-bay);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--gcesz-casal);
    transform: translateY(-1px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 20px;
}

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

.copyright p {
    margin: 0;
    font-size: 13px;
    color: var(--footer-text);
}

.government-text {
    font-size: 12px;
    color: var(--gcesz-yuma);
    font-weight: 500;
    margin-top: 4px;
}

.footer-credentials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.credential-item {
    font-size: 12px;
    color: var(--footer-text);
    font-weight: 500;
}

.divider {
    color: var(--gcesz-gray);
    font-size: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-info-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-description {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .footer-link-group {
        gap: 6px 16px;
    }
    
    .footer-link {
        font-size: 13px;
    }
    
    .footer-brand {
        font-size: 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-credentials {
        order: -1;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 30px 0 15px;
    }
    
    .footer-link-group {
        justify-content: flex-start;
    }
    
    .footer-features {
        gap: 8px;
    }
    
    .feature-tag {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .social-links {
        gap: 8px;
    }
    
    .social-link {
        padding: 10px 12px;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-content > * {
    animation: fadeInUp 0.6s ease forwards;
}

/* Focus states for accessibility */
.footer-link:focus,
.social-link:focus,
.newsletter-input:focus,
.newsletter-btn:focus {
    outline: 2px solid var(--gcesz-breaker-bay);
    outline-offset: 2px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .search-input {
        width: 150px;
    }
    
    .search-input:focus {
        width: 180px;
    }
    
    nav ul li {
        margin-left: 20px;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-container,
    .parcels-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    nav {
        width: 100%;
        order: 3;
        margin-top: 15px;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 0 0 15px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .auth-buttons {
        margin-left: auto;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    /* .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    } */

    .hero-buttons {
        display: flex !important;
        gap: 0.75rem !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
    }
    
    .hero-buttons .btn {
        flex: 1 !important;
        min-width: 0 !important;
        font-size: 0.9rem !important;
        padding: 0.75rem 1rem !important;
    }
    
    .features-grid,
    .parcels-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
}

    /* Responsive Styles */
@media (max-width: 1200px) {
    .dropdown-content .dropdown-menu {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
    }
}

@media (max-width: 992px) {
    .search-input {
        width: 150px;
    }
    
    .search-input:focus {
        width: 180px;
    }
    
    nav ul li {
        margin-left: 20px;
    }
    
    .dropdown-content .dropdown-menu {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dropdown-content .dropdown-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }
    
    nav {
        width: 100%;
        order: 3;
        margin-top: 15px;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    nav ul li {
        margin: 0;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
        flex-direction: column;
    }
    
    .dropdown.active .dropdown-content {
        display: flex;
    }
    
    .dropdown-content .dropdown-menu {
        padding: 20px;
        grid-template-columns: 1fr;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .auth-section {
        margin-left: auto;
    }
    
    .search-container {
        display: none;
    }
    
    .search-input:focus {
        width: 150px;
    }
    
    .dropdown-cta {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .logo-text h1 {
        font-size: 18px;
    }
    
    .logo-text p {
        font-size: 10px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

.section-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 100;
}

.instructions {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-left: 4px solid var(--gcesz-breaker-bay);
    border-radius: 8px;
    padding: 24px;
    margin-top: 30px;
    margin-bottom: -40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.instructions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%2357a394" opacity="0.03"><path d="M30,30 Q50,10 70,30 T90,50 T70,70 T50,90 T30,70 T10,50 T30,30 Z"/></svg>');
    background-size: 200px 200px;
}

.instructions h3 {
    color: var(--gcesz-casal);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.instructions h3 i {
    color: var(--gcesz-breaker-bay);
    font-size: 1.2rem;
    background: rgba(87, 163, 148, 0.1);
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instructions ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
    position: relative;
}

.instructions li {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 50px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--gcesz-shaft);
}

.instructions li::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gcesz-breaker-bay);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(87, 163, 148, 0.2);
}

.instructions li:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--gcesz-breaker-bay);
}

.instructions strong {
    color: var(--gcesz-casal);
    font-weight: 400;
    background: linear-gradient(135deg, var(--gcesz-casal), var(--gcesz-breaker-bay));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
    .instructions {
        padding: 20px;
        margin: 20px 0;
    }
    
    .instructions h3 {
        font-size: 0.9rem;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .instructions h3 i {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .instructions li {
        padding: 14px 16px;
        padding-left: 40px;
        font-size: 0.6rem;
    }
    
    .instructions li::before {
        left: 16px;
    }
}

@media (max-width: 480px) {
    .instructions {
        padding: 16px;
        border-left-width: 3px;
    }
    
    .instructions h3 {
        font-size: 0.9rem;
    }
    
    .instructions li {
        padding: 12px 14px;
        padding-left: 35px;
        font-size: 0.6rem;
    }
    
    .instructions li::before {
        left: 14px;
        width: 6px;
        height: 6px;
    }
}

/* Animation for list items */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.instructions li {
    animation: fadeInUp 0.5s ease forwards;
}

.instructions li:nth-child(1) { animation-delay: 0.1s; }
.instructions li:nth-child(2) { animation-delay: 0.2s; }
.instructions li:nth-child(3) { animation-delay: 0.3s; }
.instructions li:nth-child(4) { animation-delay: 0.4s; }
.instructions li:nth-child(5) { animation-delay: 0.5s; }
.instructions li:nth-child(6) { animation-delay: 0.6s; }
.instructions li:nth-child(7) { animation-delay: 0.7s; }

/* Print styles */
@media print {
    .instructions {
        background: white !important;
        border: 2px solid var(--gcesz-casal) !important;
        box-shadow: none !important;
    }
    
    .instructions::before {
        display: none;
    }
    
    .instructions li:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}

/* Map Container */
.map-container {
    position: relative;
    width: 100%;
    height: 80vh; /* Increased from 600px to 80% of viewport height */
    min-height: 600px; /* Minimum height for smaller screens */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

#map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Land Use Filter Overlay - Positioned on left side */
.map-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    z-index: 1;
    transition: all 0.3s ease;
}

.map-overlay:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.map-overlay h6 {
    color: var(--gcesz-casal);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(87, 163, 148, 0.2);
}

.map-overlay h6 i {
    color: var(--gcesz-breaker-bay);
    font-size: 0.85rem;
    background: rgba(87, 163, 148, 0.1);
    padding: 8px;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.land-use-filters {
    max-height: 320px;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 16px;
}

/* Custom scrollbar for land use filters */
.land-use-filters::-webkit-scrollbar {
    width: 4px;
}

.land-use-filters::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.5);
    border-radius: 2px;
}

.land-use-filters::-webkit-scrollbar-thumb {
    background: var(--gcesz-breaker-bay);
    border-radius: 2px;
}

.land-use-filters::-webkit-scrollbar-thumb:hover {
    background: var(--gcesz-casal);
}

.form-check {
    padding: 10px 12px;
    margin: 4px 0;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background: rgba(248, 250, 252, 0.8);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-check-label {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-check:hover {
    background: rgba(87, 163, 148, 0.08);
    border-color: rgba(87, 163, 148, 0.3);
    transform: translateX(4px);
}

.land-use-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    margin-top: 0;
    cursor: pointer;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.land-use-checkbox:checked {
    background-color: var(--gcesz-breaker-bay);
    border-color: var(--gcesz-breaker-bay);
}

.land-use-checkbox:checked::before {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.land-use-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.7rem;
    color: var(--gcesz-shaft);
    font-weight: 300;
    transition: color 0.2s ease;
    flex: 1;
}

.land-use-label:hover {
    color: var(--gcesz-casal);
}

.land-use-color {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    margin-right: 12px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Land Use Color Definitions */
.residential-color { background-color: #efb6bf; }
.industrial-color { background-color: #8dc4ec; }
.commercial-color { background-color: #97eb9e; }
.res-comm-color { background-color: #e4ba76; }
.civic-color { background-color: #da90e6; }
.comm-civic-color { background-color: #7de3de; }
.agriculture-color { background-color: #bef184; }
.recreational-color { background-color: #95eb9c; }
.education-color { background-color: #efd57f; }
.water-color { background-color: #7eccf0; }
.open-space-color { background-color: #e0eb7f; }
.protection-buffer-color { background-color: #7ab7e0; }
.carriageway-color { background-color: #e99696; }
.unknown-color { background-color: #e8a0a0; }

.land-use-checkbox:checked + .land-use-label .land-use-color {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.map-overlay hr {
    margin: 16px 0;
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.map-overlay .d-flex {
    gap: 10px;
}

.map-overlay .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.map-overlay .btn-outline-primary {
    border: 2px solid var(--gcesz-breaker-bay);
    color: var(--gcesz-breaker-bay);
    background: transparent;
}

.map-overlay .btn-outline-primary:hover {
    background-color: var(--gcesz-breaker-bay);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(87, 163, 148, 0.3);
}

.map-overlay .btn-outline-secondary {
    border: 2px solid #cbd5e0;
    color: #64748b;
    background: transparent;
}

.map-overlay .btn-outline-secondary:hover {
    background-color: #64748b;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.3);
}

/* Selection Controls - Positioned on right side */
.map-selection-controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    z-index: 1;
    transition: all 0.3s ease;
}

.map-selection-controls:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.selection-mode-toggle .btn {
    background: linear-gradient(135deg, var(--gcesz-breaker-bay), var(--gcesz-casal));
    color: white;
    border: none;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.selection-mode-toggle .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 163, 148, 0.4);
}

.selection-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    animation: slideDown 0.3s ease;
}

#selectionActions[style*="display: block"] {
    display: flex !important;
}

.selection-actions .btn {
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

#viewSelectedParcels {
    background: var(--gcesz-yuma);
    color: var(--gcesz-shaft);
    border: none;
    flex: 1;
    min-width: 0; /* Allow button to shrink if needed */
}

#viewSelectedParcels:hover {
    background: var(--gcesz-brandy-rose);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(180, 132, 120, 0.3);
}

#clearSelection {
    border: 2px solid #cbd5e0;
    color: #64748b;
    padding: 8px;
    width: 40px;
    flex-shrink: 0;
}

#clearSelection:hover {
    background-color: #ef4444;
    border-color: #ef4444;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    background: var(--gcesz-casal) !important;
    border-radius: 12px;
    margin-left: 6px;
    flex-shrink: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Parcel Details Offcanvas */
.map-offcanvas {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.map-offcanvas.active {
    right: 0;
}

.offcanvas-header__parcel {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, var(--gcesz-casal), var(--gcesz-breaker-bay));
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offcanvas-title__parcel {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.btn-close__parcel {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    color: white !important;
}

.btn-close__parcel:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.offcanvas-body__parcel {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
}

.offcanvas-footer__parcel {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
    background: white;
    display: flex;
    gap: 12px;
}

.btn-map {
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-primary {
    border: 2px solid var(--gcesz-breaker-bay);
    color: var(--gcesz-breaker-bay);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--gcesz-breaker-bay);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(87, 163, 148, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, var(--gcesz-yuma), var(--gcesz-brandy-rose));
    color: var(--gcesz-shaft);
    border: none;
    font-weight: 600;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 187, 133, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .map-container {
        height: 500px;
    }
    
    .map-overlay {
        position: relative;
        top: auto;
        left: auto;
        margin: 16px;
        width: calc(100% - 32px);
        min-width: auto;
    }
    
    .map-selection-controls {
        position: relative;
        top: auto;
        right: auto;
        margin: 16px;
        width: calc(100% - 32px);
        min-width: auto;
    }
    
    .map-offcanvas {
        width: 100%;
        right: -100%;
    }
    
    .offcanvas-footer__parcel {
        flex-direction: column;
    }
    
    .land-use-filters {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .map-container {
        height: 400px;
    }
    
    .map-overlay,
    .map-selection-controls {
        margin: 12px;
        width: calc(100% - 24px);
        padding: 16px;
    }
    
    .land-use-filters {
        max-height: 180px;
    }
    
    .form-check {
        padding: 8px 10px;
    }
}

.map-land-use-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Hidden by default */
#selectionActions_ {
    display: none;
}

/* Style for when it's shown in mobile view */
@media (max-width: 768px) {
    #selectionActions_.visible {
        display: flex !important;
        position: fixed;
        bottom: 15px;
        left: 0;
        right: 0;
        justify-content: center;
        background: rgba(255, 255, 255, 0.95);
        padding: 10px;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    #selectionActions_.visible .btn {
        font-size: 14px;
        padding: 8px 12px;
    }
}

/* Parcel Details Modal Styles */
/* Custom Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    overflow: hidden;
    outline: 0;
}

.modal.show {
    display: block;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    z-index: 1040;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
    cursor: pointer;
}

.btn-close:hover {
    opacity: 0.75;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}

.modal-open {
    overflow: hidden;
}

.modal-blur.modal.show {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#parcelDetailsModal .modal-dialog {
    max-width: 1000px;
}

#parcelDetailsModal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(50, 101, 115, 0.3);
    background: #ffffff;
}

/* Modal Header */
#parcelDetailsModal .modal-header {
    background: linear-gradient(135deg, var(--gcesz-breaker-bay), var(--gcesz-casal));
    border-bottom: none;
    padding: 20px 24px;
    position: relative;
}

#parcelDetailsModal .modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--gcesz-yuma) 0%, 
        var(--gcesz-apricot) 50%, 
        var(--gcesz-breaker-bay) 100%);
}

#parcelDetailsModal .modal-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: white;
    display: flex;
    align-items: center;
}

#parcelDetailsModal .modal-title i {
    font-size: 1.1rem;
    opacity: 0.9;
}

#parcelDetailsModal .btn-close {
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    opacity: 0.8;
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 8px;
}

#parcelDetailsModal .btn-close:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Modal Body */
#parcelDetailsModal .modal-body {
    padding: 0;
    background: #f8fafc;
    max-height: 70vh;
    overflow-y: auto;
}

.selected-parcels-modal {
    padding: 24px;
}

/* Parcels List Section */
.parcels-list-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(50, 101, 115, 0.08);
    border: 1px solid #e8ecef;
}

.parcels-list {
    scrollbar-width: thin;
    scrollbar-color: var(--gcesz-breaker-bay) #f1f1f1;
}

.parcels-list::-webkit-scrollbar {
    width: 6px;
}

.parcels-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.parcels-list::-webkit-scrollbar-thumb {
    background: var(--gcesz-breaker-bay);
    border-radius: 3px;
}

.parcels-list::-webkit-scrollbar-thumb:hover {
    background: var(--gcesz-casal);
}

/* Parcel Item Card */
.parcel-item-card {
    border-radius: 10px;
    transition: all 0.3s ease;
    background: white;
    border: 1px solid #e8ecef;
}

.parcel-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 101, 115, 0.15);
    border-color: var(--gcesz-breaker-bay);
}

.parcel-item-card .card-body {
    padding: 16px;
}

.parcel-item-card .badge {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--gcesz-breaker-bay), var(--gcesz-casal));
}

.parcel-item-card h6 {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gcesz-shaft);
    margin: 0;
}

/* Parcel Meta Grid */
.parcel-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.parcel-meta .flex {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gcesz-gray);
}

.parcel-meta i {
    font-size: 0.7rem;
    width: 14px;
    text-align: center;
}

.parcel-meta .text-primary {
    color: var(--gcesz-breaker-bay) !important;
}

.parcel-meta .text-success {
    color: var(--gcesz-breaker-bay) !important;
}

.parcel-meta strong {
    color: var(--gcesz-shaft);
    font-weight: 600;
}

/* Action Buttons */
.parcel-item-card .btn {
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    border-width: 1px;
}

.parcel-item-card .btn-outline-primary {
    color: var(--gcesz-breaker-bay);
    border-color: var(--gcesz-breaker-bay);
}

.parcel-item-card .btn-outline-primary:hover {
    background: var(--gcesz-breaker-bay);
    color: white;
    transform: scale(1.05);
}

.parcel-item-card .btn-outline-danger {
    color: var(--gcesz-apricot);
    border-color: var(--gcesz-apricot);
}

.parcel-item-card .btn-outline-danger:hover {
    background: var(--gcesz-apricot);
    color: white;
    transform: scale(1.05);
}

/* Summary Section */
.summary-section .card {
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(197, 187, 133, 0.15) 0%, 
        rgba(87, 163, 148, 0.15) 50%, 
        rgba(50, 101, 115, 0.15) 100%);
    border: 1px solid rgba(87, 163, 148, 0.2);
}

.summary-section .card-body {
    padding: 20px;
}

.summary-section .card-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gcesz-casal);
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.summary-section .card-title i {
    color: var(--gcesz-breaker-bay);
}

.summary-item {
    padding: 8px 4px;
}

.summary-item .h3 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    color: var(--gcesz-shaft);
    margin-bottom: 4px;
    font-size: 1.5rem;
}

.summary-item small {
    font-family: 'Rubik', sans-serif;
    font-size: 0.75rem;
    color: var(--gcesz-gray);
    font-weight: 500;
}

/* Action Buttons Section */
.action-buttons-section {
    margin-top: 24px;
}

.action-buttons-section .btn {
    border-radius: 10px;
    padding: 10px 16px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gcesz-yuma), var(--gcesz-brandy-rose));
    color: var(--gcesz-shaft);
    box-shadow: 0 4px 12px rgba(197, 187, 133, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 187, 133, 0.4);
    color: var(--gcesz-shaft);
    background: linear-gradient(135deg, var(--gcesz-yuma), #d4c48a);
}

.btn-outline-secondary {
    background: white;
    color: var(--gcesz-gray);
    border: 1px solid var(--gcesz-gray);
    box-shadow: 0 2px 8px rgba(146, 141, 137, 0.1);
}

.btn-outline-secondary:hover {
    background: var(--gcesz-gray);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(146, 141, 137, 0.2);
    border-color: var(--gcesz-gray);
}

/* Animation for modal content updates */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.selected-parcels-modal {
    animation: fadeIn 0.4s ease-out;
}

/* Status Badges */
.status-badge {
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 12px;
}

.status-available {
    background: rgba(87, 163, 148, 0.15);
    color: var(--gcesz-breaker-bay);
    border: 1px solid rgba(87, 163, 148, 0.3);
}

.status-allocated {
    background: rgba(235, 132, 113, 0.15);
    color: var(--gcesz-apricot);
    border: 1px solid rgba(235, 132, 113, 0.3);
}

.status-pending {
    background: rgba(197, 187, 133, 0.15);
    color: var(--gcesz-yuma);
    border: 1px solid rgba(197, 187, 133, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    #parcelDetailsModal .modal-dialog {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
    
    .selected-parcels-modal {
        padding: 16px;
    }
    
    .parcels-list-section,
    .summary-section .card-body {
        padding: 16px;
    }
    
    .parcel-meta {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .summary-item .h3 {
        font-size: 1.25rem;
    }
    
    .action-buttons-section .btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    #parcelDetailsModal .modal-header {
        padding: 16px 20px;
    }
    
    .selected-parcels-modal {
        padding: 12px;
    }
    
    .section-title {
        font-size: 0.9rem;
    }
    
    .parcel-item-card .card-body {
        padding: 12px;
    }
    
    .summary-section .card-body {
        padding: 12px;
    }
    
    .summary-item {
        padding: 4px 2px;
    }

    .overview-icon {
        width: 30px;
        height: 30px;
    }
}

/* Empty State */
.parcels-list:empty::before {
    content: 'No parcels selected';
    display: block;
    text-align: center;
    padding: 40px 20px;
    color: var(--gcesz-gray);
    font-family: 'Rubik', sans-serif;
    font-style: italic;
}

/* Loading State */
.parcels-list.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus states for accessibility */
.parcel-item-card .btn:focus,
.action-buttons-section .btn:focus {
    outline: 2px solid var(--gcesz-breaker-bay);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    #parcelDetailsModal .modal-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .action-buttons-section {
        display: none;
    }
}

/* Modern Modal CSS */
.modern-modal-content {
    border: none;
    border-radius: 20px;
    max-height: 92vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(50, 101, 115, 0.25);
    background: #ffffff;
}

/* Modal Header */
.modern-modal-header {
    background: linear-gradient(135deg, var(--gcesz-casal), var(--gcesz-breaker-bay));
    color: white;
    padding: 30px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(10px);
}

.header-text h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Rubik', sans-serif;
}

.header-text .modal-subtitle {
    margin: 5px 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.btn-close-modern {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-close-modern:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* Modal Body */
.modern-modal-body {
    padding: 0;
    background: #f8fafc;
    max-height: 70vh;
    overflow-y: auto;
}

.modern-parcels-container {
    padding: 30px;
}

/* Overview Section */
.overview-section {
    margin-bottom: 30px;
}

.overview-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid #e8ecef;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(50, 101, 115, 0.08);
}

.overview-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gcesz-breaker-bay), var(--gcesz-casal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.overview-content h4 {
    margin: 0 0 10px 0;
    color: var(--gcesz-casal);
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
}

.overview-description {
    margin: 0;
    color: var(--gcesz-gray);
    line-height: 1.6;
    font-size: 0.8rem;
    font-weight: 100;
}

/* Section Headers */
.section-header {
    margin-bottom: 25px;
}

.section-header h5 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gcesz-casal);
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.badge-count {
    background: var(--gcesz-breaker-bay);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.section-description {
    margin: 0;
    color: var(--gcesz-gray);
    font-size: 0.8rem;
    line-height: 1.5;
    font-weight: 100;
}

/* Parcels Grid */
.parcels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.parcel-card {
    background: white;
    border: 1px solid #e8ecef;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(50, 101, 115, 0.06);
}

.parcel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(50, 101, 115, 0.15);
    border-color: var(--gcesz-breaker-bay);
}

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

.parcel-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(87, 163, 148, 0.1);
    color: var(--gcesz-breaker-bay);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.parcel-actions .btn-action {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove {
    color: var(--gcesz-apricot);
    background: rgba(235, 132, 113, 0.1);
}

.btn-remove:hover {
    background: var(--gcesz-apricot);
    color: white;
}

.parcel-content {
    padding: 20px;
}

.parcel-title {
    margin: 0 0 8px 0;
    color: var(--gcesz-shaft);
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

.parcel-description {
    margin: 0 0 20px 0;
    color: var(--gcesz-gray);
    font-size: 0.85rem;
    line-height: 1.5;
}

.parcel-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-icon {
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gcesz-breaker-bay);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.detail-info {
    flex: 1;
}

.detail-info label {
    display: block;
    font-size: 0.75rem;
    color: var(--gcesz-gray);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gcesz-shaft);
}

.status-available {
    color: var(--gcesz-breaker-bay);
}

.status-allocated {
    color: var(--gcesz-apricot);
}

.parcel-investment {
    background: linear-gradient(135deg, #f8fafc, #e8ecef);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.investment-label {
    font-size: 0.8rem;
    color: var(--gcesz-gray);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.investment-amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gcesz-breaker-bay);
    margin-bottom: 5px;
    font-family: 'Rubik', sans-serif;
}

.investment-note {
    font-size: 0.75rem;
    color: var(--gcesz-gray);
    font-style: italic;
}

/* Financial Summary */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: white;
    border: 1px solid #e8ecef;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.summary-card.highlight {
    background: linear-gradient(135deg, var(--gcesz-breaker-bay), var(--gcesz-casal));
    color: white;
}

.summary-card.highlight .summary-value,
.summary-card.highlight .summary-label,
.summary-card.highlight .summary-description {
    color: white;
}

.summary-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.total-parcels { background: rgba(87, 163, 148, 0.1); color: var(--gcesz-breaker-bay); }
.total-area { background: rgba(197, 187, 133, 0.1); color: var(--gcesz-yuma); }
.total-investment { background: rgba(255, 255, 255, 0.2); color: white; }

.summary-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Rubik', sans-serif;
}

.summary-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--gcesz-shaft);
}

.summary-description {
    font-size: 0.8rem;
    color: var(--gcesz-gray);
}

/* Benefits Section */
.benefits-section {
    background: rgba(87, 163, 148, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.benefits-section h6 {
    margin: 0 0 15px 0;
    color: var(--gcesz-casal);
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
}

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

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e8ecef;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    border-color: var(--gcesz-breaker-bay);
}

.benefit-item i {
    color: var(--gcesz-breaker-bay);
    font-size: 0.9rem;
}

.benefit-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gcesz-shaft);
}

/* Next Steps */
.next-steps-section {
    background: white;
    border: 1px solid #e8ecef;
    border-radius: 16px;
    padding: 25px;
}

.steps-header h5 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gcesz-casal);
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.steps-header p {
    margin: 0 0 20px 0;
    color: var(--gcesz-gray);
    font-size: 0.9rem;
}

.steps-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: #e8ecef;
    z-index: 1;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-item.current .step-number {
    background: var(--gcesz-breaker-bay);
    color: white;
    border-color: var(--gcesz-breaker-bay);
}

.step-number {
    width: 40px;
    height: 40px;
    border: 2px solid #e8ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.step-content {
    max-width: 120px;
}

.step-content strong {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: var(--gcesz-shaft);
}

.step-content span {
    font-size: 0.75rem;
    color: var(--gcesz-gray);
    line-height: 1.3;
}

/* Modal Footer */
.modern-modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e8ecef;
    padding: 25px 30px;
}

.footer-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-actions .btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--gcesz-breaker-bay), var(--gcesz-casal));
    color: white;
    box-shadow: 0 4px 15px rgba(87, 163, 148, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(87, 163, 148, 0.4);
}

.btn-secondary-modern {
    background: white;
    color: var(--gcesz-gray);
    border: 1px solid #e8ecef;
    box-shadow: 0 2px 8px rgba(146, 141, 137, 0.1);
}

.btn-secondary-modern:hover {
    background: var(--gcesz-gray);
    color: white;
    border-color: var(--gcesz-gray);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-parcels-container {
        padding: 20px;
    }
    
    .parcels-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-timeline {
        flex-direction: column;
        gap: 20px;
    }
    
    .steps-timeline::before {
        display: none;
    }
    
    .step-item {
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }
    
    .footer-actions {
        flex-direction: column;
    }
    
    .overview-card {
        flex-direction: column;
        text-align: center;
    }
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0;
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin: 0.125rem 0 0 0;
    border: 2px solid #e8ecef;
    border-radius: 50%;
    appearance: none;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.form-check-input:checked {
    background: var(--gcesz-breaker-bay);
    border-color: var(--gcesz-breaker-bay);
}

.form-check-input:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.form-check-label {
    flex: 1;
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: var(--gcesz-shaft);
}
/* Overlay content */
.hero .container {
  position: relative;
  z-index: 5;
}

.hero-content {
 position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, 0.45);
  padding: 30px;
  border-radius: 15px;
  max-width: 800px;
  /* margin: 0 auto; */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

/* When page loads, fade in */
.hero-content.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.7;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  margin-bottom: 2rem;
}





    
        .hero-video-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -2;
        }

        .hero-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* background: linear-gradient(rgba(50, 101, 115, 0.85), rgba(50, 101, 115, 0.7)); */
            z-index: -1;
        }

        /* .hero-content {
            position: relative;
            z-index: 1;
        } */

        /* Fallback for browsers that don't support video */
        .no-video .hero-video-container {
            display: none;
        }

        .no-video .hero::before {
            background: linear-gradient(rgba(50, 101, 115, 0.8), rgba(50, 101, 115, 0.8)), 
                        url('${pageContext.request.contextPath}/assets/landing/hero-bg.jpg');
            background-size: cover;
            background-position: center;
        }

        /* Video Play/Pause Controls */
        .video-controls {
            position: absolute;
            bottom: 20px;
            right: 20px;
            z-index: 2;
            display: flex;
            gap: 10px;
        }

        .video-control-btn {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .video-control-btn:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        /* Responsive adjustments for video */
        @media (max-width: 768px) {
            .video-controls {
                bottom: 10px;
                right: 10px;
            }
            
            .video-control-btn {
                width: 35px;
                height: 35px;
            }
        }
        
        html {
  scroll-behavior: smooth;
}

/* Base fade animation */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease-out;
  will-change: opacity, transform;
}

/* When visible */
.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Optional: directional fades */
.fade-right {
  transform: translateX(-50px);
}

.fade-left {
  transform: translateX(50px);
}

.fade-section.visible.fade-right,
.fade-section.visible.fade-left {
  transform: translateX(0);
}


/* --- About Section Mobile Enhancements --- */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-img {
    order: -1; /* Moves the image above the text on tablets */
  }

  .about-content h2 {
    font-size: 28px;
  }

  .about-content p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .stat-item h3 {
    font-size: 26px;
  }

  .stat-item p {
    font-size: 13px;
  }

  .about-content .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-content h2 {
    font-size: 22px;
  }

  .about-content p {
    font-size: 14px;
  }
}


/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #326573, #2a5561);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #2a5561, #234a55);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* SVG Arrow Icon */
.scroll-to-top svg {
    width: 20px;
    height: 20px;
    fill: white;
    transition: transform 0.3s ease;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* //About Page */


      /* Import all CSS variables and base styles from landing.css */

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

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            border-radius: 4px;
            font-weight: 500;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-size: 14px;
        }

        .btn-primary {
            background-color: var(--gcesz-casal);
            color: var(--white);
        }

        .btn-primary:hover {
            background-color: var(--gcesz-breaker-bay);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(50, 101, 115, 0.3);
        }

        .btn-outline {
            background-color: transparent;
            border: 2px solid var(--gcesz-casal);
            color: var(--gcesz-casal);
        }

        .btn-outline:hover {
            background-color: var(--gcesz-casal);
            color: var(--white);
            transform: translateY(-2px);
        }

        .btn-secondary {
            background-color: var(--gcesz-yuma);
            color: var(--gcesz-shaft);
        }

        .btn-secondary:hover {
            background-color: var(--gcesz-brandy-rose);
        }

        /* Header */
        header {
            background-color: var(--white);
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        header.scrolled {
            padding: 5px 0;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            transition: all 0.3s ease;
        }

        header.scrolled .header-container {
            padding: 8px 0;
        }

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

        .logo img {
            height: 50px;
            transition: all 0.3s ease;
        }

        header.scrolled .logo img {
            height: 40px;
        }

        .logo-text {
            margin-left: 12px;
        }

        .logo-text h1 {
            font-size: 22px;
            font-weight: 600;
            color: var(--gcesz-casal);
            transition: all 0.3s ease;
        }

        header.scrolled .logo-text h1 {
            font-size: 18px;
        }

        .logo-text p {
            font-size: 12px;
            color: var(--gcesz-gray);
            transition: all 0.3s ease;
        }

        header.scrolled .logo-text p {
            font-size: 10px;
        }

        nav ul {
            display: flex;
        }

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

        nav ul li a {
            font-weight: 300;
            color: var(--gcesz-shaft);
            transition: color 0.3s ease;
            position: relative;
            padding: 5px 0;
            font-size: small;
        }

        nav ul li a:hover {
            color: var(--gcesz-casal);
        }

        nav ul li a.active {
            color: var(--gcesz-casal);
        }

        nav ul li a.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--gcesz-casal);
            transform: scaleX(1);
            transition: transform 0.3s ease;
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--gcesz-casal);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        nav ul li a:hover::after {
            transform: scaleX(1);
        }

        .auth-section {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            color: var(--gcesz-casal);
            cursor: pointer;
            padding: 5px;
            border-radius: 4px;
            transition: all 0.3s ease;
        }

        .mobile-menu-btn:hover {
            background-color: var(--light-gray);
        }

        /* About Hero Section */
        .about-hero {
            background: linear-gradient(rgba(50, 101, 115, 0.85), rgba(50, 101, 115, 0.7)), url('https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
            background-size: cover;
            background-position: center;
            color: var(--white);
            padding: 180px 0 70px;
            margin-top: 80px;
            text-align: center;
        }

        .about-hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .about-hero h1 {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .about-hero p {
            font-size: 18px;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        /* About Content Sections */
        .about-section {
            padding: 80px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-title h2 {
            font-size: 36px;
            font-weight: 600;
            color: var(--gcesz-casal);
            margin-bottom: 15px;
        }

        .section-title p {
            color: var(--gcesz-gray);
            max-width: 700px;
            margin: 0 auto;
        }

        .about-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .about-content h3 {
            font-size: 28px;
            font-weight: 600;
            color: var(--gcesz-casal);
            margin-bottom: 20px;
        }

        .about-content p {
            color: var(--gcesz-gray);
            margin-bottom: 25px;
            line-height: 1.7;
        }

        .about-img {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

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

        /* Mission & Vision */
        .mission-vision {
            background-color: var(--light-gray);
            padding: 80px 0;
        }

        .mv-cards {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

        .mv-card {
            background-color: var(--white);
            border-radius: 8px;
            padding: 40px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            text-align: center;
            transition: transform 0.3s ease;
        }

        .mv-card:hover {
            transform: translateY(-10px);
        }

        .mv-icon {
            width: 80px;
            height: 80px;
            background-color: var(--gcesz-breaker-bay);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            color: var(--white);
            font-size: 30px;
        }

        .mv-card h3 {
            font-size: 24px;
            font-weight: 600;
            color: var(--gcesz-casal);
            margin-bottom: 20px;
        }

        .mv-card p {
            color: var(--gcesz-gray);
            line-height: 1.7;
        }

        /* Team Section */
        .team {
            padding: 80px 0;
        }

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

        .team-member {
            background-color: var(--white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
        }

        .team-member:hover {
            transform: translateY(-10px);
        }

        .member-img {
            height: 250px;
            overflow: hidden;
        }

        .member-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .team-member:hover .member-img img {
            transform: scale(1.1);
        }

        .member-info {
            padding: 25px;
            text-align: center;
        }

        .member-info h3 {
            font-size: 20px;
            font-weight: 600;
            color: var(--gcesz-casal);
            margin-bottom: 5px;
        }

        .member-info p {
            color: var(--gcesz-gray);
            margin-bottom: 15px;
        }

        .member-social {
            display: flex;
            justify-content: center;
            gap: 10px;
        }

        .member-social a {
            width: 36px;
            height: 36px;
            background-color: var(--light-gray);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gcesz-casal);
            transition: all 0.3s ease;
        }

        .member-social a:hover {
            background-color: var(--gcesz-casal);
            color: var(--white);
        }

        /* Values Section */
        .values {
            background-color: var(--light-gray);
            padding: 80px 0;
        }

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

        .value-card {
            background-color: var(--white);
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            display: flex;
            gap: 20px;
            transition: transform 0.3s ease;
        }

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

        .value-icon {
            width: 60px;
            height: 60px;
            background-color: var(--gcesz-yuma);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gcesz-shaft);
            font-size: 24px;
            flex-shrink: 0;
        }

        .value-content h3 {
            font-size: 20px;
            font-weight: 600;
            color: var(--gcesz-casal);
            margin-bottom: 10px;
        }

        .value-content p {
            color: var(--gcesz-gray);
            line-height: 1.6;
        }

        /* Footer */
        .modern-footer {
            background: var(--footer-bg);
            color: var(--footer-text);
            font-family: 'Rubik', sans-serif;
            border-top: 3px solid var(--gcesz-breaker-bay);
        }

        .footer-content {
            padding: 40px 0 20px;
        }

        /* Footer Links Section */
        .footer-links-section {
            margin-bottom: 30px;
        }

        .footer-links-container {
            display: flex;
            justify-content: center;
        }

        .footer-link-group {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px 24px;
            max-width: 100%;
        }

        .footer-link {
            color: var(--footer-link);
            text-decoration: none;
            font-size: 12px;
            font-weight: 100;
            padding: 8px 4px;
            transition: all 0.3s ease;
            position: relative;
            white-space: nowrap;
        }

        .footer-link:hover {
            color: var(--gcesz-breaker-bay);
            transform: translateY(-1px);
        }

        .footer-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gcesz-breaker-bay);
            transition: width 0.3s ease;
        }

        .footer-link:hover::after {
            width: 100%;
        }

        .footer-underline {
            height: 1px;
            background: linear-gradient(90deg, transparent 0%, var(--footer-border) 50%, transparent 100%);
            margin-top: 20px;
        }

        /* Footer Info Section */
        .footer-info-section {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 50px;
            margin-bottom: 30px;
            align-items: start;
        }

        .footer-description {
            padding-right: 30px;
        }

        .footer-brand {
            color: white;
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 15px;
            background: linear-gradient(135deg, var(--gcesz-breaker-bay), var(--gcesz-casal));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-desc-text {
            font-size: 12px;
            line-height: 1.7;
            margin-bottom: 20px;
            color: var(--footer-text);
            font-weight: 100;
        }

        .footer-desc-text strong {
            color: var(--gcesz-yuma);
            font-weight: 600;
        }

        .footer-features {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
        }

        .feature-tag {
            background: rgba(87, 163, 148, 0.1);
            color: var(--gcesz-breaker-bay);
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            border: 1px solid rgba(87, 163, 148, 0.3);
        }

        /* Social Media Section */
        .footer-social-section {
            background: rgba(255, 255, 255, 0.02);
            padding: 25px;
            border-radius: 12px;
            border: 1px solid var(--footer-border);
        }

        .social-header h4 {
            color: white;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .social-header p {
            font-size: 13px;
            color: var(--footer-text);
            margin-bottom: 20px;
        }

        .social-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 25px;
        }

        .social-link {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            color: var(--footer-link);
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }

        .social-link:hover {
            background: rgba(87, 163, 148, 0.1);
            color: var(--gcesz-breaker-bay);
            border-color: var(--gcesz-breaker-bay);
            transform: translateX(5px);
        }

        .social-link i {
            width: 16px;
            text-align: center;
            font-size: 14px;
        }

        .social-link span {
            font-size: 14px;
            font-weight: 500;
        }

        .newsletter-signup {
            border-top: 1px solid var(--footer-border);
            padding-top: 20px;
        }

        .newsletter-text {
            font-size: 14px;
            margin-bottom: 12px;
            color: var(--footer-link);
            font-weight: 100;
        }

        .newsletter-form {
            display: flex;
            gap: 8px;
        }

        .newsletter-input {
            flex: 1;
            padding: 10px 12px;
            border: 1px solid var(--footer-border);
            border-radius: 6px;
            background: rgba(255, 255, 255, 0.05);
            color: white;
            font-size: 13px;
        }

        .newsletter-input::placeholder {
            color: var(--footer-text);
        }

        .newsletter-input:focus {
            outline: none;
            border-color: var(--gcesz-breaker-bay);
        }

        .newsletter-btn {
            padding: 10px 16px;
            background: var(--gcesz-breaker-bay);
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .newsletter-btn:hover {
            background: var(--gcesz-casal);
            transform: translateY(-1px);
        }

        /* Footer Bottom */
        .footer-bottom {
            border-top: 1px solid var(--footer-border);
            padding-top: 20px;
        }

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

        .copyright p {
            margin: 0;
            font-size: 13px;
            color: var(--footer-text);
        }

        .government-text {
            font-size: 12px;
            color: var(--gcesz-yuma);
            font-weight: 500;
            margin-top: 4px;
        }

        .footer-credentials {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .credential-item {
            font-size: 12px;
            color: var(--footer-text);
            font-weight: 500;
        }

        .divider {
            color: var(--gcesz-gray);
            font-size: 10px;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .footer-info-section {
                grid-template-columns: 1fr;
                gap: 30px;
            }
            
            .footer-description {
                padding-right: 0;
            }
        }

        @media (max-width: 768px) {
            .header-container {
                flex-wrap: wrap;
            }
            
            nav {
                width: 100%;
                order: 3;
                margin-top: 15px;
                display: none;
            }
            
            nav.active {
                display: block;
            }
            
            nav ul {
                flex-direction: column;
            }
            
            nav ul li {
                margin: 0 0 15px 0;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .auth-buttons {
                margin-left: auto;
            }
            
            .about-hero h1 {
                font-size: 36px;
            }
            
            .about-grid {
                grid-template-columns: 1fr;
            }
            
            .mv-cards {
                grid-template-columns: 1fr;
            }
            
            .footer-link-group {
                gap: 6px 16px;
            }
            
            .footer-link {
                font-size: 13px;
            }
            
            .footer-brand {
                font-size: 20px;
            }
            
            .footer-bottom-content {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }
            
            .footer-credentials {
                order: -1;
            }
        }

        @media (max-width: 576px) {
            .about-hero {
                padding: 150px 0 80px;
            }
            
            .section-title h2 {
                font-size: 28px;
            }
            
            .footer-content {
                padding: 30px 0 15px;
            }
            
            .footer-link-group {
                justify-content: flex-start;
            }
            
            .footer-features {
                gap: 8px;
            }
            
            .feature-tag {
                font-size: 11px;
                padding: 4px 10px;
            }
            
            .social-links {
                gap: 8px;
            }
            
            .social-link {
                padding: 10px 12px;
            }
        }


        /* === Modern Objectives List Styling === */
.modern-objectives-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.modern-objectives-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  background: rgba(255, 215, 0, 0.08); /* soft gold tint */
  padding: 0.75rem 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--gold, #d4af37);
}

.modern-objectives-list li:hover {
  background: rgba(255, 215, 0, 0.15);
  transform: translateX(5px);
}

.modern-objectives-list li i {
  color: var(--gold, #d4af37);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.modern-objectives-list li span {
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .modern-objectives-list li {
    padding: 0.6rem 0.9rem;
    font-size: 0.95rem;
  }

  .modern-objectives-list li i {
    font-size: 1rem;
  }
}



/* Enhanced Mobile Navigation - Add these styles */
@media (max-width: 768px) {
    /* Mobile Navigation Container */
    nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100vh;
        background: var(--white);
        z-index: 2000;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
        padding: 80px 20px 30px;
    }

    nav.active {
        left: 0;
    }

    /* Mobile Navigation List */
    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    /* Mobile Navigation Links */
    nav ul li a,
    .dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 0;
        font-size: 16px;
        font-weight: 400;
        width: 100%;
        color: var(--gcesz-shaft);
    }

    .dropdown-toggle {
        background: none;
        border: none;
        font-family: inherit;
        cursor: pointer;
        text-align: left;
    }

    nav ul li a i,
    .dropdown-toggle i {
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }

    /* Mobile Dropdown Content */
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--light-gray);
        margin: 10px 0;
        border-radius: 8px;
        padding: 0;
    }

    .dropdown.active .dropdown-content {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .dropdown-content-inner {
        flex-direction: column;
        padding: 15px;
        gap: 0;
    }

    .dropdown-content .dropdown-menu {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
    }

    .dropdown-content .dropdown-image {
        display: none;
    }

    .dropdown-section {
        margin-bottom: 20px;
    }

    .dropdown-section h4 {
        font-size: 14px;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }

    .dropdown-links {
        gap: 12px;
    }

    .dropdown-link {
        padding: 8px 0;
    }

    .link-title {
        font-size: 14px;
    }

    .link-desc {
        font-size: 12px;
        margin-left: 26px;
    }

    .dropdown-cta {
        margin-top: 20px;
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .dropdown-cta-content {
        flex: none;
    }

    /* Mobile Header Adjustments */
    .header-container {
        padding: 12px 0;
    }

    .auth-section {
        margin-left: auto;
        gap: 10px;
    }

    .search-container {
        display: none;
    }

    /* Mobile Menu Overlay */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Close Button */
    .mobile-close-btn {
        position: absolute;
        top: 30px;
        right: 80px;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--gcesz-casal);
        cursor: pointer;
        z-index: 2001;
    }

    /* Ensure header stays on top */
    header {
        z-index: 2000;
    }
}

/* Animation for dropdown */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Dropdown Toggle for Desktop */
@media (min-width: 769px) {
    .dropdown-toggle {
        display: none;
    }
    
    .dropdown-content {
        display: block !important;
    }
}
/* Modern Contact Section */
.modern-contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.modern-contact::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--gcesz-breaker-bay) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.1;
    transform: translate(30%, -30%);
}

.modern-contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--gcesz-yuma) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.1;
    transform: translate(-30%, 30%);
}

.contact-modern-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Contact Info Modern */
.contact-info-modern {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(50, 101, 115, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-header-modern {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(87, 163, 148, 0.2);
}

.contact-icon-main {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gcesz-breaker-bay), var(--gcesz-casal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 32px;
}

.contact-header-modern h3 {
    color: var(--gcesz-casal);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-header-modern p {
    color: var(--gcesz-gray);
    font-size: 16px;
    line-height: 1.6;
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card-modern {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-align: center;
}

.contact-card-modern:hover {
    transform: translateY(-5px);
    border-color: var(--gcesz-breaker-bay);
    box-shadow: 0 8px 25px rgba(87, 163, 148, 0.15);
}

.contact-card-icon-marker {
    width: 50px;
    height: 50px;
    background: var(--gcesz-apricot);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 20px;
}

.contact-card-icon-phone {
    width: 50px;
    height: 50px;
    background: var(--gcesz-brandy-rose);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 20px;
}

.contact-card-icon-clock {
    width: 50px;
    height: 50px;
    background: var(--gcesz-casal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 20px;
}



.contact-card-icon-email {
    width: 50px;
    height: 50px;
    background: var(--gcesz-yuma);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 20px;
}


.contact-card-content h4 {
    color: var(--gcesz-casal);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card-content p {
    color: var(--gcesz-shaft);
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.contact-card-note {
    color: var(--gcesz-gray);
    font-size: 12px;
    font-style: italic;
}

/* Contact CTA */
.contact-cta-modern {
    background: linear-gradient(135deg, rgba(87, 163, 148, 0.1) 0%, rgba(50, 101, 115, 0.1) 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(87, 163, 148, 0.2);
}

.contact-cta-modern h5 {
    color: var(--gcesz-casal);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-cta-modern p {
    color: var(--gcesz-gray);
    font-size: 14px;
    margin-bottom: 15px;
}

/* Contact Form Modern */
.contact-form-modern {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(50, 101, 115, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(87, 163, 148, 0.2);
}

.form-header h3 {
    color: var(--gcesz-casal);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-header p {
    color: var(--gcesz-gray);
    font-size: 15px;
}

/* Modern Form Styles */
.modern-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
}

.form-group-modern label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gcesz-shaft);
    font-size: 14px;
}

.form-group-modern label i {
    color: var(--gcesz-breaker-bay);
    width: 16px;
}

.modern-input,
.modern-select,
.modern-textarea {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Rubik', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--white);
}

.modern-input:focus,
.modern-select:focus,
.modern-textarea:focus {
    outline: none;
    border-color: var(--gcesz-breaker-bay);
    box-shadow: 0 0 0 3px rgba(87, 163, 148, 0.1);
}

.modern-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Group */
.form-submit-group {
    margin-top: 10px;
    text-align: center;
}

.btn-submit-modern {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 300px;
}

.form-note {
    color: var(--gcesz-gray);
    font-size: 12px;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-modern-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .modern-contact {
        padding: 60px 0;
    }
    
    .contact-info-modern,
    .contact-form-modern {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-icon-main {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .contact-header-modern h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .contact-info-modern,
    .contact-form-modern {
        padding: 20px;
        border-radius: 16px;
    }
    
    .contact-header-modern {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .form-header h3 {
        font-size: 20px;
    }
}

/* Animation Enhancements */
.contact-card-modern,
.contact-form-modern,
.contact-info-modern {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus states for accessibility */
.modern-input:focus,
.modern-select:focus,
.modern-textarea:focus {
    outline: 2px solid var(--gcesz-breaker-bay);
    outline-offset: 2px;
}

.btn-submit-modern:focus {
    outline: 2px solid var(--gcesz-casal);
    outline-offset: 2px;
}