body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Top bar styles */
.top {
    position: relative;  /* Change from sticky to relative */
    width: 100%;
    height: 45px;
    z-index: 1000;
    box-sizing: border-box;
}

/* Navbar Styles */
.navbar {
    position: sticky;
    top: 0;           /* Change from 45px to 0 */
    width: 100%;
    height: 70px;
    background: linear-gradient(to right, #2c3e50, #3498db);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 999; /* Lower than top bar */
    box-sizing: border-box;
    transition: all 0.3s ease; /* Smooth transition when sticking */
}

/* Ensure top bar stays above navbar */
.top {
    top: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

.navbar .navbar {
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-left img.logo {
    height: 40px;
    margin-right: 20px;
}

.navbar-middle ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-middle a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
    white-space: nowrap;
}

.navbar-middle a:hover {
    color: #ecf0f1;
    transform: translateY(-1px);
}

.navbar-middle .dropdown {
    position: relative;
}

.navbar-middle .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 8px 0;
    z-index: 1000;
}

.navbar-middle .dropdown:hover .dropdown-content {
    display: block;
}

.navbar-middle .dropdown-content li {
    display: block;
}

.navbar-middle .dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
}

.navbar-middle .dropdown-content a:hover {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.navbar-right ul {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-right button.night-mode {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 8px;
    transition: all 0.3s ease;
}

.navbar-right button.night-mode:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.navbar-right a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-right a:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    transform: translateY(-1px);
}

.fa-chevron-down {
    font-size: 0.8rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

/* Ensure content flows under sticky navbar */
main {
    margin-top: 0;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section Styles */
.hero-section {
    margin-top: -70px; /* Negative margin to pull content up */
    padding-top: 150px; /* Increased padding to account for navbar height */
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;  /* Center all text content */
}

.hero-area {
    padding: 60px 0;
}

.hero-text {
    max-width: 800px;  /* Limit text width for better readability */
    margin: 0 auto;    /* Center the text container */
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
}

.highlight {
    color: #ecf0f1;
    position: relative;
    padding: 0 10px;
}

.price-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
    color: #ecf0f1;
}

.hero-btns {
    margin-top: 40px;
    display: flex;          /* Use flexbox for button alignment */
    justify-content: center; /* Center the buttons */
    gap: 20px;             /* Space between buttons if you have multiple */
}

.btn-primary {
    background: #fff;
    color: #2c3e50;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
}

.btn-secondary:hover {
    background: #fff;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-tertiary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
}

.btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Update the hero image container to maintain center alignment */
.hero-image {
    margin-top: 40px;     /* Add space between text and image */
    text-align: center;   /* Center the image */
}

.hero-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.features-area {
    background: #f8f9fa;
    padding: 60px 20px; /* Add horizontal padding */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -100px;
    max-width: 1200px; /* Add max-width */
    margin-left: auto; /* Center the grid */
    margin-right: auto; /* Center the grid */
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-header i {
    font-size: 24px;
    color: #3498db;
    margin-right: 15px;
}

.feature-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #666
}

.feature-card p {
    color: #666;
    margin: 0;
}

/* Service Logos Section */
.service-logos {
    background: #fff;
    padding: 60px 0;
    margin-top: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.service-logos .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-logos__list ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.service-logos__list li {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-logos__list img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.service-logos__list li:hover {
    transform: translateY(-5px);
}

.service-logos__list li:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Best Hosting Provider Section */
.the-best-hosting-provider {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.money-back-area {
    background: #fff;
    padding: 50px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.money-back-area h3 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.money-back-area p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.money-back_ft-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    flex-wrap: wrap;
}

.money-back_ft-list li {
    display: flex;
    align-items: center;
    color: #2c3e50;
    font-size: 1rem;
}

.money-back_ft-list i {
    color: #3498db;
    font-size: 1.2rem;
    margin-right: 10px;
}

.money-back_ft-list span {
    font-weight: 500;
}

/* Migration Section */
.migrate-hosting {
    background: linear-gradient(to right, #2c3e50, #3498db);
    padding: 80px 0;
    position: relative;
    z-index: 1;
    margin-top: 60px;
    color: #fff;
}

.migrate-hosting .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.migrate-hosting .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.migrate-content {
    max-width: 540px;
}

.migrate-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.migrate-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.migrate-btns {
    display: flex;
    gap: 20px;
}

.migrate-btns .template-btn {
    padding: 12px 30px;
    background: #fff;
    color: #2c3e50;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.migrate-btns .template-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #ecf0f1;
}

.migrate-feature-img {
    text-align: center;
}

.migrate-feature-img img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.migrate-feature-img:hover img {
    transform: translateY(-10px);
}

/* Discord Feature Section */
.feature-area {
    padding: 80px 0 60px;
    background: #fff;
}

.feature-area .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-area .row {
    display: flex;
    flex-direction: row-reverse; /* Reverse the order of elements */
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.feature-left {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-left img {
    max-width: 60%; /* Reduced from 80% to make image smaller */
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.feature-left h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: -100px;
    margin-bottom: 30px;
    text-align: center;
}

.feature-left img {
    max-width: 60%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature-left img:hover {
    transform: translateY(-5px);
}

.feature-right {
    flex: 0 0 55%; /* Control width of the content */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Reduced gap between feature items */
}

.feature-item {
    background: #fff;
    padding: 20px; /* Reduced padding */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.promo-top i {
    color: #3498db;
    font-size: 1.5rem;
    width: 45px; /* Smaller icon container */
    height: 45px; /* Smaller icon container */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover .promo-top i {
    color: #fff;
    background: #3498db;
    transform: scale(1.1);
}

.promo-right h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.promo-right p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.feature-bottom {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.feature-bottom i {
    color: #3498db;
    transition: transform 0.3s ease;
}

.feature-bottom:hover i {
    transform: translateX(10px);
}

.feature-bottom .template-btn {
    padding: 12px 30px;
    background: #3498db;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-bottom .template-btn:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background: #fff;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.02) 0%, rgba(52, 152, 219, 0.02) 100%);
}

.bz-container-lg {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.testimonials .row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.testimonials__left {
    position: relative;
    z-index: 2;
    padding-right: 20px;
}

.testimonials__left h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.testimonials__left p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 95%;
}

.arrow-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.arrow-link:hover {
    color: #2980b9;
    transform: translateX(5px);
}

.testimonials__right {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 30px;
    height: 400px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.trustpilot-widget {
    width: 100% !important;
    height: 340px !important;
    min-height: 340px;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .testimonials .row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonials__left {
        text-align: center;
        padding-right: 0;
    }

    .testimonials__left p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .arrow-link {
        justify-content: center;
    }

    .testimonials__right {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 40px 0;
    }

    .testimonials__left h2 {
        font-size: 1.8rem;
    }

    .testimonials__right {
        height: 300px;
    }
}

@media (max-width: 1200px) {
    .testimonials__left h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .testimonials {
        padding: 80px 0;
    }

    .testimonials .row {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .testimonials__left {
        text-align: center;
    }

    .testimonials__left h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonials__left p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .testimonials__right {
        height: 500px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .testimonials {
        padding: 60px 0;
    }

    .testimonials__left h2 {
        font-size: 2rem;
    }

    .testimonials__right {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .feature-area {
        padding: 80px 0 60px;
    }

    .feature-left h2 {
        font-size: 2rem;
        text-align: center;
    }

    .feature-left img {
        margin-bottom: 40px;
    }

    .feature-right {
        gap: 20px;
    }

    .feature-area .row {
        flex-direction: column-reverse;
    }

    .feature-left, 
    .feature-right {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .feature-area {
        padding: 60px 0 40px;
    }

    .feature-left h2 {
        font-size: 1.75rem;
    }

    .feature-item {
        padding: 20px;
    }

    .promo-top i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .promo-right h4 {
        font-size: 1.1rem;
    }

    .feature-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .feature-bottom .template-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .migrate-hosting {
        padding: 60px 0;
    }

    .migrate-content h2 {
        font-size: 2rem;
    }

    .row {
        flex-direction: column-reverse;
    }

    .migrate-feature-img {
        margin-bottom: 40px;
    }

    .migrate-content {
        text-align: center;
        max-width: 100%;
    }

    .migrate-btns {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .migrate-hosting {
        padding: 40px 0;
    }

    .migrate-content h2 {
        font-size: 1.75rem;
    }

    .migrate-btns {
        flex-direction: column;
        align-items: center;
        width: 90%;
        margin: 0 auto;
    }

    .migrate-btns .template-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .service-logos {
        padding: 40px 0;
    }

    .service-logos__list ul {
        justify-content: center;
        gap: 30px;
    }

    .service-logos__list li {
        flex: 0 1 calc(33.333% - 20px);
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .service-logos__list li {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text {
        padding: 0 20px; /* Add some padding on smaller screens */
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        margin-top: -50px;
    }

    .money-back-area {
        padding: 40px 20px;
    }

    .money-back-area h3 {
        font-size: 1.75rem;
    }

    .money-back_ft-list {
        flex-direction: column;
        gap: 20px;
    }

    .money-back_ft-list li {
        justify-content: center;
    }
}

/* Position hamburger menu to the right of the logo but still on left side of screen */
@media screen and (max-width: 1080px) {
    .navbar {
        justify-content: flex-start;
    }
    
    .navbar-left {
        order: -1; /* Ensure logo comes first */
        margin-right: 0;
    }
    
    .hamburger-menu {
        order: 0; /* Place after logo */
        margin-left: 15px; /* Space between logo and hamburger */
        margin-right: auto; /* Push everything else to the right */
    }
    
    .navbar-right {
        margin-left: 0;
    }
}

/* Add after your existing navbar styles */
.hamburger-menu {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border: none;
    background: none;
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    opacity: 0.8;
}

.hamburger-menu i {
    transition: transform 0.3s ease;
}

.hamburger-menu.active i {
    transform: rotate(95deg);
}

.hamburger-menu.active i::before {
    content: '\f00d'; /* FontAwesome X icon */
    font-family: 'Font Awesome 6 Free';
}

/* Update your media queries */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }

    .navbar-middle {
        display: none;
        position: absolute;
        top: 70px; /* Match your navbar height */
        left: 0;
        width: 100%;
        background: linear-gradient(to right, #2c3e50, #3498db);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .navbar-middle.active {
        display: block;
    }

    .navbar-middle ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .navbar-middle ul li {
        width: 100%;
    }

    .navbar-middle a {
        padding: 15px 20px;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar-middle .dropdown-content {
        position: static;
        background: rgba(0,0,0,0.1);
        box-shadow: none;
        display: none;
    }

    .navbar-middle .dropdown.active .dropdown-content {
        display: block;
    }

    .hamburger-menu {
        display: block;
    }

    .navbar-right {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .feature-area {
        padding: 60px 0 40px;
    }

    .feature-area .row {
        flex-direction: column;
    }

    .feature-left {
        order: -1; /* Moves h2 to top */
        margin-bottom: 30px;
    }

    .feature-left h2 {
        font-size: 1.75rem;
        margin-top: 0; /* Reset margin */
        text-align: center;
        margin-bottom: 40px;
    }

    .feature-bottom {
        flex-direction: column;
        align-items: center;
        width: 90%;
        margin: 30px auto 0;
    }

    .feature-bottom i {
        transform: rotate(90deg); /* Makes arrow point down */
        margin-bottom: 15px;
        transition: transform 0.3s ease;
    }

    .feature-bottom:hover i {
        transform: rotate(90deg) translateX(5px); /* Moves arrow down on hover */
    }

    .feature-bottom .template-btn {
        width: 100%;
        text-align: center;
    }
}

/* Night Mode Styles */
.dark-mode {
    background-color: #1a1a1a;
    color: #fff;
}

/* Navigation & Footer */
.dark-mode .navbar,
.dark-mode .footer,
.dark-mode .migrate-hosting {
    background: linear-gradient(to right, #1a1a1a, #2c3e50);
}

/* All white background sections */
.dark-mode .feature-card,
.dark-mode .feature-item,
.dark-mode .testimonials__right,
.dark-mode .service-logos,
.dark-mode .money-back-area,
.dark-mode .feature-area,
.dark-mode .testimonials,
.dark-mode .testimonials::before {
    background: #2c3e50;
    color: #fff;
}

/* Text colors */
.dark-mode .feature-card p,
.dark-mode .feature-item p,
.dark-mode .testimonials__left p,
.dark-mode .money-back-area p,
.dark-mode .promo-right p {
    color: #ecf0f1;
}

/* Headings */
.dark-mode h2,
.dark-mode h3,
.dark-mode h4,
.dark-mode .feature-header h3,
.dark-mode .promo-right h4 {
    color: #fff;
}

/* Cards and shadows */
.dark-mode .feature-card,
.dark-mode .feature-item,
.dark-mode .testimonials__right,
.dark-mode .money-back-area {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Service logos */
.dark-mode .service-logos__list img {
    filter: brightness(0) invert(1) opacity(0.7);
}

.dark-mode .service-logos__list li:hover img {
    filter: brightness(0) invert(1) opacity(1);
}

/* Links and buttons */
.dark-mode .arrow-link {
    color: #3498db;
}

.dark-mode .arrow-link:hover {
    color: #2980b9;
}

/* Icon backgrounds */
.dark-mode .promo-top i {
    background: rgba(52, 152, 219, 0.2);
}

.dark-mode .feature-item:hover .promo-top i {
    background: #3498db;
}

/* Dropdown menus */
.dark-mode .navbar-middle .dropdown-content {
    background: #2c3e50;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.dark-mode .navbar-middle .dropdown-content a {
    color: #fff;
}

.dark-mode .navbar-middle .dropdown-content a:hover {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

/* Add these to your existing dark mode styles */

/* Hero Section */
.dark-mode .hero-section {
    background: linear-gradient(to right, #1a1a1a, #2c3e50);
}

/* Best Hosting Provider Section */
.dark-mode .money-back_ft-list span {
    color: #ecf0f1;
}

/* Feature Cards Description */
.dark-mode .feature-card p,
.dark-mode .feature-header h3,
.dark-mode .feature-card .feature-description {
    color: #ecf0f1;
}

/* Additional background fixes */
.dark-mode .features-area {
    background: #1a1a1a;
}

/* Additional text color fixes */
.dark-mode .money-back_ft-list li {
    color: #ecf0f1;
}

.night-mode {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.night-mode:hover {
    transform: scale(1.1);
}

@media screen and (min-width: 700px) and (max-width: 1080px) {
    /* Hero section adjustments */
    .hero-text h1 {
        font-size: 2.8rem;
    }

    /* Features grid adjustments */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: -70px;
    }

    /* Service logos adjustments */
    .service-logos__list li {
        min-width: 130px;
        max-width: 180px;
    }

    /* Best hosting provider section */
    .money-back-area {
        padding: 45px 25px;
    }

    .money-back_ft-list {
        gap: 25px;
    }

    /* Migration section */
    .migrate-content h2 {
        font-size: 2.2rem;
    }

    /* Feature area adjustments */
    .feature-left img {
        max-width: 70%;
    }

    .feature-left h2 {
        font-size: 2.2rem;
        margin-top: -80px;
    }

    /* Testimonials adjustments */
    .testimonials .row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonials__right {
        height: 380px;
    }

    /* Navigation adjustments */
    .navbar-middle a {
        font-size: 0.9rem;
        padding: 8px 10px;
    }

    .navbar-right a {
        padding: 8px 14px;
    }
}

@media screen and (min-width: 700px) and (max-width: 1080px) {
    /* Container adjustments */
    .container {
        padding: 0 20px;
        width: 100%;
    }

    /* Hero section adjustments */
    .hero-text h1 {
        font-size: 2.5rem;
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .hero-text p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    /* Features grid adjustments */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-top: -50px;
        padding: 0 20px;
    }

    .feature-card {
        padding: 25px;
    }

    /* Service logos adjustments */
    .service-logos__list {
        padding: 0 20px;
    }

    .service-logos__list ul {
        justify-content: center;
        gap: 30px;
    }

    .service-logos__list li {
        min-width: 120px;
        max-width: 160px;
    }

    /* Best hosting provider section */
    .money-back-area {
        padding: 40px 25px;
        margin: 30px 20px;
    }

    .money-back_ft-list {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .money-back_ft-list li {
        flex-basis: calc(50% - 20px);
    }

    /* Migration section */
    .migrate-content h2 {
        font-size: 2rem;
    }

    .migrate-content p {
        font-size: 1rem;
    }

    /* Feature area adjustments */
    .feature-left img {
        max-width: 60%;
    }

    .feature-left h2 {
        font-size: 2rem;
        margin-top: -60px;
        text-align: center;
    }

    .feature-item {
        padding: 20px;
    }

    /* Navigation adjustments */
    .navbar {
        padding: 0 15px;
    }

    .navbar-middle a {
        font-size: 0.9rem;
        padding: 8px 10px;
    }

    .navbar-right a {
        padding: 8px 14px;
        font-size: 0.9rem;
    }

    /* Testimonials adjustments */
    .testimonials {
        padding: 40px 20px;
    }

    .testimonials .row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonials__left h2 {
        font-size: 2rem;
    }

    .testimonials__right {
        height: 350px;
    }

    /* Button adjustments */
    .btn-primary,
    .template-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 770px) and (max-width: 1080px) {
    /* Hero section adjustments */
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text {
        padding: 0 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        margin-top: -50px;
    }

    .money-back-area {
        padding: 40px 20px;
    }

    .money-back-area h3 {
        font-size: 1.75rem;
    }

    .money-back_ft-list {
        flex-direction: column;
        gap: 20px;
    }

    .money-back_ft-list li {
        justify-content: center;
    }

    /* Feature area adjustments */
    .feature-area {
        padding: 60px 0 40px;
    }

    .feature-area .row {
        flex-direction: column;
    }

    .feature-left {
        order: -1;
        margin-bottom: 30px;
    }

    .feature-left h2 {
        font-size: 1.75rem;
        margin-top: 0;
        text-align: center;
        margin-bottom: 40px;
    }

    .feature-bottom {
        flex-direction: column;
        align-items: center;
        width: 90%;
        margin: 30px auto 0;
    }

    .feature-bottom i {
        transform: rotate(90deg);
        margin-bottom: 15px;
    }

    .feature-bottom:hover i {
        transform: rotate(90deg) translateX(5px);
    }

    .feature-bottom .template-btn {
        width: auto;
        min-width: 200px;
        max-width: 300px;
    }

    /* Testimonials adjustments */
    .testimonials {
        padding: 40px 0;
    }

    .testimonials__left h2 {
        font-size: 1.8rem;
    }

    .testimonials__right {
        height: 300px;
    }

    /* Navigation adjustments */
    .navbar-middle a {
        font-size: 0.9rem;
        padding: 8px 10px;
    }

    .navbar-right a {
        padding: 8px 14px;
    }

    /* Service logos adjustments */
    .service-logos {
        padding: 40px 0;
    }

    .service-logos__list ul {
        justify-content: center;
        gap: 30px;
    }

    .service-logos__list li {
        flex: 0 1 calc(33.333% - 20px);
        min-width: 120px;
    }

    /* Migration section */
    .migrate-hosting {
        padding: 40px 0;
    }

    .migrate-content h2 {
        font-size: 1.75rem;
    }

    .migrate-btns {
        flex-direction: column;
        align-items: center;
        width: 90%;
        margin: 0 auto;
    }

    .migrate-btns .template-btn {
        width: 100%;
        text-align: center;
    }
}

@media screen and (min-width: 770px) and (max-width: 1080px) {
    .migrate-btns {
        flex-direction: column;
        align-items: center;
        width: 60%; /* Reduced from 90% to match community button width */
        margin: 0 auto;
    }

    .migrate-btns .template-btn {
        width: 100%;
        text-align: center;
        max-width: 300px; /* Add max-width to prevent button from being too wide */
    }

    .feature-bottom .template-btn {
        width: auto; /* Match the width of community button */
        min-width: 200px;
        max-width: 300px;
    }
}

@media screen and (min-width: 770px) and (max-width: 1080px) {
    .migrate-btns {
        flex-direction: column;
        align-items: center;
        margin: 0 auto;
    }

    .migrate-btns .template-btn {
        width: auto; /* Changed from 100% */
        text-align: center;
        padding: 12px 30px;
        display: inline-block;
        min-width: 200px; /* Set minimum width */
        max-width: 300px; /* Set maximum width */
    }

    .feature-bottom .template-btn {
        width: auto; /* Match the width of community button */
        min-width: 200px;
        max-width: 300px;
    }
}

/* Desktop First Media Queries - Ordered from largest to smallest */

/* Large screens (992px - 1200px) */
@media (max-width: 1200px) {
    .testimonials__left h2 {
        font-size: 2.5rem;
    }
}

/* Tablets & Small Desktop (770px - 1080px) */
@media screen and (min-width: 770px) and (max-width: 1080px) {
    /* Hero Section */
    .hero-text {
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        margin-top: -50px;
    }

    .feature-card {
        padding: 25px;
    }

    /* Service Logos */
    .service-logos {
        padding: 40px 0;
    }

    .service-logos__list ul {
        justify-content: center;
        gap: 30px;
    }

    .service-logos__list li {
        flex: 0 1 calc(33.333% - 20px);
        min-width: 120px;
        max-width: 160px;
    }

    /* Best hosting provider */
    .money-back-area {
        padding: 40px 20px;
    }

    .money-back_area h3 {
        font-size: 1.75rem;
    }

    .money-back_ft-list {
        flex-direction: column;
        gap: 20px;
    }

    /* Migration section */
    .migrate-content h2 {
        font-size: 1.75rem;
    }

    /* Feature area adjustments */
    .feature-left img {
        max-width: 60%;
    }

    .feature-left h2 {
        font-size: 2rem;
        margin-top: -60px;
        text-align: center;
    }

    .feature-item {
        padding: 20px;
    }

    /* Navigation adjustments */
    .navbar {
        padding: 0 15px;
    }

    .navbar-middle a {
        font-size: 0.9rem;
        padding: 8px 10px;
    }

    .navbar-right a {
        padding: 8px 14px;
        font-size: 0.9rem;
    }

    /* Testimonials adjustments */
    .testimonials {
        padding: 40px 20px;
    }

    .testimonials .row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonials__left h2 {
        font-size: 2rem;
    }

    .testimonials__right {
        height: 350px;
    }

    /* Buttons */
    .btn-primary,
    .template-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

/* Mobile Devices (up to 768px) */
@media screen and (max-width: 768px) {
    /* Navigation */
    .navbar {
        padding: 0 15px;
        height: 60px;
    }

    .navbar-left img.logo {
        height: 35px;
    }

    /* Hero Section */
    .hero-section {
        margin-top: -60px;
        padding-top: 100px;
    }

    .hero-text h1 {
        font-size: 2rem;
        padding: 0 15px;
    }

    .hero-text p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    /* Fix for the hero "View Plans" button overflowing on mobile */
    .hero-btns {
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .hero-btns .btn-primary {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
        display: block;
    }
    
    /* Ensure hero text section properly contains the button */
    .hero-text {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
        max-width: 100%;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: -30px;
        padding: 0 15px;
    }

    /* Service Logos */
    .service-logos {
        padding: 30px 15px;
    }

    .service-logos__list ul {
        gap: 20px;
    }

    .service-logos__list li {
        flex: 0 1 calc(50% - 10px);
        min-width: 120px;
    }

    /* Best Hosting Provider */
    .money-back-area {
        padding: 30px 15px;
        margin: 20px 15px;
    }

    .money-back-area h3 {
        font-size: 1.5rem;
    }

    .money-back_ft-list {
        flex-direction: column;
        gap: 15px;
    }

    /* Migration Section */
    .migrate-hosting {
        padding: 40px 15px;
    }

    .migrate-content h2 {
        font-size: 1.5rem;
    }

    .migrate-btns {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .migrate-btns .template-btn {
        width: 100%;
        text-align: center;
    }

    /* Feature Area */
    .feature-area {
        padding: 40px 15px;
    }

    .feature-left h2 {
        font-size: 1.5rem;
        margin: 0 0 20px 0;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-bottom {
        flex-direction: column;
        gap: 15px;
    }

    /* Testimonials */
    .testimonials {
        padding: 40px 15px;
    }

    .testimonials__left h2 {
        font-size: 1.5rem;
    }

    .testimonials__right {
        height: 300px;
        padding: 15px;
    }

    /* Buttons */
    .btn-primary,
    .template-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Mobile Navigation (up to 1080px) */
@media screen and (max-width: 1080px) {
    .hamburger-menu {
        display: block;
    }

    .navbar-middle {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: linear-gradient(to right, #2c3e50, #3498db);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .navbar-middle.active {
        display: block;
    }

    .navbar-middle ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .navbar-middle ul li {
        width: 100%;
    }

    .navbar-middle a {
        padding: 12px 20px;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar-middle .dropdown-content {
        position: static;
        background: rgba(0,0,0,0.1);
        box-shadow: none;
        display: none;
        padding: 0;
    }

    .navbar-middle .dropdown.active .dropdown-content {
        display: block;
    }
}

/* Make dropdown options white in mobile navigation */
@media screen and (max-width: 1080px) {
    /* Existing mobile navigation styles */
    
    /* Change dropdown text color to white */
    .navbar-middle .dropdown-content {
        position: static;
        background: rgba(0,0,0,0.1);
        box-shadow: none;
        display: none;
        padding: 0;
    }
    
    .navbar-middle .dropdown-content a {
        color: white !important; /* Force white color for dropdown links */
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-left: 30px; /* Add indent for better hierarchy */
    }
    
    .navbar-middle .dropdown-content a:hover {
        background: rgba(255,255,255,0.1);
        color: white !important; /* Keep text white on hover */
    }
}