/* Responsive Styles for Diteck Website */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1200px) {
    .navbar-container {
        flex-wrap: wrap;
    }
    
    .navbar {
        position: relative;
        left: auto;
        transform: none;
        margin: 1rem 0;
        width: 100%;
        order: 3;
    }
    
    .logo {
        order: 1;
    }
    
    .get-in-touch {
        order: 2;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero-content:before {
        width: 350px;
        height: 350px;
        top: -150px;
        right: 25%;
    }
    
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-column:first-child {
        grid-column: span 3;
        margin-bottom: 2rem;
    }

    .footer-column:nth-child(4), .footer-column:nth-child(5) {
        margin-top: 1.5rem;
    }

    .footer-logo {
        margin: 0 auto 1.5rem;
    }

    .footer-about {
        text-align: center;
        max-width: 80%;
        margin: 0 auto 1.5rem;
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 992px) {
    .header {
        padding: 15px 1.5rem 0;
    }
    
    .hero {
        padding: 0 1.5rem;
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .about {
        padding: 0 1.5rem;
    }
    
    .about-content h2 {
        font-size: 3rem;
    }
    
    .services {
        padding: 0 1.5rem;
        gap: 1.2rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .cta-card h3 {
        font-size: 1.8rem;
    }
    
    .footer {
        padding: 4rem 1.5rem 1.5rem;
        margin: 4rem 20px 20px;
    }
}

/* Small Devices (Tablets and Large Phones, less than 768px) */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .nav-item-separator {
        display: none;
    }
    
    .nav-links li {
        margin: 0.2rem;
    }
    
    .nav-links a {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
        background-color: rgba(238, 241, 255, 0.5);
        border-radius: 15px;
    }
    
    .get-in-touch {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .team-image {
        width: 100px;
        height: 40px;
		object-fit: cover;
		display: inline-block;
    }
    
    .hero-content:before {
        width: 250px;
        height: 250px;
        top: -100px;
        right: 20%;
    }
    
    .stats {
        bottom: 1rem;
        left: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .stats-text {
        font-size: 1rem;
    }
    
    .avatar {
        width: 25px;
        height: 25px;
    }
    
    .about-content h2 {
        font-size: 2.5rem;
    }
    
    .services {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
    }
    
    .cta-image {
        display: none;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-column:first-child {
        grid-column: span 2;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .footer-social {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
}

/* Extra Small Devices (Phones, less than 576px) */
@media (max-width: 576px) {
    .header {
        padding: 10px 1rem 0;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 16px;
        height: 16px;
    }
    
    .hero {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-content:before {
        display: none;
    }
    
    .about {
        padding: 0 1rem;
        margin: 3rem auto;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .services {
        padding: 0 1rem;
        margin: 0 auto 3rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .cta-tag {
        font-size: 0.7rem;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }
    
    .footer {
        padding: 3rem 1rem 1rem;
        margin: 3rem 15px 15px;
        border-radius: 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    
    .footer-column:first-child {
        grid-column: span 1;
    }
    
    .footer-logo {
        width: 150px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .footer-links-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-links-list li {
        margin-bottom: 0.8rem;
    }
    
    .social-links {
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }
}