/* ============================================
   RESPONSIVE CSS - ALL DEVICES
   Mobile First Approach
   ============================================ */

/* Base Mobile Styles (Default) */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   GENERAL RESPONSIVE STYLES
   ============================================ */

/* Container Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .container-custom {
        max-width: 100%;
        padding: 0 20px;
    }
}

/* Typography Responsive */
@media (max-width: 991px) {
    h1 {
        font-size: 42px !important;
        line-height: 1.2 !important;
    }
    
    h2 {
        font-size: 36px !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
    
    p {
        font-size: 16px !important;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 32px !important;
        letter-spacing: 2px !important;
    }
    
    h2 {
        font-size: 28px !important;
    }
    
    h3 {
        font-size: 24px !important;
    }
    
    p {
        font-size: 15px !important;
    }
}

/* Buttons Responsive */
@media (max-width: 767px) {
    .theme-btn,
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        text-align: center;
        justify-content: center;
    }
}

/* ============================================
   HEADER RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .main-header {
        padding: 15px 0;
    }
    
    .lbm-header {
        flex-wrap: wrap;
    }
    
    .main-logo .logo {
        max-width: 120px;
        height: auto;
    }
    
    .lbarea {
        gap: 15px;
    }
    
    .topbtn {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .lbm-menu-btn {
        width: 40px;
        height: 40px;
    }
    
    .lbm-menu-btn svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 767px) {
    .main-header {
        padding: 12px 0;
    }
    
    .main-logo .logo {
        max-width: 100px;
    }
    
    .topbtn {
        font-size: 12px;
        padding: 8px 15px;
        display: none; /* Hide on very small screens */
    }
    
    .lbm-menu-btn {
        width: 35px;
        height: 35px;
    }
    
    .lbm-menu-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .container-fluid {
        padding: 0 15px;
    }
}

/* ============================================
   HOME BANNER RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .homeBanner .homeBanner-inner {
        padding-top: 100px;
        padding-bottom: 120px;
    }
    
    .homeBanner .homeBanner-content h1 {
        font-size: 48px;
        line-height: 1.2;
        letter-spacing: 3px;
        margin-bottom: 30px;
    }
    
    .homeBanner .homeBanner-img {
        margin-top: 40px;
    }
    
    .registration-form {
        position: relative;
        right: auto;
        top: auto;
        margin: 30px auto 0;
        padding: 25px 20px;
        border-radius: 15px;
        max-width: 100%;
    }
    
    .registration-form h2 {
        font-size: 24px;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .registration-form form.registrationForm .form-group {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .homeBanner .homeBanner-inner {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .homeBanner .homeBanner-content {
        margin-bottom: 30px;
    }
    
    .homeBanner .homeBanner-content h1 {
        font-size: 32px;
        line-height: 1.3;
        letter-spacing: 2px;
    }
    
    .homeBanner .homeBanner-img img {
        width: 100%;
        height: auto;
    }
    
    .registration-form {
        padding: 20px 15px;
        margin-top: 20px;
    }
    
    .registration-form h2 {
        font-size: 20px;
        line-height: 1.3;
    }
    
    .registration-form form.registrationForm {
        gap: 12px;
    }
    
    .registration-form form.registrationForm input[type="submit"] {
        width: 100%;
        padding: 12px;
    }
}

/* ============================================
   ABOUT SECTION RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .aboutSection {
        padding: 60px 0;
    }
    
    .aboutSection-content h2 {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .aboutSection-row {
        flex-direction: column;
    }
    
    .aboutSection-row .leftContent,
    .aboutSection-row .rightContent {
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .aboutSection-row-content {
        text-align: center;
    }
    
    .aboutSection-row-content h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .aboutSection-row-content p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .aboutSection-row-image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 767px) {
    .aboutSection {
        padding: 40px 0;
    }
    
    .aboutSection-content h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .aboutSection-row-content h3 {
        font-size: 24px;
    }
    
    .aboutSection-row-content p {
        font-size: 15px;
    }
    
    .aboutSection-row-content .theme-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Mission/Vision Section Responsive */
