:root {
    --primary: #0033ff;
    --primary-dark: #001ea8;
    --accent: #ffcc00;
    --accent-soft: #fff4bf;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f8faff;
    --glass: rgba(255, 255, 255, 0.8);
    --font-main: 'Outfit', 'Noto Sans Devanagari', sans-serif;
    --font-heading: 'Outfit', 'Noto Sans Devanagari', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    font-family: 'Outfit', 'Noto Sans Devanagari', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

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

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Layout */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navbar */
nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo img {
    height: 45px;
}

.brand-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.tagline {
    font-size: 0.7rem;
    color: var(--primary);
    opacity: 0.85;
    font-weight: 600;
    margin-top: 2px;
}

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

.nav-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    transition: 0.3s;
}

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

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 51, 255, 0.18);
    border-radius: 14px;
    background: #ffffff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 51, 255, 0.08);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--primary);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

nav.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

nav.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

nav.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 51, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 51, 255, 0.3);
    background: var(--primary-dark);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-dark);
    background-image:
        linear-gradient(rgba(0, 51, 255, 0.6), rgba(0, 30, 168, 0.7)),
        image-set(
            url('./assets/hero.webp?v=4.1') type('image/webp'),
            url('./assets/hero.png?v=4.1') type('image/png')
        );
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    min-height: 80vh;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    display: none;
    /* Removed as it's now a background */
}

.hero-main-img {
    width: 100%;
    max-width: 600px;
    z-index: 1;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* Features */
.features {
    padding: 100px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.features-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.vector-coin {
    position: absolute;
    opacity: 0.2;
    /* Increased visibility */
    transition: transform 0.2s ease-out;
}

.features .container {
    position: relative;
    z-index: 1;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

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

.feature-card {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 24px;
    transition: 0.3s;
    border: 1px solid rgba(0, 51, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 51, 255, 0.08);
    background: white;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent);
}

/* Calculator Form */
.calc-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.calc-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.calc-form {
    flex: 1;
}

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

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

.theme-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

/* Custom Dropdown Styling */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-header {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.custom-dropdown.active .dropdown-header {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 214, 0, 0.3);
}

.dropdown-list {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.dropdown-list li {
    padding: 12px 20px;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}

.dropdown-list li:hover {
    background: var(--accent);
    padding-left: 30px;
}

.dropdown-list li.active {
    background: #f0f4ff;
    color: var(--primary);
}

.arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.custom-dropdown.active .arrow {
    transform: rotate(180deg);
}

/* Hide Number Input Arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.theme-input:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.theme-select {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.25L7 9.25L11 5.25' fill='none' stroke='%23ffcc00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    cursor: pointer;
}

.theme-datepicker {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    cursor: pointer;
}

/* Custom Calendar Picker Style (Simulated) */
::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Dropdown list items */
select option {
    background: var(--primary-dark);
    color: white;
}

.calc-result {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 40px;
}

.result-value {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent);
}

/* Background Coins */
.bg-coins-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-coin {
    position: absolute;
    width: 100px;
    opacity: 0.1;
    filter: blur(2px);
    animation: drift linear infinite;
}

@keyframes drift {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(100px, 100px) rotate(360deg);
    }
}

.perspective {
    padding: 100px 0;
    background: white;
    position: relative;
    z-index: 1;
}

.perspective-split {
    display: flex;
    gap: 40px;
}

.perspective-card {
    flex: 1;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    color: white;
}

.perspective-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
}

.town-card {
    background-color: #e2e8f0;
    background-image: image-set(url('./assets/town.webp?v=4.1') type('image/webp'), url('./assets/town.png?v=4.0') type('image/png'));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.village-card {
    background-color: #e2e8f0;
    background-image: image-set(url('./assets/village.webp?v=4.1') type('image/webp'), url('./assets/village.png?v=4.0') type('image/png'));
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.perspective-card h3,
.perspective-card p {
    position: relative;
    z-index: 2;
}

/* Flatpickr Custom Theme */
.flatpickr-calendar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border-radius: 15px !important;
}

.flatpickr-day.selected {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.flatpickr-day.today {
    border-color: var(--accent) !important;
}

.flatpickr-day:hover {
    background: var(--accent) !important;
    color: var(--primary) !important;
}

.theme-datepicker {
    cursor: pointer;
}

/* Modal Styles - Custom Premium Theme */
.modal-overlay {
    position: fixed;
    width: 100%;
    height: 100dvh;
    inset: 0;
    background: rgba(0, 30, 150, 0.4);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 600px;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 40px;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    scrollbar-width: thin;
}

.modal-content::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 2.5rem;
    font-weight: 800;
}

#modalSubTitle {
    color: var(--text-dark);
    opacity: 0.7;
    margin-bottom: 35px;
    font-size: 1.1rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 51, 255, 0.1);
    border-radius: 15px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 51, 255, 0.1);
}

