/* Enhanced Mobile Responsiveness - Dark Theme with Black Background and White Text */

/* Navigation Media Queries */
@media screen and (max-width: 912px) {
    .topnav a:not(.logo) {display: none;}
    .topnav a.icon {
        float: left;
        display: block;
        display: flex;
        justify-content: flex-end;
    }
    .menu-items{
        display: flex;
        flex-direction: column;
        gap:0.2rem;
    }
    .menu-items{
        display: flex;
        justify-content: flex-end;
    }
}

@media (max-width:768px){
    .topnav {
        margin-left: 1%;
        margin-right: 4%;
    }
}

@media (min-width:900px) and (max-width:975px) {
    .menu-items{
        gap:0.2rem;
    }
}

@media (min-width:913px) and (max-width:1028px) {
    .topnav a{
        font-size: 1rem;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 912px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

/* Enhanced Mobile Layout Consistency - Dark Theme */
@media (max-width: 768px) {
    /* Ensure consistent container spacing */
    main {
        margin-left: 1%;
        margin-right: 1%;
        overflow-x: hidden;
        background: #000000;
        color: #ffffff;
    }
    
    /* Maintain desktop-like hero layout on mobile */
    .hero-container {
        grid-template-columns: 1fr;
        overflow-x: hidden;
        gap: 3rem;
    }
    
    .hero-container > :first-child {
        order: 2;
    }
    
    .hero-container > :last-child {
        order: 1;
    }
    
    /* Enhanced mobile typography to match desktop impact - Dark Theme */
    .main-heading {
        font-size: 3rem;
        line-height: 1.1;
        margin-bottom: 2rem;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .text-description {
        font-size: 1.2rem;
        margin-right: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
    
    .call-to-action {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    /* Client logo section */
    .client {
        margin-left: 8%;
        margin-right: 12%;
        overflow-x: hidden;
    }
}

/* Tablet and Medium Screen Optimizations - Dark Theme */
@media (min-width: 769px) and (max-width: 935px) {
    .image-container {
        margin-top: 2rem;
    }
    
    .main-heading {
        font-size: 3rem;
        line-height: 1.1;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .text-description {
        font-size: 1.1rem;
        margin-right: 1rem;
        line-height: 1.6;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
    
    .call-to-action {
        gap: 1.5rem;
    }
}

@media (min-width: 935px) and (max-width: 1300px) {
    .image-container {
        margin-top: 1rem;
    }
    
    .main-heading {
        font-size: 3.5rem;
        line-height: 1.1;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .text-description {
        font-size: 1.15rem;
        margin-right: 1rem;
        line-height: 1.6;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
    
    .call-to-action {
        gap: 1.5rem;
    }
}

/* Enhanced About Section Mobile Layout - Dark Theme */
@media (max-width: 768px) {
    .about {
        margin-left: 1%;
        margin-right: 1%;
        padding: 5rem 0;
        background: #000000;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        overflow-x: hidden;
        gap: 3rem;
    }
    
    .about-us-items {
        display: flex;
        flex-direction: column;
        margin-top: 0.4rem;
    }
    
    .about-description {
        font-size: 2.5rem;
        margin-top: 0;
        line-height: 1.2;
        margin-bottom: 2rem;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .about-feature {
        margin-top: 0;
    }
    
    .about-feature-items {
        font-size: 1.3rem;
        margin-right: 2%;
        line-height: 1.6;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
}

@media (min-width: 769px) and (max-width: 935px) {
    .about-description {
        font-size: 2rem;
        margin-top: 0;
        line-height: 1.3;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .about-feature {
        margin-top: 0;
    }
    
    .about-feature-items {
        font-size: 1.4rem;
        margin-right: 5%;
        line-height: 1.6;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
    
    .about-img {
        margin-top: 2rem;
    }
    
    .about-main-heading {
        font-size: 1.6rem;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
}

@media (min-width: 935px) and (max-width: 1300px) {
    .about-main-heading {
        font-size: 1.4rem;
        margin-top: 2rem;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .about-description {
        font-size: 2.8rem;
        margin-top: 0;
        line-height: 1.2;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .about-feature {
        margin-top: 0;
    }
    
    .about-feature-items {
        font-size: 1.4rem;
        margin-right: 5%;
        line-height: 1.6;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
}

/* Enhanced Services Section Mobile Layout - Dark Theme */
@media (max-width: 555px) {
    .services-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .services {
        overflow-x: hidden;
        margin: 0 1% 0 1%;
        width: 100%;
        padding: 5rem 0;
        background: #000000;
    }
    
    .services-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-sub-heading {
        font-size: 2.5rem;
        margin-right: 1.2rem;
        line-height: 1.2;
        margin-bottom: 2rem;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .services-heading-detail {
        margin-right: 1rem;
        font-size: 1.2rem;
        line-height: 1.6;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
    
    .services-list {
        align-items: center;
        gap: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 955px) {
    .services-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .services-list {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }
    
    .services-list-items {
        height: 320px;
        width: 350px;
        gap: 0.2rem;
    }
}

@media (min-width: 956px) and (max-width: 1260px) {
    .services-list-items {
        width: 225px;
        height: auto;
    }
    
    .services-heading-detail {
        margin-right: 2rem;
    }
}

@media (min-width: 1261px) and (max-width: 1500px) {
    .services-heading-detail {
        margin-right: 4rem;
    }
}

@media (min-width: 955px) and (max-width: 1080px) {
    .services-list-items {
        width: 195px;
        height: auto;
    }
}

/* Enhanced Choose Us Section Mobile Layout - Dark Theme */
@media (max-width: 768px) {
    .choose-us {
        margin: 0 2% 0 1%;
        padding: 5rem 0;
        background: #000000;
    }
    
    .choose-us-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .choose-us-title {
        font-size: 2.5rem;
        margin-right: 1.2rem;
        line-height: 1.2;
        margin-bottom: 2rem;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .choose-us-description {
        margin-right: 2rem;
        font-size: 1.2rem;
        line-height: 1.6;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
    
    .choose-us-list-div {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        justify-content: center;
        margin-top: 2rem;
    }
    
    .choose-us-items-list {
        display: flex;
        flex-direction: column;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 400;
        justify-content: space-between;
        gap: 1rem;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
    
    .choose-us-text {
        margin-top: 0;
        line-height: 1.6;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
}

@media (max-width: 480px) {
    .choose-us-list-div {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(30%, 40%));
        justify-content: start;
        gap: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1260px) {
    .choose-us-img {
        margin-top: 2rem;
        aspect-ratio: 1/1;
    }
    
    .choose-us-description {
        margin-right: 1rem;
        font-size: 1.1rem;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
}

@media (min-width: 769px) and (max-width: 1050px) {
    .choose-us-items-list {
        font-size: 1.1rem;
        font-weight: 400;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    .choose-us-img {
        margin-top: 2rem;
    }
}

/* Enhanced Growth Section Mobile Layout - Dark Theme */
@media (max-width: 768px) {
    .growth {
        margin: 0 1% 0 1%;
        width: 100%;
        padding: 5rem 0;
        background: #000000;
    }
    
    .growth-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .growth-container > :first-child {
        order: 2;
    }
    
    .growth-container > :last-child {
        order: 1;
    }
    
    .growth-sub-heading {
        font-size: 2.5rem;
        margin-right: 1.2rem;
        line-height: 1.2;
        margin-bottom: 2rem;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .growth-heading-detail {
        margin-right: 1rem;
        font-size: 1.2rem;
        line-height: 1.6;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
    
    .growth-text {
        margin-top: 0;
        line-height: 1.6;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
}

@media (min-width: 769px) and (max-width: 1260px) {
    .growth-heading-detail {
        margin-right: 2rem;
        font-size: 1.1rem;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
    
    .growth-sub-heading {
        font-size: 2.6rem;
        line-height: 1.2;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .growth-img {
        aspect-ratio: 1/1;
        margin-top: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .growth-img {
        aspect-ratio: 3/4;
        margin-top: 2rem;
    }
}

@media (min-width: 1261px) and (max-width: 1500px) {
    .growth-heading-detail {
        margin-right: 4rem;
    }
}

/* Enhanced Feedback Section Mobile Layout - Dark Theme */
@media (max-width: 768px) {
    .feedback {
        overflow-x: hidden;
        margin: 5% 1% 0 1%;
        width: 100%;
        padding: 5rem 0;
        background: #000000;
    }
    
    .feedback-heading {
        margin: 0 0% 0 4%;
        text-align: start;
    }
    
    .feedback-main-heading {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .feedback-sub-heading {
        font-size: 1.2rem;
        margin-right: 2rem;
        line-height: 1.6;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
    
    .feedback-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .client-feedback {
        margin-top: 0;
    }
    
    .feedback-rating-heading {
        margin-right: 3rem;
        font-size: 1.3rem;
        line-height: 1.4;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
    
    .client-name {
        margin-top: 0;
        font-size: 1.1rem;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    .feedback-heading {
        margin: 0 8% 0 8%;
    }
    
    .feedback-text-container {
        margin-top: 0;
    }
    
    .feedback-rating-heading {
        margin-right: 3rem;
        font-size: 1.3rem;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
}

@media (min-width: 1001px) and (max-width: 1360px) {
    .feedback-heading {
        margin: 0 10% 0 10%;
    }
    
    .feedback-text-container {
        margin-top: 0;
    }
    
    .feedback-rating-heading {
        margin-right: 3rem;
        font-size: 1.3rem;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
}

/* Enhanced Newsletter Section Mobile Layout - Dark Theme */
@media (max-width: 768px) {
    .newsletter {
        margin: 2% 4% 0 4%;
        padding: 5rem 0;
        background: #000000;
        border-top: 1px solid #333333;
    }
    
    .newsletter-sub-heading {
        font-size: 2.5rem;
        margin-right: 2%;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        color: #ffffff;
        font-family: 'Georgia', 'Times New Roman', serif;
    }
    
    .newsletter-description {
        margin: 0 6% 0 6%;
        margin-top: 0;
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
    
    .newsletter-form {
        margin-right: 8%;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .newsletter-description {
        margin: 0 10% 0 10%;
        font-size: 1.1rem;
        color: #e0e0e0;
        font-family: 'Arial', sans-serif;
    }
}

/* Enhanced Footer Section Mobile Layout - Dark Theme */
@media (max-width: 450px) {
    .footer-container {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: center;
        gap: 2rem;
    }
    
    .footer {
        overflow-x: hidden;
        margin: 0 1% 0 1%;
        padding: 4rem 0 2.5rem;
        background: #000000;
        border-top: 1px solid #333333;
    }
}

@media (min-width: 450px) and (max-width: 768px) {
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-content: center;
        gap: 2rem;
    }
    
    .footer-icon {
        padding: 0.5rem;
    }
    
    .footer {
        overflow-x: hidden;
        margin: 0 1% 0 1%;
        padding: 4rem 0 2.5rem;
        background: #000000;
        border-top: 1px solid #333333;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    .footer-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
        gap: 2rem;
    }
    
    .footer-icon {
        padding: 0.7rem;
    }
}

@media (min-width: 1001px) and (max-width: 1100px) {
    .footer-icon {
        padding: 0.8rem;
    }
}

@media (max-width: 786px) {
    .footer-underline-menu {
        display: flex;
        flex-direction: column;
        text-align: center;
        margin-right: 1rem;
        gap: 1.5rem;
    }
}
  









  





