/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* Desktop */
@media (max-width: 1199px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.featured {
        transform: none;
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-img {
        height: auto;
        max-height: 420px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .founder-img {
        height: auto;
        max-height: 420px;
    }

    .graduation-img {
        height: 320px;
    }
    
    .mission-values {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        grid-column: span 1;
        transform: none;
    }
    
    .additional-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile Large */
@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .hero-img {
        height: auto;
        max-height: 360px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 15px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .nav-menu {
        padding-bottom: 2.5rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .about {
        padding: 4rem 0;
    }

    .graduation-grid {
        grid-template-columns: 1fr;
    }

    .graduation-img {
        height: 280px;
    }
    
    .services {
        padding: 4rem 0;
    }
    
    .portfolio {
        padding: 4rem 0;
    }
    
    .pricing {
        padding: 4rem 0;
    }
    
    .contact {
        padding: 4rem 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-grid {
        grid-template-columns: 1fr;
    }
    
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .contact-method:hover {
        transform: none;
    }

    .social-icons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Mobile Medium */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.7rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card,
    .pricing-card,
    .additional-card {
        padding: 2rem;
    }
    
    .package-price .amount {
        font-size: 2.5rem;
    }
    
    .contact-method {
        padding: 1rem;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
    }

    .contact-form-container {
        padding: 1.75rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
    }
    
    .footer-logo-main {
        font-size: 1.2rem;
    }
    
    .footer-logo-sub {
        font-size: 0.8rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .hero-buttons .btn {
        max-width: 100%;
    }
    
    .service-card,
    .pricing-card,
    .additional-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .package-price .amount {
        font-size: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }

    .graduation-img {
        height: 240px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
}

/* Mobile Extra Small */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .service-card,
    .pricing-card,
    .additional-card {
        padding: 1rem;
    }
    
    .contact-form-container {
        padding: 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 120px 0 50px;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        margin-bottom: 1rem;
    }
    
    .hero-scroll {
        display: none;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-img,
    .founder-img,
    .portfolio-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .back-to-top,
    .floating-card,
    .hero-scroll {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .btn {
        border: 2px solid var(--secondary-color);
        background: transparent !important;
        color: var(--secondary-color) !important;
    }
    
    .contact-form-container {
        display: none;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-card {
        animation: none;
    }
    
    .scroll-indicator i {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --background-light: #1a1a1a;
        --white: #f8f9fa;
        --text-color: #f8f9fa;
        --text-light: #cccccc;
        --border-color: #333333;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #FFFF00;
        --secondary-color: #000000;
        --white: #FFFFFF;
        --text-color: #000000;
        --border-color: #000000;
    }
    
    .btn {
        border: 2px solid;
    }
    
    .service-card,
    .pricing-card,
    .additional-card {
        border: 2px solid var(--border-color);
    }
}

