:root {
    /* Mockup inspired color palette */
    --primary-color: #4A7FBD;
    /* Blue - Primary actions and branding */
    --secondary-color: #003366;
    /* Navy Blue - Text and headers */
    --accent-red: #C00000;
    /* Red - Important CTAs and highlights */
    --accent-green: #2E7D32;
    /* Green - Success states and positive actions */
    --text-color: #333333;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --gray-medium: #6c757d;
    --gray-light: #E5E5E5;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Header & Navbar */
.navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
    transition: transform var(--transition-fast);
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Lang Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-switcher select {
    padding: 8px 30px 8px 12px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--secondary-color);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23003366' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.lang-switcher select:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFFFFF' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.lang-switcher select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 127, 189, 0.2);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 50px;
}

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

.footer h3,
.footer h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    color: #999;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary,
.btn-blue {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 127, 189, 0.4);
    background-color: #3a6ba3;
}

.btn-red {
    background-color: var(--accent-red);
    color: var(--white);
    border-color: var(--accent-red);
}

.btn-red:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(192, 0, 0, 0.4);
    background-color: #a00000;
}

.btn-white-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-white-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-green {
    background-color: var(--accent-green);
    color: var(--white);
    border-color: var(--accent-green);
}

.btn-green:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
    background-color: #1e5a22;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn var(--transition-slow) forwards;
}

/* Hero Section */
.hero {
    background: var(--secondary-color);
    background-image: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 51, 102, 0.85)), url('/static/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 120px 0;
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 20px 0;
    font-weight: 800;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.badge {
    display: inline-block;
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* Scrolling Text Animation */
.dynamic-text {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 30px;
}

.scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scrollText 15s linear infinite;
    font-weight: bold;
    color: #fff;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-200%);
    }
}

/* Globe Animation */
.globe-container {
    font-size: 15rem;
    display: flex;
    justify-content: center;
    position: relative;
}

.globe-icon {
    color: rgba(255, 255, 255, 0.2);
    animation: rotateGlobe 20s linear infinite;
}

@keyframes rotateGlobe {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hero-overlay-text {
    text-align: center;
    margin-top: -30px;
    font-style: italic;
    color: var(--accent-color);
}

/* Search Section */
.search-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.search-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-strong);
}

.search-card h2 {
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* Common Section */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 60px 0 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* News Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-fast);
}

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

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

.news-body {
    padding: 20px;
}

.news-date {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.85rem;
}

@media (max-width: 992px) {

    /* Navbar responsive */
    .navbar .container {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        order: 2;
    }

    .lang-switcher {
        order: 3;
        margin-left: auto;
        margin-right: 15px;
    }

    .nav-links {
        order: 4;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 20px 0;
        box-shadow: var(--shadow-soft);
        display: none;
        margin-top: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }

    .nav-links a {
        display: block;
        padding: 10px;
    }

    /* Hero responsive */
    .hero {
        padding: 80px 0;
        background-attachment: scroll;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-cta a {
        display: block;
        margin: 10px auto !important;
        max-width: 280px;
    }

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

    /* Floating CTA on mobile */
    .floating-cta {
        bottom: 20px;
        right: 20px;
        font-size: 0.85rem;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 60px 0;
    }

    .lang-switcher select {
        padding: 6px 25px 6px 10px;
        font-size: 0.85rem;
    }
}

/* Properties Listing */
.listing-section {
    padding: 60px 0;
}

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

.property-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.property-img {
    position: relative;
    height: 220px;
}

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

.property-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 800;
}

.property-details {
    padding: 20px;
}

.property-cat {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.property-details h3 {
    margin: 10px 0;
    font-size: 1.25rem;
}

.property-loc {
    color: var(--gray-medium);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.property-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.property-detail-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-strong);
}

.property-detail-header h1 {
    font-size: 2.6rem;
    margin-bottom: 5px;
}

.property-location {
    color: var(--gray-medium);
    margin-bottom: 15px;
}

.property-detail-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 20px;
    align-items: start;
}

.property-detail-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.property-detail-info {
    font-size: 1rem;
    line-height: 1.6;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.property-meta-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--secondary-color);
    font-weight: 600;
}

.property-meta-list li::before {
    content: '•';
    margin-right: 6px;
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .property-detail-body {
        grid-template-columns: 1fr;
    }
}

.btn-outline {
    display: block;
    width: 100%;
    padding: 10px;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--white);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 0;
}

.content-section {
    padding: 60px 0;
}

.sitemap-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-strong);
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.sitemap-grid h3 {
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.sitemap-grid ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 1.8;
}

.sitemap-grid a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.grid-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.news-card .btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
    margin-top: 15px;
}

.mt-50 {
    margin-top: 50px;
}

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

