/* Mobile Responsive Styles */

/* Tablet and below - 768px */
@media (max-width: 768px) {
    /* Header */
    .main-header {
        height: 80px;
    }
    
    .header-container {
        padding: 0 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .main-nav ul {
        gap: 15px;
    }
    
    .main-nav a {
        font-size: 0.8rem;
    }
    
    /* Hero Section */
    .hero {
        height: calc(100vh - 80px);
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        padding: 0 20px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 2rem;
    }
    
    /* Services */
    .services {
        padding: 60px 15px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid-2 {
        flex-direction: column;
        margin-top: 20px;
    }
    
    .services-grid-2 .service-card {
        max-width: 100%;
        flex: 1;
        width: 100%;
    }
    
    .service-card {
        min-height: auto;
        padding: 20px;
    }
    
    /* Projects */
    .projects {
        padding: 60px 15px;
    }
    
    .projects-grid {
        /* grid-template-columns: 1fr; */
        gap: 20px;
    }
    
    .project-card .project-overlay {
        width: 90%;
        height: 100px;
        bottom:-3px
    }
    
    .project-card .project-overlay span.project-category {
        font-size: 0.9rem;
        top: 20px;
    }
    
    .project-card .project-overlay p.project-description {
        font-size: 0.85rem;
        bottom: 10px;
    }
    
    /* About */
    .about {
        padding: 60px 15px;
    }
    
    .about img {
        height: 100px;
    }
    
    .about-text {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    /* Clients Slider */
    .clients {
        padding: 40px 0;
    }
    
    .clients-track {
        gap: 30px;
    }
    
    .client-item {
        width: 120px;
        height: 80px;
    }
    
    /* Awards */
    .awards {
        padding: 60px 15px;
    }
    
    .awards-flex {
        flex-direction: column;
        gap: 20px;
    }
    
    .award-item img {
        height: auto;
        max-width: 100%;
    }
    
    /* Contact */
    .contact {
        padding: 60px 15px;
    }
    
    .contact-form-container {
        padding: 25px 20px;
    }
    
    .contact-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }
    
    .form-options label {
        font-size: 0.85rem;
    }
    
    .checkbox-label {
        margin-bottom: 12px;
    }
    
    /* Footer */
    .main-footer {
        padding: 40px 15px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-col {
        width: 100%;
    }
    
    .footer-col p {
        justify-content: center;
    }
    
    .social-links {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
    
    /* Project Details Page */
    .project-hero {
        height: 40vh;
        min-height: 300px;
        margin-top: 80px;
    }
    
    .project-hero-image,
    .project-hero-image img {
        border-radius: 0;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .project-hero-overlay {
        padding: 40px 0 30px;
    }
    
    .project-info {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-description h2 {
        font-size: 1.5rem;
    }
    
    .project-description p {
        font-size: 1rem;
    }
    
    .images-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .related-projects .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile - 480px and below */
@media (max-width: 480px) {
    /* Header - Simplified for very small screens */
    .main-header {
        height: 70px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .main-nav ul {
        gap: 10px;
    }
    
    .main-nav a {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
    
    /* Hero */
    .hero {
        height: 200px;
        padding: 0;
        margin-top: 70px !important;
    }
    .hero-video {
        height: 200px;
    }
    .hero-video video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero-title {
        font-size: 1.3rem;
        padding: 0 15px;
    }
    
    /* Section Titles */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Services */
    .services {
        padding: 40px 10px;
    }
    
    .service-card {
        padding: 15px 20px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
    
    /* Projects */
    .projects {
        padding: 40px 10px;
    }
    
    .project-card .project-overlay {
        width: 95%;
        height: 90px;
    }
    
    .project-card .project-overlay span.project-category {
        font-size: 0.75rem;
        top: 15px;
    }
    
    .project-card .project-overlay p.project-description {
        font-size: 0.75rem;
        bottom: 8px;
    }
    
    .view-more-container {
        margin-top: 30px;
    }
    
    .btn-green {
        padding: 10px 30px;
        font-size: 0.8rem;
    }
    
    /* About */
    .about {
        padding: 40px 10px;
    }
    
    .about img {
        height: 80px;
    }
    
    .about-text {
        font-size: 0.9rem;
    }
    
    /* Clients */
    .clients-track {
        gap: 20px;
    }
    
    .client-item {
        width: 100px;
        height: 70px;
    }
    
    /* Awards */
    .awards {
        padding: 40px 10px;
    }
    
    .award-item img {
        width: 280px;
    }
    
    /* Contact */
    .contact {
        padding: 40px 10px;
    }
    
    .contact-form-container {
        padding: 20px 15px;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    #contactForm .form-group input {
        padding: 12px 15px;
        font-size: 13px !important;
    }
    
    .form-options {
        margin: 20px 0;
    }
    
    .checkbox-label {
        font-size: 0.8rem;
    }
    
    .btn-submit {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    /* Footer */
    .main-footer {
        padding: 30px 10px;
        font-size: 0.8rem;
    }
    
    .footer-col img {
        height: 60px;
    }
    
    .social-links a {
        font-size: 1rem;
    }
    
    /* Project Details Page */
    .project-hero {
        height: 35vh;
        min-height: 250px;
        margin-top: 70px;
    }
    
    .project-hero-image,
    .project-hero-image img {
        border-radius: 0;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .project-category-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
    }
    
    .project-date {
        font-size: 0.9rem;
    }
    
    .project-description p {
        font-size: 0.9rem;
    }
    
    .project-specs {
        padding: 20px;
    }
    
    .spec-item i {
        font-size: 1.1rem;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .media-section-title {
        font-size: 1.3rem;
    }
}

/* Landscape mobile devices */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 200px;
        min-height: unset;
        padding: 0px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .project-hero {
        height: 60vh;
    }
}

/* Very small devices - 360px */
@media (max-width: 360px) {
    .main-nav ul {
        gap: 8px;
    }
    
    .main-nav a {
        font-size: 0.65rem;
    }
    
    .hero-title {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
    }
    
    .contact-form-container {
        padding: 15px 10px;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .project-category-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .projects-grid {
        /* grid-template-columns: 1fr; */
    }
    .projects-grid a {
        text-decoration: none;
    }
    .project-mobile-info {
        display:block;
        margin-top: 10px;
    }
    .project-mobile-info h3 {
        color: white;
        text-decoration: none;
        margin: 0;
        font-size: 12px;
    }
    .project-mobile-info span {
        color: var(--accent-purple);
        text-decoration: none;
        font-size: 10px !important;
        font-weight: 500;
        display: block;
    }
    .images-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .videos-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 1rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .hero {
        height: 200px;
        min-height: unset;
        padding: 0px;
    }
    .project-card .project-overlay {
        height: 48px;
        width: 90%;
        display: none;
    }
    .project-card {
        overflow:visible
    }
        .project-card .project-overlay span.project-category {
        font-size: 7px;
        top: 12px;
        width: 100%;
        text-align: center;
        font-weight: bold;
    }
        .project-card .project-overlay p.project-description {
        font-size: 6px;
        bottom: 8px;
    }
    .cornea-loader {
        zoom:0.5
    }
        .awards-flex {
        flex-direction: column;
        gap: 20px;
        flex-direction: row;
        flex-wrap: nowrap;
    }
}