/* ===================================================================
   FINAL RESPONSIVE STYLES
   (For Tablets and Mobiles)
   =================================================================== */

/* --- Medium Screens & Tablets (max-width: 991px) --- */
@media (max-width: 991px) {
    /* Header Changes */
    .main-header {
        height: 75px;
    }
    .header-logo img {
        height: 45px;
    }
    .main-nav {
        display: none; /* Hide desktop navigation */
    }
    .mobile-menu-toggle {
        display: block; /* Show hamburger icon */
    }
    .mobile-header-buttons {
        display: block; /* Show mobile-only buttons below header */
    }

    /* Homepage Layout Changes */
    .whats-new {
        margin-top: 20px;
    }
    .imp-link, .right-sidebar {
        margin-top: 25px; /* Add space when sidebar comes below main content */
    }
}


/* --- Small Screens & Mobiles (max-width: 767px) --- */
@media (max-width: 767px) {
    .container {
        width: 100% !important;
        padding-right: 15px !important;
        padding-left: 15px !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .bg .container { /* For demo compatibility */
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    /* Smaller headings on mobile */
    .main-content-section h2, .panel h3, .welcome-section h2 {
        font-size: 22px;
    }
    
    .panel {
        margin: 20px 0;
        padding: 20px;
    }
}


/* --- Extra Small Screens (max-width: 600px) --- */
@media (max-width: 600px) {
    /* Demo helper classes */
    .mob-hide {
        display: none !important;
    }
    .mob-show {
        display: inline-block !important;
    }
    .mob-show1 {
        display: block;
    }
    .dfg { /* For demo compatibility */
        width: 100% !important;
    }
    
    /* Demo Header style overrides */
    header {
        height: auto;
    }
    .login-btn {
       margin-left: auto;
	   margin-right: auto;
	   float: unset;
	   width: 100%;
	   margin-top: 0;
	   text-align: center;
    }

    /* Footer text alignment */
    footer p {
        text-align: center !important;
    }
}


/* --- Very Small Screens (max-width: 480px) --- */
@media (max-width: 480px) {
    .header-logo {
        text-align: center; /* Center align logo */
    }
    .header-logo h4 {
        font-size: 18px; /* Slightly smaller logo text */
    }

    /* Demo style overrides */
    .login-btn ul li a.border-btn,
    .login-btn ul li a.blue {
        padding: 5px;
    }
    .login-btn ul {
        padding: 0;
    }
    .offset-3 { /* Remove offset on mobile */
		margin: 0;
	}
    
    .panel {
        margin: 15px 0;
    }
    
    .ff { /* Demo footer font style */
        text-align: center !important;
        font-size: 12px;
    }
    
    .m-scroll { /* Demo scroll class */
        overflow-x: scroll;
    }
}```