.btn-block {
    width: 100%;
}

@media (max-width: 992px) {
    .grid-two-cols {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Image Placeholders */
.img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: var(--light-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--gray-medium);
    opacity: 0.5;
}

.property-img .img-placeholder {
    height: 220px;
}

.property-showcase {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.showcase-grid {
    display: grid;
    gap: 40px;
}

.showcase-map-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-strong);
}

.showcase-header .eyebrow,
.gallery-text .eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.75rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.showcase-header h2 {
    font-size: 2.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.showcase-header p {
    color: var(--gray-medium);
    line-height: 1.5;
}

.properties-map {
    margin-top: 30px;
    width: 100%;
    height: 360px;
    border-radius: 20px;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.08);
}

.gallery-slider {
    background: #00b18d;
    border-radius: 30px;
    padding: 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.gallery-text h2 {
    margin: 0;
    font-size: 2.2rem;
}

.gallery-text p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-controls {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.gallery-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.gallery-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
}

.gallery-arrow i {
    font-size: 1rem;
}

.gallery-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
    height: 6px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
}

.gallery-card {
    min-width: 260px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 20px 40px rgba(6, 28, 39, 0.2);
    display: flex;
    flex-direction: column;
}

.gallery-image {
    height: 180px;
    background: linear-gradient(135deg, #e4f4ff, #fefefe);
}

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

.gallery-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gallery-city {
    font-size: 0.85rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.gallery-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}

.gallery-info h3 {
    font-size: 1.2rem;
    color: #222;
    margin: 0;
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

.gallery-indicators span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.gallery-indicators span.active {
    background: #fff;
    transform: scale(1.2);
}

.img-placeholder-small {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: #c0c0c0;
    background: linear-gradient(135deg, #f0f4f8, #ffffff);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (min-width: 992px) {
    .showcase-grid {
        grid-template-columns: 1.05fr 0.95fr;
        align-items: stretch;
    }
}

@media (max-width: 768px) {

    .showcase-map-card,
    .gallery-slider {
        padding: 30px;
        border-radius: 20px;
    }

    .gallery-card {
        min-width: 220px;
    }

    .properties-map {
        height: 260px;
    }
}

/* ===== NEW COMPONENTS FROM MOCKUP ===== */

/* Service Pyramid */
.service-pyramid {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px 20px;
}

.pyramid-level {
    text-align: center;
    padding: 20px;
    margin: 10px auto;
    border-radius: var(--border-radius);
    color: var(--white);
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.pyramid-level:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-strong);
}

.pyramid-sell {
    background-color: var(--accent-red);
    width: 50%;
}

.pyramid-buy {
    background-color: var(--primary-color);
    width: 70%;
}

.pyramid-build {
    background-color: var(--primary-color);
    width: 90%;
}

/* Floating CTA Button */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Three Column Form Layout */
.three-col-form-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.form-column {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
}

/* Global responsive adjustments */
@media (max-width: 1200px) {
    .hero {
        padding: 70px 0;
    }

    .container {
        padding: 0 18px;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 992px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 1002;
        transition: opacity var(--transition-fast);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 12px 0;
        width: 100%;
    }

    .lang-switcher {
        width: 100%;
        justify-content: flex-end;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .search-card,
    .sitemap-card,
    .gallery-slider {
        padding: 30px 25px;
    }

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

@media (max-width: 768px) {
    .hero-content h1,
    .hero-tagline {
        text-align: center;
    }

    .lang-switcher {
        justify-content: center;
    }

    .gallery-arrow {
        width: 42px;
        height: 42px;
    }

    .gallery-scroll {
        gap: 15px;
    }

    .property-detail-card {
        padding: 30px;
    }

    .sitemap-card {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.95rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .nav-links {
        top: 60px;
    }

    .gallery-card {
        min-width: 200px;
    }

    .gallery-controls {
        justify-content: center;
    }

    .lang-switcher select {
        width: 100%;
    }

    .showcase-map-card,
    .gallery-slider,
    .sitemap-card {
        padding: 25px;
    }
}

.form-column h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3rem;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
}

.form-column.red-theme h3 {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
}

.form-column.green-theme h3 {
    color: var(--accent-green);
    border-bottom-color: var(--accent-green);
}

.form-field {
    margin-bottom: 15px;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 127, 189, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 0.9rem;
}

.checkbox-group input[type='checkbox'] {
    width: auto;
    margin-right: 8px;
}

@media (max-width: 992px) {
    .three-col-form-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--gray-light);
}

.tab-btn {
    padding: 15px 40px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--gray-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Category Buttons */
.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.category-btn {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
    margin: 40px 0;
}

.partner-logo {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.partner-logo:hover {
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}