.modal-content .cta-button {
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    font-size: 1.2rem;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 20px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(255, 204, 0, 0.3);
    transition: 0.3s;
}

.modal-content .cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 204, 0, 0.4);
}

.founders-grid {
    align-items: stretch;
}

.founders-section {
    margin-bottom: 100px;
}

.contact-wrapper {
    align-items: start;
}

.contact-phone {
    display: flex;
    flex-wrap: wrap;
    gap: 0 8px;
    line-height: 1.35;
}

.contact-phone a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

main {
    min-height: calc(100dvh - 230px);
}

.vision-detailed {
    width: 100%;
    margin-bottom: 80px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
    border-radius: 50px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

.vision-title-wrap {
    padding: 42px 48px 24px;
    text-align: center;
}

.vision-title {
    margin: 0;
    color: var(--primary);
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
}

.vision-image {
    display: block;
    width: 100%;
    height: auto;
}

.founder-img-wrapper picture,
.vision-detailed picture {
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Motion effects */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s ease-out;
}

[data-aos].active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    nav {
        height: auto;
        min-height: 74px;
        padding: 12px 0;
    }

    nav .container {
        gap: 16px;
        flex-wrap: wrap;
    }

    nav .btn-primary {
        margin-left: auto;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
        min-height: 72vh;
    }

    .hero-content {
        margin-bottom: 0;
    }

    .hero-content h1 {
        font-size: clamp(2.6rem, 7vw, 4rem);
    }

    .hero-content p {
        font-size: 1.15rem;
    }

    .features,
    .perspective,
    .calc-section {
        padding: 72px 0;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .calc-container {
        flex-direction: column;
        padding: 34px;
        gap: 28px;
    }

    .calc-result {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 40px;
    }

    .perspective-split {
        flex-direction: column;
        gap: 24px;
    }

    .perspective-card {
        min-height: 320px;
        height: auto;
    }

    .founders-grid,
    .contact-wrapper {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .founders-section {
        margin-bottom: 56px !important;
    }

    .vision-detailed {
        border-radius: 36px;
        margin-bottom: 60px;
    }

    .vision-title-wrap {
        padding: 34px 32px 20px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    nav {
        position: sticky;
    }

    .logo {
        min-width: 0;
    }

    .logo img {
        height: 38px;
    }

    .brand-name {
        font-size: 1.05rem;
    }

    .tagline {
        font-size: 0.62rem;
    }

    .nav-links {
        display: none;
        order: 5;
        width: 100%;
        flex-direction: column;
        gap: 6px;
        padding: 10px;
        border: 1px solid rgba(0, 51, 255, 0.12);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    }

    nav.menu-open .nav-links {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 12px 14px;
        border-radius: 12px;
        font-weight: 700;
    }

    .nav-links a:hover {
        background: var(--bg-light);
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
    }

    nav .btn-primary {
        padding: 10px 16px;
        font-size: 0.9rem;
        white-space: nowrap;
        margin-left: 0;
    }

    .hero {
        padding: 120px 0 70px;
        min-height: 68vh;
        background-position: 60% center;
    }

    .hero-content h1 {
        font-size: clamp(2.05rem, 10vw, 2.8rem);
        line-height: 1.12;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .hero-actions {
        gap: 12px;
    }

    .hero-actions .btn-primary {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    main {
        margin-top: 28px !important;
        min-height: auto;
    }

    main > .container > div:first-child {
        margin-bottom: 30px !important;
    }

    footer {
        margin-top: 40px !important;
        padding: 32px 0 !important;
    }

    .section-title {
        margin-bottom: 36px;
    }

    .section-title h2 {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
    }

    main h1 {
        font-size: clamp(2rem, 10vw, 2.75rem) !important;
        line-height: 1.15 !important;
    }

    main p {
        max-width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .feature-card {
        padding: 26px;
        border-radius: 20px;
    }

    .calc-container {
        padding: 24px;
        border-radius: 24px;
    }

    .result-value {
        font-size: clamp(2.35rem, 12vw, 3.3rem);
        overflow-wrap: anywhere;
    }

    .perspective-card {
        min-height: 280px;
        padding: 28px;
        border-radius: 24px;
    }

    .modal-overlay {
        align-items: center;
        padding: 12px;
    }

    .modal-content {
        max-height: calc(100dvh - 24px);
        max-width: 520px;
        margin: 0;
        padding: 28px 20px;
        border-radius: 26px;
        scrollbar-width: none;
    }

    .modal-content h2 {
        font-size: 2rem;
        padding-right: 44px;
    }

    .close-modal {
        top: 18px;
        right: 18px;
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .vision-detailed {
        border-radius: 26px;
        margin-bottom: 44px;
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    }

    .vision-title-wrap {
        padding: 26px 20px 16px;
    }

    .vision-title {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    nav .container {
        gap: 10px;
    }

    .brand-info {
        max-width: 150px;
    }

    .brand-name,
    .tagline {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    nav .btn-primary {
        padding: 9px 12px;
        font-size: 0.82rem;
    }

    main {
        margin-top: 22px !important;
    }

    main > .container > div:first-child {
        margin-bottom: 24px !important;
    }

    footer {
        margin-top: 28px !important;
        padding: 28px 0 !important;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .hero {
        padding-top: 96px;
        padding-bottom: 58px;
        min-height: 620px;
    }

    .hero-content h1 {
        margin-bottom: 14px;
    }

    .features,
    .perspective,
    .calc-section {
        padding: 54px 0;
    }

    .calc-container {
        padding: 18px;
        border-radius: 20px;
    }

    .theme-input,
    .theme-datepicker,
    .dropdown-header {
        padding: 13px 15px;
    }

    .perspective-card {
        min-height: 240px;
        padding: 22px;
    }

    .founder-card {
        padding: 24px !important;
        border-radius: 26px !important;
    }

    .founders-section {
        margin-bottom: 34px !important;
    }

    .founder-img-wrapper {
        width: 140px !important;
        height: 140px !important;
    }

    .contact-form,
    .info-card {
        padding: 22px !important;
        border-radius: 20px !important;
    }

    .contact-info p {
        overflow-wrap: anywhere;
    }

    .contact-phone {
        display: grid;
        gap: 4px;
        font-size: 1.2rem !important;
        overflow-wrap: normal;
    }

    .contact-phone span {
        display: none;
    }

    footer .container > div {
        flex-wrap: wrap;
        gap: 12px !important;
    }

    .vision-detailed {
        border-radius: 20px;
        margin-left: -6px;
        margin-right: -6px;
        width: calc(100% + 12px);
    }

    .vision-title-wrap {
        padding: 22px 16px 14px;
    }

    .modal-content .cta-button {
        padding: 16px;
        font-size: 1rem;
        border-radius: 16px;
    }

    .modal-content {
        padding: 22px 16px;
        border-radius: 22px;
    }

    .modal-content h2 {
        font-size: 1.65rem;
        margin-bottom: 2px;
    }

    #modalSubTitle {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }

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

    .form-group label {
        margin-bottom: 7px;
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 0.95rem;
    }

    .form-group textarea {
        min-height: 88px;
    }

    .close-modal {
        top: 14px;
        right: 14px;
        width: 34px;
        height: 34px;
        font-size: 22px;
    }
}

@media (max-width: 360px) {
    .logo img {
        height: 34px;
    }

    .brand-info {
        max-width: 126px;
    }

    nav .btn-primary {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }

    .menu-toggle {
        margin-left: auto;
    }

    .hero {
        padding-top: 86px;
    }
}

@media (max-height: 760px) {
    .modal-overlay {
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .modal-content {
        max-height: calc(100dvh - 20px);
        padding-top: 22px;
        padding-bottom: 22px;
        scrollbar-width: none;
    }

    .modal-content h2 {
        font-size: 1.8rem;
        margin-bottom: 0;
    }

    #modalSubTitle {
        margin-bottom: 18px;
    }

    .form-row {
        gap: 12px;
    }

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

    .form-group input,
    .form-group textarea {
        padding-top: 11px;
        padding-bottom: 11px;
    }

    .modal-content .cta-button {
        margin-top: 8px;
        padding: 15px;
    }
}

@media (max-width: 640px), (max-height: 640px) {
    .modal-content {
        max-width: 460px;
    }

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