* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

:root {
    --backgroundColor: rgb(17, 15, 12);
}

body {
    background-color: var(--backgroundColor);
    padding: 0 100px 0 100px;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/* Navigation */
.logo {
    display: flex;
    align-items: center;
    font-weight: 550;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    gap: 8px;
}

nav {
    background-color: var(--backgroundColor);
    display: flex;
    align-items: center;
    color: white;
    justify-content: space-between;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 105%;
}

.centernav {
    display: flex;
    flex-direction: row;
    gap: 25px;
}

.centernav a {
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.centernav a:hover {
    color: rgb(220, 219, 219);
}

.rightnav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.signin {
    border: 1px solid rgba(255, 255, 255, 0.237);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.signin:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.download {
    border: 1px solid white;
    padding: 8px 16px;
    border-radius: 20px;
    color: black;
    background-color: white;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download:hover {
    background-color: #f0f0f0;
}

.manu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    padding: 5px;
}

.bar1,
.bar2,
.bar3 {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    margin: 3px 0;
    transition: 0.4s;
    border-radius: 2px;
}

.change .bar1 {
    transform: translate(0, 9px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -9px) rotate(45deg);
}

/* Hero Section */
.head-cont {
    margin-top: 10rem;
    width: 50vw;
}

.head-cont p {
    color: white;
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.3;
}

.download-for-windows {
    margin-top: 1rem;
    background-color: white;
    width: 200px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.download-for-windows:hover {
    background-color: #f0f0f0;
}

.download-for-windows a {
    color: black;
    font-size: 1rem;
    font-weight: 500;
}

.for-mobile {
    display: none;
}

.hero-section {
    margin-top: 1em;
    width: calc(100vw - 200px);
    height: 100vh;
    overflow: hidden;
    background-image: url(https://cursor.com/marketing-static/_next/image?url=https%3A%2F%2Fcdn.sanity.io%2Fimages%2F2hv88549%2Fproduction%2Fcc24ca462279ca23250c6953612a9e3fd9838355-6360x4240.jpg%3Fauto%3Dformat&w=1920&q=70);
    background-size: cover;
    background-position: center;
    border-radius: 7px;
    margin-top: 90px;
}

.main-cont {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    margin-top: 100px;
    text-align: center;
}

.main-cont p {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.main-icons {
    margin-top: 20px;
    display: grid;
    grid-template-rows: 1fr;
    gap: 1em;
    grid-template-columns: repeat(8, 1fr);
}

.icons {
    width: 10vw;
    height: 13vh;
    background-color: rgb(33, 24, 24);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.icons:hover {
    transform: translateY(-5px);
}

.icons img {
    width: 100px;
    height: auto;
}

/* Main Image Sections */
.main-img1,
.main-img2,
.main-img3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    width: calc(100vw - 200px);
    height: auto;
    min-height: 80vh;
    padding: 2rem;
    gap: 3rem;
    background-color: rgb(25, 25, 25);
    border-radius: 10px;
}

.main-img1 .img1-cont,
.main-img3 .img3-cont {
    text-align: center;
    max-width: 400px;
    padding: 0 2rem;
    order: 2;
}

.main-img2 .img2-cont {
    text-align: center;
    max-width: 400px;
    padding: 0 2rem;
    order: 1;
}

.main-img1 .img1,
.main-img3 .img3 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    order: 2;
}

.main-img2 .img2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    order: 2;
}

.main-img1 img,
.main-img2 img,
.main-img3 img {
    width: 90%;
    max-width: 800px;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    border-radius: 10px;
}

.main-img2 img {
    background-color: rgb(60, 70, 77);
}

.img1-cont h3,
.img2-cont h3,
.img3-cont h3 {
    color: white;
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.img1-cont p,
.img2-cont p,
.img3-cont p {
    color: rgb(174, 143, 143);
    font-weight: 400;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.img1-cont a,
.img2-cont a,
.img3-cont a {
    color: rgb(255, 1, 1);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.img1-cont a:hover,
.img2-cont a:hover,
.img3-cont a:hover {
    color: rgb(255, 100, 100);
}

/* Testimonials */
.cursor-testimonials {
    background-color: var(--backgroundColor);
    color: #e6edf3;
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

.cursor-testimonials__tagline {
    font-size: 2.2rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.2;
}

.cursor-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.cursor-testimonials__card {
    background-color: rgb(25, 25, 25);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cursor-testimonials__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cursor-testimonials__quote {
    font-size: 14px;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.cursor-testimonials__quote:before {
    content: " ";
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: #58a6ff;
    opacity: 0.7;
}

.cursor-testimonials__author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.cursor-testimonials__avatar {
    width: 45px;
    height: 45px;
    border-radius: 7px;
    background-image: url(https://cursor.com/marketing-static/_next/image?url=%2Fmarketing-static%2Fusers%2Fdylan.png&w=48&q=70);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #58a6ff;
}

.cursor-testimonials__info {
    flex: 1;
}

.cursor-testimonials__name {
    font-weight: 600;
    margin-bottom: 5px;
}

.cursor-testimonials__title {
    font-size: 0.9rem;
    color: #8b949e;
}

.cursor-testimonials__tweet {
    background-color: #161b22;
    border-radius: 12px;
    padding: 30px;
    grid-column: span 2;
}

.cursor-testimonials__tweet-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cursor-testimonials__tweet-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #30363d;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #58a6ff;
}

.cursor-testimonials__tweet-author {
    font-weight: 600;
}

.cursor-testimonials__tweet-handle {
    color: #8b949e;
    margin-left: 5px;
}

.cursor-testimonials__tweet-content {
    font-size: 1.1rem;
}

/* Features */
.cursor-features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-header p {
    font-size: 1.5rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
}

.features-row {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.feature-card {
    background: rgba(30, 30, 46, 0.7);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    flex: 1;
    max-width: 380px;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 25, 0, 0.2);
    background: rgba(40, 40, 62, 0.8);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.card-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-link {
    color: #ff0000;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.card-link:hover {
    color: #8a84ff;
    gap: 12px;
}

.card-icon {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #6c63ff;
}

/* Changelog */
.cursor-changelog {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0 20px 0;
    color: #e6edf3;
}

.cursor-changelog h2 {
    font-size: 1.4rem;
    color: #e6edf3;
    margin-bottom: 16px;
    font-weight: 400;
}

.changelog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.changelog-card {
    display: block;
    background: rgb(25, 25, 25);
    border-radius: 10px;
    padding: 18px;
    color: #e6edf3;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.changelog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.14);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #9aa4b2;
    font-size: 0.9rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgb(35, 35, 35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 600;
    color: #d1d5db;
}

.date {
    color: #8b949e;
}

.card-title {
    font-size: 1rem;
    line-height: 1.4;
}

.changelog-link {
    display: inline-block;
    margin-top: 14px;
    color: #fbbf24;
    font-weight: 500;
}

.changelog-link:hover {
    color: #fde68a;
}

.changelog-img img {
    width: calc(100vw - 200px);
    border-radius: 7px;
}

/* Recent Highlights */
.recent-highlights {
    margin: 60px 0 10px 0;
}

.rh-heading {
    color: white;
    font-size: 20px;
}

.rh-card {
    background-color: #202021;
    width: 50vw;
    padding: 10px;
    border-radius: 7px;
}

.rh-card a {
    color: white;
}

.rh-meta,
.rh-desc {
    color: #a0a1a4;
}

.rh-meta {
    margin-top: 15px;
}

.rh-more {
    display: flex;
    align-self: self-start;
    color: rgb(177, 116, 4);
}

.rh-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

/* CTA Sections */
.cursor-cta {
    max-width: 600px;
    padding: 40px 20px;
}

.cursor-cta h3 {
    color: #e6edf3;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 18px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #111;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-btn:hover {
    background: #f2f2f2;
}

.cta-now {
    margin: 80px 0 0 0;
    padding: 80px 0;
    text-align: center;
    background: #0e0e0e;
    border-radius: 8px;
}

.cta-now h2 {
    color: #f5f5f5;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.cta-download-btn {
    display: inline-block;
    background: #fff;
    color: #111;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.cta-download-btn:hover {
    background: #ececec;
}

/* Footer */
.site-footer {
    margin-top: 0;
    background: #141414;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #d1d5db;
    padding: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 32px;
    padding: 48px 0;
}

.footer-col h4 {
    color: #e6edf3;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: #a6adbb;
    font-size: 14px;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #9aa4b2;
    font-size: 13px;
}

.footer-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.control {
    color: #9aa4b2;
}

.control:hover {
    color: #ffffff;
}

/* ==================== MEDIA QUERIES ==================== */

/* Large Desktop (1200px and above) */
@media (min-width: 1200px) {

    .main-img1,
    .main-img3 {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .main-img2 {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .main-img1 .img1-cont,
    .main-img2 .img2-cont,
    .main-img3 .img3-cont {
        flex: 1;
        text-align: left;
        padding: 0;
    }

    .main-img1 .img1,
    .main-img2 .img2,
    .main-img3 .img3 {
        flex: 0;
    }

    .main-img1 img,
    .main-img2 img,
    .main-img3 img {
        width: 100vw;
        height: 94vh;
        max-height: none;
    }

    .img1-cont h3,
    .img2-cont h3,
    .img3-cont h3 {
        font-size: 2rem;
    }

    .img1-cont p,
    .img2-cont p,
    .img3-cont p {
        font-size: 1.5rem;
    }
}

/* Desktop (1024px to 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {

    .main-img1,
    .main-img2,
    .main-img3 {
        width: calc(100vw - 100px);
    }

    .img1-cont h3,
    .img2-cont h3,
    .img3-cont h3 {
        font-size: 1.8rem;
    }

    .img1-cont p,
    .img2-cont p,
    .img3-cont p {
        font-size: 1.3rem;
    }

    .img1-cont a,
    .img2-cont a,
    .img3-cont a {
        font-size: 1rem;
    }
}

/* Tablet Landscape (769px to 1023px) */
@media (max-width: 1023px) and (min-width: 769px) {
    body {
        padding: 0 50px 0 50px;
    }

    .hero-section {
        width: calc(100vw - 100px);
        height: 80vh;
    }

    .head-cont {
        margin-top: 8rem;
        width: 70vw;
    }

    .head-cont p {
        font-size: 1.7rem;
    }

    .centernav {
        gap: 20px;
    }

    .centernav a {
        font-size: 13px;
    }

    .main-icons {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 15px;
    }

    .icons {
        width: 20vw;
        height: 12vh;
    }

    .icons img {
        width: 80px;
    }

    .main-img1,
    .main-img2,
    .main-img3 {
        width: calc(100vw - 100px);
        margin-top: 3rem;
        gap: 2.5rem;
    }

    .img1-cont h3,
    .img2-cont h3,
    .img3-cont h3 {
        font-size: 1.6rem;
    }

    .img1-cont p,
    .img2-cont p,
    .img3-cont p {
        font-size: 1.2rem;
    }

    .img1-cont a,
    .img2-cont a,
    .img3-cont a {
        font-size: 1rem;
    }

    .cursor-testimonials__quote {
        font-size: 14px;
        margin-bottom: 20px;
        position: relative;
        padding-left: 20px;
    }

    /* Features Responsive */
    .features-row {
        flex-wrap: wrap;
    }

    .feature-card {
        max-width: calc(50% - 30px);
        min-width: 300px;
    }

    /* Changelog Responsive */
    .changelog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (481px to 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    body {
        padding: 0 30px 0 30px;
    }

    nav {
        padding: 12px 15px;
    }

    .centernav {
        display: none;
    }

    .manu {
        display: flex;
    }

    .head-cont {
        margin-top: 6rem;
        width: 80%;
    }

    .for-desk {
        display: none;
    }

    .for-mobile {
        display: flex;
    }

    .head-cont p {
        font-size: 1.5rem;
    }

    .download-for-windows {
        width: 200px;
        height: 45px;
    }

    .hero-section {
        width: calc(100vw - 60px);
        height: 60vh;
        margin-top: 60px;
    }

    .main-cont {
        margin-top: 60px;
    }

    .main-cont p {
        font-size: 1.2rem;
        padding: 0 10px;
    }

    .main-icons {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 12px;
        padding: 0 10px;
    }

    .icons {
        width: 20vw;
        height: 10vh;
    }

    .icons img {
        width: 70px;
    }

    .rightnav {
        gap: 10px;
    }

    .signin,
    .download {
        padding: 6px 12px;
        font-size: 12px;
    }

    .main-img1,
    .main-img2,
    .main-img3 {
        width: calc(100vw - 60px);
        margin-top: 2.5rem;
        gap: 2rem;
        padding: 1.5rem 0;
    }

    .img1-cont h3,
    .img2-cont h3,
    .img3-cont h3 {
        font-size: 1.8rem;
    }

    .img1-cont p,
    .img2-cont p,
    .img3-cont p {
        font-size: 1.1rem;
    }

    .img1-cont a,
    .img2-cont a,
    .img3-cont a {
        font-size: 0.95rem;
    }

    .cursor-testimonials__quote {
        font-size: 13px;
        margin-bottom: 20px;
        position: relative;
        padding-left: 20px;
    }

    .cursor-testimonials__tweet {
        grid-column: span 1;
    }

    /* Features Responsive */
    .features-row {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        max-width: 100%;
        width: 100%;
    }

    .features-header h2 {
        font-size: 2.2rem;
    }

    /* Mobile Navigation */
    .centernav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--backgroundColor);
        padding: 20px;
        gap: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .centernav.active li {
        text-align: center;
        padding: 10px 0;
    }

    .centernav.active a {
        font-size: 16px;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    body {
        padding: 0 15px 0 15px;
    }

    .logo p {
        font-size: 14px;
    }

    .centernav {
        display: none;
    }

    .manu {
        display: flex;
    }

    .logo svg {
        width: 24px;
        height: 24px;
    }

    .for-desk {
        display: none;
    }

    .for-mobile {
        display: flex;
    }

    .head-cont {
        margin-top: 5rem;
        width: 100%;
    }

    .head-cont p {
        font-size: 1.3rem;
    }

    .download-for-windows {
        width: 180px;
        height: 40px;
    }

    .download-for-windows a {
        font-size: 0.9rem;
    }

    .hero-section {
        height: 50vh;
        width: calc(100vw - 30px);
    }

    .main-cont {
        margin-top: 40px;
    }

    .main-cont p {
        font-size: 1.1rem;
        padding: 0 5px;
    }

    .main-icons {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 10px;
        padding: 0 5px;
    }

    .icons {
        width: 20vw;
        height: 8vh;
    }

    .icons img {
        width: 50px;
    }

    .signin {
        display: none;
    }

    .main-img1 img,
    .main-img2 img,
    .main-img3 img {
        height: 50vh;
    }

    .main-img1,
    .main-img2,
    .main-img3 {
        width: calc(100vw - 30px);
        margin-top: 2rem;
        gap: 1.5rem;
        padding: 1rem 0;
    }

    .main-img1 .img1-cont,
    .main-img2 .img2-cont,
    .main-img3 .img3-cont {
        padding: 0 1rem;
    }

    .img1-cont h3,
    .img2-cont h3,
    .img3-cont h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .img1-cont p,
    .img2-cont p,
    .img3-cont p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .img1-cont a,
    .img2-cont a,
    .img3-cont a {
        font-size: 0.9rem;
    }

    .cursor-testimonials__quote {
        font-size: 12px;
        margin-bottom: 20px;
        position: relative;
        padding-left: 20px;
    }

    .cursor-testimonials__name {
        font-size: 15px;
    }

    /* Features Mobile */
    .cursor-features {
        padding: 40px 15px;
    }

    .features-header h2 {
        font-size: 1.8rem;
    }

    .features-header p {
        font-size: 1rem;
    }

    .card-content {
        padding: 20px;
    }

    /* Changelog Mobile */
    .changelog-grid {
        grid-template-columns: 1fr;
    }

    .cursor-cta h3 {
        font-size: 1.4rem;
    }

    /* Footer Mobile */
    .cta-now {
        padding: 60px 16px;
    }

    .cta-now h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {

    .img1-cont h3,
    .img2-cont h3,
    .img3-cont h3 {
        font-size: 1rem;
    }

    .img1-cont p,
    .img2-cont p,
    .img3-cont p {
        font-size: 0.9rem;
    }

    .img1-cont a,
    .img2-cont a,
    .img3-cont a {
        font-size: 0.85rem;
    }

    .cursor-testimonials__quote {
        font-size: 11px;
        margin-bottom: 20px;
        position: relative;
        padding-left: 20px;
    }

    .cursor-testimonials__name {
        font-size: 13px;
    }
}

/* Special cases */
@media (max-width: 768px) {
    .centernav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--backgroundColor);
        padding: 20px;
        gap: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .centernav.active li {
        text-align: center;
        padding: 10px 0;
    }

    .centernav.active a {
        font-size: 16px;
    }
}

@media (max-width: 655px) {
    .for-mobile {
        display: flex;
    }

    .for-desk {
        display: none;
    }
}

@media (max-width: 900px) {
    .cta-now h2 {
        font-size: 36px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}