/* ===================================
   Responsive Design - Tablet & Mobile
   =================================== */

/* Tablet Landscape (1024px and below) */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-content {
        gap: 40px;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .concept-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .process-steps {
        flex-wrap: wrap;
    }

    .step-arrow {
        display: none;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .department-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Tablet Portrait (768px and below) */
@media screen and (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }
    h4 { font-size: 1.3rem; }

    /* Page Header */
    .page-header {
        padding: 120px 0 80px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    /* Quick Info */
    .quick-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Vision Stats */
    .vision-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        margin-bottom: 10px;
    }

    .nav-link {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Hero Section */
    .hero {
        height: 90vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vision-mission {
        padding: 30px 25px;
    }

    /* CEO Section */
    .ceo-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ceo-profile {
        padding: 30px 25px;
    }

    .ceo-career {
        padding: 30px 25px;
    }

    /* Business Section */
    .business-hero {
        padding: 30px 25px;
    }

    .business-hero h3 {
        font-size: 2rem;
    }

    .business-tagline {
        font-size: 1.1rem;
    }

    .ekart-info {
        flex-direction: column;
        padding: 20px 30px;
        gap: 15px;
    }

    .ekart-text {
        text-align: center;
    }

    .concept-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Factory Section */
    .factory-highlight {
        padding: 40px 25px;
    }

    .factory-highlight h3 {
        font-size: 2rem;
    }

    .process-steps {
        flex-direction: column;
        gap: 30px;
    }

    .step {
        width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Organization Section */
    .org-chart {
        padding: 30px 20px;
    }

    .org-level {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .org-box {
        width: 100%;
        max-width: 350px;
    }

    .department-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 30px 25px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Mobile (480px and below) */
@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.2rem; }

    /* Navigation */
    .logo {
        font-size: 1.5rem;
    }

    .navbar {
        padding: 15px 0;
    }

    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
        padding: 30px 15px;
    }

    /* Hero Section */
    .hero {
        height: 85vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    /* About Section */
    .info-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .info-item i {
        font-size: 2rem;
    }

    .vision-mission {
        padding: 25px 20px;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .icon-wrapper i {
        font-size: 2rem;
    }

    .vision-box h3 {
        font-size: 1.6rem;
    }

    .vision-list li {
        font-size: 0.95rem;
    }

    .value-card {
        padding: 30px 20px;
    }

    .value-icon {
        width: 70px;
        height: 70px;
    }

    .value-icon i {
        font-size: 1.8rem;
    }

    /* CEO Section */
    .ceo-profile {
        padding: 25px 20px;
    }

    .image-placeholder {
        width: 150px;
        height: 150px;
    }

    .image-placeholder i {
        font-size: 4rem;
    }

    .ceo-info h3 {
        font-size: 1.6rem;
    }

    .ceo-career {
        padding: 25px 20px;
    }

    .career-timeline {
        padding-left: 25px;
    }

    .timeline-dot {
        left: -29px;
        width: 12px;
        height: 12px;
    }

    .timeline-content p {
        font-size: 0.95rem;
    }

    /* Business Section */
    .business-hero {
        padding: 25px 20px;
    }

    .business-hero h3 {
        font-size: 1.6rem;
    }

    .business-tagline {
        font-size: 1rem;
    }

    .ekart-icon {
        width: 50px;
        height: 50px;
    }

    .ekart-icon i {
        font-size: 1.5rem;
    }

    .ekart-text h4 {
        font-size: 1.3rem;
    }

    .ekart-text p {
        font-size: 0.95rem;
    }

    .concept-card {
        padding: 30px 20px;
    }

    .concept-icon {
        width: 70px;
        height: 70px;
    }

    .concept-icon i {
        font-size: 1.8rem;
    }

    .facility-item {
        padding: 25px 20px;
    }

    .facility-icon {
        width: 50px;
        height: 50px;
    }

    .facility-icon i {
        font-size: 1.3rem;
    }

    /* Factory Section */
    .factory-highlight {
        padding: 30px 20px;
    }

    .highlight-icon {
        width: 80px;
        height: 80px;
    }

    .highlight-icon i {
        font-size: 2.5rem;
    }

    .factory-highlight h3 {
        font-size: 1.8rem;
    }

    .factory-highlight p {
        font-size: 1rem;
    }

    .step {
        padding: 25px 15px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
    }

    .step-icon i {
        font-size: 1.8rem;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.6rem;
    }

    /* Organization Section */
    .org-chart {
        padding: 25px 15px;
    }

    .org-box {
        padding: 25px 20px;
        min-width: auto;
    }

    .org-icon {
        width: 50px;
        height: 50px;
    }

    .org-icon i {
        font-size: 1.5rem;
    }

    .org-box h4 {
        font-size: 1.1rem;
    }

    .org-teams li {
        font-size: 0.9rem;
    }

    .dept-header {
        padding: 25px 20px;
    }

    .dept-icon {
        width: 60px;
        height: 60px;
    }

    .dept-icon i {
        font-size: 1.8rem;
    }

    .dept-header h5 {
        font-size: 1.2rem;
    }

    .dept-list {
        padding: 25px 20px;
    }

    .dept-list li {
        font-size: 0.95rem;
    }

    /* Contact Section */
    .contact-card {
        padding: 25px 20px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-icon i {
        font-size: 1.3rem;
    }

    .contact-card h4 {
        font-size: 1.2rem;
    }

    .contact-card p {
        font-size: 0.95rem;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    .contact-form-wrapper h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer {
        padding: 40px 0 25px;
    }

    .footer-content {
        gap: 25px;
        margin-bottom: 25px;
    }

    .footer-logo h3 {
        font-size: 1.6rem;
    }

    .footer-logo p {
        font-size: 1rem;
    }

    .footer-info p {
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 25px;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }

    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Extra Small Mobile (360px and below) */
@media screen and (max-width: 360px) {
    html {
        font-size: 13px;
    }

    .section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .value-card,
    .concept-card,
    .feature-card {
        padding: 25px 15px;
    }

    .contact-form-wrapper,
    .ceo-career,
    .ceo-profile {
        padding: 20px 15px;
    }
}

/* Landscape Mobile (568px height and below) */
@media screen and (max-height: 568px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .scroll-indicator {
        display: none;
    }

    .section {
        padding: 60px 0;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .menu-toggle,
    .scroll-top,
    .hero-buttons,
    .scroll-indicator,
    .contact-form-wrapper {
        display: none !important;
    }

    .hero {
        height: auto;
        padding: 50px 0;
    }

    .section {
        padding: 40px 0;
        page-break-inside: avoid;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}