@media (max-width: 991px) {
    .omov-row-area {
        padding: 60px 0;
    }
    
    .omov-row {
        flex-direction: column;
        margin-bottom: 40px;
    }
    
    .omov-row:nth-child(even) {
        flex-direction: column;
    }
    
    .omovImg,
    .omovContent {
        width: 100%;
        padding: 0;
    }
    
    .omovImg {
        margin-bottom: 30px;
    }
    
    .omovContent .content h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .omovContent .content p {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .omov-row-area {
        padding: 40px 0;
    }
    
    .omov-row {
        margin-bottom: 30px;
    }
    
    .omovContent .content h3 {
        font-size: 24px;
    }
    
    .omovContent .content p {
        font-size: 15px;
    }
    
    .imgBox img {
        width: 100%;
        height: auto;
    }
}

/* Development Section Responsive */
@media (max-width: 991px) {
    .development-sec {
        padding: 60px 0;
    }
    
    .development-row {
        flex-direction: column;
    }
    
    .development-left {
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .development-content h2 {
        font-size: 36px;
        text-align: center;
    }
    
    .development-list {
        margin-bottom: 30px;
    }
    
    .development-right {
        width: 100%;
    }
    
    .carousel-thumbnails {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .thumbnail-item {
        width: 100px;
        height: 70px;
    }
    
    .main-carousel {
        border-radius: 15px;
    }
}

@media (max-width: 767px) {
    .development-sec {
        padding: 40px 0;
    }
    
    .development-content h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .development-list li {
        padding: 8px 0;
    }
    
    .development-list li .number {
        font-size: 20px;
        min-width: 30px;
    }
    
    .development-list li .text {
        font-size: 16px;
    }
    
    .carousel-thumbnails {
        gap: 8px;
    }
    
    .thumbnail-item {
        width: 80px;
        height: 60px;
    }
    
    .carousel-slide img {
        width: 100%;
        height: auto;
    }
}

/* Features Highlights Section Responsive */
@media (max-width: 991px) {
    .features-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .features-top-section {
        padding: 60px 0 40px;
    }
    
    .features-bottom-content h2 {
        font-size: 36px;
    }
    
    .features-bottom-content p {
        font-size: 18px;
    }
    
    .features-bottom-section {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .features-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 15px;
    }
    
    .features-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features-buttons .theme-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .features-bottom-content h2 {
        font-size: 28px;
    }
    
    .features-bottom-content p {
        font-size: 16px;
    }
}

/* Built on Experience Section Responsive */
@media (max-width: 991px) {
    .built-on-experience-sec {
        padding: 60px 0;
    }
    
    .experience-left {
        padding-right: 15px;
        margin-bottom: 40px;
    }
    
    .experience-right {
        padding-left: 15px;
    }
    
    .experience-content h2 {
        font-size: 40px;
    }
    
    .experience-cards-grid {
        gap: 20px;
    }
    
    .experience-card {
        padding: 25px 20px;
    }
}

@media (max-width: 767px) {
    .experience-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .experience-content h2 {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .experience-card {
        padding: 20px 15px;
    }
    
    .experience-card p {
        font-size: 15px;
    }
}

/* Contact Section Responsive */
@media (max-width: 991px) {
    .contact-top-section {
        padding: 60px 0;
    }
    
    .contact-map-col {
        padding-right: 15px;
        margin-bottom: 40px;
    }
    
    .contact-info-col {
        padding-left: 15px;
    }
    
    .contact-info h2 {
        font-size: 36px;
    }
    
    .contact-form-header h2 {
        font-size: 36px;
    }
    
    .contact-form-header p {
        font-size: 18px;
    }
    
    .inquiry-form {
        padding: 40px 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .contact-info h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .contact-details li {
        gap: 15px;
    }
    
    .contact-details li i {
        font-size: 20px;
    }
    
    .contact-details li span {
        font-size: 16px;
    }
    
    .contact-form-header h2 {
        font-size: 28px;
    }
    
    .contact-form-header p {
        font-size: 16px;
    }
    
    .contact-bottom-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .inquiry-form {
        padding: 30px 20px;
    }
    
    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
    }
}

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-sec.main-footer {
        padding: 40px 0 30px;
    }
    
    .footer-row {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-right {
        align-items: flex-start;
        text-align: left;
    }
    
    .logo-char {
        font-size: 60px;
    }
    
    .logo-line .text-underline {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .footer-social {
        gap: 15px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
    
    .logo-char {
        font-size: 50px;
    }
    
    .logo-line .text-underline {
        font-size: 18px;
    }
    
    .footer-address p {
        font-size: 12px;
    }
}

/* Floating Contact Buttons Responsive */
@media (max-width: 991px) {
    .floating-contact-buttons {
        right: -10px;
        gap: 8px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-btn-contact {
        height: 100px;
    }
    
    .floating-btn-contact .btn-text {
        font-size: 10px;
    }
    
    .floating-btn-phone i,
    .floating-btn-whatsapp i {
        font-size: 18px;
    }
    
    .contact-modal-content {
        padding: var(--spacing-lg);
        max-width: 95%;
    }
    
    .contact-modal-content h2 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .floating-contact-buttons {
        right: -15px;
        gap: 6px;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
        border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    }
    
    .floating-btn-contact {
        height: 90px;
    }
    
    .floating-btn-contact .btn-text {
        font-size: 9px;
        letter-spacing: 1px;
    }
    
    .floating-btn-phone i {
        font-size: 16px;
    }
    
    .floating-btn-whatsapp i {
        font-size: 20px;
    }
}

/* Marquee Responsive */
@media (max-width: 991px) {
    .marquee-track {
        animation-duration: 25s;
    }
    
    .aboutSection-list li {
        height: 80px;
        padding: 0 8px;
    }
}

@media (max-width: 767px) {
    .marquee-container {
        margin-bottom: 60px;
        padding: var(--spacing-sm) 0;
    }
    
    .marquee-track {
        animation-duration: 20s;
        gap: var(--spacing-sm);
    }
    
    .aboutSection-list {
        gap: var(--spacing-sm);
    }
    
    .aboutSection-list li {
        height: 70px;
        padding: 0 6px;
    }
    
    .aboutSection-list li img {
        max-width: 80px;
        max-height: 50px;
    }
    
    /* Reduce animation intensity on mobile */
    .card-3d:hover {
        transform: translateY(-5px);
    }
    
    .flying-letters .letter {
        transform: translateY(50px) rotateX(45deg);
    }
    
    .fade-in,
    .fade-in-left,
    .fade-in-right,
    .fade-in-up,
    .fade-in-down {
        transform: translateY(20px);
    }
    
    .image-animate,
    .image-slide-left,
    .image-slide-right,
    .image-zoom-in {
        transform: scale(0.95) translateY(20px);
    }
}

/* ============================================
   FORMS RESPONSIVE
   ============================================ */

@media (max-width: 767px) {
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        width: 100%;
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .registrationForm .form-group {
        width: 100% !important;
    }
}

/* ============================================
   IMAGES RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 767px) {
    img {
        width: 100%;
        height: auto;
    }
    
    .aboutSection-row-image img,
    .omovImg img,
    .imgBox img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

/* ============================================
   GRID & LAYOUT RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
    .row {
        margin: 0 -15px;
    }
    
    [class*="col-"] {
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .col-md-6,
    .col-md-4,
    .col-md-3 {
        width: 100%;
        flex: 0 0 100%;
    }
}

@media (max-width: 767px) {
    .row {
        margin: 0 -10px;
        flex-direction: column;
    }
    
    [class*="col-"] {
        padding: 0 10px;
        margin-bottom: 20px;
        width: 100% !important;
        flex: 0 0 100% !important;
    }
}

/* ============================================
   UTILITY CLASSES RESPONSIVE
   ============================================ */

@media (max-width: 767px) {
    .text-center {
        text-align: center !important;
    }
    
    .text-left {
        text-align: left !important;
    }
    
    .text-right {
        text-align: center !important;
    }
    
    .mt-5 {
        margin-top: 30px !important;
    }
    
    .mb-5 {
        margin-bottom: 30px !important;
    }
    
    .py-5 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

/* ============================================
   EXTRA SMALL DEVICES (Phones)
   ============================================ */

@media (max-width: 575px) {
    .container,
    .container-custom {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 28px !important;
    }
    
    h2 {
        font-size: 24px !important;
    }
    
    h3 {
        font-size: 20px !important;
    }
    
    .section-padding {
        padding: 30px 0;
    }
    
    .theme-btn,
    .btn-primary,
    .btn-secondary {
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ============================================
   LANDSCAPE ORIENTATION
   ============================================ */

@media (max-width: 991px) and (orientation: landscape) {
    .homeBanner .homeBanner-inner {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .section-padding {
        padding: 40px 0;
    }
}

/* ============================================
   TABLET SPECIFIC (768px - 1024px)
   ============================================ */

@media (min-width: 768px) and (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .homeBanner .homeBanner-content h1 {
        font-size: 48px;
    }
    
    .aboutSection-content h2 {
        font-size: 40px;
    }
    
    .development-content h2 {
        font-size: 40px;
    }
}

/* ============================================
   LARGE DESKTOP (1200px+)
   ============================================ */

@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .floating-contact-buttons,
    .main-header,
    .main-nav,
    .contact-modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

