/* Responsive Design */

/* Large Tablets and Small Desktops */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .hero-container {
        gap: 3rem;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    /* Hero Section */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-graphic {
        width: 250px;
        height: 250px;
        font-size: 4rem;
    }
    
    /* Typography */
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    /* About Page */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-graphic {
        width: 200px;
        height: 200px;
        font-size: 3rem;
        margin: 0 auto;
    }
    
    /* Mission & Vision */
    .mv-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Values */
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* Team */
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Services Page */
    .service-content {
        text-align: center;
    }
    
    .service-detail.reverse .service-content {
        direction: ltr;
    }
    
    .service-icon-large {
        margin: 0 auto 2rem;
    }
    
    /* Process Steps */
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-item {
        gap: 1rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* FAQ */
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Phones */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0.8rem 0;
    }
    
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }
    
    .hero-graphic {
        width: 200px;
        height: 200px;
        font-size: 3rem;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    /* Sections */
    .services-preview,
    .why-choose-us,
    .about-content,
    .mission-vision,
    .values,
    .team,
    .detailed-services,
    .service-process,
    .pricing,
    .contact-section,
    .faq-section,
    .privacy-content {
        padding: 60px 0;
    }
    
    .cta-section,
    .stats {
        padding: 60px 0;
    }
    
    /* Service Cards */
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Feature Items */
    .feature-item {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Mission & Vision Cards */
    .mv-card {
        padding: 2rem 1.5rem;
    }
    
    .mv-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Value Items */
    .value-item {
        padding: 1.5rem;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Team Members */
    .team-member {
        padding: 1.5rem;
    }
    
    .member-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    /* Stats */
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* Services Page */
    .service-detail {
        margin-bottom: 3rem;
        padding: 2rem 0;
    }
    
    .service-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    /* Process Steps */
    .process-step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Pricing Cards */
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    /* Contact Form */
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .checkbox-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
    
    /* Contact Items */
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* FAQ Items */
    .faq-item {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
    
    /* Privacy Policy */
    .privacy-text {
        padding: 0 10px;
    }
    
    .privacy-text h2 {
        font-size: 1.5rem;
    }
    
    .privacy-text h3 {
        font-size: 1.2rem;
    }
    
    .contact-details,
    .policy-acknowledgment {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
}

/* Extra Small Devices */
@media screen and (max-width: 360px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-graphic {
        width: 150px;
        height: 150px;
        font-size: 2.5rem;
    }
    
    .service-card,
    .feature-item,
    .value-item,
    .team-member,
    .process-step,
    .pricing-card,
    .faq-item {
        padding: 1rem;
    }
    
    .mv-card {
        padding: 1.5rem 1rem;
    }
    
    .form-container {
        padding: 1.5rem 1rem;
    }
    
    .contact-details,
    .policy-acknowledgment {
        padding: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Landscape Orientation for Mobile */
@media screen and (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero-graphic {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }
    
    .page-header {
        padding: 100px 0 40px;
    }
}

/* High DPI Displays */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
    /* Optimize for high DPI displays */
    .service-icon,
    .feature-icon,
    .value-icon,
    .mv-icon,
    .contact-icon,
    .step-number {
        background-size: contain;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .nav-toggle,
    .hero-buttons,
    .btn,
    .cta-section,
    .footer,
    .social-links {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .hero,
    .page-header {
        background: #fff;
        color: #000;
    }
    
    .hero-title,
    .page-header h1 {
        color: #000;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-graphic {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* This can be implemented if dark mode is desired */
    /* Currently maintaining light theme as per requirements */
}

/* Focus Styles for Accessibility */
@media (prefers-reduced-motion: no-preference) {
    a:focus,
    button:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline: 2px solid #667eea;
        outline-offset: 2px;
    }
}
